repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
dr01d3r/darkstar
scripts/zones/Port_San_dOria/npcs/Rielle.lua
17
1399
----------------------------------- -- Area: Port San d'Oria -- NPC: Rielle -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"); ----...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c94119480.lua
6
1364
--終焉の守護者アドレウス function c94119480.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,5,2) c:EnableReviveLimit() --destroy local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetDescription(aux.Stringid(94119480,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e...
gpl-2.0
xponen/Zero-K-Infrastructure
ZeroKLobby_NET4.0/Benchmarker/Benchmarks/games/ca-benchmark.sdd/LuaRules/main.lua
12
2372
-------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- file: -- brief: -- author: jK -- -- Copyright (C) 2007. -- Licensed under the terms of the GNU GPL, v2 or later. -- --------------...
gpl-3.0
dr01d3r/darkstar
scripts/globals/items/ulbukan_lobster.lua
12
1414
----------------------------------------- -- ID: 5960 -- Item: Ulbukan Lobster -- Food Effect: 5 Min, Mithra only ----------------------------------------- -- Dexterity -3 -- Vitality 1 -- Defense +9% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------...
gpl-3.0
dr01d3r/darkstar
scripts/globals/spells/earth_carol.lua
27
1535
----------------------------------------- -- Spell: Earth Carol -- Increases earth resistance for party members within the area of effect. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast -----------...
gpl-3.0
dr01d3r/darkstar
scripts/globals/items/himesama_rice_ball.lua
51
1477
----------------------------------------- -- ID: 5928 -- Item: Himesama Rice Ball -- Food Effect: 30 Mins, All Races ----------------------------------------- -- HP +25 -- Dexterity +4 -- Vitality +4 -- Character +4 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Attack +60 -- De...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c25704359.lua
2
3338
--憑依解放 function c25704359.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetCondition(c25704359.condition) c:RegisterEffect(e1) --indestructable local e2=...
gpl-2.0
jamesjinnz/domoticz
scripts/dzVents/runtime/tests/testDomoticz.lua
3
15616
local _ = require 'lodash' _G._ = _ package.path = package.path .. ";../?.lua" describe('Domoticz', function() local Domoticz, domoticz, settings, d1, d2, d3, d4 setup(function() _G.TESTMODE = true _G.timeofday = { Daytime = 'dt', Nighttime = 'nt', SunriseInMinutes = 'sunrisemin', SunsetInMinutes =...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Gusgen_Mines/npcs/_5gf.lua
14
1364
----------------------------------- -- Area: Gusgen Mines -- NPC: _5gf (Lever C) -- @pos 44 -40.561 -54.199 196 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Gusgen_Mines/TextIDs"); --------------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c54297661.lua
2
3066
--ディメンション・リフレクター function c54297661.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:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCost(c54297661.cost) e1:SetTarget(c54297661.target) e1:SetOperatio...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c42685062.lua
6
1239
--地獄からの使い function c42685062.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) c:RegisterEffect(e1) --summon local e2=Effect.CreateEffect(c) e2:SetDescr...
gpl-2.0
TerryE/nodemcu-firmware
lua_examples/pcm/play_network.lua
8
3037
-- **************************************************************************** -- Network streaming example -- -- stream = require("play_network") -- stream.init(pin) -- stream.play(pcm.RATE_8K, ip, port, "/jump_8k.u8", function () print("stream finished") end) -- -- Playback can be stopped with stream.stop(). -- And ...
mit
SalvationDevelopment/Salvation-Scripts-Production
c58369990.lua
2
1472
--凶星の魔術師 function c58369990.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(58369990,0)) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1) e1:SetCost(...
gpl-2.0
dr01d3r/darkstar
scripts/globals/items/red_hot_cracker.lua
12
1337
----------------------------------------- -- ID: 4281 -- Item: red_hot_cracker -- Food Effect: 3Min, All Races ----------------------------------------- -- HP Recovered While Healing 9 -- Beast Killer 12 -- Resist Sleep 12 ----------------------------------------- require("scripts/globals/status"); ------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c63223467.lua
9
1173
--RAI-MEI function c63223467.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(63223467,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c63223467.condition) e1:SetT...
gpl-2.0
dr01d3r/darkstar
scripts/globals/spells/advancing_march.lua
27
1451
----------------------------------------- -- Spell: Advancing March -- Gives party members Haste ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,s...
gpl-3.0
mamaddeveloper/uuznew
plugins/invite.lua
299
1025
-- Invite other user to the chat group. -- Use !invite name User_name or !invite id id_number -- The User_name is the print_name (there are no spaces but _) do local function callback(extra, success, result) vardump(success) vardump(result) end local function run(msg, matches) local user = matches[2] -- Use...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c4376658.lua
6
1438
--憑依装着-ヒータ function c4376658.initial_effect(c) --spsummon proc local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND+LOCATION_DECK) e1:SetCondition(c4376658.spcon) e1:SetOperation(c4376658.spop) c:Register...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c17639150.lua
7
2928
--機殻の生贄 function c17639150.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(c17639150.eqtg) e1:SetOperation(c17639150.eqop) c:RegisterEffect(e1) --Equip...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c16494704.lua
2
3272
--オッドアイズ・アドベント function c16494704.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:SetCountLimit(1,16494704+EFFECT_COUNT_CODE_OATH) e1:SetTarget(c16494704.target) e1:SetOperation(c16494704.operat...
gpl-2.0
mehrdad79/dark
plugins/xamar.lua
25
3749
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 4 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id ==...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Yhoator_Jungle/TextIDs.lua
7
1432
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6385; -- Obtained: <item>. GIL_OBTAINED = 6386; -- Obtained <number> gil. KEYITEM_OBTAINED = 6388; -- Obtained...
gpl-3.0
abolfazlabbasifx/telegramadminbot
plugins/translate.lua
13
1365
do function translate(source_lang, target_lang, text) local path = "http://translate.google.com/translate_a/single" — URL query parameters local params = { client = "gtx", ie = "UTF-8", oe = "UTF-8", hl = "en", dt = "t", tl = target_lang or "en", sl = source_lang or "auto", q = UR...
gpl-2.0
TcT2k/wxFormBuilder
sdk/premake.lua
2
1424
--****************************************************************************08 --* Author: RJP Computing <rjpcomputing@gmail.com> --* Date: 2/9/2008 --* Version: 1.00-beta --* Copyright (C) 2008 RJP Computing --* --* This program is free software; you can redistribute it and/or --* modify it under the terms of the ...
gpl-2.0
gberaudo/osrm-upstream-debian
profiles/foot.lua
1
6192
-- Foot profile require("lib/access") barrier_whitelist = { [""] = true, ["cycle_barrier"] = true, ["bollard"] = true, ["entrance"] = true, ["cattle_grid"] = true, ["border_control"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["no"] = true} access_tag_whitelist = { ["yes"] = true, ["foot"]...
bsd-2-clause
retep998/Vana
scripts/portals/summondragon.lua
2
1070
--[[ 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/globals/weaponskills/atonement.lua
9
4322
----------------------------------- -- Atonement -- TODO: This needs to be reworked, as this weapon skill does damage based on current enmity, not based on stat modifiers. http://wiki.ffxiclopedia.org/wiki/Atonement http://www.bg-wiki.com/bg/Atonement -- Sword weapon skill -- Skill Level: N/A -- Delivers a Twofold a...
gpl-3.0
dr01d3r/darkstar
scripts/zones/West_Sarutabaruta/npcs/Cavernous_Maw.lua
29
1467
----------------------------------- -- Area: West Sarutabaruta -- NPC: Cavernous Maw -- Teleports Players to West Sarutabaruta [S] -- @pos -2.229 0.001 -162.715 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
dr01d3r/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f5.lua
12
1097
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Shiva's Gate -- @pos 270 -34 100 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); -----...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c18489208.lua
5
1571
--カースド・フィグ function c18489208.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(18489208,0)) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c18489208.con) e1:SetTarget...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c76004142.lua
2
2136
--不運の爆弾 function c76004142.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,0x1e1) e1:SetCountLimit(1,76004142+EFFECT_COUNT_CODE_OATH) e1:SetTarge...
gpl-2.0
h3rald/mal
lua/step7_quote.lua
40
4344
#!/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
joev/SVUI-Temp
SVUI_Skins/components/blizzard/help.lua
1
6136
--[[ ############################################################################## S V U I By: Munglunch ############################################################################## --]] --[[ GLOBALS ]]-- local _G = _G; local unpack = _G.unpack; local select = _G.select; local tinsert = _G.tinsert; --[[ ADDON ]]...
mit
SalvationDevelopment/Salvation-Scripts-Production
c51351302.lua
9
1349
--ウジャト眼を持つ男 function c51351302.initial_effect(c) --confirm local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(51351302,0)) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c51351302.target) e1:SetOperation(c513...
gpl-2.0
FrnkVieira/demonsgaming
data/talkactions/scripts/deathlist.lua
43
2176
local function getArticle(str) return str:find("[AaEeIiOoUuYy]") == 1 and "an" or "a" end local function getMonthDayEnding(day) if day == "01" or day == "21" or day == "31" then return "st" elseif day == "02" or day == "22" then return "nd" elseif day == "03" or day == "23" then return "rd" else return "t...
gpl-2.0
PouriaDev/CyberTG
plugins/Info.lua
1
22097
local function callback_reply(extra, success, result) --icon & rank ------------------------------------------------------------------------------------------------ userrank = "Member" if tonumber(result.from.id) == 175636120 then userrank = "Master ⭐⭐⭐⭐" send_document(org_chat_id,"umbrella/stickers/master.webp"...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Sauromugue_Champaign/npcs/qm6.lua
14
2470
----------------------------------- -- Area: Sauromugue Champaign -- NPC: qm6 (???) (Tower 6) -- Involved in Quest: THF AF "As Thick As Thieves" -- @pos 363.481 23.600 6.335 120 ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; ----------------------------------...
gpl-3.0
dwmw2/domoticz
dzVents/runtime/tests/testHTTPResponse.lua
3
3399
local scriptPath = '' package.path = package.path .. ";../?.lua;" .. scriptPath .. '/?.lua' package.path = package.path .. ";../?.lua;../../../scripts/lua/?.lua;" .. scriptPath .. '/?.lua;' local HTTPResponse = require('HTTPResponse') describe('HTTPResponse', function() it('should instantiate', function() local...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c100000320.lua
2
1077
--お銚子一本 function c100000320.initial_effect(c) --Activate local e0=Effect.CreateEffect(c) e0:SetType(EFFECT_TYPE_ACTIVATE) e0:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e0) --Damage local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DAMAGE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetType(EFFECT_TYPE_...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Dynamis-Beaucedine/mobs/Goblin_Statue.lua
22
1841
----------------------------------- -- Area: Dynamis Beaucedine -- MOB: Goblin Statue -- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg ----------------------------------- package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil; ----------------...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Gusgen_Mines/npcs/Degga.lua
14
1163
----------------------------------- -- Area: Gusgen Mines -- NPC: Degga -- Type: Standard Info NPC -- @pos 40 -68 -259 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"...
gpl-3.0
jinxiaoye1987/RyzomCore
ryzom/common/data_common/r2/r2_features_time_trigger.lua
3
15301
-- In Transalation file -- Category : uiR2EdTimeTrigger -- -- CreationFrom : uiR2EdTimeTriggerParameters -- uiR2EdtooltipCreateFeatureTimeTrigger -> tooltip r2.Features.TimeTriggerFeature = {} local feature = r2.Features.TimeTriggerFeature feature.Name="TimeTriggerFeature" feature.Description="A Time Trigger" f...
agpl-3.0
dr01d3r/darkstar
scripts/zones/La_Theine_Plateau/npcs/Vicorpasse.lua
14
2267
----------------------------------- -- Area: La Theine Plateau -- NPC: Vicorpasse -- Involved in Mission: The Rescue Drill -- @pos -344 37 266 102 ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"...
gpl-3.0
dr01d3r/darkstar
scripts/globals/items/dish_of_spaghetti_arrabbiata.lua
12
2027
----------------------------------------- -- ID: 5211 -- Item: dish_of_spaghetti_arrabbiata -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +17% (cap 140) -- Strength +5 -- Vitality +2 -- Intelligence -7 -- Attack +22% (cap 90) -- Ranged Attack +22% (cap 90) -- Store TP +6 -- Sleep resi...
gpl-3.0
PouriaDev/CyberTG
plugins/Weather.lua
1
4506
local function temps(K) local F = (K*1.8)-459.67 local C = K-273.15 return F,C end local function run(msg, matches) local res = http.request("http://api.openweathermap.org/data/2.5/weather?q="..URL.escape(matches[2]).."&appid=269ed82391822cc692c9afd59f4aabba") local jtab = JSON.decode(res) if jtab.name then if...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Tavnazian_Safehold/npcs/_0qa.lua
14
2058
----------------------------------- -- Area: Tavnazian Safehold -- NPC: walnut door -- Involved in mission 2-4 -- @pos 111 -41 41 26 ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("s...
gpl-3.0
extreme01/extreme0
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
SalvationDevelopment/Salvation-Scripts-Production
c15495787.lua
2
1846
--超重武者ココロガマ-A function c15495787.initial_effect(c) --summon limit local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_CANNOT_SUMMON) e1:SetCondition(c15495787.sumcon) c:RegisterEffect(e1) local e2=e1:Clone() e2:SetCode(EFFECT_CANNOT_FLIP_SUMMON) c:RegisterEffect(e2) --special summ...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Kazham/npcs/Hari_Pakhroib.lua
29
3020
----------------------------------- -- Area: Kazham -- NPC: Hari Pakhroib -- Starts and Finishes Quest: Greetings to the Guardian ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/globals/t...
gpl-3.0
dr01d3r/darkstar
scripts/zones/RuLude_Gardens/TextIDs.lua
6
2942
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6519; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6523; -- You cannot obtain the <item>. Try trading again after sorting your inventory. ITEM_OBTAINED = 6525; ...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c72648577.lua
2
1850
--DDDの人事権 function c72648577.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TODECK+CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c72648577.target) e1:SetOperation(c72648577.operation) c:RegisterEffect(e1) end fun...
gpl-2.0
AutoJames/KkthnxUI_Legion
KkthnxUI/Core/Commands.lua
1
10143
local K, C, L = select(2, ...):unpack() -- Lua API local _G = _G local format, lower = string.format, string.lower local ipairs = ipairs local ceil = math.ceil local floor = math.floor local CombatLogClearEntries = CombatLogClearEntries local DoReadyCheck = DoReadyCheck local EnableAddOn, DisableAllAddOns = EnableAddO...
mit
miralireza2/star_telegrambot1
plugins/gnuplot.lua
622
1813
--[[ * Gnuplot plugin by psykomantis * dependencies: * - gnuplot 5.00 * - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html * ]] -- Gnuplot needs absolute path for the plot, so i run some commands to find where we are local outputFile = io.popen("pwd","r") io.input(outputFile...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c1073952.lua
9
1186
--マジック・プランター function c1073952.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(c1073952.cost) e1:SetTarget(c1073952.target) e1:SetOperation(c1073952.acti...
gpl-2.0
koreader/koreader
plugins/coverbrowser.koplugin/bookinfomanager.lua
4
41402
local BD = require("ui/bidi") local Blitbuffer = require("ffi/blitbuffer") local DataStorage = require("datastorage") local Device = require("device") local DocumentRegistry = require("document/documentregistry") local FFIUtil = require("ffi/util") local InfoMessage = require("ui/widget/infomessage") local RenderImage ...
agpl-3.0
koreader/koreader
plugins/newsdownloader.koplugin/lib/handler.lua
14
10985
--- -- Overview: -- ========= -- Standard XML event handler(s) for XML parser module (xml.lua) -- -- Features: -- ========= -- printHandler - Generate XML event trace -- domHandler - Generate DOM-like node tree -- simpleTreeHandler - Generate 'simple' node tree -- -- API: -- ...
agpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c14148099.lua
4
2150
--巨大戦艦 ビッグ・コア function c14148099.initial_effect(c) c:EnableCounterPermit(0x1f) --summon success local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(14148099,0)) e1:SetCategory(CATEGORY_COUNTER) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c1414809...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c29401950.lua
4
2290
--奈落の落とし穴 function c29401950.initial_effect(c) --Activate(summon) local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c29401950.target) e1:SetOperation(c29401950.activate) c:RegisterEffect(e1) local e2=E...
gpl-2.0
koreader/koreader
spec/unit/readerhighlight_spec.lua
4
14277
describe("Readerhighlight module", function() local DocumentRegistry, ReaderUI, UIManager, Screen, Geom, Event setup(function() require("commonrequire") package.unloadAll() require("document/canvascontext"):init(require("device")) DocumentRegistry = require("document/documentregi...
agpl-3.0
dr01d3r/darkstar
scripts/zones/Port_San_dOria/npcs/Bonmaurieut.lua
17
1903
----------------------------------- -- Area: Port San d'Oria -- NPC: Bonmaurieut -- Only sells when San d'Oria controlls Elshimo Uplands ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs");...
gpl-3.0
jamesjinnz/domoticz
scripts/dzVents/runtime/tests/testEventHelpersStorage.lua
3
19699
_G._ = require 'lodash' local GLOBAL = false local LOCAL = true _G.TESMODE = true package.path = package.path .. ";../?.lua" local clock = os.clock function sleep(n) -- seconds local t0 = clock() while clock() - t0 <= n do end end local function keys(t) local keys = _.keys(t) return _.sortBy(keys, function(k) ...
gpl-3.0
erfan70/erfan100
libs/redis.lua
32
1129
local Redis = (loadfile "./libs/lua-redis.lua")() local FakeRedis = (loadfile "./libs/fakeredis.lua")() local params = { host = '127.0.0.1', port = 6379, } -- Overwrite HGETALL Redis.commands.hgetall = Redis.command('hgetall', { response = function(reply, command, ...) local new_reply = { } for i = 1, #...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Al_Zahbi/npcs/Famatar.lua
27
3042
----------------------------------- -- Area: Al Zahbi -- NPC: Famatar -- Type: Imperial Gate Guard -- @pos -105.538 0.999 75.456 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/global...
gpl-3.0
jonathantompson/nn
BCECriterion.lua
12
2712
local BCECriterion, parent = torch.class('nn.BCECriterion', 'nn.Criterion') local eps = 1e-12 function BCECriterion:__init(weights, sizeAverage) parent.__init(self) if sizeAverage ~= nil then self.sizeAverage = sizeAverage else self.sizeAverage = true end if weights ~= nil then ...
bsd-3-clause
SalvationDevelopment/Salvation-Scripts-Production
c8233522.lua
6
1372
--A・O・J サイクルリーダー function c8233522.initial_effect(c) --remove local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(8233522,0)) e1:SetCategory(CATEGORY_REMOVE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1:SetRange(LOCATION_HAND) e1:SetCost(c82...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c59482302.lua
6
1386
--A・ボム function c59482302.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(59482302,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetConditio...
gpl-2.0
rigeirani/uzrep
bot/bot.lua
34
7073
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '0.14.6' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then r...
gpl-2.0
waruqi/xmake
xmake/core/ui/view.lua
1
11195
--!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
c27980138.lua
7
1586
--ガルドスの羽根ペン function c27980138.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TODECK+CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c27980138.target) e1:SetOperation(c27980138.activate) c:...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c100213059.lua
2
2235
--螺旋のストライクバースト --Spiral Flame Strike --Scripted by Eerie Code function c100213059.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,0x1e0) e1:SetTarget(c100213059.target) c:RegisterEffect(e1) end function c100213059.desfi...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c1828513.lua
5
1713
--六武衆の影-紫炎 function c1828513.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x3d),4,2) c:EnableReviveLimit() --attack up local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetDescription(aux.Stringid(1828513,0)) e1:SetType(EFFECT_TYPE_QUICK_O) e1:S...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c50957346.lua
6
1059
--レイジアース function c50957346.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(50957346,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c50957346.condition) e1:SetTarget(c50957346...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c52323874.lua
5
1579
--RR-デビル・イーグル function c52323874.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0xba),3,2) c:EnableReviveLimit() --damage local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetProperty(EFFEC...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Southern_San_dOria/npcs/Maugie.lua
16
2556
----------------------------------- -- Area: Southern San d'Oria -- NPC: Maugie -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ------------------------------------- require("scripts/zones/Southern_San_dOria/TextIDs"); require("scripts/global...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c26268488.lua
2
3407
--聖珖神竜 スターダスト・シフル function c26268488.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsType,TYPE_SYNCHRO),aux.NonTuner(Card.IsType,TYPE_SYNCHRO),2) c:EnableReviveLimit() --cannot special summon local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFEC...
gpl-2.0
diegonehab/LuaSocket
src/headers.lua
133
3698
----------------------------------------------------------------------------- -- Canonic header field capitalization -- LuaSocket toolkit. -- Author: Diego Nehab ----------------------------------------------------------------------------- local socket = require("socket") socket.headers = {} local _M = socket.headers ...
mit
SalvationDevelopment/Salvation-Scripts-Production
c47778083.lua
5
2941
--ボーン・テンプル・ブロック function c47778083.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:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c47778083.target) e1:SetOperation(c47778083.operation) c:Reg...
gpl-2.0
waruqi/xmake
xmake/modules/detect/tools/find_lua.lua
1
1459
--!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
retep998/Vana
scripts/instances/leafreToOrbisBoarding.lua
2
1441
--[[ 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/Bastok_Markets/npcs/Harmodios.lua
14
2447
----------------------------------- -- Area: Bastok Markets -- NPC: Harmodios -- Standard Merchant NPC -- @pos -79.928 -4.824 -135.114 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scri...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c48928529.lua
5
1306
--No.83 ギャラクシー・クィーン function c48928529.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,1,3) c:EnableReviveLimit() --attack up local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(48928529,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZONE) e1:SetCost(c489285...
gpl-2.0
delaram16/Avvvv
plugins/plugins.lua
13
6588
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
Caduceus/forgottenserver
data/talkactions/scripts/info.lua
24
1561
function onSay(player, words, param) if not player:getGroup():getAccess() then return true end local target = Player(param) if not target then player:sendCancelMessage("Player not found.") return false end if target:getAccountType() > player:getAccountType() then player:sendCancelMessage("You can not ge...
gpl-2.0
godexsoft/x2d
libs/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...
bsd-3-clause
whille/redis-3.0-annotated
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...
bsd-3-clause
retep998/Vana
scripts/utils/jobHelper.lua
2
1315
--[[ 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
SalvationDevelopment/Salvation-Scripts-Production
c39967326.lua
5
1575
--早すぎた復活 function c39967326.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(c39967326.target) e1:SetOperat...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Chateau_dOraguille/npcs/_6h1.lua
14
2389
----------------------------------- -- Area: Chateau d'Oraguille -- Door: Prince Regent's Rm -- Starts and Finishes Quest: Prelude of Black and White (Start), Pieuje's Decision (Start) -- @pos -37 -3 31 233 ----------------------------------- package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil; -----------...
gpl-3.0
Caduceus/forgottenserver
data/creaturescripts/scripts/playerdeath.lua
32
3253
local deathListEnabled = true local maxDeathRecords = 5 function onDeath(player, corpse, killer, mostDamageKiller, unjustified, mostDamageUnjustified) local playerId = player:getId() if nextUseStaminaTime[playerId] ~= nil then nextUseStaminaTime[playerId] = nil end player:sendTextMessage(MESSAGE_EVENT_ADVANCE, ...
gpl-2.0
joev/SVUI-Temp
SVUI_!Core/system/_reports/reputation_new.lua
1
5423
--[[ ############################################################################## S V U I By: Munglunch ############################################################################## ########################################################## LOCALIZED LUA FUNCTIONS #################################################...
mit
kidaa/luvi
src/lua/luvipath.lua
6
2765
local luvi = require('luvi') local getPrefix, splitPath, joinParts local isWindows if _G.jit then isWindows = _G.jit.os == "Windows" else isWindows = not not package.path:match("\\") end if isWindows then -- Windows aware path utilities function getPrefix(path) return path:match("^%a:\\") or pa...
apache-2.0
joev/SVUI-Temp
SVUI_!Core/system/letsride.lua
1
15937
--[[ ########################################################## S V U I By: Munglunch ########################################################## LOCALIZED LUA FUNCTIONS ########################################################## ]]-- --[[ GLOBALS ]]-- local _G = _G; local unpack = _G.unpack; local select = _G.sele...
mit
dr01d3r/darkstar
scripts/zones/Southern_San_dOria/npcs/Emoussine.lua
27
2406
----------------------------------- -- Area: Southern San d'Oria -- NPC: Emoussine -- Type: Chocobo Renter -- @pos -11 1 -100 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/chocobo"); require("scripts/g...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Abyssea-Uleguerand/npcs/qm16.lua
5
1401
----------------------------------- -- Zone: Abyssea-Uleguerand -- NPC: qm16 (???) -- Spawns Apademak -- @pos ? ? ? 253 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action ----------------------------------...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Qufim_Island/npcs/Hieroglyphics.lua
7
2544
----------------------------------- -- Area: Qufim_Island -- NPC: Hieroglyphics -- Dynamis Qufim Entrance -- @pos 16 -19 162 126 ----------------------------------- package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/glo...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c500314601.lua
2
1490
--カオス・ブルーム function c500314601.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c500314601.target) e1:SetOperation(c500314601.activate) c:RegisterEff...
gpl-2.0
dr01d3r/darkstar
scripts/globals/abilities/pets/attachments/tension_spring.lua
27
1089
----------------------------------- -- Attachment: Tension Spring ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onUseAbility ----------------------------------- function onEquip(pet) pet:addMod(MOD_ATTP, 3) pet:addMod(MOD_RATTP, 3) end function...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Bastok_Markets/npcs/Michea.lua
29
4408
----------------------------------- -- Area: Bastok Markets -- NPC: Michea -- Quest NPC -- Starts: Father Figure (100%) | The Elvaan Goldsmith (100%) -- Involed in: Fetichism | Where Two Paths Converge ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; --------------------...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Waughroon_Shrine/npcs/Burning_Circle.lua
14
2281
----------------------------------- -- Area: Waughroon Shrine -- NPC: Burning Circle -- Waughroon Shrine Burning Circle -- @pos -345 104 -260 144 ------------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ------------------------------------- require("scripts/globals/bcnm");...
gpl-3.0
bonescreater/bones
sample/xml/listitem.lua
1
1606
 local mod = {} --136 - 84 --设置指定的行列元素 local function addItem(self, ln, col, common, highlight, press, disable) --按钮的高度就是一行的高度 if ln < 1 then return end --填满items的nil for i = 1, ln do local item = self.items_[i] if not item then self.items_[i] = {} end ...
mit