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
Turttle/darkstar
scripts/zones/Apollyon/bcnms/NW_Apollyon.lua
19
1065
----------------------------------- -- Area: Appolyon -- Name: ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[NW_Apollyon]UniqueID",Genera...
gpl-3.0
sejbr/cqui
Assets/UI/diplomacyribbon.lua
3
30099
-- =========================================================================== -- Leader container list on top of the HUD -- =========================================================================== include("InstanceManager"); include("TeamSupport"); -- ===============================================================...
mit
SalvationDevelopment/Salvation-Scripts-TCG
c94331452.lua
2
2337
--音響戦士ドラムス function c94331452.initial_effect(c) --attribute change local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(94331452,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetTarget(c94331452.target1) e1:SetOperation...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c93665266.lua
2
2390
--水晶機巧-クオン function c93665266.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(93665266,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_MAIN_END+TIMING_BATTLE_START+TIMING_BATTLE_EN...
gpl-2.0
JackS9/iot
lua_examples/thebutton/autoconnect.lua
1
1764
-- choose the strongest open AP available and connect to it -- http://benlo.com/esp8266/esp8266Projects.html#thebutton -- tested with NodeMcu 0.9.2 build 20150123 gpio.write(red,gpio.HIGH) Tstart = tmr.now() ConnStatus = nil function ConnStatus(n) status = wifi.sta.status() uart.write(0,' '..status) local x...
gpl-2.0
puug/kong
kong/cli/migrations.lua
1
3043
#!/usr/bin/env lua local Migrations = require "kong.tools.migrations" local constants = require "kong.constants" local cutils = require "kong.cli.utils" local IO = require "kong.tools.io" local lapp = require("lapp") local args = lapp(string.format([[ Kong datastore migrations. Usage: kong migrations <command> [optio...
mit
Turttle/darkstar
scripts/zones/Abyssea-Vunkerl/Zone.lua
32
1552
----------------------------------- -- -- Zone: Abyssea - Vunkerl -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Vunkerl/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Abyssea-...
gpl-3.0
premek/loading-game
src/character.lua
1
4340
local palette = require "palette" local Character = {} function Character:new (pos) local o = {} setmetatable(o, self) self.__index = self -- TODO understand lua metatables, __index. etc. o.pos = pos o.facing = 0 -- 1=right, 0=front, -1=left o.ground = pos.y-5 -- TODO replace with collision o.size = ...
unlicense
fgenesis/Aquaria_experimental
game_scripts/scripts/entities/sporechildflowerportal.lua
6
4107
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 2 -- of the License, or (at your option) any later vers...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c40529384.lua
9
1212
--エクスプロード・ウィング・ドラゴン function c40529384.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsRace,RACE_DRAGON),1) c:EnableReviveLimit() --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(40529384,0)) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DAMAGE) e1:SetType...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c76203291.lua
6
1220
--光鱗のトビウオ function c76203291.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(76203291,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCost(c76203291.cost) e1:SetTarget(c762...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c75675029.lua
6
1170
--記憶破壊王 function c75675029.initial_effect(c) --remove local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(75675029,0)) e1:SetCategory(CATEGORY_REMOVE+CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BATTLE_DAMAGE) e1:SetCondition(c75675029.condition) e1:SetTarget...
gpl-2.0
TeamEOS/external_skia
tools/lua/scrape_dashing_full.lua
159
4610
local canvas -- holds the current canvas (from startcanvas()) --[[ startcanvas() is called at the start of each picture file, passing the canvas that we will be drawing into, and the name of the file. Following this call, there will be some number of calls to accumulate(t) where t is a tabl...
bsd-3-clause
Turttle/darkstar
scripts/globals/items/bowl_of_sutlac_+1.lua
36
1318
----------------------------------------- -- ID: 5578 -- Item: Bowl of Sutlac -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10 -- MP +10 -- INT +2 -- MP Recovered while healing +2 ----------------------------------------- require("scripts/globals/status"); ---...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c60312997.lua
7
2097
--波動再生 function c60312997.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetCondition(c60312997.condition) e1:SetTarget(c60312997.target) e1:SetOperation(c60312997.operation) c:RegisterEffect(e1) end...
gpl-2.0
iskygame/skynet
lualib/skynet/inject.lua
19
1409
local function getupvaluetable(u, func, unique) local i = 1 while true do local name, value = debug.getupvalue(func, i) if name == nil then return end local t = type(value) if t == "table" then u[name] = value elseif t == "function" then if not unique[value] then unique[value] = true getu...
mit
SalvationDevelopment/Salvation-Scripts-TCG
c24419823.lua
5
1329
--マインフィールド function c24419823.initial_effect(c) --salvage local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(24419823,0)) e2:SetCategory(CATEGORY_TOHAND) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e2:SetCode(EVENT_LEAVE_FIELD) ...
gpl-2.0
Turttle/darkstar
scripts/zones/Palborough_Mines/npcs/Old_Toolbox.lua
17
1410
----------------------------------- -- Area: Palborough Mines -- NPC: Old Toolbox -- Continues Quest: The Eleventh's Hour ----------------------------------- package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("script...
gpl-3.0
Turttle/darkstar
scripts/zones/Northern_San_dOria/npcs/Vamorcote.lua
17
2626
----------------------------------- -- Area: Northern San d'Oria -- NPC: Vamorcote -- Starts and Finishes Quest: The Setting Sun -- @zone: 231 -- @pos -137.070 10.999 161.855 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/No...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c93816465.lua
9
1048
--ゼロ・ガードナー function c93816465.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(93816465,0)) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1:SetRange(LOCATION_MZONE) e1:SetCost(c93816465.cost) e1:SetOperation(c93816465.operation) c:RegisterEffect(e1) en...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c94079037.lua
5
1656
--マイン・モール function c94079037.initial_effect(c) --battle indes local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_INDESTRUCTABLE_COUNT) e1:SetCountLimit(1) e1:SetValue(c94079037.valcon) c:RegisterEffect(e1) --dra...
gpl-2.0
FFG-Blinkenn/tdm
gamemodes/tdm/entities/weapons/weapon_zm_rifle.lua
2
3807
AddCSLuaFile() SWEP.HoldType = "ar2" if CLIENT then SWEP.PrintName = "Scout" end SWEP.Slot = 2 SWEP.SlotPos = 1 SWEP.Weight = 5 SWEP.AutoSwitchTo = false SWEP.AutoSwitchFrom = false SWEP.Base = "weapon_tttbase" SWEP.Spawnable = true SWEP.Kind = WEAPON_HEAVY S...
mit
eugeneia/snabb
lib/ljsyscall/test/freebsd.lua
5
3720
-- BSD specific tests local function init(S) local helpers = require "test.helpers" local types = S.types local c = S.c local abi = S.abi local bit = require "syscall.bit" local ffi = require "ffi" local t, pt, s = types.t, types.pt, types.s local assert = helpers.assert local function fork_assert(cond, err, ...)...
apache-2.0
jrahlf/nodemcu-firmware
lua_examples/onewire-ds18b20.lua
60
1505
--' -- 18b20 one wire example for NODEMCU -- NODEMCU TEAM -- LICENCE: http://opensource.org/licenses/MIT -- Vowstar <vowstar@nodemcu.com> --' pin = 9 ow.setup(pin) count = 0 repeat count = count + 1 addr = ow.reset_search(pin) addr = ow.search(pin) tmr.wdclr() until((addr ~= nil) or (count > 100)) if (addr ==...
mit
Turttle/darkstar
scripts/zones/AlTaieu/mobs/Absolute_Virtue.lua
23
2388
----------------------------------- -- Area: Al'Taieu -- HNM: Absolute Virtue ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobSpawn Action -------------------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c56981417.lua
3
2390
--セフェルの魔導書 function c56981417.initial_effect(c) --copy spell local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,56981417+EFFECT_COUNT_CODE_OATH) e1:SetCondition(c56981417.condition) e1:SetCost(c56981417.cost) e1:SetTarget(c56981417.target) e1:SetOpe...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c99397762.lua
2
1489
--光波防輪 function c99397762.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c99397762.target) e1:SetOperation(c99397762.activate) c:RegisterEffect(e1) end function c99397762.filter(c) r...
gpl-2.0
purerosefallen/ygopro-222DIY
premake/irrlicht/premake5.lua
5
12649
project "Irrlicht" kind "StaticLib" includedirs { "include", "src", "src/jpeglib", "src/libpng", "src/zlib" } defines { "_IRR_STATIC_LIB_" } exceptionhandling "Off" rtti "Off" files { "src/CCgMaterialRenderer.cpp", "src/CD3D9CgMaterialRenderer.cpp", "src/CDefau...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c63060238.lua
2
2947
--E・HERO ブレイズマン function c63060238.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(63060238,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EF...
gpl-2.0
FFG-Blinkenn/tdm
gamemodes/tdm/entities/weapons/weapon_ttt_frag.lua
2
1648
AddCSLuaFile() if CLIENT then SWEP.PrintName = "Frag Grenade" end -- Always derive from weapon_tttbasegrenade SWEP.Base = "weapon_tttbasegrenade" -- Standard GMod values SWEP.HoldType = "grenade" SWEP.Slot = 3 SWEP.SlotPos = 1 SWEP.Weight = 6 SWEP.AutoSwitchTo = false SWEP.AutoSwitchFrom = t...
mit
SalvationDevelopment/Salvation-Scripts-TCG
c67688478.lua
6
1571
--ヂェミナイ・デビル function c67688478.initial_effect(c) --Negate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(67688478,0)) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_CHAINING) e1:SetRange(LOCATION_HAND) e1:SetProperty(EFFECT_FLAG_DA...
gpl-2.0
MmxBoy/otouto
plugins/currency.lua
13
1086
local doc = [[ /cash [amount] <from> to <to> Example: /cash 5 USD to EUR Returns exchange rates for various currencies. ]] local triggers = { '^/cash[@'..bot.username..']*' } local action = function(msg) local input = msg.text:upper() if not input:match('%a%a%a TO %a%a%a') then sendReply(msg, doc) return ...
gpl-2.0
LuaDist/oil
lua/oil/ludo/Listener.lua
6
5508
-------------------------------------------------------------------------------- ------------------------------ ##### ## ------------------------------ ------------------------------ ## ## # ## ------------------------------ ------------------------------ ## ## ## ## ---------------------------...
mit
dickeyf/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_0r5.lua
13
1300
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: Ornate Gate -- @pos -95 -24 60 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Phomiuna_Aqued...
gpl-3.0
AmirPGA/Dark_P.G.A
plugins/bible.lua
15
1162
if not config.biblia_api_key then print('Missing config value: biblia_api_key.') print('bible.lua will not be enabled.') return end local doc = [[ /bible <reference> Returns a verse from the American Standard Version of the Bible, or an apocryphal verse from the King James Version. Results from biblia.com. ]] lo...
gpl-2.0
Turttle/darkstar
scripts/globals/spells/bio_ii.lua
18
2117
----------------------------------------- -- Spell: Bio II -- Deals dark damage that weakens an enemy's attacks and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); -------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c14568951.lua
2
2484
--青竜の忍者 function c14568951.initial_effect(c) --negate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(14568951,0)) e1:SetCategory(CATEGORY_DISABLE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,0x1c0) e1:SetRange(LOCATION_...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c97489701.lua
2
8458
--スカーレッド・ノヴァ・ドラゴン function c97489701.initial_effect(c) --synchro summon c:EnableReviveLimit() local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_IGNORE_IMMUNE) e1:SetRange(LOCATION_EXTRA) e1:SetCondition(c97489701.sync...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c97169186.lua
2
1072
--地砕き function c97169186.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c97169186.target) e1:SetOperation(c97169186.activate) c:RegisterEffect(e1) end function c97169186.filter(c) return c:...
gpl-2.0
FFG-Blinkenn/tdm
gamemodes/tdm/entities/weapons/weapon_ttt_c4.lua
2
4042
AddCSLuaFile() SWEP.HoldType = "slam" if CLIENT then SWEP.PrintName = "C4" SWEP.Slot = 6 SWEP.EquipMenuData = { type = "item_weapon", name = "C4", desc = "c4_desc" }; SWEP.Icon = "vgui/ttt/icon_c4" end SWEP.Base = "weapon_tttbase" SWEP.Kind = WEAPON_EQUIP SWEP.CanBuy = {...
mit
dickeyf/darkstar
scripts/zones/VeLugannon_Palace/npcs/Grounds_Tome.lua
30
1099
----------------------------------- -- Area: Ve'Lugannon Palace -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,n...
gpl-3.0
dickeyf/darkstar
scripts/zones/Beadeaux/Zone.lua
13
3547
----------------------------------- -- -- Zone: Beadeaux (147) -- ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/missions"); require("scripts/globals/quests"); require("scripts/z...
gpl-3.0
dickeyf/darkstar
scripts/globals/spells/addle.lua
52
1497
----------------------------------------- -- Spell: Addle -- Increases the casting time of the target -- Exact formula is unknown. -- -- Raw Value is said to be 30% -- It is said to increase to 50% w/ Saboteur ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic")...
gpl-3.0
Turttle/darkstar
scripts/globals/spells/spirited_etude.lua
18
1765
----------------------------------------- -- Spell: Spirited Etude -- Static MND Boost, BRD 24 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onM...
gpl-3.0
dickeyf/darkstar
scripts/globals/spells/bluemagic/triumphant_roar.lua
27
1280
----------------------------------------- -- Spell: Triumphant Roar -- Enhances Attack -- Spell cost: 36 MP -- Monster Type: Demon -- Spell Type: Magical (Fire) -- Blue Magic Points: 3 -- Stat Bonus: STR+3 -- Level: 71 -- Casting Time: 3 seconds -- Recast Time: 90 seconds -- -- Combos: None ---------------------------...
gpl-3.0
longsion/OpenBird
Resources/AudioEngine.lua
25
2448
--Encapsulate SimpleAudioEngine to AudioEngine,Play music and sound effects. local M = {} local audioEngineInstance = cc.SimpleAudioEngine:getInstance() function M.stopAllEffects() audioEngineInstance:stopAllEffects() end function M.getMusicVolume() return audioEngineInstance:getMusicVolume() end function M...
mit
SalvationDevelopment/Salvation-Scripts-TCG
c90307777.lua
7
1550
--影霊衣の術士 シュリット function c90307777.initial_effect(c) --ritual level local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_RITUAL_LEVEL) e1:SetValue(c90307777.rlevel) c:RegisterEffect(e1) --tohand local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(90307777,0)) e2:SetCatego...
gpl-2.0
nagyistoce/OpenBird
cocos2d/cocos/scripting/lua/script/Deprecated.lua
15
45720
require "Cocos2d.lua" --tip local function deprecatedTip(old_name,new_name) print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********") end --functions of CCDirector will be deprecated,begin local CCDirectorDeprecated = { } function CCDirectorDeprecated.sharedDirector()...
mit
SalvationDevelopment/Salvation-Scripts-TCG
c22160245.lua
3
1596
--E-HERO インフェルノ・ウィング function c22160245.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcCode2(c,58932615,21844576,true,true) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode...
gpl-2.0
Turttle/darkstar
scripts/zones/Dynamis-Buburimu/Zone.lua
17
2365
----------------------------------- -- -- Zone: Dynamis-Buburimu -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil; require("scripts/zones/Dynamis-Buburimu/TextIDs"); ----------------------------------- -- onInitial...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c6260554.lua
6
1332
--弾幕回避 function c6260554.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c6260554.condition) e1:SetCost(c6260554.cost) e1:SetTarget(c6260554.target) e1:SetOperation(c6260554...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c25005816.lua
2
1284
--鼓舞 function c25005816.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetCondition(c25005816.con...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c53519297.lua
9
1199
--ブラック・ブースト function c53519297.initial_effect(c) --Activate 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:SetCost(c53519297.cost) e1:SetTarget(c53519297.target) e1:SetOperation(c53519297.a...
gpl-2.0
dickeyf/darkstar
scripts/zones/Port_Bastok/npcs/Argus.lua
13
3697
----------------------------------- -- Area: Port Bastok -- NPC: Argus -- Type: Mission Giver -- @pos 132.157 7.496 -2.187 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c61032879.lua
5
1142
--コモンメンタルワールド function c61032879.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --damage local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(61032879,0)) e2:SetCategory(CATEGORY_DAMAGE) e2:SetType(EFFEC...
gpl-2.0
dickeyf/darkstar
scripts/zones/GM_Home/Zone.lua
32
1198
----------------------------------- -- -- Zone: GM Home (210) -- -- Some cs event info: -- 0 = Abyssea Debug -- 1 = Mogsack Debug -- ... -- 139 = Janken challenges player to "Rock, Paper, Scissors" -- ... -- 140 = Camera test. -- 141 = "Press confirm button to proceed" nonworking test. -- ------------------------------...
gpl-3.0
Turttle/darkstar
scripts/zones/RuAun_Gardens/mobs/Byakko.lua
12
1527
----------------------------------- -- Area: Ru'Aun Gardens -- NPC: Byakko ----------------------------------- require("scripts/zones/RuAun_Gardens/TextIDs"); require("scripts/globals/status"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInit...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c75198893.lua
2
2183
--スキヤナー function c75198893.initial_effect(c) --copy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(75198893,0)) e1:SetCategory(CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZONE) e1:SetTarget(c75198893.target)...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c89041555.lua
2
1170
--生贄の抱く爆弾 function c89041555.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetCondition(c89041555.condition) e1:SetTarget(c89041555.target) e1:SetOperation(c89041555.activate) c...
gpl-2.0
eugeneia/snabb
src/apps/lwaftr/ctable_wrapper.lua
6
2646
module(..., package.seeall) local ctable = require('lib.ctable') local math = require("math") local os = require("os") local S = require("syscall") local bit = require("bit") local bnot, bxor = bit.bnot, bit.bxor local floor, ceil = math.floor, math.ceil local HASH_MAX = 0xFFFFFFFF -- This is only called when the ta...
apache-2.0
Suprcheese/Logistics-Railway
stdlib/event/event.lua
2
4046
--- Event module -- @module Event require 'stdlib/core' require 'stdlib/game' Event = { _registry = {}, core_events = { init = -1, load = -2, configuration_changed = -3, _lookup_name = function(lookup_id) for name, id in pairs(Event.core_events) do ...
mit
Lestrigon17/zombieplague
framework/language/_init.lua
1
1196
local zm = zm or {}; zm.language = zm.language or {}; function zm.language:RegisterLanguage(name, author, data) data["__author"] = author; zm.language[name] = data; if (name == zm.cfg.lang) then zm:ConsoleLog(name.." language by "..author.." is loaded"); end; end; function zm.language:GetPhrase(text) if (zm.l...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c59438930.lua
5
1118
--幽鬼うさぎ function c59438930.initial_effect(c) --double local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_CHAINING) e1:SetRange(LOCATION_MZONE+LOCATION_HAND) e1:SetCountLimit(1,59438930) e1:SetCondition(c59438930.condition) e1:SetCost(c59438930.cost...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c22804410.lua
2
3748
--ディープアイズ・ホワイト・ドラゴン function c22804410.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(22804410,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetRange(LOCATION_...
gpl-2.0
mohammadclash/STAR
plugins/twitter.lua
632
2555
local OAuth = require "OAuth" -- EDIT data/twitter.lua with the API keys local twitter_config = load_from_file('data/twitter.lua', { -- DON'T EDIT HERE. consumer_key = "", consumer_secret = "", access_token = "", access_token_secret = "" }) local client = OAuth.new(twitter_config.consumer_key, twitter_c...
gpl-2.0
crazyboy11/premium
plugins/twitter.lua
632
2555
local OAuth = require "OAuth" -- EDIT data/twitter.lua with the API keys local twitter_config = load_from_file('data/twitter.lua', { -- DON'T EDIT HERE. consumer_key = "", consumer_secret = "", access_token = "", access_token_secret = "" }) local client = OAuth.new(twitter_config.consumer_key, twitter_c...
gpl-2.0
Nak2/StormFox
lua/stormfox/functions/cl_settingsmenu.lua
1
34812
--[[------------------------------------------------------------------------- ---------------------------------------------------------------------------]] concommand.Add("sf_opensettings",function() net.Start("sf_mapsettings") net.WriteString("menu") net.WriteInt(-1,4) net.SendToServer() end,nil,"Opens the ser...
apache-2.0
Turttle/darkstar
scripts/zones/Kazham/npcs/Gatih_Mijurabi.lua
12
1858
----------------------------------- -- Area: Kazham -- NPC: Gatih Mijurabi -- Type: Standard NPC -- @zone: 250 -- @pos 58.249 -13.086 -49.084 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; -------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c92361635.lua
2
2828
--アトミック・スクラップ・ドラゴン function c92361635.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x24),aux.NonTuner(nil),2) c:EnableReviveLimit() --Destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(92361635,0)) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_...
gpl-2.0
Turttle/darkstar
scripts/zones/Cape_Teriggan/Zone.lua
28
2719
----------------------------------- -- -- Zone: Cape_Teriggan (113) -- ----------------------------------- package.loaded[ "scripts/zones/Cape_Teriggan/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Cape_Teriggan/TextIDs"); require("scripts/globals/icanheararainbow"); require("sc...
gpl-3.0
Turttle/darkstar
scripts/zones/Bastok_Mines/npcs/HomePoint#1.lua
17
1254
----------------------------------- -- Area: Bastok Mines -- NPC: HomePoint#1 -- @pos 39.189 0.001 -42.618 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Bastok_Mines/TextIDs"); require("scripts...
gpl-3.0
derickd/moaigui
gui/textbox.lua
2
7047
--[[ * The MIT License * Copyright (C) 2011 Derick Dong (derickdong@hotmail.com). All rights reserved. * * Permission is hereby granted, free of charge, to any person obtaining * a copy of this software and associated documentation files (the * "Software"), to deal in the Software without restriction, including * with...
mit
dickeyf/darkstar
scripts/zones/Port_San_dOria/npcs/Gulemont.lua
1
2495
----------------------------------- -- Area: Port San d'Oria -- NPC: Gulemont -- Type: Quest Giver -- @zone: 232 -- @pos -69 -5 -38 -- -- Starts and Finishes Quest: The Dismayed Customer ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ------------------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c19394153.lua
5
1928
--フェザー・ショット function c19394153.initial_effect(c) --multi atk local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c19394153.condition) e1:SetTarget(c19394153.target) e1:SetOperation(c19394153.operation) c:RegisterE...
gpl-2.0
tasdomas/nodemcu-build
fw/nodemcu-firmware/lua_modules/mcp23008/mcp23008.lua
81
4973
--- -- @description Expands the ESP8266's GPIO to 8 more I/O pins via I2C with the MCP23008 I/O Expander -- MCP23008 Datasheet: http://ww1.microchip.com/downloads/en/DeviceDoc/21919e.pdf -- Tested on NodeMCU 0.9.5 build 20150213. -- @date March 02, 2015 -- @author Miguel -- GitHub: https://github.com/AllAboutEE -- ...
mit
Turttle/darkstar
scripts/zones/Windurst_Waters/npcs/Maysoon.lua
17
2172
----------------------------------- -- Area: Windurst Waters -- NPC: Maysoon -- Starts and Finishes Quest: Hoist the Jelly, Roger -- Involved in Quests: Cook's Pride -- @zone 238 -- @pos -105 -2 69 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; package.loade...
gpl-3.0
mimetic/DIG-corona-library
examples/slideviewer+textrender+accordion/scripts/dmc/dmc_corona/lib/dmc_lua/bit.lua
47
2044
--====================================================================-- -- dmc_lua/bit.lua -- -- a consistent method to load Lua BitOp on various systems -- -- Documentation: http://docs.davidmccuskey.com/ --====================================================================-- --[[ The MIT License (MIT) Copyright...
mit
dickeyf/darkstar
scripts/zones/Bearclaw_Pinnacle/npcs/Wind_Pillar.lua
13
1436
----------------------------------- -- Area: Bearclaw Pinnacle -- NPC: Wind Pillar ----------------------------------- package.loaded["scripts/zones/Bearclaw_Pinnacle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/quests"); require("scripts/globals/missi...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c26708437.lua
3
1348
--エクシーズ・リボーン function c26708437.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:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetTarget(c26708437.target) e1:SetOp...
gpl-2.0
dickeyf/darkstar
scripts/globals/items/clump_of_batagreens.lua
18
1193
----------------------------------------- -- ID: 4367 -- Item: clump_of_batagreens -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 2 -- Vitality -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck...
gpl-3.0
Turttle/darkstar
scripts/zones/RuLude_Gardens/npcs/Neraf-Najiruf.lua
17
2010
----------------------------------- -- Area: Ru'Lud Gardens -- NPC: Neraf-Najiruf -- Involved in Quests: Save my Sister -- @zone 243 -- @pos -36 2 60 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/globals...
gpl-3.0
crazyboy11/premium
plugins/trivia.lua
647
6784
do -- Trivia plugin developed by Guy Spronck -- Returns the chat hash for storing information local function get_hash(msg) local hash = nil if msg.to.type == 'chat' then hash = 'chat:'..msg.to.id..':trivia' end if msg.to.type == 'user' then hash = 'user:'..msg.from.id..':trivia' end return hash en...
gpl-2.0
Turttle/darkstar
scripts/globals/spells/suiton_ni.lua
17
1257
----------------------------------------- -- Spell: Suiton: Ni -- Deals water damage to an enemy and lowers its resistance against lightning. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c1412158.lua
5
2012
--レアメタル・ナイト function c1412158.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcCode2(c,92421852,38916461,true,true) --atk up local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(1412158,0)) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetProperty(EFFECT...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c42682609.lua
6
1482
--C・ドルフィーナ function c42682609.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(42682609,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCondition(c42682609.spcon) e1:SetCost(c42682609.spcost) e1:SetTarget(...
gpl-2.0
Turttle/darkstar
scripts/zones/Windurst_Waters/npcs/Furakku-Norakku.lua
17
4712
----------------------------------- -- Area: Windurst Waters -- NPC: Furakku-Norakku -- Involved in Quests: Early Bird Catches the Bookworm, Chasing Tales, Class Reunion -- @pos -19 -5 101 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; -------------------...
gpl-3.0
Turttle/darkstar
scripts/zones/Northern_San_dOria/npcs/Aurege.lua
38
1960
----------------------------------- -- Area: Northern San d'Oria -- NPC: Aurege -- Type: Quest Giver NPC -- Starts Quest: Exit the Gambler -- @zone: 231 -- @pos -156.253 11.999 253.691 ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/keyitems"); require("scripts/glob...
gpl-3.0
Turttle/darkstar
scripts/globals/items/apkallu_egg.lua
35
1195
----------------------------------------- -- ID: 5568 -- Item: Apkallu Egg -- Food Effect: 5Min, All Races ----------------------------------------- -- Health 6 -- Magic 6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
eugeneia/snabb
lib/ljsyscall/syscall/types.lua
9
19603
-- choose correct types for OS -- these are either simple ffi types or ffi metatypes for the kernel types -- plus some Lua metatables for types that cannot be sensibly done as Lua types eg arrays, integers -- note that some types will be overridden, eg default fd type will have metamethods added local require, error...
apache-2.0
Turttle/darkstar
scripts/globals/items/plate_of_ic_pilav_+1.lua
35
1945
----------------------------------------- -- ID: 5585 -- Item: plate_of_ic_pilav_+1 -- Food Effect: 240Min, All Races ----------------------------------------- -- Health % 14 -- Health Cap 65 -- Strength 4 -- Vitality -1 -- Intelligence -1 -- Health Regen While Healing 1 -- Attack % 22 -- Attack Cap 65 -- ...
gpl-3.0
dickeyf/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Tazhaal.lua
13
1155
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Tazhaal -- Admits players to the dock in Aht Urhgan -- @pos -5.195 -1 -98.966 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/...
gpl-3.0
dickeyf/darkstar
scripts/zones/Apollyon/mobs/Earth_Elemental.lua
49
2612
----------------------------------- -- Area: Apollyon SW -- NPC: elemental ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); ----------------------------------- ...
gpl-3.0
dickeyf/darkstar
scripts/globals/items/bowl_of_pumpkin_soup.lua
18
1652
----------------------------------------- -- ID: 4430 -- Item: bowl_of_pumpkin_soup -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP % 1 -- Vitality -1 -- Agility 3 -- HP Recovered While Healing 5 -- Ranged Accuracy % 8 (cap 20) ----------------------------------------- require("scripts/...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c98555327.lua
5
1695
--銀河の魔導師 function c98555327.initial_effect(c) --lv up local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(98555327,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetOperation(c98555327.lvop) c:RegisterEffect(e1) --search local e2=Effect.CreateEffect(c) e2:S...
gpl-2.0
Turttle/darkstar
scripts/zones/Dynamis-Qufim/mobs/Antaeus.lua
16
2120
----------------------------------- -- Area: Dynamis Qufim -- NPC: Antaeus ----------------------------------- package.loaded["scripts/zones/Dynamis-Qufim/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Qufim/TextIDs"); require("script...
gpl-3.0
dickeyf/darkstar
scripts/globals/items/chunk_of_sweet_lizard.lua
18
1244
----------------------------------------- -- ID: 5738 -- Item: chunk_of_sweet_lizard -- Food Effect: 30Min, All Races ----------------------------------------- -- HP 5 -- MP 5 -- Dexterity 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c68836428.lua
2
2535
--トライエッジ・リヴァイア function c68836428.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,3,3) c:EnableReviveLimit() --remove local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_BATTLE_DESTROY_REDIRECT) e1:SetValue(LOCATION_REMOVED) c:RegisterEffect(e1) --negate local e2=Effect....
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c36352429.lua
5
1277
--ヴァンパイア・ドラゴン function c36352429.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(36352429,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_TO_GRAVE) e1:SetCo...
gpl-2.0
tsuyoshicho/nyagos
nyagos.d/aliasandset.lua
4
1453
if not nyagos then print("This is a script for nyagos not lua.exe") os.exit() end local function expand(text) local result,_ = string.gsub(text,"%%([%w_%(%)]+)%%",function(w) return nyagos.getenv(w) end) return result end local function set_(f,equation,expand) if type(equati...
bsd-3-clause
SalvationDevelopment/Salvation-Scripts-TCG
c15935204.lua
5
2544
--ストーム・サモナー function c15935204.initial_effect(c) --to deck local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_BATTLED) e1:SetOperation(c15935204.operation) c:RegisterEffect(e1) --damage local e2=Effect.CreateEffect(c) e2:SetDescrip...
gpl-2.0