repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
kidaa/darkstar | scripts/zones/Bibiki_Bay/TextIDs.lua | 4 | 2478 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory.
ITEM_OBTAINED = 6383; -- Obtained: <item>.
GIL_OBTAINED = 6384; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6386; -- Obt... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/PsoXja/npcs/_090.lua | 17 | 1763 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _090 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos -330.000 14.074 -261.600 9
-- TODO: The spawned Gargoyle should spawn as claimed to the trigger target.
-- Text Message not displaying players name before the text at all.
--------... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Caedarva_Mire/npcs/qm1.lua | 15 | 1168 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: ??? (Spawn Verdelet(ZNM T2))
-- @pos 417 -19 -69 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Caedarva_Mire/TextIDs");
-----------------... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Caedarva_Mire/npcs/Nasheefa.lua | 19 | 1384 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Nasheefa
-- Type: Alzadaal Undersea Ruins
-- @pos -440.998 0.107 -740.015 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Mhaura/npcs/Koh_Lenbalalako.lua | 19 | 2170 | -----------------------------------
-- Area: Mhaura
-- NPC: Koh Lenbalalako
-- Type: Standard NPC
-- @pos -64.412 -17 29.213 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/g... | gpl-3.0 |
failcoder/SVUI_-Core | _options/libs/AceGUI-3.0-SharedMediaWidgets/Libs/LibStub/LibStub.lua | 184 | 1367 | -- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info
-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN REVI... | mit |
waterlgndx/darkstar | scripts/zones/Windurst_Woods/npcs/Illu_Bohjaa.lua | 2 | 1594 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Illu Bohjaa
-- Involved in the repeatable quest "Creepy Crawlies"
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil
-----------------------------------
require("scripts/zones/Windurst_Woods/TextIDs")
requ... | gpl-3.0 |
lhog/Zero-K | LuaRules/Gadgets/weapon_timed_replace.lua | 7 | 2950 | function gadget:GetInfo()
return {
name = "Weapon Timed Replace",
desc = "Replaces a projectile with another projectile a certain time after firing.",
author = "Google Frog",
date = "10 June 2014",
license = "GNU GPL, v2 or later",
layer = 0,
enabled = false,
}
... | gpl-2.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c10957776.lua | 1 | 4374 | --KV-欧娜尔
function c10957776.initial_effect(c)
aux.EnablePendulumAttribute(c)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(10957776,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_PZONE)
e1:SetCountLimit(1,10957776)
e1:SetCost(c10957776.thcost)
... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Crawlers_Nest/npcs/qm10.lua | 57 | 2127 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: qm10 (??? - Exoray Mold Crumbs)
-- Involved in Quest: In Defiant Challenge
-- @pos -83.391 -8.222 79.065 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
kidaa/darkstar | scripts/globals/spells/Vital_Etude.lua | 11 | 1611 | -----------------------------------------
-- Spell: Vital Etude
-- Static VIT Boost, BRD 70
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
fun... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Tahrongi_Canyon/TextIDs.lua | 4 | 1936 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6552; -- You cannot obtain the item <item> come back again after sorting your inventory.
ITEM_OBTAINED = 6556; -- Obtained: <item>.
GIL_OBTAINED = 6557; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6559; -- Obt... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Riverne-Site_A01/npcs/_0u2.lua | 17 | 1341 | -----------------------------------
-- Area: Riverne Site #A01
-- NPC: Unstable Displacement
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_A01/Text... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c60150613.lua | 1 | 6321 | --千夜 风行者
function c60150613.initial_effect(c)
c:SetUniqueOnField(1,0,60150613)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFun2(c,c60150613.ffilter,aux.FilterBoolFunction(c60150613.ffilter2),false)
--spsummon condition
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetProperty(EF... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Bastok_Markets/npcs/Shamarhaan.lua | 38 | 1856 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Shamarhaan
-- Type: Quest Starter
-- Involved in quest: No Strings Attached
-- @zone: 235
-- @pos -285.382 -13.021 -84.743
--
-- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/8/2011
--------------------------------... | gpl-3.0 |
davidedmonds/darkstar | scripts/globals/items/serving_of_cilbir.lua | 35 | 1562 | -----------------------------------------
-- ID: 5642
-- Item: serving_of_cilbir
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- HP % 5
-- MP % 5
-- HP recovered while healing 3
-- MP recovered while healing 3
-----------------------------------------
require("scripts/globals/st... | gpl-3.0 |
waterlgndx/darkstar | scripts/commands/hp.lua | 22 | 1359 | ---------------------------------------------------------------------------------------------------
-- func: hp <amount> <player>
-- desc: Sets the GM or target players health.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
param... | gpl-3.0 |
xingh/google-diff-match-patch | lua/diff_match_patch.lua | 265 | 73869 | --[[
* Diff Match and Patch
*
* Copyright 2006 Google Inc.
* http://code.google.com/p/google-diff-match-patch/
*
* Based on the JavaScript implementation by Neil Fraser.
* Ported to Lua by Duncan Cross.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance ... | apache-2.0 |
will4wachter/Project1 | scripts/globals/weaponskills/freezebite.lua | 6 | 1231 | -----------------------------------
-- Freezebite
-- Great Sword weapon skill
-- Skill Level: 100
-- Delivers an ice elemental attack. Damage varies with TP.
-- Aligned with the Snow Gorget & Breeze Gorget.
-- Aligned with the Snow Belt & Breeze Belt.
-- Element: Ice
-- Modifiers: STR:30% ; INT:20%
--... | gpl-3.0 |
waterlgndx/darkstar | scripts/globals/items/cup_of_date_tea.lua | 2 | 1104 | -----------------------------------------
-- ID: 5926
-- Item: Cup of Date Tea
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- HP 20
-- MP 30
-- Vitality -1
-- Charisma 5
-- Intelligence 3
-----------------------------------------
require("scripts/globals/status");
------------------------... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c21520006.lua | 1 | 7607 | --乱数原符-M
function c21520006.initial_effect(c)
--change attack & defence
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(21520006,0))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EFFECT_ACTIVATE_COST)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(1,1)
e1:SetO... | gpl-3.0 |
kidaa/darkstar | scripts/zones/RuLude_Gardens/npcs/Dugga.lua | 34 | 1074 | ----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Dugga
-- Type: Item Deliverer
-- @zone: 243
-- @pos -55.429 5.999 1.27
--
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
require("scripts/zones/RuLude_Gardens/TextIDs");
------------... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/North_Gustaberg/npcs/Ennigreaud_RK.lua | 30 | 3061 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Ennigreaud, R.K.
-- Type: Outpost Conquest Guards
-- @pos -584.687 39.107 54.281 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conq... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Ix_aern_drg.lua | 13 | 2474 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NPC: Ix'aern (drg)
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/The_Garden_of_RuHmet/MobIDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
... | gpl-3.0 |
kidaa/darkstar | scripts/globals/spells/cure_ii.lua | 13 | 3908 | -----------------------------------------
-- Spell: Cure II
-- Restores target's HP.
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals... | gpl-3.0 |
will4wachter/Project1 | scripts/globals/weaponskills/rock_crusher.lua | 6 | 1206 | -----------------------------------
-- Rock Crusher
-- Staff weapon skill
-- Skill Level: 40
-- Delivers an earth elemental attack. Damage varies with TP.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: Earth
-- Modifiers: STR:20% ; INT:20%
-- 100%TP 200%TP 300%... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Dynamis-Bastok/npcs/qm1.lua | 19 | 1256 | -----------------------------------
-- Area: Dynamis Bastok
-- NPC: qm1 (???)
-- Notes: Spawns when Megaboss is defeated
-----------------------------------
package.loaded["scripts/zones/Dynamis-Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/D... | gpl-3.0 |
moquist/mal | lua/stepA_mal.lua | 40 | 6064 | #!/usr/bin/env lua
local table = require('table')
local readline = require('readline')
local utils = require('utils')
local types = require('types')
local reader = require('reader')
local printer = require('printer')
local Env = require('env')
local core = require('core')
local List, Vector, HashMap = types.List, typ... | mpl-2.0 |
kidaa/darkstar | scripts/zones/Northern_San_dOria/npcs/Jeanvirgaud.lua | 18 | 1838 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Jeanvirgaud
-- Outpost Teleporter NPC
-- @pos 45.559 -0.199 26.300 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c10981245.lua | 1 | 2401 | --混沌之灵的抹灭者
function c10981245.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,c10981245.tfilter,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--draw
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(10981245,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMO... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c1000206.lua | 1 | 1754 | --虹纹的交换
function c1000206.initial_effect(c)
--①
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,1000206)
e1:SetCost(c1000206.cost)
e1:SetTarget(c1000206.target)
e1:SetOpera... | gpl-3.0 |
waterlgndx/darkstar | scripts/globals/mobskills/erratic_flutter.lua | 2 | 1454 | ---------------------------------------------
-- Erratic Flutter
--
-- Description: Deals Fire damage around the caster. Grants the effect of Haste.
-- Family: Wamoura
-- Monipulators: Wamoura (MON), Coral Wamoura (MON)
-- Level (Monstrosity): 60
-- TP Cost (Monstrosity): 1500 TP
-- Type: Enhancing
-- Element: Fire
-- ... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Windurst_Waters_[S]/npcs/Ezura-Romazura.lua | 34 | 1541 | -----------------------------------
-- Area: Windurst Waters [S]
-- NPC: Ezura-Romazura
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Wi... | gpl-3.0 |
will4wachter/Project1 | scripts/globals/items/homemade_steak.lua | 35 | 1124 | -----------------------------------------
-- ID: 5226
-- Item: homemade_steak
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
kidaa/darkstar | scripts/globals/items/cup_of_healing_tea.lua | 35 | 1373 | -----------------------------------------
-- ID: 4286
-- Item: cup_of_healing_tea
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Magic 10
-- Vitality -1
-- Charisma 3
-- Magic Regen While Healing 2
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
kidaa/darkstar | scripts/globals/items/bowl_of_goblin_stew.lua | 22 | 1504 | -----------------------------------------
-- ID: 4465
-- Item: bowl_of_goblin_stew
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Dexterity -4
-- Attack % 15.5
-- Ranged Attack % 15.5
-----------------------------------------
require("scripts/globals/status");
---------------... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Valkurm_Dunes/npcs/Hieroglyphics.lua | 17 | 2399 | -----------------------------------
-- Area: Valkurm_Dunes
-- NPC: Hieroglyphics
-- Dynamis Valkurm_Dunes Enter
-- @pos 117 -10 133 172 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Port_San_dOria/npcs/Milva.lua | 36 | 1839 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Milva
-- Only sells when San d'Oria has control of Sarutabaruta
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require(... | gpl-3.0 |
lhog/Zero-K | LuaRules/Gadgets/weapon_torpedo_stay_underwater.lua | 2 | 3684 |
if (not gadgetHandler:IsSyncedCode()) then
return false
end
function gadget:GetInfo()
return {
name = "Torpedo Stay Underwater",
desc = "Makes relevant torpedoes stay underwater.",
author = "GoogleFrog",
date = "27 Feb 2019",
license = "GNU GPL, v2 or later",
layer =... | gpl-2.0 |
will4wachter/Project1 | scripts/zones/Port_Windurst/npcs/Pichichi.lua | 36 | 2675 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pichichi
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Port_W... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Upper_Jeuno/npcs/Brutus.lua | 11 | 9517 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Brutus
-- Starts Quest: Chocobo's Wounds, Save My Son, Path of the Beastmaster, Wings of gold, Scattered into Shadow, Chocobo on the Loose!
-- @pos -55 8 95 244
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] ... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Misareaux_Coast/npcs/Logging_Point.lua | 29 | 1107 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Misareaux_Coast/TextIDs");
... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Aht_Urhgan_Whitegate/npcs/Hadayah.lua | 10 | 1760 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Hadayah
-- Type: Alchemy Image Support
-- @pos -10.470 -6.25 -141.700 241
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Port_Windurst/npcs/Erabu-Fumulubu.lua | 53 | 1835 | -----------------------------------
-- Area: Port Windurst
-- NPC: Erabu-Fumulubu
-- Type: Fishing Synthesis Image Support
-- @pos -178.900 -2.789 76.200 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/st... | gpl-3.0 |
lhog/Zero-K | units/shipassault.lua | 1 | 6013 | return { shipassault = {
unitname = [[shipassault]],
name = [[Siren]],
description = [[Destroyer (Riot/Assault)]],
acceleration = 0.46,
activateWhenBuilt = true,
brakeRate = 0.6,
buildCostMetal = 600,
builder =... | gpl-2.0 |
kidaa/darkstar | scripts/zones/Port_Jeuno/npcs/Zona_Shodhun.lua | 34 | 3745 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Zona Shodhun
-- Starts and Finishes Quest: Pretty Little Things
-- @zone 246
-- @pos -175 -5 -4
-----------------------------------
package.loaded["scripts/globals/settings"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Pashhow_Marshlands/npcs/Mesachedeau_RK.lua | 30 | 3070 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Mesachedeau, R.K.
-- Type: Outpost Conquest Guards
-- @pos 470.843 23.465 415.520 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c10981013.lua | 1 | 3618 | --调整再诞
function c10981013.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCountLimit(1,10981013+EFFECT_COUNT_CODE_OATH)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c10981013.target)
... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c60150530.lua | 1 | 1910 | --幻想曲 被褪去的面具
function c60150530.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,c60150530.tfilter,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--remove
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(60150530,0))
e1:SetCategory(CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Nivorajean.lua | 38 | 1048 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Nivorajean
-- Type: Standard NPC
-- @zone: 26
-- @pos 15.890 -22.999 13.322
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-... | gpl-3.0 |
lhog/Zero-K | LuaRules/Configs/MetalSpots/Charlie in the Hills v2.1.lua | 8 | 3180 | return {
spots = {
[1] = {x = 1960, z = 2760, metal = 1.7},
[2] = {x = 3416, z = 152, metal = 1.7},
[3] = {x = 4136, z = 8008, metal = 1.7},
[4] = {x = 4136, z = 3864, metal = 1.7},
[5] = {x = 4824, z = 7992, metal = 1.7},
[6] = {x = 4280, z = 7832, metal = 1.7},
[7] = {x = 6008, z = 2632, metal = 1.7},
... | gpl-2.0 |
waterlgndx/darkstar | scripts/globals/abilities/fight.lua | 2 | 1027 | -----------------------------------
-- Ability: Fight
-- Commands your pet to attack the target.
-- Obtained: Beastmaster Level 1
-- Recast Time: 10 seconds
-- Duration: N/A
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/msg");
------... | gpl-3.0 |
davidedmonds/darkstar | scripts/globals/weaponskills/swift_blade.lua | 30 | 1389 | -----------------------------------
-- Swift Blade
-- Sword weapon skill
-- Skill Level: 225
-- Delivers a three-hit attack. params.accuracy varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget & Soil Gorget.
-- Aligned with the Shadow Belt & Soil Belt.
-- Element: None
-- Modifie... | gpl-3.0 |
stevedonovan/luabuild | modules/luasocket/samples/cddb.lua | 56 | 1415 | local socket = require("socket")
local http = require("socket.http")
if not arg or not arg[1] or not arg[2] then
print("luasocket cddb.lua <category> <disc-id> [<server>]")
os.exit(1)
end
local server = arg[3] or "http://freedb.freedb.org/~cddb/cddb.cgi"
function parse(body)
local lines = string.gfind(bo... | mit |
davidedmonds/darkstar | scripts/globals/spells/paralyze.lua | 18 | 1997 | -----------------------------------------
-- Spell: Paralyze
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-... | gpl-3.0 |
will4wachter/Project1 | scripts/globals/spells/dark_carol.lua | 6 | 1501 | -----------------------------------------
-- Spell: Dark Carol
-- Increases dark resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------... | gpl-3.0 |
will4wachter/Project1 | scripts/globals/items/galette_des_rois.lua | 39 | 1322 | -----------------------------------------
-- ID: 5875
-- Item: Galette Des Rois
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- MP % 1
-- Intelligence +2
-- Random Jewel
-----------------------------------------
require("scripts/globals/status");
require("scripts/zones/Bastok_Mines/Text... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Quicksand_Caves/npcs/_5sb.lua | 19 | 1272 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: Ornate Door
-- Door blocked by Weight system
-- @pos -420 0 735 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_Cave... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Konschtat_Highlands/npcs/qm2.lua | 11 | 1422 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: qm2 (???)
-- Involved in Quest: Forge Your Destiny
-- @pos -709 2 102 108
-----------------------------------
package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests"... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Castle_Oztroja/npcs/_47x.lua | 17 | 1245 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47x (Handle)
-- Notes: Opens door _477
-- @pos -99 -71 -41 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/TextI... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Castle_Oztroja/Zone.lua | 28 | 1816 | -----------------------------------
--
-- Zone: Castle_Oztroja (151)
--
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Castle_Ozt... | gpl-3.0 |
footballhead/ld30 | game.lua | 1 | 11458 | -- line used to preview where networks are built
-- FIX: this should not be a global object!!
preview_line = {
-- location of start (endpoint is at mouse)
-- if (-1,-1) then don't draw
node = nil,
master = nil,
limit = 75,
is_active = function( self )
return self.node ~= nil
end,
... | mit |
badboyam/telebot | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
tbastos/lift | lift/files/cli.lua | 1 | 1534 | ------------------------------------------------------------------------------
-- Default Command-Line Interface
------------------------------------------------------------------------------
local color = require 'lift.color'
local config = require 'lift.config'
local diagnostics = require 'lift.diagnostics'
local a... | mit |
waterlgndx/darkstar | scripts/globals/mobskills/guillotine.lua | 2 | 1035 | ---------------------------------------------
-- Guillotine
--
-- Description: Delivers a four-hit attack. Silences enemy. Duration of effect varies with TP.
-- Type: Physical
-- Number of hits
-- Range: Melee
---------------------------------------------
require("scripts/globals/monstertpmoves");
require("scripts... | gpl-3.0 |
kidaa/darkstar | scripts/zones/Dynamis-Windurst/mobs/Tzee_Xicu_Idol.lua | 11 | 1290 | -----------------------------------
-- Area: Dynamis Windurst
-- NPC: Tzee Xicu Idol
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/dynamis");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn... | gpl-3.0 |
davidedmonds/darkstar | scripts/zones/Garlaige_Citadel/npcs/_5kr.lua | 17 | 1534 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: _5kr (Crematory Hatch)
-- Type: Door
-- @pos 139 -6 127 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require... | gpl-3.0 |
dcos/dcos | packages/adminrouter/extra/src/lib/service.lua | 2 | 13465 | local url = require "url"
local cjson_safe = require "cjson.safe"
local util = require "util"
RESOLVE_LIMIT = 10
local function resolve_srv_entry(service_name)
-- Try to resolve SRV entry for given framework name using MesosDNS
--
-- Arguments:
-- service_name (str): name of the framework to resol... | apache-2.0 |
kidaa/darkstar | scripts/zones/Lower_Jeuno/npcs/Ruslan.lua | 37 | 2004 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Ruslan
-- Involved In Quest: Wondering Minstrel
-- Working 100%
-- @zone = 245
-- @pos = -19 -1 -58
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
will4wachter/Project1 | scripts/zones/Southern_San_dOria_[S]/npcs/Crochepallade.lua | 36 | 1043 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Crochepallade -- Name is Moogle for some reason
-- @zone 80
-- @pos -46 2 -8
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextI... | gpl-3.0 |
waterlgndx/darkstar | scripts/zones/Bastok_Mines/npcs/Zemedars.lua | 2 | 1304 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Zemedars
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Mines/TextIDs")
require("scripts/globals/shop")
function... | gpl-3.0 |
kidaa/darkstar | scripts/globals/spells/deodorize.lua | 24 | 1128 | -----------------------------------------
-- Spell: Deodorize
-- Lessens chance of being detected by smell.
-- Duration is random number between 30 seconds and 5 minutes
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
----------------------------------... | gpl-3.0 |
MonokuroInzanaito/ygopro-777DIY | expansions/script/c80101019.lua | 1 | 3618 | --刀术-花
function c80101019.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(80101019,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,80101019+EFFECT_COUNT_CO... | gpl-3.0 |
lhog/Zero-K | lups/ParticleClasses/UnitSmoke.lua | 8 | 7800 | -- $Id: UnitSmoke.lua 3171 2008-11-06 09:06:29Z det $
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
local UnitSmoke = {}
UnitSmoke.__inde... | gpl-2.0 |
eriche2016/nn | SpatialClassNLLCriterion.lua | 1 | 2400 | local THNN = require 'nn.THNN'
local SpatialClassNLLCriterion, parent = torch.class('nn.SpatialClassNLLCriterion', 'nn.Criterion')
function SpatialClassNLLCriterion:__init(weights, sizeAverage)
parent.__init(self)
if sizeAverage ~= nil then
self.sizeAverage = sizeAverage
else
self.sizeAverage... | bsd-3-clause |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Tasks/ActDragonBoatFestival/ActDragonBoatFestival.lua | 1 | 1713 |
--[[
Title: Act Dragon Boat Festival
Author(s): big
Date: 2021.6.8
Desc: action page for dragon boat festival
Use Lib:
-------------------------------------------------------
local ActDragonBoatFestival = NPL.load("(gl)script/apps/Aries/Creator/Game/Tasks/ActDragonBoatFestival/ActDragonBoatFestival.lua");
ActDragonBo... | gpl-2.0 |
pakoito/ToME---t-engine4 | game/modules/tome/dialogs/ShowStore.lua | 2 | 10093 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later version.... | gpl-3.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Items/ItemDoor.lua | 1 | 2115 | --[[
Title: ItemDoor
Author(s): LiXizhi
Date: 2014/5/6
Desc: when BlockImage is destroyed, it will generate an ItemDoor whose tooltip contains its filepath.
use the lib:
------------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/Items/ItemDoor.lua");
local ItemDoor = comm... | gpl-2.0 |
RyMarq/Zero-K | scripts/athena.lua | 2 | 2651 | local fuselage = piece 'fuselage'
local head = piece 'head'
local wingl = piece 'wingl'
local wingr = piece 'wingr'
local enginel = piece 'enginel'
local enginer = piece 'enginer'
local arm = piece 'arm'
local lathe = piece 'lathe'
local jaw1 = piece 'jaw1'
local jaw2 = piece 'jaw2'
local nanopoint = piece 'nanopoint'
... | gpl-2.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/The_Sanctuary_of_ZiTah/Zone.lua | 1 | 2057 | -----------------------------------
--
-- Zone: The_Sanctuary_of_ZiTah
--
-----------------------------------
package.loaded["scripts/globals/quests"] = nil;
require("scripts/globals/quests");
require("scripts/globals/settings");
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
require("... | gpl-3.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Code/NplCad/NplCadDef/NplCadDef_Math.lua | 1 | 6142 | --[[
Title: NplCadDef_Math
Author(s): leio
Date: 2018/9/10
Desc:
use the lib:
-------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/Code/NplCad/NplCadDef/NplCadDef_Math.lua");
local NplCadDef_Math = commonlib.gettable("MyCompany.Aries.Game.Code.NplCad.NplCadDef_Math");
--... | gpl-2.0 |
Grocel/wire-extras | lua/entities/gmod_wire_dynamicmemory/init.lua | 4 | 2667 | /*******************************
Dynamic Memory Gate
for Wiremod
(C) Sebastian J.
********************************/
AddCSLuaFile("cl_init.lua")
AddCSLuaFile("shared.lua")
include('shared.lua')
ENT.WireDebugName = "DynamicMemoryGate"
function ENT:Initialize()
self:PhysicsInit(SOLID_VPHYSICS)
... | apache-2.0 |
RyMarq/Zero-K | effects/lasers.lua | 7 | 39350 | -- gatorlaserflash
-- flash1red2
-- flashlazer
-- lasers_sparks1
-- lasers_melt1
-- flash1orange
-- comlaserflash
-- flash1purple
-- lasers_melt3
-- flash1blue
-- flash1green
-- flash1red
-- lasers_melt2
-- lasers_sparksr1
-- flash1yellow
-- flash1white
-- coregreen
return {
["gatorlaserflash"] = {
usedefaultexp... | gpl-2.0 |
flyzjhz/witi-openwrt | package/ramips/ui/luci-mtk/src/modules/base/luasrc/model/network.lua | 47 | 33988 | --[[
LuCI - Network model
Copyright 2009-2010 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by app... | gpl-2.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/gfx/particles/ball_lightning_beam.lua | 3 | 2385 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
knixeur/notion | contrib/styles/look_outback.lua | 2 | 3927 | -- Authors: Mark Tran <mark@nirv.net>
-- License: Unknown
-- Last Changed: Unknown
--
-- look_outback.lua : Mark Tran <mark@nirv.net>
-- This style looks best when the alternative style is applied to "full"
-- workspace frames. You can enable it by applying: _:set_mode('tiled-alt')
-- as Lua code.
--
-- View http://mo... | lgpl-2.1 |
Laterus/Darkstar-Linux-Fork | scripts/globals/items/serving_of_green_curry.lua | 1 | 1690 | -----------------------------------------
-- ID: 4296
-- Item: serving_of_green_curry
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality 1
-- Health Regen While Healing 2
-- Magic Regen While Healing 1
-- Defense % 9
-- Ranged ACC % 5
-- Ranged ACC Cap 25
--... | gpl-3.0 |
Grocel/wire-extras | lua/entities/gmod_wire_hud_indicator_2/expression_parser.lua | 3 | 7102 | include( "util/tables.lua" )
include( "expressions/expr_tokenizer.lua" )
include( "expressions/expr_stack.lua" )
funcTable = {}
binaryFuncs = {}
--Runtime Code
EXPR_Parser = {}
EXPR_Parser.binaryFuncs = {}
EXPR_Parser.funcTable = {}
include( "expressions/libs/mathlib.lua" )
include( "expressions/libs/stringlib.lua" ... | apache-2.0 |
Laterus/Darkstar-Linux-Fork | scripts/zones/Upper_Jeuno/npcs/Chocobo.lua | 1 | 5240 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Chocobo
-- Finishes Quest: Chocobo's Wounds
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles")... | gpl-3.0 |
jsj2008/ValyriaTear | dat/maps/layna_forest/layna_forest_south_east_map.lua | 4 | 92662 | map_data = {}
-- The number of rows, and columns that compose the map
map_data.num_tile_cols = 64
map_data.num_tile_rows = 48
-- The tilesets definition files used.
map_data.tileset_filenames = {}
map_data.tileset_filenames[1] = "dat/tilesets/wood_tileset.lua"
map_data.tileset_filenames[2] = "dat/tilesets/village_ext... | gpl-2.0 |
madpilot78/ntopng | scripts/lua/rest/v2/get/host/dscp/stats.lua | 2 | 1469 | --
-- (C) 2013-21 - ntop.org
--
local dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
local stats_utils = require("stats_utils")
local rest_utils = require("rest_utils")
local dscp_consts = require "dscp_consts"
--
-- Read DSCP statistics for ... | gpl-3.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/zones/illusory-castle/zone.lua | 3 | 1910 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
jkassman/wesnoth | data/ai/micro_ais/cas/ca_swarm_move.lua | 26 | 2504 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local ca_swarm_move = {}
function ca_swarm_move:evaluation(ai, cfg)
local units = wesnoth.get_units { side = wesnoth.current.side }
for _,unit in ipairs(units) do
if (unit.moves > 0) then return cfg.ca_score e... | gpl-2.0 |
SammyJames/LootDrop | Libs/LibAddonMenu-2.0/controls/panel.lua | 2 | 5170 | --[[panelData = {
type = "panel",
name = "Window Title",
displayName = "My Longer Window Title", --(optional) (can be useful for long addon names or if you want to colorize it)
author = "Seerah", --(optional)
version = "2.0", --(optional)
slashCommand = "/myaddon", --(optional) will register a keybind to op... | mit |
eriche2016/nn | WeightedEuclidean.lua | 43 | 8173 | local WeightedEuclidean, parent = torch.class('nn.WeightedEuclidean', 'nn.Module')
function WeightedEuclidean:__init(inputSize,outputSize)
parent.__init(self)
self.weight = torch.Tensor(inputSize,outputSize)
self.gradWeight = torch.Tensor(inputSize,outputSize)
-- each template (output dim) has its own di... | bsd-3-clause |
purebn/ShadowBot | plugins/plugins.1.lua | 325 | 6164 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
pakoito/ToME---t-engine4 | game/modules/tome/data/gfx/particles/iceflash.lua | 3 | 1989 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2014 Nicolas Casalini
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU General Public License as published by
-- the Free Software Foundation, either version 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
osamaalbsraoy/osama_albsraoy1989 | plugins/insta.lua | 1 | 4158 |
local access_token = "3084249803.280d5d7.999310365c8248f8948ee0f6929c2f02" -- your api key
local function instagramUser(msg, query)
local receiver = get_receiver(msg)
local url = "https://api.instagram.com/v1/users/search?q="..URL.escape(query).."&access_token="..access_token
local jstr, res = https.request(url... | gpl-2.0 |
NPLPackages/paracraft | script/apps/Aries/Creator/Game/Test/test_block_engine.lua | 1 | 7626 | --[[
Title: test block engine
Author(s): LiXizhi
Date: 2012/10/20
Desc:
use the lib:
------------------------------------------------------------
NPL.load("(gl)script/apps/Aries/Creator/Game/Test/test_block_engine.lua");
local Test = commonlib.gettable("MyCompany.Aries.Game.BlockEngine.Test")
Test.TestInit()
-------... | gpl-2.0 |
gleachkr/luakit | doc/luadoc/widget.webview.lua | 4 | 14061 | --- WebKitGTK+ webview widget
--
-- DOCMACRO(available:ui)
--
-- # Creating a new webview widget
--
-- To create a new webview widget, use the `widget` constructor:
--
-- local view = widget{ type = "webview" }
--
-- print(type(view)) -- Prints "widget"
-- print(view.type) -- Prints "webview"
--
-- # Destroying ... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.