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
SalvationDevelopment/Salvation-Scripts-Production
c65156847.lua
6
1306
--ネオフレムベル・ガルーダ function c65156847.initial_effect(c) --remove local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(65156847,0)) e1:SetCategory(CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZONE) e1...
gpl-2.0
delaram16/Avvvv
libs/serpent.lua
656
7877
local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License local c, d = "Paul Kulchenko", "Lua serializer and pretty printer" local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'} local badtype = {thread = true, userdata = true, cdata = true} lo...
gpl-2.0
zzaid/TCHUKY
libs/serpent.lua
656
7877
local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License local c, d = "Paul Kulchenko", "Lua serializer and pretty printer" local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'} local badtype = {thread = true, userdata = true, cdata = true} lo...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c94801854.lua
2
3318
--不知火の隠者 function c94801854.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(94801854,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCountLimit(1,94801854) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCost(c94801854.cost) e1:SetTarget(c9...
gpl-2.0
dr01d3r/darkstar
scripts/zones/The_Garden_of_RuHmet/npcs/_iz2.lua
14
2003
----------------------------------- -- Area: The Garden of RuHmet -- NPC: _iz2 (Ebon_Panel) -- @pos 422.351 -5.180 -100.000 35 | Hume Tower ----------------------------------- package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Garden_of...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c82458280.lua
5
2064
--マジック・ホール・ゴーレム function c82458280.initial_effect(c) --direct attack local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(82458280,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCond...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c95519486.lua
2
2279
--六武衆-ザンジ function c95519486.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(95519486,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_DAMAGE_STEP_END) e1:SetCondition(c95519486.descon) e1:SetTarget(c95519486.de...
gpl-2.0
extreme01/extreme0
plugins/quran.lua
20
1243
do umbrella = "http://umbrella.shayan-soft.ir/quran/" -- database -- get sound of sura local function read_sura(chat_id, target) local readq = http.request(umbrella.."Sura"..target..".mp3") local url = umbrella.."Sura"..target..".mp3" local file = download_to_file(url) local cb_extra = {file_path=file} return sen...
gpl-2.0
YGS-CO/YGS
plugins/chat.lua
1
20316
local function run(msg, matches) if matches[1] == "بای" then if msg.to.type == 'channel' or 'chat' then local answers = {'بای','خدافز','خدانگهدار','برو دیگگههه😒','ای دون برو به سلامت','بابای عشقم','خدافز به بابا هم سلام برسون','بای بای','bb azizam'} return answers[math.random(#answers)] ...
agpl-3.0
dr01d3r/darkstar
scripts/zones/Northern_San_dOria/npcs/Abeaule.lua
25
4316
----------------------------------- -- Area: Northern San d'Oria -- NPC: Abeaule -- Starts and Finishes Quest: The Trader in the Forest, The Medicine Woman -- @pos -136 -2 56 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- re...
gpl-3.0
retep998/Vana
scripts/npcs/hontale_out.lua
2
3776
--[[ 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
c100912004.lua
2
5105
--EMユーゴーレム --Performapal Fugolem --Scripted by Eerie Code function c100912004.initial_effect(c) aux.EnablePendulumAttribute(c) --salvage local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetRange(LOCATION_PZON...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c32542011.lua
4
3329
--燃え上がる大海 function c32542011.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetCondition(c32542011.condition) e1:SetTarget(c32542011.target...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c45286019.lua
2
2425
--ギアギアーノ Mk-III function c45286019.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(45286019,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetCountLimit(1,45286019) e1:SetCondition...
gpl-2.0
dr01d3r/darkstar
scripts/globals/items/earth_wand.lua
41
1075
----------------------------------------- -- ID: 17076 -- Item: Earth Wand -- Additional Effect: Earth Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action --------------------------------...
gpl-3.0
thegrb93/wire
lua/wire/stools/7seg.lua
8
3298
WireToolSetup.setCategory( "Visuals/Indicators" ) WireToolSetup.open( "7seg", "7 Segment Display", "gmod_wire_indicator", nil, "7 Segment Displays" ) TOOL.GhostAngle = Angle(90, 0, 0) TOOL.GhostMin = "x" if CLIENT then language.Add( "tool.wire_7seg.name", "7-Segment Display Tool" ) language.Add( "tool.wire_7seg.des...
apache-2.0
SalvationDevelopment/Salvation-Scripts-Production
c23784496.lua
4
2278
--魔界台本「オープニング・セレモニー」 function c23784496.initial_effect(c) --recover local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_RECOVER) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCountLimit(1,23784496) e1:SetTarget(c23784496.target) e1:SetOperatio...
gpl-2.0
dr01d3r/darkstar
scripts/globals/items/breath_mantle.lua
43
1422
----------------------------------------- -- ID: 15486 -- Item: Breath Mantle -- Item Effect: HP+18 / Enmity+3 ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ------------------------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c2061963.lua
7
2100
--No.104 仮面魔踏士シャイニング function c2061963.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,4,3) c:EnableReviveLimit() --negate activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(2061963,0)) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DAMAGE) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FL...
gpl-2.0
dr01d3r/darkstar
scripts/zones/North_Gustaberg_[S]/npcs/Mining_Point.lua
17
1098
----------------------------------- -- Area: North Gustaberg [S] -- NPC: Mining Point ----------------------------------- package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil; ------------------------------------- require("scripts/globals/mining"); require("scripts/zones/North_Gustaberg_[S]/TextIDs"); ...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Abyssea-La_Theine/npcs/qm10.lua
14
1352
----------------------------------- -- Zone: Abyssea-LaTheine -- NPC: qm10 (???) -- Spawns Poroggo Dom Juan -- @pos ? ? ? 132 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,tr...
gpl-3.0
dr01d3r/darkstar
scripts/globals/items/anchovy_pizza.lua
12
1552
----------------------------------------- -- ID: 5699 -- Item: anchovy_pizza -- Food Effect: 3hours, All Races ----------------------------------------- -- HP +30 -- DEX +1 -- Accuracy +9% (Cap 15) -- Attack +10% (Cap 20) ----------------------------------------- require("scripts/globals/status"); -------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c78949372.lua
2
3502
--マジェスペクター・スーパーセル function c78949372.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c78949372.target) e1:SetHintTiming(0,0x1c0) c:RegisterEffect(e1) --Draw local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(78...
gpl-2.0
dr01d3r/darkstar
scripts/globals/weaponskills/seraph_blade.lua
23
1356
----------------------------------- -- Seraph Blade -- Sword weapon skill -- Skill Level: 125 -- Deals light elemental damage to enemy. Damage varies with TP. -- Ignores shadows. -- Aligned with the Soil Gorget. -- Aligned with the Soil Belt. -- Element: Light -- Modifiers: STR:40% ; MND:40% -- 100%TP 200%TP 300%...
gpl-3.0
dr01d3r/darkstar
scripts/zones/West_Ronfaure/npcs/Doladepaiton_RK.lua
14
3332
----------------------------------- -- Area: West Ronfaure -- NPC: Doladepaiton, R.K. -- Type: Outpost Conquest Guards -- @pos -448 -19 -214 100 ------------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; -------------------------------------- require("scripts/globals/conquest")...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c32441317.lua
2
1788
--シンクロキャンセル function c32441317.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TODECK+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c32441317.target) e1:SetOperation(c32441317.activ...
gpl-2.0
anusornc/nodemcu-firmware
lua_examples/email/send_email_smtp.lua
82
4640
--- -- Working Example: https://www.youtube.com/watch?v=CcRbFIJ8aeU -- @description a basic SMTP email example. You must use an account which can provide unencrypted authenticated access. -- This example was tested with an AOL and Time Warner email accounts. GMail does not offer unecrypted authenticated access. -- To o...
mit
SalvationDevelopment/Salvation-Scripts-Production
c54936498.lua
5
1175
--インフルーエンス・ドラゴン function c54936498.initial_effect(c) --lv up local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(54936498,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZONE) e1:SetTarget(c54936498.tg) e1:SetOperation(c54936498....
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c73468603.lua
2
2174
--盆回し function c73468603.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c73468603.target) e1:SetOperation(c73468603.operation) c:RegisterEffect(e1) end function c73468603.filter(c) return c:IsType(TYPE_FIELD) and c:IsSSetab...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c99946920.lua
2
3467
--魔竜星-トウテツ function c99946920.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(99946920,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_TO_GRAVE) e1:SetCountLimit(...
gpl-2.0
dr01d3r/darkstar
scripts/globals/items/lizard_egg.lua
12
1169
----------------------------------------- -- ID: 4362 -- Item: lizard_egg -- Food Effect: 5Min, All Races ----------------------------------------- -- Health 5 -- Magic 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------------...
gpl-3.0
jonathantompson/nn
SpatialAveragePooling.lua
20
2357
local SpatialAveragePooling, parent = torch.class('nn.SpatialAveragePooling', 'nn.Module') function SpatialAveragePooling:__init(kW, kH, dW, dH, padW, padH) parent.__init(self) self.kW = kW self.kH = kH self.dW = dW or 1 self.dH = dH or 1 self.padW = padW or 0 self.padH = padH or 0 self.ceil_m...
bsd-3-clause
beni55/luerl
examples/benchmark/suites/sort-simple.lua
5
1718
local table_sort = table.sort local math_random, math_randomseed = math.random, math.randomseed -------------------------------------------------------------------------------- math_randomseed(12345) -------------------------------------------------------------------------------- -- TODO: Benchmark some pure-lua qs...
apache-2.0
dirkfeytons/packages
net/prosody/files/prosody.cfg.lua
147
7257
-- Prosody Example Configuration File -- -- Information on configuring Prosody can be found on our -- website at http://prosody.im/doc/configure -- -- Tip: You can check that the syntax of this file is correct -- when you have finished by running: luac -p prosody.cfg.lua -- If there are any errors, it will let you know...
gpl-2.0
AutoJames/KkthnxUI_Legion
KkthnxUI/Modules/Blizzard/ExtraActionBar.lua
1
2643
local K, C, L = select(2, ...):unpack() if C.ActionBar.Enable ~= true then return end local unpack = unpack local hooksecurefunc = hooksecurefunc local Movers = K.Movers -- MAKE EXTRAACTIONBARFRAME MOVABLE (USE MACRO /click extraactionbutton1) local anchor = CreateFrame("Frame", "ExtraButtonAnchor", UIParent) if C.A...
mit
dr01d3r/darkstar
scripts/zones/The_Shrine_of_RuAvitau/Zone.lua
12
5595
----------------------------------- -- -- Zone: The_Shrine_of_RuAvitau (178) -- ----------------------------------- package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/missions"); require("scripts/global...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c52551211.lua
2
2403
--シャドール・ハウンド function c52551211.initial_effect(c) --tohand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(52551211,0)) e1:SetCategory(CATEGORY_SEARCH+CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY) e1...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c32015116.lua
2
1267
--無差別破壊 function c32015116.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) --roll and destroy local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(32015116,0)) e2:SetC...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Bastok_Markets/npcs/Nbu_Latteh.lua
26
3365
----------------------------------- -- Area: Bastok Markets -- NPC: Nbu Latteh -- Starts & Finishes Quest: Mom, The Adventurer? -- Starts Quest: The Signpost Marks the Spot ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
koreader/koreader
spec/unit/autofrontlight_spec.lua
4
4890
describe("AutoFrontlight widget tests", function() local Device, PowerD, MockTime, class, AutoFrontlight, UIManager setup(function() require("commonrequire") package.unloadAll() require("document/canvascontext"):init(require("device")) MockTime = require("mock_time") Mo...
agpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c57108202.lua
2
3311
--D・リモコン function c57108202.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(57108202,0)) e1:SetCategory(CATEGORY_REMOVE+CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZO...
gpl-2.0
dr01d3r/darkstar
scripts/globals/items/dish_of_salsa.lua
12
1593
----------------------------------------- -- ID: 5299 -- Item: dish_of_salsa -- Food Effect: 3Min, All Races ----------------------------------------- -- Strength -1 -- Dexterity -1 -- Agility -1 -- Vitality -1 -- Intelligence -1 -- Mind -1 -- Sleep Resist 5 ----------------------------------------- require("scripts/g...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c94940436.lua
9
1065
--磁力の召喚円 LV2 function c94940436.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:SetTarget(c94940436.target) e1:SetOperation(c94940436.activate) c:RegisterEffect(e1) end function c94940436.filter...
gpl-2.0
dr01d3r/darkstar
scripts/globals/spells/hailstorm.lua
32
1182
-------------------------------------- -- Spell: Hailstorm -- Changes the weather around target party member to "snowy." -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -...
gpl-3.0
jonathantompson/nn
VolumetricMaxUnpooling.lua
17
1804
local VolumetricMaxUnpooling, parent = torch.class('nn.VolumetricMaxUnpooling', 'nn.Module') function VolumetricMaxUnpooling:__init(poolingModule) parent.__init(self) assert(torch.type(poolingModule)=='nn.VolumetricMaxPooling', 'Argument must be a nn.VolumetricMaxPooling module') assert(poolingModule.kT==pooling...
bsd-3-clause
dvdvideo1234/ZeroBraineProjects
Test/test_graph.lua
1
3437
local drpath = require("directories") drpath.addPath("myprograms", "ZeroBraineProjects", "CorporateProjects", -- When not located in general directory search in projects "ZeroBraineProjects/dvdlualib", "ZeroBraineProje...
apache-2.0
waruqi/xmake
xmake/modules/detect/tools/find_ideviceinstaller.lua
1
1343
--!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
erfan70/erfan100
libs/serpent.lua
31
8016
local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License local c, d = "Paul Kulchenko", "Lua serializer and pretty printer" local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'} local badtype = {thread = true, userdata = true, cdata = true} lo...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Grand_Palace_of_HuXzoi/npcs/HomePoint#1.lua
14
1294
----------------------------------- -- Area: Grand Palace of Hu'Xzoi -- NPC: HomePoint#3 -- @pos -12 0.5 -288 34 ----------------------------------- package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"); re...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c52496105.lua
7
2405
--剣闘獣の闘器マニカ function c52496105.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(c52496105.target) e1:SetOperation(c52496105.operation) c:RegisterEffect(e...
gpl-2.0
abolfazlabbasifx/telegramadminbot
libs/lua-redis.lua
580
35599
local redis = { _VERSION = 'redis-lua 2.0.4', _DESCRIPTION = 'A Lua client library for the redis key value storage system.', _COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', } -- The following line is used for backwards compatibility in order to keep the `Redis` -- global module name. Using...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c31677606.lua
5
1517
--黒白の波動 function c31677606.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_REMOVE+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,0x1e0) e1:SetCondition(c31677606.condition) e1:SetTarget...
gpl-2.0
retep998/Vana
scripts/npcs/sellticket_cbd.lua
2
2784
--[[ 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
ghoulsblade/vegaogre
lugre/lua/lib.util.lua
1
43629
--function printf(...) io.write(string.format("%d:",Client_GetTicks())..string.format(...)) end -- protected call string fromatting, errors don't crash the program function pformat(...) local success,s = pcall(string.format,...) if (success) then return s end s = "string.format error ("..s..") #"..strjoin(",",{...}...
mit
SalvationDevelopment/Salvation-Scripts-Production
c93671934.lua
6
1966
--士気高揚 function c93671934.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --recover local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_RECOVER) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e2:SetCode(EV...
gpl-2.0
PouriaDev/CyberTG
plugins/Owners.lua
1
24033
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['settings'...
gpl-2.0
HHmmominion/basemmominion
LuaMods/Dev/WayPoint/177_auto.lua
1
1357
-- Persistent Data local multiRefObjects = { } -- multiRefObjects local obj1 = { [2001010] = { ["CONTENTID"] = 2001010; ["POS"] = { ["y"] = 1.4495849609375; ["x"] = -0.01531982421875; ["h"] = -4.7919835196808e-005; ["z"] = 7.5226440429688; }; ["NAME"] = "Heavy Oaken Door"; ["ID"] = 2001010; ["...
gpl-2.0
mrmhxx82/Mp3Bot-NewEdit-
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
amirrobot1/amirrobot
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c48768179.lua
7
1771
--黒蠍-強力のゴーグ function c48768179.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(48768179,0)) e1:SetCategory(CATEGORY_TODECK+CATEGORY_TOGRAVE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DAMAGE) e1:SetCondition(c48768179.condition) e1:SetTarget(c487...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Bibiki_Bay/mobs/Shen.lua
17
1234
----------------------------------- -- Area: Bibiki Bay -- MOB: Shen ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) end; ----------------------------------- -- onMobFight Action -------------------------------...
gpl-3.0
joev/SVUI-Temp
SVUI_NamePlates/Loader.lua
1
24987
--[[ ########################################################## S V U I By: Munglunch ########################################################## LOCALIZED LUA FUNCTIONS ########################################################## ]]-- --GLOBAL NAMESPACE local _G = _G; --LUA local unpack = _G.unpack; local select...
mit
waruqi/xmake
xmake/core/base/string.lua
1
7404
--!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
asmagill/hammerspoon-config
_Spoons/SlidingPanels.spoon/init.lua
1
4529
--- === SlidingPanels === --- --- Create sliding panels which can emerge from the sides of your monitor to display canvas and guitk element objects --- --- Also requires [hs._asm.guitk](https://github.com/asmagill/hammerspoon_asm/tree/master/guitk) version 0.1.4alpha or newer to be installed. GUITK is a candidate for...
mit
thegrb93/wire
lua/entities/gmod_wire_egp_hud/huddraw.lua
2
4664
hook.Add("Initialize","EGP_HUD_Initialize",function() if (CLIENT) then local EGP_HUD_FirstPrint = true local tbl = {} -------------------------------------------------------- -- Toggle -------------------------------------------------------- local function EGP_Use( um ) local ent = um:ReadEntity() i...
apache-2.0
SalvationDevelopment/Salvation-Scripts-Production
c19327348.lua
2
1689
--闇霊使いダルク function c19327348.initial_effect(c) --flip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(19327348,0)) e1:SetCategory(CATEGORY_CONTROL) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP) e1:SetTarget(c19327348.target) e1:SetOperation(c19327348.oper...
gpl-2.0
dr01d3r/darkstar
scripts/zones/The_Celestial_Nexus/Zone.lua
30
1741
----------------------------------- -- -- Zone: The_Celestial_Nexus (181) -- ----------------------------------- package.loaded["scripts/zones/The_Celestial_Nexus/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/The_Celestial_Nexus/TextIDs"); -----------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c54484652.lua
2
2423
--超戦士カオス・ソルジャー function c54484652.initial_effect(c) c:SetSPSummonOnce(54484652) c:EnableReviveLimit() --damage local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_BATTLE_DESTROYING) e1:Se...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c100213006.lua
2
2423
--スカイスクレイパー・シュート --Skydive Scorcher --Scripted by Eerie Code function c100213006.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_PLAYER_TAR...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c87564935.lua
2
3588
--メタル化寄生生物-ソルタイト function c87564935.initial_effect(c) --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(87564935,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetTarget(c87564935.eqtg) e1:SetOperat...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c21947653.lua
3
1479
--E-HERO ライトニング・ゴーレム function c21947653.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcCode2(c,20721928,84327329,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
AutoJames/KkthnxUI_Legion
KkthnxUI/Libraries/oUF/elements/assistant.lua
7
2427
--[[ Element: Assistant Icon Toggles visibility of `self.Assistant` based on the units raid officer status. Widget Assistant - Any UI widget. Notes The default assistant icon will be applied if the UI widget is a texture and doesn't have a texture or color defined. Examples -- Position and size local...
mit
Herve-M/OpenRA
mods/ra/maps/top-o-the-world/top-o-the-world.lua
7
14024
--[[ 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
retep998/Vana
scripts/instances/herosWill.lua
2
1372
--[[ 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/Batallia_Downs_[S]/Zone.lua
12
1284
----------------------------------- -- -- Zone: Batallia_Downs_[S] (84) -- ----------------------------------- package.loaded["scripts/zones/Batallia_Downs_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Batallia_Downs_[S]/TextIDs"); ---------------...
gpl-3.0
dr01d3r/darkstar
scripts/globals/spells/dia.lua
27
2184
----------------------------------------- -- Spell: Dia -- Lowers an enemy's defense and gradually deals light elemental damage. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); -----------------------------------------...
gpl-3.0
dr01d3r/darkstar
scripts/globals/items/black_curry_bun.lua
12
1955
----------------------------------------- -- ID: 5758 -- Item: black_curry_bun -- Food Effect: 30minutes, All Races ----------------------------------------- -- TODO: Group effects -- DEX +2 -- VIT +4 -- INT +1 -- Accuracy +5 -- Ranged Accuracy +5 -- Evasion +5 -- DEF +15% (cap 180) -- Resist Sleep +3 -- hHP +2 -- hMP ...
gpl-3.0
anusornc/nodemcu-firmware
lua_modules/bh1750/bh1750.lua
89
1372
-- *************************************************************************** -- BH1750 module for ESP8266 with nodeMCU -- BH1750 compatible tested 2015-1-22 -- -- Written by xiaohu -- -- MIT license, http://opensource.org/licenses/MIT -- *************************************************************************** loca...
mit
xponen/Zero-K-Infrastructure
MissionEditor/MissionEditor2/MissionBase/savetable.lua
9
5576
-- $Id: savetable.lua 3171 2008-11-06 09:06:29Z det $ -------------------------------------------------------------------------------- -------------------------------------------------------------------------------- -- -- file: savetable.lua -- brief: a human friendly table writer -- author: Dave Rodgers -- --...
gpl-3.0
dr01d3r/darkstar
scripts/zones/Windurst_Waters/npcs/Prestapiq.lua
17
1573
----------------------------------- -- Area: Windurst Waters -- NPC: Prestapiq -- Only sells when Windurst controls Movalpolos -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Windurst_Waters/Te...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c61397885.lua
2
4367
--幻煌龍の浸渦 function c61397885.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE+CATEGORY_DISABLE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetHintTiming(TIMING_DAMAGE_STEP,TIMING_DAMAGE_STEP+0x1c0) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_S...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c75190122.lua
3
1196
--黒・爆・裂・破・魔・導 function c75190122.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c75190122.condition) e1:SetTarget(c75190122.target) e1:SetOperation(c75190122.activate) c:RegisterEffect(e...
gpl-2.0
Chessnut/hl2rp
plugins/scanner/sv_hooks.lua
1
4071
local SCANNER_SOUNDS = { "npc/scanner/scanner_blip1.wav", "npc/scanner/scanner_scan1.wav", "npc/scanner/scanner_scan2.wav", "npc/scanner/scanner_scan4.wav", "npc/scanner/scanner_scan5.wav", "npc/scanner/combat_scan1.wav", "npc/scanner/combat_scan2.wav", "npc/scanner/combat_scan3.wav", ...
mit
waruqi/xmake
xmake/modules/core/tools/nasm.lua
1
3668
--!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
c100000528.lua
2
1127
--白鳥の乙女 function c100000528.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:SetTarget(c100000528.target) e1:SetOperation(c100000528.activate) c:RegisterEffect(e1) end function c100000528.filter(...
gpl-2.0
wangfakang/lua-resty-kafka
lib/resty/kafka/response.lua
2
2137
-- Copyright (C) Dejiang Zhu(doujiang24) local bit = require "bit" local setmetatable = setmetatable local byte = string.byte local sub = string.sub local lshift = bit.lshift local bor = bit.bor local strbyte = string.byte local _M = { _VERSION = "0.01" } local mt = { __index = _M } function _M.new(self, str) ...
bsd-3-clause
SalvationDevelopment/Salvation-Scripts-Production
c36107810.lua
6
1104
--ナイトエンド・ソーサラー function c36107810.initial_effect(c) --remove local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(36107810,0)) e1:SetCategory(CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_SPSUMMON_S...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c14558127.lua
2
1431
--灰流うらら function c14558127.initial_effect(c) --negate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DISABLE) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_CHAINING) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,14558127) e1:SetCondition(c14558127.discon) e1:SetCost(c14558127.discost) e1:SetTarget...
gpl-2.0
dr01d3r/darkstar
scripts/zones/Bhaflau_Thickets/Zone.lua
30
3596
----------------------------------- -- -- Zone: Bhaflau_Thickets (52) -- ----------------------------------- package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts...
gpl-3.0
Herve-M/OpenRA
mods/d2k/maps/harkonnen-05/harkonnen05.lua
7
11365
--[[ 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/zones/Aydeewa_Subterrane/mobs/Pandemonium_Warden.lua
12
11865
----------------------------------- -- Area: Aydeewa Subterrane -- ZNM: Pandemonium_Warden ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobInitialize Action ------------------------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-Production
c55410871.lua
2
1529
--ブルーアイズ・カオス・MAX・ドラゴン function c55410871.initial_effect(c) c:EnableReviveLimit() --spsummon 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) e1:SetValue(aux.ritlimit) c:RegisterEffect(...
gpl-2.0
kwangkim/papercrop
nmake.lua
15
2612
require('mylib') function detectVC() local VC8_path="c:\\Program Files\\Microsoft Visual Studio 8" local VC9_path="c:\\Program Files\\Microsoft Visual Studio 9.0" if os.isFileExist(VC8_path.."\\readme.htm") then print("VC8 detected") devenvExe=VC8_path.."\\Common7\\IDE\\devenv.com" setVa...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-Production
c47297616.lua
2
3601
--光と闇の竜 function c47297616.initial_effect(c) --cannot special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) e1:SetValue(aux.FALSE) c:RegisterEffect(e1) --Attribute Dark local e2=Effec...
gpl-2.0
AutoJames/KkthnxUI_Legion
KkthnxUI/Modules/DataText/Elements/Haste.lua
1
1222
local K, C, L = select(2, ...):unpack() local DataText = K.DataTexts local NameColor = DataText.NameColor local ValueColor = DataText.ValueColor local GetCombatRating = GetCombatRating local format = string.format local function Update(self) --local Melee = GetCombatRating(18) --local Ranged = GetCombatRating(19)...
mit
SalvationDevelopment/Salvation-Scripts-Production
c58990362.lua
2
2106
--秘竜星-セフィラシウゴ function c58990362.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c) --splimit local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetRange(LOCATION_PZONE) e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFF...
gpl-2.0
joev/SVUI-Temp
SVUI_Skins/components/addons/Altoholic.lua
2
10059
--[[ ########################################################## S V U I By: Munglunch ########################################################## LOCALIZED LUA FUNCTIONS ########################################################## ]]-- --[[ GLOBALS ]]-- local _G = _G; local unpack = _G.unpack; local select = _G.select...
mit
dr01d3r/darkstar
scripts/globals/items/marron_glace.lua
12
1327
----------------------------------------- -- ID: 4502 -- Item: Marron Glace -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic % 13 -- Magic Cap 85 -- Magic Regen While Healing 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------...
gpl-3.0
Herve-M/OpenRA
mods/ra/maps/soviet-08b/soviet08b-AI.lua
7
4471
--[[ 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
c76660409.lua
2
1513
--ペンデュラム・バック function c76660409.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:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCondition(c76660409.condition) e1:SetTarget(c76660409.target) ...
gpl-2.0