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
jinxiaoye1987/RyzomCore
ryzom/common/data_common/r2/r2_version.lua
3
14897
r2.Version = {} local version = r2.Version function r2.Version.checkVersion(scenarioVersionList, currentVersionList) local undef = {} local older = {} local newer = {} local ok = true local k,v = next(scenarioVersionList, nil) while k do if (v ~= currentVersionList[k]) then ok = false if currentVersi...
agpl-3.0
dr01d3r/darkstar
scripts/globals/items/prime_seafood_stewpot.lua
12
2042
----------------------------------------- -- ID: 5239 -- Item: Prime Seafood Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 75 -- MP +15 -- Dexterity 1 -- Vitality 1 -- Agility 1 -- Mind 1 -- HP Recovered while healing 7 -- MP Recovered while heal...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c78942513.lua
2
2699
--魂源への影劫回帰 function c78942513.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_TOGRAVE) 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:Set...
gpl-2.0
koreader/koreader
reader.lua
4
13922
#!./luajit -- Enforce line-buffering for stdout (this is the default if it points to a tty, but we redirect to a file on most platforms). io.stdout:setvbuf("line") -- Enforce a reliable locale for numerical representations os.setlocale("C", "numeric") io.write([[ --------------------------------------------- ...
agpl-3.0
dr01d3r/darkstar
scripts/zones/Xarcabard/npcs/qm3.lua
7
1623
----------------------------------- -- Area: Xarcabard -- NPC: qm3 (???) -- Involved in Quests: Atop the Highest Mountains (for Boreal Coeurl) -- @pos 580 -9 290 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c42256406.lua
2
2916
--カードブロッカー function c42256406.initial_effect(c) --to defense local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(42256406,0)) e1:SetCategory(CATEGORY_POSITION) e1:SetType(EFFECT_TYPE_TRIGGER_F+EFFECT_TYPE_SINGLE) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c42256406.potg) e1:SetOperation(c42256406....
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c19594506.lua
6
1250
--ネオスペース・コンダクター function c19594506.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(19594506,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCost(c19594506.cost) e1:SetTarget(c19594506.target) e1:SetO...
gpl-2.0
dr01d3r/darkstar
scripts/zones/West_Sarutabaruta/npcs/Ipupu.lua
14
1429
----------------------------------- -- Area: West Sarutabaruta -- NPC: Ipupu -- Involved in Quest: Glyph Hanger -- @pos 251.745 -5.5 35.539 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems")...
gpl-3.0
dr01d3r/darkstar
scripts/globals/effects/sigil.lua
32
3008
----------------------------------- -- -- EFFECT_SIGIL -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) local power = effect:getPower(); -- Tracks which bonus effects are in use. local sub...
gpl-3.0
dr01d3r/darkstar
scripts/globals/abilities/wind_maneuver.lua
19
1605
----------------------------------- -- Ability: Wind Maneuver -- Enhances the effect of wind attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"); re...
gpl-3.0
dr01d3r/darkstar
scripts/globals/items/mug_of_honeyed_egg.lua
12
1284
----------------------------------------- -- ID: 5739 -- Item: mug_of_honeyed_egg -- Food Effect: 30Min, All Races ----------------------------------------- -- MP 8 -- Intelligence 1 -- MP recovered while healing 1 ----------------------------------------- require("scripts/globals/status"); --------------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c82642348.lua
2
1037
--クルーエル function c82642348.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(82642348,0)) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_COIN) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c82642348.descon) e1:SetTarget...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c69946549.lua
2
2090
--捕食植物ドラゴスタペリア function c69946549.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcFun2(c,aux.FilterBoolFunction(Card.IsFusionType,TYPE_FUSION),aux.FilterBoolFunction(Card.IsFusionAttribute,ATTRIBUTE_DARK),true) --add counter local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid...
gpl-2.0
sidsatx102/cardpeek
dot_cardpeek_dir/scripts/lib/compatibility-with-0.7.lua
17
1952
local DEPRECATED_FUNCS = {} function DEPRECATED_FOR(fname) local func = debug.getinfo(2, "n") local orig = debug.getinfo(3, "lS") if DEPRECATED_FUNCS[func.name]==nil then log.print(log.WARNING,orig.short_src .. "[" .. orig.currentline .. "]: " .. func.name .. "() is deprecated, please use " .. fn...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Windurst_Woods/npcs/Mheca_Khetashipah.lua
14
1059
----------------------------------- -- Area: Windurst Woods -- NPC: Mheca Khetashipah -- Type: Standard NPC -- @zone 241 -- @pos 66.881 -6.249 185.752 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; -----...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c15576074.lua
5
1597
--リゾネーター・エンジン function c15576074.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TODECK+CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c15576074.target) e1:SetOperation(c1557...
gpl-2.0
HHmmominion/basemmominion
Disabled Lua Mod/TaskManager/TaskManager.lua
2
26114
-- Create a new table for our code: TaskManager= { } -- Some local variables we use in our module: TaskManager.taskPath = GetStartupPath()..[[\LuaMods\TaskManager\Tasks\]] TaskManager.lastticks = 0 TaskManager.windowName = "Task Manager" TaskManager.task_listitems = "" TaskManager.taskInfo ="" TaskManager.currentTask =...
gpl-2.0
fir3element/forgottenserver036
data/npc/scripts/runes.lua
5
8209
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCre...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c38107923.lua
2
3239
--ダーク・ネフティス function c38107923.initial_effect(c) --to grave local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(38107923,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCondition(c38107923.tgcon) e1:SetCost(c38107923.tgcost) e1:SetTarget(c38107923.tgtg) e1:SetOperation(c3810792...
gpl-2.0
mohammad25253/fidkfkfk
plugins/inpm.lua
243
3007
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c17559367.lua
5
1087
--ディープ・ダイバー function c17559367.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetOperation(c17559367.regop) c:RegisterEffect(e1) end function c17559367.regop(e,tp,eg,ep,ev,re,r,rp) local c=e:GetHandler() if c...
gpl-2.0
dr01d3r/darkstar
scripts/globals/items/sakura_biscuit.lua
12
1276
----------------------------------------- -- ID: 6010 -- Item: Sakura Biscuit -- Food Effect: 30Min, All Races ----------------------------------------- -- Intelligence 3 -- Charisma 2 -- Evasion +2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- ...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/_5eb.lua
14
1889
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Gate: Magical Gizmo -- Involved In Mission: Full Moon Fountain -- @pos -291 0 -659 194 ----------------------------------- package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Lower_Delkfutts_Tower/npcs/Cermet_Door.lua
27
1148
----------------------------------- -- Area: Lower Delkfutt's Tower -- NPC: Cermet Door -- Notes: Leads to Upper Delkfutt's Tower. -- @pos 524 16 20 184 ----------------------------------- require("scripts/globals/settings"); ----------------------------------- -- onTrade Action -----------------------------------...
gpl-3.0
Herve-M/OpenRA
mods/ra/maps/allies-07/allies07-AI.lua
7
3919
--[[ Copyright 2007-2022 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you 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 vers...
gpl-3.0
dr01d3r/darkstar
scripts/globals/common.lua
35
2855
----------------------------------- -- -- ----------------------------------- ----------------------------------- -- switch ----------------------------------- function switch(c) local swtbl = { casevar = c, caseof = function (self,code) local f if (self.casevar) then f = cod...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c32003339.lua
2
1589
--No.34 電算機獣テラ·バイト function c32003339.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterEqualFunction(Card.GetLevel,3),3) c:EnableReviveLimit() --control local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_CONTROL) e1:SetDescription(aux.Stringid(32003339,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c511000079.lua
2
3629
--属性重力-アトリビュート・グラビティ function c511000079.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --attack local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetCode(EVENT_ADJUST) e2:Se...
gpl-2.0
FrnkVieira/demonsgaming
data/talkactions/scripts/create_item.lua
24
1147
function onSay(player, words, param) if not player:getGroup():getAccess() then return true end if player:getAccountType() < ACCOUNT_TYPE_GOD then return false end local split = param:split(",") local itemType = ItemType(split[1]) if itemType:getId() == 0 then itemType = ItemType(tonumber(split[1])) if...
gpl-2.0
TheRealMaxion/Automato-ATITD
scripts/distillationCoil.lua
2
3533
-- -- -- dofile("screen_reader_common.inc"); dofile("ui_utils.inc"); per_click_delay = 20; up = nil; right_click = nil; -- optional message function askForWindowAndPixel(message) -- Wait for release if it's already held while lsShiftHeld() do end; -- Display message until shift is held while...
mit
joev/SVUI-Temp
SVUI_!Core/libs/AceVillain-1.0/widgets/AceGUIWidget-DropDown.lua
2
19159
--[[ $Id: AceGUIWidget-DropDown.lua 1101 2013-10-25 12:46:47Z nevcairiel $ ]]-- local AceGUI = LibStub("AceGUI-3.0") -- Lua APIs local min, max, floor = math.min, math.max, math.floor local select, pairs, ipairs, type = select, pairs, ipairs, type local tsort = table.sort -- WoW APIs local PlaySound = PlaySound local...
mit
HHmmominion/basemmominion
LuaMods/ffxivminion/SkillManagerProfiles/Marauder.lua
1
29645
SKM_SMVersion_1=1 SKM_NAME=Physick SKM_ON=1 SKM_TYPE=1 SKM_ALIAS= SKM_Prio=1 SKM_ID=190 SKM_HPRIOHP=10 SKM_THPB=0 SKM_PTRG=Any SKM_PetBuff= SKM_HPRIO4=None SKM_PNBuffDura=0 SKM_SKNOFFCD= SKM_PGTRG=Any SKM_PVEPVP=Both SKM_PTCount=0 SKM_SKNCDTIMEMAX= SKM_PSkillID= SKM_MaxR=3 SKM_PetBuffDura=0 SKM_TRG=Heal Priority SKM_PT...
gpl-2.0
zzaid/TCHUKY
plugins/ingroup.lua
47
60291
do -- Check Member local function check_member_autorealm(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.peer_id if member_id ~= our_id then -- Group configuration data[...
gpl-2.0
joev/SVUI-Temp
SVUI_!Core/libs/AceVillain-1.0/widgets/AceGUIWidget-CheckBox.lua
1
8159
--[[----------------------------------------------------------------------------- Checkbox Widget -------------------------------------------------------------------------------]] local Type, Version = "CheckBox", 999999 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or (AceGUI:GetWidgetVersion(Ty...
mit
SalvationDevelopment/Salvation-Scripts-Production
c61656650.lua
7
1423
--悲劇の引き金 function c61656650.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c61656650.efcon) e1:SetTarget(c61656650.eftg) e1:SetOperation(c61656650.efop) c:RegisterEffect(e1) e...
gpl-2.0
dr01d3r/darkstar
scripts/zones/RuAun_Gardens/mobs/Groundskeeper.lua
14
1481
----------------------------------- -- Area: RuAun Gardens -- MOB: Groundskeeper -- Note: Place holder Despot ----------------------------------- require("scripts/zones/RuAun_Gardens/MobIDs"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onMobDeath --------------------------------...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Apollyon/npcs/Sentinel_Column.lua
14
1170
----------------------------------- -- Area: Appolyon -- NPC: Sentinel_Column -- @pos ----------------------------------- require("scripts/globals/limbus"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; -------------------------...
gpl-3.0
dr01d3r/darkstar
scripts/globals/mobskills/Pinning_Shot.lua
33
1044
--------------------------------------------- -- Pinning Shot -- -- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Bind -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: Unknown -- Notes: Used only by Medusa. ------------------------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c3790062.lua
2
1402
--No.65 裁断魔人ジャッジ・バスター function c3790062.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_DARK),2,2) c:EnableReviveLimit() --negate activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(3790062,0)) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DAMA...
gpl-2.0
asmagill/hammerspoon-config
_scratch/dumpStdout.lua
1
2635
-- -- Sample use of capturing Hammerspoon's stdout -- -- (1) Save this code as "dumpStdout.lua" in ~/.hammerspoon/ -- (2) In the Hammerspoon console, type the following: dump = require("dumpStdout") -- (3) In a terminal window, tyoe "tail -f ~/.hammerspoon/dump.txt" -- -- Now, anything which is sent to Hammerspoon's st...
mit
SalvationDevelopment/Salvation-Scripts-Production
c66607691.lua
2
1474
--フォトン・ジェネレーター・ユニット function c66607691.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c66607691.cost) e1:SetTarget(c66607691.target) e1:SetOperation(c66607691.activate) c:RegisterEffec...
gpl-2.0
RezaLunatic/Unknown
plugins/setrank.lua
40
8897
do local Dev = 122774063 --put your id here(BOT OWNER ID) local function setrank(msg, name, value) -- setrank function local hash = nil if msg.to.type == 'chat' then hash = 'rank:'..msg.to.id..':variables' end if hash then redis:hset(hash, name, value) return send_msg('chat#id'..msg.to.id, 'مقام کاربر...
gpl-2.0
TWilmer/vlc
share/lua/meta/art/01_googleimage.lua
74
1764
--[[ Gets an artwork from images.google.com $Id$ Copyright © 2007 the VideoLAN team 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 2 of the License, or (at your option) any la...
gpl-2.0
ghoulsblade/vegaogre
lugre/lua/lib.cam.lua
1
4780
-- utilities for cam handling gCamThirdPersonDist = 100 gTableCamAngleH = 0 gTableCamAngleV = 0 gTableCamLastMouseX = nil gTableCamLastMouseY = nil gCamThirdPersonX,gCamThirdPersonY,gCamThirdPersonZ = 0,0,0 -- singleton pattern for maincam, wrap c function GetMainCam() gMainCam = nil _GetMainCam = GetMainCam functi...
mit
HHmmominion/basemmominion
LuaMods/Dev/WayPoint/180.lua
1
1143
-- Persistent Data local multiRefObjects = { } -- multiRefObjects local obj1 = { [1] = { ["y"] = 64.773384; ["x"] = -120.641266; ["name"] = "O0verlook"; ["z"] = -215.514099; ["h"] = 0.827413; }; [2] = { ["y"] = 32.815548; ["x"] = -315.343597; ["name"] = "pld quest"; ["z"] = -446.652039; ["h"] = ...
gpl-2.0
asmagill/hammerspoon-config
utils/_menus/amphetamine.lua
1
1323
-- variation on https://gist.github.com/heptal/50998f66de5aba955c00 local ampOnIcon = [[ASCII: .....1a..........AC..........E .............................. ......4....................... 1..........aA..........CE..... e.2......4.3...........h...... .............................. .............................. ..........
mit
SalvationDevelopment/Salvation-Scripts-Production
c46337945.lua
7
1592
--儀水鏡の瞑想術 function c46337945.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c46337945.cost) e1:SetTarget(c46337945.target) e1:SetOperation(c46337945.act...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c69023354.lua
5
1398
--機甲忍者エアー function c69023354.initial_effect(c) --lv down local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(69023354,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c69023354.target) e1:SetOperation(c69023...
gpl-2.0
jamesbates/vlc
share/lua/playlist/katsomo.lua
97
2906
--[[ Translate www.katsomo.fi video webpages URLs to the corresponding movie URL $Id$ Copyright © 2009 the VideoLAN team 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 2 o...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c18517177.lua
3
1616
--コア・ブラスト function c18517177.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) c:RegisterEffect(e1) --maintain local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(18517177,0)) e2:SetType(EF...
gpl-2.0
dr01d3r/darkstar
scripts/globals/items/salmon_rice_ball.lua
12
1508
----------------------------------------- -- ID: 4590 -- Item: Salmon Rice Ball -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +10 -- Dex +2 -- Vit +2 -- Mnd -1 -- hHP +1 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Atk +40 -- Def +40 --------...
gpl-3.0
PaulBernier/castl
lua/castl/internal.lua
1
8996
--[[ Copyright (c) 2014, Paul Bernier CASTL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. CASTL is dist...
lgpl-3.0
dr01d3r/darkstar
scripts/globals/mobskills/Flame_Thrower.lua
15
1345
--------------------------------------------------- -- Flame_Thrower -- Description: Uses a flamethrower that deals Fire damage to players in a fan-shaped area of effect. Additional effect: Plague -- Type: Magical --------------------------------------------- require("scripts/globals/monstertpmoves"); require("scripts/...
gpl-3.0
dr01d3r/darkstar
scripts/zones/RuLude_Gardens/Zone.lua
7
6251
----------------------------------- -- -- Zone: RuLude_Gardens (243) -- ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RuLude_Gardens/TextIDs"); require("scripts/globals/missions"); require("scripts/globals/que...
gpl-3.0
tehran98/otouto
plugins/eightball.lua
9
1076
local doc = [[ /8ball Returns an answer from a magic 8-ball! ]] local triggers = { '^/8ball', 'y/n%p?$' } local ball_answers = { "It is certain.", "It is decidedly so.", "Without a doubt.", "Yes, definitely.", "You may rely on it.", "As I see it, yes.", "Most likely.", "Outlook: good.", "Yes.", "Signs p...
gpl-2.0
waruqi/xmake
xmake/core/base/coroutine.lua
1
1670
--!A cross-platform build utility based on Lua -- -- 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 applicable law...
apache-2.0
SalvationDevelopment/Salvation-Scripts-Production
c52653092.lua
2
5702
--SNo.0 ホープ・ゼアル function c52653092.initial_effect(c) --xyz summon c:EnableReviveLimit() local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetRange(LOCATION_EXTRA) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetCondition(c52653092.xyzcon) e1:SetOperation(c52653092.x...
gpl-2.0
PouriaDev/CyberTG
plugins/Welcome.lua
1
2452
do local function run(msg, matches, callback, extra) local data = load_data(_config.moderation.data) local rules = data[tostring(msg.to.id)]['rules'] local about = data[tostring(msg.to.id)]['description'] local hash = 'group:'..msg.to.id local group_welcome = redis:hget(hash,'welcome') if matches[1] == 'delwlc' and not...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Port_Windurst/npcs/Panja-Nanja.lua
53
1909
----------------------------------- -- Area: Port Windurst -- NPC: Panja-Nanja -- Type: Fishing Adv. Image Support -- @pos -194.499 -3 58.692 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); requ...
gpl-3.0
Herve-M/OpenRA
mods/d2k/maps/harkonnen-08/harkonnen08.lua
7
11990
--[[ Copyright 2007-2022 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you 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 vers...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c42291297.lua
2
3524
--花札衛-雨四光- function c42291297.initial_effect(c) c:EnableReviveLimit() --synchro summon 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(aux.SynCondition(nil,...
gpl-2.0
Caduceus/forgottenserver
data/actions/scripts/other/fluids.lua
34
2434
local drunk = Condition(CONDITION_DRUNK) drunk:setParameter(CONDITION_PARAM_TICKS, 60000) local poison = Condition(CONDITION_POISON) poison:setParameter(CONDITION_PARAM_DELAYED, true) poison:setParameter(CONDITION_PARAM_MINVALUE, -50) poison:setParameter(CONDITION_PARAM_MAXVALUE, -120) poison:setParameter(CONDITION_PA...
gpl-2.0
maanuair/dotfiles
home/.hammerspoon/oblique_strategies.lua
2
8708
-- Oblique Stategies Copyright © 1975, 1978, 1979, 1996, 2001 Brian Eno and Peter Schmidt -- -- Oblique Strategies are used here without permission from the copyright -- holders, with the hope that it does not hurt any interest. Will promptly -- remove it upon request. Copyright above to the best of my knowledge. -- --...
mit
waruqi/xmake
xmake/core/base/semver.lua
1
4479
--!A cross-platform build utility based on Lua -- -- 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 applicable law...
apache-2.0
dr01d3r/darkstar
scripts/zones/Kazham/npcs/Pofhu_Tendelicon.lua
17
1074
----------------------------------- -- Area: Kazham -- NPC: Pofhu Tendelicon -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action -----------------------------------...
gpl-3.0
chaot4/ardour
share/scripts/set_automation_mode.lua
5
2786
ardour { ["type"] = "EditorAction", name = "Engage Automation", author = "Ardour Team", description = [[Set automation mode of various controls (fader, trim, mute, pan), for all selected tracks.]] } function factory() return function() -- http://manual.ardour.org/lua-scripting/class_reference/#ARDOUR.AutoState l...
gpl-2.0
ghoulsblade/vegaogre
premake.lua
1
12082
-- this is a premake sample script to compile lugre/linux programs. -- you need to put this file next to the lugre directory. dofile("lib.premake.lua") gName = "vegaogre" project.name = gName -- project.path = "build" -- project.bindir = "." -- default values gbExtraWarnings = false gbOptimize = true gOisPlatform ...
mit
Afforess/Big_Brother
stdlib/utils/scripts/quickstart.lua
1
15157
--- Quickstart script. -- Creates a quickstart world for testing mods. -- <p>This module requires the use of stdlib's @{Event} module for player creation interactions. -- <p>config settings should be a created in a table retured from `config-quickstart.lua` -- @script quickstart -- @usage -- if DEBUG then -- require(...
isc
SalvationDevelopment/Salvation-Scripts-Production
c23440231.lua
2
4801
--インフェルノイド・リリス function c23440231.initial_effect(c) c:EnableReviveLimit() --special summon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1) --special summon local...
gpl-2.0
pcncadcache/cachesystem
extern/redis-2.8.13/deps/lua/test/sort.lua
889
1494
-- two implementations of a sort function -- this is an example only. Lua has now a built-in function "sort" -- extracted from Programming Pearls, page 110 function qsort(x,l,u,f) if l<u then local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u x[l],x[m]=x[m],x[l] -- swap pivot to first posit...
mit
dwmw2/domoticz
dzVents/runtime/tests/testDomoticz.lua
2
27663
local _ = require 'lodash' _G._ = _ local scriptPath = '' --package.path = package.path .. ";../?.lua;" .. scriptPath .. '/?.lua' package.path = package.path .. ";../?.lua;../../../scripts/lua/?.lua;" .. scriptPath .. '/?.lua;../device-adapters/?.lua;' local testData = require('tstData') local function values(t) lo...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c31768112.lua
4
3829
--オイルメン function c31768112.initial_effect(c) --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(31768112,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetTarget(c31768112.eqtg) e1:SetOperation(c3176...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Al_Zahbi/npcs/Suldiran.lua
14
1923
----------------------------------- -- Area: Al Zahbi -- NPC: Suldiran -- Type: NPC Quest -- @zone 48 -- @pos 41.658 -6.999 -42.528 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; require("scripts/globals/qu...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Dynamis-Windurst/npcs/qm1.lua
17
1325
----------------------------------- -- Area: Dynamis Windurst -- NPC: qm1 (???) -- Notes: Spawns when Megaboss is defeated ----------------------------------- package.loaded["scripts/zones/Dynamis-Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones...
gpl-3.0
fdb/frequensea
lua/samples-tex.lua
2
1392
-- Visualize IQ data as a texture from the HackRF -- You want seizures? 'Cause this is how you get seizures. VERTEX_SHADER = [[ #version 400 layout (location = 0) in vec3 vp; layout (location = 1) in vec3 vn; layout (location = 2) in vec2 vt; out vec3 color; out vec2 texCoord; uniform mat4 uViewMatrix, uProjectionMatr...
mit
dr01d3r/darkstar
scripts/zones/Bastok_Markets/npcs/Zacc.lua
14
1605
----------------------------------- -- Area: Bastok Markets -- NPC: Zacc -- Type: Quest NPC -- @zone 235 -- @pos -255.709 -13 -91.379 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/zones/Bastok_Markets/TextIDs"); require("scripts/globals/quests")...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c58169731.lua
5
1107
--分断の壁 function c58169731.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetCondition(c58169731.condition) e1:SetTarget(c58169731.target) e1:SetOperation(c58169731.activate) c:RegisterEffect(e1) end function c58169731.condition(...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Abyssea-Grauberg/npcs/qm4.lua
14
1390
----------------------------------- -- Zone: Abyssea-Grauberg -- NPC: qm4 (???) -- Spawns Bomblix Flamefinger -- @pos ? ? ? 254 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,...
gpl-3.0
PaulBernier/castl
lua/castl/constructor/error/eval_error.lua
1
1917
--[[ Copyright (c) 2014, Paul Bernier CASTL is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. CASTL is dist...
lgpl-3.0
gl00my/stead3
games/insteadose5/games/structure/main3.lua
1
62687
--$Name: Структура$ --$Version: 0.9$ --$Author: Андрей Лобанов$ --$Info: Специально для\nINSTEADOSE V: Пятое измерение$ require 'fmt' require 'noinv' require 'snd' game.act = 'Не работает.' game.use = 'Это не поможет.' game.inv = 'Странная штука.' game.pic = 'gfx/struct.png' -- Объект для подстановки. Нужен для при...
mit
SalvationDevelopment/Salvation-Scripts-Production
c22835145.lua
2
1576
--BF-極北のブリザード function c22835145.initial_effect(c) --cannot special summon local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) e1:SetValue(aux.FALSE) c:RegisterEffect(e1) --special summon local e2...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c43002864.lua
7
1160
--レプティレス・ガードナー function c43002864.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(43002864,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_TO_GRAVE) e1:SetCondition(c43002864.condition) e1:SetTarg...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c37120512.lua
4
1661
--闇の破神剣 function c37120512.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c37120512.target) e1:SetOperation(c37120512.operation) c:RegisterEffect(e1) ...
gpl-2.0
soundsrc/premake-stable
tests/test_vs2002_sln.lua
14
1629
-- -- tests/test_vs2002_sln.lua -- Automated test suite for Visual Studio 2002 solution generation. -- Copyright (c) 2009 Jason Perkins and the Premake project -- T.vs2002_sln = { } local suite = T.vs2002_sln local sln2002 = premake.vstudio.sln2002 -- -- Configure a solution for testing -- local sln function su...
bsd-3-clause
retep998/Vana
scripts/instances/pirate2ndBrawler.lua
2
1215
--[[ Copyright (C) 2008-2016 Vana Development Team 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; version 2 of the License. This program is distributed in the hope that it will be useful, but WITHO...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Empyreal_Paradox/mobs/Promathia_2.lua
23
2582
----------------------------------- -- Area: Empyreal Paradox -- MOB: Promathia (phase 2) ----------------------------------- package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Empyreal_Paradox/TextIDs"); require("scripts/globals/status"); require...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Abyssea-Misareaux/npcs/qm15.lua
5
1750
----------------------------------- -- Zone: Abyssea-Misareaux -- NPC: qm15 (???) -- Spawns Sobek -- @pos ? ? ? 216 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action ----------------------------------- f...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Caedarva_Mire/npcs/qm1.lua
30
1329
----------------------------------- -- 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"); require("scripts/gl...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Lower_Jeuno/npcs/Chululu.lua
25
5445
----------------------------------- -- Area: Lower Jeuno -- NPC: Chululu -- Starts and Finishes Quests: Collect Tarut Cards, Rubbish Day -- Optional Cutscene at end of Quest: Searching for the Right Words -- @pos -13 -6 -42 245 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = n...
gpl-3.0
paintsnow/paintsnow
Source/Driver/Script/Lua/TypedLua/tlst.lua
1
10360
--[[ This module implements Typed Lua symbol table. ]] local tltype = require "typedlua.tltype" local tlst = {} -- new_env : (string, string, boolean) -> (env) function tlst.new_env (subject, filename, strict, color) local env = {} env.subject = subject env.filename = filename env.parent = {} env.strict = ...
mit
SalvationDevelopment/Salvation-Scripts-Production
c100912063.lua
2
1602
--デュエリスト・アドベント --Duelist Alliance --Scripted by Eerie Code function c100912063.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,100912063+EFFECT_COUNT_CODE_OATH) e1:SetCond...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c13361027.lua
5
1614
--ドラグニティ-ブラックスピア function c13361027.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(13361027,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZONE) e1:...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c89899996.lua
6
1326
--D-スピリッツ function c89899996.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c89899996.condition) e1:SetTarget(c89899996.target) e1:SetOperation(c89899996.operation) c:RegisterEffe...
gpl-2.0
TcT2k/wxFormBuilder
build/premake/4.3/src/base/project.lua
6
16383
-- -- project.lua -- Functions for working with the project data. -- Copyright (c) 2002-2009 Jason Perkins and the Premake project -- premake.project = { } -- -- Create a tree from a project's list of files, representing the filesystem hierarchy. -- -- @param prj -- The project containing the files to map. -- @...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c9342162.lua
4
2448
--彼岸の悪鬼 ハロウハウンド function c9342162.initial_effect(c) --self destroy local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_SELF_DESTROY) e1:SetCondition(c9342162.sdcon) c:RegisterEffect(e1) --Special Summon local e2=...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c52977572.lua
5
2570
--ドラグニティ-ピルム function c52977572.initial_effect(c) --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(52977572,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c52977572.sptg) e1:SetOp...
gpl-2.0
jonathantompson/nn
Linear.lua
9
3624
local Linear, parent = torch.class('nn.Linear', 'nn.Module') function Linear:__init(inputSize, outputSize, bias) parent.__init(self) local bias = ((bias == nil) and true) or bias self.weight = torch.Tensor(outputSize, inputSize) self.gradWeight = torch.Tensor(outputSize, inputSize) if bias then se...
bsd-3-clause
SalvationDevelopment/Salvation-Scripts-Production
c94303232.lua
2
3717
--プリベント・スター function c94303232.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c94303232.target) e1:SetOperation(c94303232.operation) c:RegisterEffect(e...
gpl-2.0
thegrb93/wire
lua/entities/gmod_wire_colorer.lua
2
5692
AddCSLuaFile() DEFINE_BASECLASS( "base_wire_entity" ) ENT.PrintName = "Wire Colorer" ENT.RenderGroup = RENDERGROUP_BOTH ENT.WireDebugName = "Colorer" function ENT:SetupDataTables() self:NetworkVar( "Float", 0, "BeamLength" ) end if CLIENT then local color_box_size = 64 function ENT:GetWorldTipBodySize() ...
apache-2.0
dr01d3r/darkstar
scripts/zones/Jugner_Forest/npcs/Geruru_WW.lua
14
3330
----------------------------------- -- Area: Jugner Forest -- NPC: Geruru, W.W. -- Type: Border Conquest Guards -- @pos 570.732 -2.637 553.508 104 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); r...
gpl-3.0