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
herrbrave/RTS_Engine
RTS/RTS/Games/asteroids/bullet.lua
1
1118
registrar = { ASSET = 0, DRAWABLE = 0, ENTITY = 1, FACTORY = 0, PHYSICS = 1, ANIMATION = 0, INPUT = 0, SCRIPT = 0, ASSET = 0 } function setup() end -- Standard Mouse/Key events function onMouseMove(x, y, button) end function onMouseUp(x, y, button) print("onMouseUp", x, y, button) end function onMouseD...
mit
ibm2431/darkstar
scripts/globals/items/dish_of_salsa.lua
11
1310
----------------------------------------- -- ID: 5299 -- Item: dish_of_salsa -- Food Effect: 3Min, All Races ----------------------------------------- -- Strength -1 -- Dexterity -1 -- Agility -1 -- Vitality -1 -- Intelligence -1 -- Mind -1 -- Sleep Resist 5 ----------------------------------------- require("scripts/gl...
gpl-3.0
LegionXI/darkstar
scripts/zones/Bearclaw_Pinnacle/bcnms/flames_for_the_dead.lua
30
1817
----------------------------------- -- Area: Bearclaw_Pinnacle -- Name: flames_for_the_dead -- bcnmID : 640 -- enemy: Snoll_Tzar 16801793 16801794 16801795 group 176 ----------------------------------- package.loaded["scripts/zones/Bearclaw_Pinnacle/TextIDs"] = nil; ----------------------------------- require("script...
gpl-3.0
greasydeal/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Aihn_Sowlmirih.lua
38
1052
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Aihn Sowlmirih -- Type: Standard NPC -- @zone: 94 -- @pos -61.102 -4.5 71.743 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni...
gpl-3.0
LegionXI/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Horn.lua
17
1482
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Horn ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEngage...
gpl-3.0
naclander/tome
game/modules/tome/data/talents/psionic/voracity.lua
1
6887
-- 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
herrbrave/RTS_Engine
RTS/RTS/Games/dumb_bullet_game/bullet.lua
1
1374
registrar = { DRAWABLE = 0, ENTITY = 1, FACTORY = 0, PHYSICS = 1, ANIMATION = 0, INPUT = 0, SCRIPT = 0, UI = 0 } function setup() print("Bullet setup") setTag(entityId, "bullet") end -- Collition Callback -- function onCollision(id) tag = getTag(id) if tag == "bound" then destroyEntity(entityId) else...
mit
LegionXI/darkstar
scripts/zones/Bastok_Markets/npcs/Lamepaue.lua
14
11479
----------------------------------- -- Area: Bastok Markets -- NPC: Lamepaue -- Type: Past Event Watcher -- @zone 235 -- @pos -172.136 -5 -69.632 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/zones/Bastok_Markets/TextIDs"); require("scripts/glob...
gpl-3.0
greasydeal/darkstar
scripts/zones/Northern_San_dOria/npcs/Cheupirudaux.lua
44
2147
----------------------------------- -- Area: Northern San d'Oria -- NPC: Cheupirudaux -- Type: Woodworking Guildmaster NPC -- Involved in Quest: It's Raining Mannequins! -- @pos -138 12 250 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; -----------------------...
gpl-3.0
greasydeal/darkstar
scripts/globals/spells/bluemagic/ice_break.lua
9
1952
----------------------------------------- -- Spell: Ice Break -- Deals ice damage to enemies within range. Additional Effect: "Bind" -- Spell cost: 142 MP -- Monster Type: Arcana -- Spell Type: Magical (Ice) -- Blue Magic Points: 3 -- Stat Bonus: INT+1 -- Level: 50 -- Casting Time: 5.25 seconds -- Recast Time...
gpl-3.0
LegionXI/darkstar
scripts/globals/spells/cura.lua
35
4128
----------------------------------------- -- Spell: Cura -- Restores hp in area of effect. Self target only -- From what I understand, Cura's base potency is the same as Cure's. -- With Afflatus Misery Bonus, it can be as potent as a Curaga II -- Modeled after our Cure.lua, which was modeled after the below reference -...
gpl-3.0
LegionXI/darkstar
scripts/globals/items/irmik_helvasi.lua
12
1463
----------------------------------------- -- ID: 5572 -- Item: irmik_helvasi -- Food Effect: 3 hours, All Races ----------------------------------------- -- HP +10% (cap 75) -- MP +3% (cap 13) -- INT +1 ----------------------------------------- require("scripts/globals/status"); --------------------------------------...
gpl-3.0
LegionXI/darkstar
scripts/zones/Port_San_dOria/npcs/Regine.lua
13
5687
----------------------------------- -- Area: Port San d'Oria -- NPC: Regine -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"); ...
gpl-3.0
greasydeal/darkstar
scripts/zones/Bastok_Mines/npcs/Wobke.lua
38
1040
----------------------------------- -- Area: Bastok Mines -- NPC: Wobke -- Type: Quest NPC -- @zone: 234 -- @pos 29.028 -0.126 -111.626 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zon...
gpl-3.0
Igalia/snabbswitch
lib/luajit/testsuite/test/lib/ffi/ffi_jit_conv.lua
6
5951
local ffi = require("ffi") local ctest = require("ctest") do local s = ffi.new("struct { int32_t x; }") s.x = -0x12345678 for i=1,100 do s.x = s.x + 1 -- narrowed end assert(s.x == -0x12345678+100) end do local s = ffi.new("struct { uint32_t x; }") s.x = 0x81234567 for i=1,100 do s.x = s.x + ...
apache-2.0
ibm2431/darkstar
scripts/globals/items/rolanberry_daifuku_+1.lua
11
2069
----------------------------------------- -- ID: 6340 -- Item: rolanberry_daifuku_+1 -- Food Effect: 60 Min, All Races ----------------------------------------- -- HP +30 -- VIT +4 -- Accuracy +11% (cap 54) -- Ranged Accuracy +11% (cap 54) -- Magic Accuracy +4 -- Pet: -- HP +30 -- VIT +4 -- Accuracy +11% (cap 81) -- Ra...
gpl-3.0
greasydeal/darkstar
scripts/zones/Arrapago_Reef/npcs/Runic_Portal.lua
17
1856
----------------------------------- -- Area: Arrapago Reef -- NPC: Runic Portal -- Arrapago Reef Teleporter Back to Aht Urgan Whitegate -- @pos 15 -7 627 54 ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
greasydeal/darkstar
scripts/globals/mobskills/Final_Sting.lua
7
1185
--------------------------------------------- -- Final Sting -- -- Description: Deals damage proportional to HP. Reduces HP to 1 after use. Damage varies with TP. -- Type: Physical (Slashing) -- -- --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/st...
gpl-3.0
LegionXI/darkstar
scripts/zones/West_Sarutabaruta_[S]/mobs/Ramponneau.lua
12
2055
----------------------------------- -- Area: West Sarutabaruta (S) -- NM: Ramponneau ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobInitialize Action ----------------------------------- function onMobInitialize...
gpl-3.0
lache/RacingKingLee
crazyclient/src/cocos/ui/DeprecatedUIFunc.lua
53
7325
if nil == ccui then return end --tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --functions of ccui.Text will be deprecated begin local TextDeprecated = { } function TextDeprecated.setText(self, st...
mit
greasydeal/darkstar
scripts/globals/weaponskills/exenterator.lua
12
2056
----------------------------------- -- Exenterator -- Skill level: 357 -- Terpsichore: Aftermath effect varies with TP. -- In order to obtain Exenterator, the quest Martial Mastery must be completed. -- Description: Delivers a fourfold attack that lowers enemy's params.accuracy. Effect duration varies with TP. --...
gpl-3.0
LegionXI/darkstar
scripts/globals/items/pair_of_nopales.lua
12
1177
----------------------------------------- -- ID: 5650 -- Item: pair_of_nopales -- Food Effect: 5min, All Races ----------------------------------------- -- VIT -4 -- AGI +2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----------...
gpl-3.0
Source-advan/AdvanSource
plugins/anti_spam.lua
1
5256
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id == our_id then return msg end -- Save...
gpl-2.0
ibm2431/darkstar
scripts/zones/Western_Adoulin/npcs/Ruth.lua
11
1450
----------------------------------- -- Area: Western Adoulin -- NPC: Ruth -- Type: Standard NPC and Quest NPC -- Involved With Quest: 'A Pioneers Best (Imaginary) Friend' -- !pos -144 4 -10 256 ----------------------------------- require("scripts/globals/missions"); require("scripts/globals/quests"); require("scripts/...
gpl-3.0
ekmartin/mal
lua/step5_tco.lua
40
3109
#!/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
greasydeal/darkstar
scripts/zones/PsoXja/npcs/_096.lua
8
1608
----------------------------------- -- Area: Pso'Xja -- NPC: _096 (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- @pos -330.000 14.074 -261.600 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Pso...
gpl-3.0
LegionXI/darkstar
scripts/zones/Windurst_Waters/npcs/Hakeem.lua
53
1824
----------------------------------- -- Area: Windurst Waters -- NPC: Hakeem -- Type: Cooking Image Support -- @pos -123.120 -2.999 65.472 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); requir...
gpl-3.0
filialpails/REPL
repl.lua
1
13636
-- localize globals local loadstring = loadstring local tostring = tostring local tostringall = tostringall local setfenv = setfenv local pcall = pcall local pairs = pairs local type = type local unpack = unpack local select = select local getmetatable = getmetatable local setmetatable = setmetatable --- Applies funct...
lgpl-3.0
ibm2431/darkstar
scripts/globals/weaponskills/trueflight.lua
10
1796
----------------------------------- -- Trueflight -- Skill Level: N/A -- Description: Deals light elemental damage. Damage varies with TP. Gastraphetes: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (Ranger) quest. -- Does not work with Flashy Shot. -- Does not work with Steal...
gpl-3.0
LegionXI/darkstar
scripts/zones/Bastok_Mines/npcs/Black_Mud.lua
17
2983
----------------------------------- -- Area: Bastok Mines -- NPC: Black Mud -- Starts & Finishes Quest: Drachenfall ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); ...
gpl-3.0
LegionXI/darkstar
scripts/zones/Western_Altepa_Desert/npcs/_3h5.lua
14
1893
----------------------------------- -- Area: Western Altepa Desert -- NPC: _3h5 (Ruby Column) -- Notes: Mechanism for Altepa Gate -- @pos 59 10 -104 125 ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/zones...
gpl-3.0
ricker75/Global-Server
data/actions/scripts/in service of yalahar quest/inServiceOfYalaharQuestReward.lua
2
1489
function onUse(cid, item, fromPosition, itemEx, toPosition) if(getPlayerStorageValue(cid, 10012) < 1) then doPlayerAddExp(cid, 250000, true, true) setPlayerStorageValue(cid, 10012, 1) end if(item.uid == 3088) then if(getPlayerStorageValue(cid, 30) == 53) then setPlayerStorageValue(cid, 30, 54) Player(cid...
gpl-2.0
naclander/tome
game/modules/tome/data/general/objects/egos/heavy-armor.lua
3
3363
-- 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
Igalia/snabbswitch
src/program/lisper/dev-env-perftest/gen_pcap.lua
14
2506
#!snabb/src/snabb snsh local pcap = require'lib.pcap.pcap' local eth = require'lib.protocol.ethernet' local ipv6 = require'lib.protocol.ipv6' local ffi = require'ffi' local lib = require'core.lib' local f local function file(filename) if f then f:close() end if not filename then return end print('opening '..file...
apache-2.0
naclander/tome
game/modules/tome/data/gfx/particles/breath_blood.lua
3
1790
-- 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
naclander/tome
game/modules/tome/data/texts/tutorial/stats-timed/timed6.lua
3
1437
-- 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
ibm2431/darkstar
scripts/zones/The_Garden_of_RuHmet/mobs/Kfghrah_BLM.lua
9
1385
----------------------------------- -- Area: The Garden of Ru'Hmet -- Mob: Kf'ghrah BLM ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); -- no spells are currently set due to lack of info ----------------------------------- function onMobSpawn(mob) -- Set co...
gpl-3.0
greasydeal/darkstar
scripts/zones/Port_Bastok/npcs/Grin.lua
38
1026
----------------------------------- -- Area: Port Bastok -- NPC: Grin -- Type: Quest Giver -- @zone: 236 -- @pos -56.533 1.392 -29.432 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; -----------------------...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/hedgehog_pie.lua
35
1967
----------------------------------------- -- ID: 5146 -- Item: hedgehog_pie -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 55 -- Strength 6 -- Vitality 2 -- Intelligence -3 -- Mind 3 -- Magic Regen While Healing 2 -- Attack % 18 -- Attack Cap 90 -- Accuracy 5 -- Rang...
gpl-3.0
ibm2431/darkstar
scripts/globals/weaponskills/final_heaven.lua
10
2092
------------------------------- -- Skill: Final Heaven -- H2H weapon skill -- Skill Level N/A -- Additional effect: temporarily enhances Subtle Blow dsp.effect. -- Mods : VIT:60% -- 100%TP 200%TP 300%TP -- 3.0x 3.0x 3.0x -- +10 Subtle Blow for a short duration after using the weapon skill. (Not implem...
gpl-3.0
HeavenIsLost/ChronusServer
data/npc/lib/npcsystem/modules.lua
4
39356
-- Advanced NPC System by Jiddo if Modules == nil then -- default words for greeting and ungreeting the npc. Should be a table containing all such words. FOCUS_GREETWORDS = {"hi", "hello"} FOCUS_FAREWELLWORDS = {"bye", "farewell"} -- The words for requesting trade window. SHOP_TRADEREQUEST = {"trade"} -- The w...
gpl-2.0
LegionXI/darkstar
scripts/globals/spells/archers_prelude.lua
27
1521
----------------------------------------- -- Spell: Archer's Prelude -- Gives party members ranged attack accuracy ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingChe...
gpl-3.0
atheurer/MoonGen
lua/include/dpdk.lua
2
9895
--------------------------------- --- @file dpdk.lua --- @brief DPDK ... --- @todo TODO docu --------------------------------- --- high-level dpdk wrapper local mod = {} local ffi = require "ffi" local dpdkc = require "dpdkc" local serpent = require "Serpent" local log = require "log" -- DPDK constants (lib/librt...
mit
ibm2431/darkstar
scripts/zones/Apollyon/bcnms/central_apollyon.lua
9
1351
----------------------------------- -- Area: Appolyon -- Name: Central Apollyon ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/battlefield") require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBattlefieldTick(battlefiel...
gpl-3.0
ibm2431/darkstar
scripts/globals/items/coeurl_sub_+1.lua
11
1748
----------------------------------------- -- ID: 5167 -- Item: coeurl_sub_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Magic 15 -- Strength 5 -- Agility 1 -- Intelligence -2 -- Health Regen While Healing 1 -- Attack % 22 -- Attack Cap 80 -- Ranged ATT % 22 -- Ranged ATT Cap 80 -- Sle...
gpl-3.0
naclander/tome
game/modules/tome/data/general/objects/cloth-armors.lua
3
2189
-- 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
siktirmirza/supergp
plugins/p.lua
12
6188
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
LegionXI/darkstar
scripts/zones/Palborough_Mines/npcs/Treasure_Chest.lua
17
3072
----------------------------------- -- Area: Palborough Mines -- NPC: Treasure Chest -- @zone 143 ----------------------------------- package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("s...
gpl-3.0
ibm2431/darkstar
scripts/zones/Davoi/npcs/_45j.lua
9
1853
----------------------------------- -- Area: Davoi -- NPC: Screaming Pond -- Used In Quest: Whence Blows the Wind -- !pos -219 0.1 -101 149 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); local ID = require("scripts/zones/Davoi/IDs"); ----------------------...
gpl-3.0
greasydeal/darkstar
scripts/zones/Abyssea-Konschtat/npcs/Conflux_Surveyor.lua
32
3671
----------------------------------- -- Zone: Abyssea - Konschtat -- NPC: Conflux Surveyor -- Type: -- @pos 133.000 -72.738 -824.000 15 ----------------------------------- package.loaded["scripts/zones/Abyssea-Konschtat/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings");...
gpl-3.0
greasydeal/darkstar
scripts/zones/Kamihr_Drifts/Zone.lua
34
1243
----------------------------------- -- -- Zone: Kamihr Drifts -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Kamihr_Drifts/TextIDs"] = nil; require("scripts/zones/Kamihr_Drifts/TextIDs"); ----------------------------------- -- onInitialize ----...
gpl-3.0
naclander/tome
game/modules/tome/data/general/traps/water.lua
3
2087
-- 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
LegionXI/darkstar
scripts/globals/items/yagudo_cherry.lua
12
1187
----------------------------------------- -- ID: 4445 -- Item: yagudo_cherry -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
greasydeal/darkstar
scripts/zones/Cape_Teriggan/npcs/Salimardi_RK.lua
28
3126
----------------------------------- -- Area: Cape Teriggan -- NPC: Bright Moon -- Type: Outpost Conquest Guards -- @pos -185 7 -63 113 ----------------------------------- package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); req...
gpl-3.0
ibm2431/darkstar
scripts/zones/Empyreal_Paradox/Zone.lua
12
1107
----------------------------------- -- -- Zone: Empyreal_Paradox -- ----------------------------------- local ID = require("scripts/zones/Empyreal_Paradox/IDs") require("scripts/globals/conquest") ----------------------------------- function onInitialize(zone) zone:registerRegion(1, 538, -2, -501, 542, 0, -497); ...
gpl-3.0
LegionXI/darkstar
scripts/zones/RuAun_Gardens/npcs/qm3.lua
14
1481
----------------------------------- -- Area: Ru'Aun Gardens -- NPC: ??? (Byakko's Spawn) -- Allows players to spawn the HNM Byakko with a Gem of the West and an Autumnstone. -- @pos -410 -70 394 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; -----------------------...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/loach_soup.lua
35
1678
----------------------------------------- -- ID: 5671 -- Item: loach_soup -- Food Effect: 4Hour,Group Food, All Races ----------------------------------------- -- Dexterity 4 -- Agility 4 -- Accuracy % 7 -- Accuracy Cap 50 -- HP % 7 -- HP Cap 50 -- Evasion 5 -- (Did Not Add Group Food Effect) -------------...
gpl-3.0
hideheader/papercrop
mylib_filesystem.lua
15
12795
function os.createDir(path) if os.isUnix() then os.execute('mkdir "'..path..'"') else os.execute("md "..string.gsub(path, '/', '\\')) end end function os.rename(name1, name2) if os.isUnix() then os.execute("mv "..name1.." "..name2) else local cmd=string.gsub("move "..name1.."...
gpl-2.0
evrooije/beerarchy
mods/00_bt_inventory/unified_inventory/api.lua
5
9410
local S = unified_inventory.gettext local F = unified_inventory.fgettext -- Create detached creative inventory after loading all mods minetest.after(0.01, function() local rev_aliases = {} for source, target in pairs(minetest.registered_aliases) do if not rev_aliases[target] then rev_aliases[target] = {} end tab...
lgpl-2.1
LegionXI/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/qm6.lua
14
1118
----------------------------------- -- Area: Phomiuna Aqueducts -- NPC: qm6 (???) -- Notes: Opens door @ J-8 from behind -- @pos 105.502 -25.262 57.138 27 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade)...
gpl-3.0
ibm2431/darkstar
scripts/globals/mobskills/calcifying_deluge.lua
11
1109
--------------------------------------------- -- Calcifying Deluge -- -- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Petrification -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown -- Notes: Used only by Medusa. ----------------------------...
gpl-3.0
greasydeal/darkstar
scripts/globals/weaponskills/sanguine_blade.lua
26
1658
----------------------------------- -- Sanguine Blade -- Sword weapon skill -- Skill Level: 300 -- Drains a percentage of damage dealt to HP varies with TP. -- Will not stack with Sneak Attack. -- Not aligned with any "elemental gorgets" or "elemental belts" due to it's absence of Skillchain properties. -- Eleme...
gpl-3.0
LegionXI/darkstar
scripts/globals/items/homemade_omelette.lua
12
1861
----------------------------------------- -- ID: 5707 -- Item: homemade_omelette -- Food Effect: 30Min, All Races ----------------------------------------- -- DEF +5 -- Accuracy +12% (cap 80) -- Attack +10% (cap 40) -- Ranged Accuracy +12% (cap 80) -- Ranged Attack +10% (cap 40) ----------------------------------------...
gpl-3.0
naclander/tome
game/modules/tome/data/gfx/particles/temporal_flash.lua
3
2037
-- 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
RezaShell32/robot2
plugins/tools.lua
12
21490
--Begin Tools.lua :) local SUDO = 123456789 -- put Your ID here! <=== local function index_function(user_id) for k,v in pairs(_config.admins) do if user_id == v[1] then print(k) return k end end -- If not found return false end local function getindex(t,id) for i,v in pairs(t) do if v == i...
gpl-3.0
Geigerkind/DPSMateTBC
DPSMate_CurePoisonReceived/DPSMate_Details_CurePoisonReceived.lua
1
8327
-- Global Variables DPSMate.Modules.DetailsCurePoisonReceived = {} -- Local variables local DetailsArr, DetailsTotal, DmgArr, DetailUser, DetailsSelected = {}, 0, {}, "", 1 local DetailsArrComp, DetailsTotalComp, DmgArrComp, DetailUserComp, DetailsSelectedComp = {}, 0, {}, "", 1 local g, g2 local curKey = 1 local db...
gpl-3.0
LegionXI/darkstar
scripts/zones/Chateau_dOraguille/npcs/Mistaravant.lua
14
1062
----------------------------------- -- Area: Chateau d'Oraguille -- NPC: Mistaravant -- Type: Standard NPC -- @zone 233 -- @pos 7.097 -3.999 67.988 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil; --...
gpl-3.0
Mahdi-Rom/android_external_skia
tools/lua/glyph-usage.lua
207
4034
function tostr(t) local str = "" for k, v in next, t do if #str > 0 then str = str .. ", " end if type(k) == "number" then str = str .. "[" .. k .. "] = " else str = str .. tostring(k) .. " = " end if type(v) == "table" then ...
bsd-3-clause
greasydeal/darkstar
scripts/zones/Riverne-Site_B01/npcs/HomePoint#1.lua
12
1188
----------------------------------- -- Area: Riverne-Site B01 -- NPC: HomePoint#1 -- @pos ----------------------------------- package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Riverne-Site_B01/TextIDs"); require("scripts/globals/homepoint"); ...
gpl-3.0
naclander/tome
game/modules/tome/ai/target.lua
3
3580
-- 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
LegionXI/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Nilerouche.lua
17
1318
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Nilerouche -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ----------------------...
gpl-3.0
greasydeal/darkstar
scripts/zones/Upper_Jeuno/npcs/Tinjue.lua
38
1032
----------------------------------- -- Area: Upper Jeuno -- NPC: Tinjue -- Type: Past Event Watcher -- @zone: 244 -- @pos -73.790 -1 148.181 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; -----------------...
gpl-3.0
LegionXI/darkstar
scripts/zones/Cape_Teriggan/npcs/Field_Manual.lua
29
1059
----------------------------------- -- Area: Cape Teriggan -- Type: Field Manual ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onTrigger Action ------------------------------...
gpl-3.0
greasydeal/darkstar
scripts/zones/Mhaura/npcs/Radhika.lua
19
1057
----------------------------------- -- Area: Mhaura -- NPC: Radhika -- Type: Standard NPC -- @pos 34.124 -8.999 39.629 249 ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); ---------------------------...
gpl-3.0
icyxp/kong
kong/plugins/response-ratelimiting/policies/init.lua
4
5890
local singletons = require "kong.singletons" local timestamp = require "kong.tools.timestamp" local redis = require "resty.redis" local policy_cluster = require "kong.plugins.response-ratelimiting.policies.cluster" local ngx_log = ngx.log local shm = ngx.shared.kong_cache local pairs = pairs local fmt = string.format ...
apache-2.0
greasydeal/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Leonoyne1.lua
36
1073
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Leonyone -- @zone 80 -- @pos -192 -1 42 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ------------------------------...
gpl-3.0
LegionXI/darkstar
scripts/zones/Windurst_Waters/npcs/Kirarara.lua
14
1404
----------------------------------- -- Area: Windurst Waters -- NPC: Kirarara -- Involved in Quest: Making the Grade -- Working 100% -- @zone = 238 -- @pos = 132 -7 172 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
LegionXI/darkstar
scripts/globals/items/rice_dumpling.lua
12
2106
----------------------------------------- -- ID: 4271 -- Item: rice_dumpling -- Food Effect: 30minutes, All Races ----------------------------------------- -- HP 17 -- Strength 3 -- Vitality 2 -- Agility 1 -- Attack 20% (caps @ 45) -- Ranged Attack 30% (caps @ 45) -- HP Regeneration While Healing 2 -- MP Regeneration W...
gpl-3.0
evrooije/beerarchy
mods/default/furnace.lua
15
8995
-- -- Formspecs -- local function active_formspec(fuel_percent, item_percent) local formspec = "size[8,8.5]".. default.gui_bg.. default.gui_bg_img.. default.gui_slots.. "list[current_name;src;2.75,0.5;1,1;]".. "list[current_name;fuel;2.75,2.5;1,1;]".. "image[2.75,1.5;1,1;default_furnace_fire_bg.png^[lo...
lgpl-2.1
gwlim/luci
libs/nixio/docsrc/nixio.UnifiedIO.lua
157
5891
--- Unified high-level I/O utility API for Files, Sockets and TLS-Sockets. -- These functions are added to the object function tables by doing <strong> -- require "nixio.util"</strong>, can be used on all nixio IO Descriptors and -- are based on the shared low-level read() and write() functions. -- @cstyle instance mo...
apache-2.0
HeavenIsLost/ChronusServer
data/spells/scripts/monster/mutated bat curse.lua
32
1107
local combat = {} for i = 2, 4 do combat[i] = Combat() combat[i]:setParameter(COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) combat[i]:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_SMALLCLOUDS) combat[i]:setParameter(COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_DEATH) local condition = Condition(CONDITION_CURSED) condition:setP...
gpl-2.0
Wargus/wargus
scripts/human/anim.lua
1
23364
-- _________ __ __ -- / _____// |_____________ _/ |______ ____ __ __ ______ -- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/ -- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \ -- /_______ /|__| |__| (____ /__| (____ /\___ /|____//...
gpl-2.0
LegionXI/darkstar
scripts/zones/Windurst_Waters/npcs/Rukuku.lua
14
1401
----------------------------------- -- Area: Windurst Waters -- NPC: Rukuku -- Involved in Quest: Making the Grade -- Working 100% -- @zone = 238 -- @pos = 130 -6 160 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
LegionXI/darkstar
scripts/globals/weaponskills/tachi_hobaku.lua
18
1569
----------------------------------- -- Tachi Hobaku -- Great Katana weapon skill -- Skill Level: 30 -- Stuns enemy. Chance of stun varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Snow Gorget. -- Aligned with the Snow Belt. -- Element: None -- Modifiers: STR:60% -- 100%TP 200%TP 300%TP -- 1.00...
gpl-3.0
naclander/tome
game/engines/default/engine/dialogs/Talkbox.lua
1
6624
-- 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
ibm2431/darkstar
scripts/zones/King_Ranperres_Tomb/npcs/Tombstone.lua
9
2203
----------------------------------- -- Area: King Ranperre's Tomb -- NPC: Tombstone -- Involved in Quest: Grave Concerns -- !pos 1 0.1 -101 190 ----------------------------------- local ID = require("scripts/zones/King_Ranperres_Tomb/IDs") require("scripts/globals/missions") require("scripts/globals/npc_util") require...
gpl-3.0
greasydeal/darkstar
scripts/zones/Windurst_Waters/npcs/HomePoint#2.lua
12
1256
----------------------------------- -- Area: Windurst Waters -- NPC: HomePoint#1 -- @pos 138 0.001 -14 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Windurst_Waters/TextIDs"); require("scrip...
gpl-3.0
evrooije/beerarchy
mods/00_bt_misc/sprint/esprint.lua
1
8180
--[[ Sprint mod for Minetest by GunshipPenguin To the extent possible under law, the author(s) have dedicated all copyright and related and neighboring rights to this software to the public domain worldwide. This software is distributed without any warranty. ]] local players = {} local playerObjects = {} local stamin...
lgpl-2.1
greasydeal/darkstar
scripts/globals/mobskills/Grim_Reaper.lua
25
1030
--------------------------------------------- -- Grim Reaper -- -- Description: Deals damage in a threefold attack to targets in a fan-shaped area of effect. Additional effect: Doom -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown cone -- Notes: Used only by certain Lamia NMs (e.g....
gpl-3.0
greasydeal/darkstar
scripts/zones/Xarcabard/npcs/Telepoint.lua
17
1637
----------------------------------- -- Area: Xarcabard -- NPC: Telepoint -- @pos 150.258 -21.047 -37.256 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Xarcabard/T...
gpl-3.0
lache/RacingKingLee
crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/RemoveSelf.lua
11
1351
-------------------------------- -- @module RemoveSelf -- @extend ActionInstant -- @parent_module cc -------------------------------- -- init the action -- @function [parent=#RemoveSelf] init -- @param self -- @param #bool isNeedCleanUp -- @return bool#bool ret (return value: bool) -----------------------...
mit
BDelperier/factorior
mod/More Quickbar_1.0.0/data.lua
1
1559
data.raw.technology["toolbelt"].upgrade = "true" data:extend( { { type = "technology", name = "toolbelt-2", icon = "__base__/graphics/technology/toolbelt.png", effects = { { type = "num-quick-bars", ...
mit
greasydeal/darkstar
scripts/zones/North_Gustaberg_[S]/npcs/Gebhardt.lua
10
1205
----------------------------------- -- Area: North Gustaberg (S) (I-6) -- NPC: Gebhardt -- Involved in Quests: The Fighting Fourth ----------------------------------- package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil; package.loaded["scripts/globals/quests"] = nil; ----------------------------------- r...
gpl-3.0
gwlim/luci
applications/luci-statistics/luasrc/model/cbi/luci_statistics/csv.lua
80
1198
--[[ Luci configuration model for statistics - collectd csv plugin configuration (c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net> 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 a...
apache-2.0
bittorf/luci
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/dns.lua
68
1085
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. require("luci.sys") m = Map("luci_statistics", translate("DNS Plugin Configuration"), translate( "The dns plugin collects detailled statistics about dns " .. "related traffic on select...
apache-2.0
LegionXI/darkstar
scripts/zones/Inner_Horutoto_Ruins/TextIDs.lua
22
1317
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6548; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6553; -- Obtained: <item>. GIL_OBTAINED = 6554; -- Obtained <number> gil. KEYITEM_OBTAINED = 6556; -- Obtained...
gpl-3.0
icyxp/kong
spec/03-plugins/16-response-transformer/04-filter_spec.lua
3
2551
local helpers = require "spec.helpers" describe("Plugin: response-transformer (filter)", function() local client setup(function() helpers.run_migrations() local api1 = assert(helpers.dao.apis:insert { name = "tests-response-transformer", hosts = { "response.com" }, upstre...
apache-2.0
LegionXI/darkstar
scripts/zones/Kuftal_Tunnel/npcs/_4u0.lua
61
1080
----------------------------------- -- Area: Kuftal Tunnel -- NPC: ----------------------------------- require("scripts/globals/status"); ----------------------------------- ----------------------------------- -- onSpawn ----------------------------------- function onSpawn(npc) local elevator = { ...
gpl-3.0
bbn1234/uzzbot
plugins/isX.lua
605
2031
local https = require "ssl.https" local ltn12 = require "ltn12" local function request(imageUrl) -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local api_key = mashape.api_key if ...
gpl-2.0
wizardbottttt/wizard
plugins/isX.lua
605
2031
local https = require "ssl.https" local ltn12 = require "ltn12" local function request(imageUrl) -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local api_key = mashape.api_key if ...
gpl-2.0