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
valhallaGaming/uno
src_trunk/resources/gatekeepers-system/s_hunter.lua
1
16035
-- //////////////////////////////////// -- // MYSQL // -- //////////////////////////////////// sqlUsername = exports.mysql:getMySQLUsername() sqlPassword = exports.mysql:getMySQLPassword() sqlDB = exports.mysql:getMySQLDBName() sqlHost = exports.mysql:getMySQLHost() sqlPort = exports.mysql:getMySQLPort()...
bsd-3-clause
mercury233/ygopro-scripts
c88757791.lua
2
2713
--法眼の魔術師 function c88757791.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c) --change scale local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(88757791,0)) e2:SetType(EFFECT_TYPE_IGNITION) e2:SetRange(LOCATION_PZONE) e2:SetProperty(EFFECT_FLAG_CARD_TARGET) e2:SetCountLimit(1) e2:...
gpl-2.0
mercury233/ygopro-scripts
c9888196.lua
6
4233
--A・O・J ディサイシブ・アームズ function c9888196.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),2) c:EnableReviveLimit() --destroy1 local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(9888196,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:Set...
gpl-2.0
mercury233/ygopro-scripts
c2047519.lua
9
1435
--隠れ兵 function c2047519.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetCondition(c2047519.condition) e1:SetTarget(c2047519.target) e1:SetOperation(c2047519.activate) c:RegisterEffect(e1...
gpl-2.0
ronsavage/MarpaX-Languages-Lua-Parser
lua.sources/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...
artistic-2.0
helgefmi/Unicorn
Unicorn/List.lua
2
8578
local wm = WINDOW_MANAGER local TITLE_HEIGHT = 24 local LINES_OFFSET = TITLE_HEIGHT local SLIDER_WIDTH = 22 -- Utility local function clamp(val, min_, max_) val = math.max(val, min_) return math.min(val, max_) end -- Private API local function _set_line_counts(self) self.num_visible_lin...
mit
mercury233/ygopro-scripts
c21887075.lua
2
2479
--無尽機関アルギロ・システム function c21887075.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(21887075,0)) e1:SetCategory(CATEGORY_TOGRAVE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,21887075) e1:SetTarget(c21887075.target) e1:SetOperation(...
gpl-2.0
valhallaGaming/uno
src_trunk/resources/lvpd-system/s_policecommands.lua
1
12299
-- //////////////////////////////////// -- // MYSQL // -- //////////////////////////////////// sqlUsername = exports.mysql:getMySQLUsername() sqlPassword = exports.mysql:getMySQLPassword() sqlDB = exports.mysql:getMySQLDBName() sqlHost = exports.mysql:getMySQLHost() sqlPort = exports.mysql:getMySQLPort()...
bsd-3-clause
Zenny89/darkstar
scripts/zones/Bhaflau_Thickets/TextIDs.lua
7
1158
-- 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 = 6383; -- Obtained: <item>. GIL_OBTAINED = 6384; -- Obtained <number> gil. KEYITEM_OBTAINED = 6386; -- Obtained...
gpl-3.0
mercury233/ygopro-scripts
c48015771.lua
3
2113
--サモンオーバー function c48015771.initial_effect(c) c:EnableCounterPermit(0x4c) c:SetCounterLimit(0x4c,6) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --counter local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_...
gpl-2.0
mercury233/ygopro-scripts
c9659580.lua
2
3481
--方界業 function c9659580.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c9659580.target) c:RegisterEffect(e1) --lp halve local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(9659580,1)) e2:SetType(EFFECT_TYPE_FIE...
gpl-2.0
Zenny89/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5fr.lua
34
2570
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: South Plate -- @pos 180 -34 -31 195 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ------------------------...
gpl-3.0
wenhuizhang/MoonGen
test/proto/testIPv4.lua
5
2123
describe("IPv4 class", function() local ffi = require "ffi" local pkt = require "packet" it("should parse", function() local ip = parseIP4Address("1.2.3.4") assert.are.same(ip, 0x01020304) end) it("should return in correct byteorder", function() local ipString = "123.56.200.42" local ip = ffi.new("union ip...
mit
mercury233/ygopro-scripts
c770365.lua
6
1674
--魔導皇聖 トリス function c770365.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_SPELLCASTER),5,2) c:EnableReviveLimit() --atklimit local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1...
gpl-2.0
rodamaral/smw-tas
lsnes/scripts/lib/game/misc.lua
1
3661
local M = {} local memory, bit = _G.memory, _G.bit local luap = require('luap') local config = require('config') local draw = require('draw') local state = require('game.state') local smw = require('game.smw') local tile = require('game.tile') local fmt = string.format local u8 = memory.readbyte local u16 = memory.r...
mit
qq779089973/my_openwrt_mod
luci/applications/luci-diag-devinfo/luasrc/controller/luci_diag/netdiscover_common.lua
76
3146
--[[ Luci diag - Diagnostics controller module (c) 2009 Daniel Dickinson 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 ]]-- module("luci.cont...
mit
mercury233/ygopro-scripts
c12015000.lua
2
1846
--新生代化石竜 スカルガー function c12015000.initial_effect(c) aux.AddCodeList(c,59419719) --fusion summon c:EnableReviveLimit() aux.AddFusionProcFun2(c,aux.FilterBoolFunction(Card.IsRace,RACE_ROCK),c12015000.matfilter,true) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty...
gpl-2.0
LuaDist/loop
lua/loop/collection/UnorderedArray.lua
12
1495
-------------------------------------------------------------------------------- ---------------------- ## ##### ##### ###### ----------------------- ---------------------- ## ## ## ## ## ## ## ----------------------- ---------------------- ## ## ## ## ## ###### --------------------...
mit
nikil/entware-packages
net/prosody/files/prosody.cfg.lua
4
7277
-- 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
mercury233/ygopro-scripts
c45662855.lua
9
1886
--ジェムナイト・アイオーラ function c45662855.initial_effect(c) aux.EnableDualAttribute(c) --salvage local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetDescription(aux.Stringid(45662855,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCountLi...
gpl-2.0
Zenny89/darkstar
scripts/globals/weaponskills/victory_smite.lua
30
1634
----------------------------------- -- Victory Smite -- Hand-to-Hand Weapon Skill -- Skill Level: N/A -- Description: Delivers a fourfold attack. Chance of params.critical hit varies with TP. -- Must have Verethragna (85)/(90)/(95)/(99)/(99-2) or Revenant Fists +1/+2/+3 equipped. -- Aligned with the Light Gorget,...
gpl-3.0
Zenny89/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Stone_Monument.lua
32
1308
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Stone Monument -- Involved in quest "An Explorer's Footsteps" -- @pos 450.741 2.110 -290.736 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; -------------------------------...
gpl-3.0
mercury233/ygopro-scripts
c81994591.lua
2
1544
--コアキメイルの金剛核 function c81994591.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(81994591,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c81994591.target) e1:SetOperation(c81994591.activate...
gpl-2.0
Zenny89/darkstar
scripts/globals/mobskills/Psychomancy.lua
13
1127
--------------------------------------------------- -- Psychomancy -- Steals MP from players in range. -- Type: Magical -- Utsusemi/Blink absorb: ignore shadow --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpm...
gpl-3.0
ivansafrin/Polycode
Examples/Lua/Graphics/MaterialsAndLighting/Scripts/AdvancedLighting.lua
10
1668
Services.ResourceManager:addDirResource("Resources", false) scene = Scene(Scene.SCENE_3D) ground = ScenePrimitive(ScenePrimitive.TYPE_PLANE, 5,5) ground:setMaterialByName("GroundMaterial", Services.ResourceManager:getGlobalPool()) scene:addEntity(ground) box = ScenePrimitive(ScenePrimitive.TYPE_TORUS, 0.8,0.3,30,20)...
mit
mercury233/ygopro-scripts
c30430448.lua
2
3574
--凍てつく呪いの神碑 local s,id,o=GetID() function s.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_DISABLE+CATEGORY_REMOVE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1...
gpl-2.0
mercury233/ygopro-scripts
c32663969.lua
2
1739
--ドミノ function c32663969.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --destroy local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(32663969,0)) e2:SetCategory(CATEGORY_DESTROY) e2:SetType(EFFECT_TYPE...
gpl-2.0
Cavitt/vanilla-ot
data/npc/lib/npcsystem/modules.lua
1
48869
-- Advanced NPC System (Created by Jiddo), -- Modified by TheForgottenServer Team. if(Modules == nil) then -- Constants used to separate buying from selling. SHOPMODULE_SELL_ITEM = 1 SHOPMODULE_BUY_ITEM = 2 SHOPMODULE_BUY_ITEM_CONTAINER = 3 -- Constants used for shop mode. Notice: addBuyableItemContainer is work...
agpl-3.0
Zenny89/darkstar
scripts/zones/Lower_Jeuno/npcs/Chetak.lua
37
1430
----------------------------------- -- Area: Lower Jeuno -- NPC: Chetak -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); ----------------------------------- ...
gpl-3.0
3245as/a123w
plugins/banhammer.lua
7
36665
local function pre_process(msg) chat = msg.chat_id_ user = msg.sender_user_id_ local function check_newmember(arg, data) test = load_data(_config.moderation.data) lock_bots = test[arg.chat_id]['settings']['lock_bots'] local hash = "gp_lang:"..arg.chat_id local lang = redis:get(hash) if data.type_.ID == "UserTy...
gpl-3.0
Zenny89/darkstar
scripts/zones/Pashhow_Marshlands_[S]/Zone.lua
28
1346
----------------------------------- -- -- Zone: Pashhow_Marshlands_[S] (90) -- ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Pashhow_Marshlands_[S]/TextID...
gpl-3.0
Zenny89/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Caiphimonride.lua
37
1316
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Caiphimonride -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ---------...
gpl-3.0
ZeroK-RTS/SpringRTS-Tools
aoplate baker/platetank.lua
1
3493
return { platetank = { unitname = [[platetank]], name = [[Tank Plate]], description = [[Augments Production]], acceleration = 0, brakeRate = 0, buildCostMetal = Shared.FACTORY_PLATE_COST...
gpl-2.0
rouing/FHLG-BW
entities/entities/ent_mad_arrow/init.lua
1
3449
// I took a look on Kogitsune's wiretrap code // I took the .phy of the crossbow_bolt made by Silver Spirit AddCSLuaFile("cl_init.lua") AddCSLuaFile("shared.lua") include('shared.lua') /*--------------------------------------------------------- Name: ENT:Initialize() -----------------------------------------------...
unlicense
adminmagma/test2
plugins/Member_Manager.lua
24
11556
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned =...
gpl-2.0
ajayk/kong
kong/plugins/response-ratelimiting/handler.lua
2
1095
-- Copyright (C) Mashape, Inc. local BasePlugin = require "kong.plugins.base_plugin" local access = require "kong.plugins.response-ratelimiting.access" local log = require "kong.plugins.response-ratelimiting.log" local header_filter = require "kong.plugins.response-ratelimiting.header_filter" local ResponseRateLimiti...
apache-2.0
mercury233/ygopro-scripts
c91907707.lua
2
4213
--クリフォート・アーカイブ function c91907707.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c) --splimit local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON) e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET+EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_CANNOT_NEGATE) e2:...
gpl-2.0
mercury233/ygopro-scripts
c71734607.lua
2
2895
--六花のひとひら function c71734607.initial_effect(c) --to hand or grave local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(71734607,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_TOGRAVE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,71734607) e1:SetTarget(c7...
gpl-2.0
mercury233/ygopro-scripts
c63806265.lua
2
1474
--虹の引力 function c63806265.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:SetHintTiming(0,TIMING_END_PHASE) e1:SetCondition(c63806265.condition) e1:SetTarget(c63806265.target) e1:SetOperation(c...
gpl-2.0
Zenny89/darkstar
scripts/zones/Northern_San_dOria/npcs/Justi.lua
36
1852
----------------------------------- -- Area: Northern San d'Oria -- NPC: Justi -- Conquest depending furniture seller ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/...
gpl-3.0
mercury233/ygopro-scripts
c81128478.lua
4
1385
--ライヤー・ワイヤー function c81128478.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER) e1:SetCost(c81128478.cost) e1:SetTarget(c8...
gpl-2.0
mercury233/ygopro-scripts
c54423935.lua
4
2337
--R・R・R function c54423935.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:SetTarget(c54423935.target) e1:SetOperation(c54423935.activate) c:RegisterEffe...
gpl-2.0
PasdarTeam/BulletProofCli
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
mercury233/ygopro-scripts
c45877457.lua
2
3900
--魔鍵砲-ガレスヴェート function c45877457.initial_effect(c) c:EnableReviveLimit() --different attr check local e0=Effect.CreateEffect(c) e0:SetType(EFFECT_TYPE_SINGLE) e0:SetCode(EFFECT_MATERIAL_CHECK) e0:SetValue(c45877457.valcheck) c:RegisterEffect(e0) --atkup local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_...
gpl-2.0
Anti-Plus/Anti-Plus
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...
lgpl-2.1
goblinor/BomBus
plugins/filter.lua
2
2816
local function addword(msg, name) local hash = 'chat:'..msg.chat_id_..':badword' redis:hset(hash, name, 'newword') return "کلمه جدید به فیلتر کلمات اضافه شد\n🔹➕ "..name end local function get_badword_hash(msg) return 'chat:'..msg.chat_id_..':badword' end local function list_badwords(msg) local hash...
gpl-2.0
mercury233/ygopro-scripts
c32986898.lua
2
2858
--粛星の鋼機 function c32986898.initial_effect(c) --link summon aux.AddLinkProcedure(c,aux.NOT(aux.FilterBoolFunction(Card.IsLinkType,TYPE_LINK)),3,3) c:EnableReviveLimit() --atkup local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) e1:SetC...
gpl-2.0
mercury233/ygopro-scripts
c66765023.lua
2
1900
--飛行エレファント function c66765023.initial_effect(c) --indes local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_INDESTRUCTABLE_COUNT) e1:SetCountLimit(1) e1:SetCondition(c66765023.indcon) e1:SetValue(c66765023.valcon)...
gpl-2.0
mercury233/ygopro-scripts
c29085954.lua
2
3008
--No.78 ナンバーズ・アーカイブ function c29085954.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,1,2) c:EnableReviveLimit() --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(29085954,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) ...
gpl-2.0
Zenny89/darkstar
scripts/commands/reloadglobal.lua
26
1230
--------------------------------------------------------------------------------------------------- -- func: @reloadglobal -- desc: Attempt to reload specified global lua without a restart. -- -- Use with caution, some files ( like player.lua ) -- can cause you problems if you reload them using this. -- This comm...
gpl-3.0
ZeroK-RTS/SpringRTS-Tools
SpringModEdit/ParamDefs/fd.params.lua
2
1761
-- $Id: fd.params.lua 3171 2008-11-06 09:06:29Z det $ local intMap = { footprintX = true, -- fdTable -- footprintX -- footprintZ = true, -- fdTable -- footprintZ -- } local boolMap = { blocking = true, -- fdTable -- blocking -- flammable = true...
gpl-2.0
mercury233/ygopro-scripts
c23440062.lua
2
2770
--ウィキッド・リボーン function c23440062.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:SetHintTiming(0,TIMING_END_PHASE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCost(c23440062.cost) e1:SetTarget...
gpl-2.0
mercury233/ygopro-scripts
c68392533.lua
2
2879
--念動増幅装置 function c68392533.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+EFFECT_FLAG_CONTINUOUS_TARGET) e1:SetTarget(c68392533.target) e1:SetOperation(c68392533.ope...
gpl-2.0
mercury233/ygopro-scripts
c65187687.lua
2
3210
--巨骸竜フェルグラント local s,id,o=GetID() function c65187687.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,c65187687.synfilter,aux.NonTuner(nil),1) c:EnableReviveLimit() --remove local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(id,0)) e1:SetCategory(CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_S...
gpl-2.0
mercury233/ygopro-scripts
c58607704.lua
2
1479
--悪魔の手鏡 function c58607704.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c58607704.tgcon) e1:SetTarget(c58607704.tgtg) e1:SetOperation(c58607704.tgop) c:RegisterEffect(e1) end func...
gpl-2.0
mercury233/ygopro-scripts
c22171591.lua
9
1315
--カバリスト function c22171591.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(22171591,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c22171591.condition) e...
gpl-2.0
Zenny89/darkstar
scripts/zones/Ship_bound_for_Mhaura/npcs/Chhaya.lua
34
1338
----------------------------------- -- Area: Ship Bound for Mhaura -- NPC: Chhaya -- Standard Merchant NPC -- @pos -1.139 -2.101 -9.000 221 ----------------------------------- package.loaded["scripts/zones/Ship_bound_for_Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/set...
gpl-3.0
linushsao/marsu_game-linus-v0.2
mods/mars_pack/mars_mobs_redo/mobs_animal/warthog.lua
1
1910
local S = mobs.intllib -- Warthog by KrupnoPavel mobs:register_mob("mobs_animal:pumba", { type = "animal", passive = false, attack_type = "dogfight", group_attack = true, owner_loyal = true, reach = 2, damage = 2, hp_min = 5, hp_max = 15, armor = 200, collisionbox = {-0.4, -0.01, -0.4, 0.4, 1, 0.4}, vis...
gpl-3.0
mercury233/ygopro-scripts
c62107612.lua
6
1180
--ディメンション・ワンダラー function c62107612.initial_effect(c) --damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(62107612,0)) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_REMOVE) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,62107612)...
gpl-2.0
siilaas/silas-super-bot
bot/seedbot.lua
22
14096
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") local f = assert(io.popen('/usr/bin/git describe --tags', 'r')) VERSION = assert(f:read('*a')) f:close() -- This function is ...
gpl-2.0
icgood/Restic.spoon
commands/backup.lua
1
1927
local obj = { name = "backup" } obj.__index = obj local PROGRESS_PATTERN = [[%[([%d%:]+)%]%s+([%d%.]+)%%%s+]] function obj.new(spoon) local self = { spoon = spoon, log = spoon.log, exec = spoon.exec } setmetatable(self, obj) return self end function obj:start() if self:active() then self.spo...
mit
Zenny89/darkstar
scripts/globals/items/bunny_ball.lua
35
1739
----------------------------------------- -- ID: 4349 -- Item: Bunny Ball -- Food Effect: 240Min, All Races ----------------------------------------- -- Health 10 -- Strength 2 -- Vitality 2 -- Intelligence -1 -- Attack % 30 -- Attack Cap 25 -- Ranged ATT % 30 -- Ranged ATT Cap 25 -------------------------...
gpl-3.0
mercury233/ygopro-scripts
c9464441.lua
2
2606
--魔救の奇跡-ドラガイト function c9464441.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) c:EnableReviveLimit() --to hand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(9464441,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_...
gpl-2.0
rouing/FHLG-BW
entities/entities/base_gmodentity/shared.lua
3
1054
ENT.Type = "anim" ENT.Base = "base_anim" ENT.PrintName = "" ENT.Author = "" ENT.Contact = "" ENT.Purpose = "" ENT.Instructions = "" ENT.Spawnable = false ENT.AdminSpawnable = false function ENT:SetOverlayText( text ) self:SetNetworkedString( "GModOverlayText", text ) end function ENT:GetOverlayText()...
unlicense
mercury233/ygopro-scripts
c85551711.lua
2
3472
--虚空の黒魔導師 function c85551711.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_SPELLCASTER),7,2) c:EnableReviveLimit() --act qp/trap in hand local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_QP_ACT_IN_NTPHAND) e1:SetRange(LOCATION_MZONE) ...
gpl-2.0
equinox0815/packages
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/nat_traffic.lua
79
1251
local function scrape() -- documetation about nf_conntrack: -- https://www.frozentux.net/iptables-tutorial/chunkyhtml/x1309.html nat_metric = metric("node_nat_traffic", "gauge" ) for e in io.lines("/proc/net/nf_conntrack") do -- output(string.format("%s\n",e )) local fields = space_split(e) local ...
gpl-2.0
wrxck/telegram-bot-lua
src/core.lua
1
70228
--[[ _ _ _ _ _ | | | | | | | | | | | |_ ___| | ___ __ _ _ __ __ _ _ __ ___ ______| |__ ___ | |_ ______| |_ _ __ _ | __/ _ \ |/ _ \/ _` | '__/ _` | '_ ` _ \______| '_ \ / _ ...
gpl-3.0
Zenny89/darkstar
scripts/zones/PsoXja/npcs/_091.lua
17
1614
----------------------------------- -- Area: Pso'Xja -- NPC: _091 (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- @pos -330.000 14.074 -261.600 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Pso...
gpl-3.0
mercury233/ygopro-scripts
c88617904.lua
2
2506
--プロモーション function c88617904.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCountLimit(1,88617904+EFFECT_COUNT_CODE_OATH) e1:SetTarge...
gpl-2.0
lingkeyang/slua
build/luajit-2.1.0/src/jit/dis_ppc.lua
78
20318
---------------------------------------------------------------------------- -- LuaJIT PPC disassembler module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT/X license. See Copyright Notice in luajit.h ----------------------------------------------------------------------------...
mit
tjormola/tj-awesome-themes
Radiance-Flat-Green/theme.lua
1
15929
-- Radiance-Flat-Green theme for Awesome 3.5 -- Copyright (C) 2016 Tuomas Jormola <tj@solitudo.net> -- -- Licensed under the terms of GNU General Public License Version 2.0. -- -- Designed to be used with Radiance-Flat-Green GTK+ theme available at -- http://www.ravefinity.com/p/our-themes-work.html. -- freedesktop.org...
gpl-2.0
bryancall/trafficserver
plugins/lua/ci/module_test.lua
17
2097
-- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); y...
apache-2.0
mercury233/ygopro-scripts
c21368442.lua
2
1727
--S-Force グラビティーノ function c21368442.initial_effect(c) --to hand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(21368442,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_DELAY) e1:...
gpl-2.0
mercury233/ygopro-scripts
c20292186.lua
9
1915
--アーティファクト-デスサイズ function c20292186.initial_effect(c) --set local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_MONSTER_SSET) e1:SetValue(TYPE_SPELL) c:RegisterEffect(e1) --spsummon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(20292186,0)) e2:SetCategory(CATEGORY...
gpl-2.0
mercury233/ygopro-scripts
c88989706.lua
2
3089
--大神官デ・ザード function c88989706.initial_effect(c) --check local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_BATTLE_DESTROYING) e1:SetOperation(c88989706.regop) c:RegisterEffect(e1) --negate local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_DESTROY+CATEGO...
gpl-2.0
Firew0lf/ctruLua
sdcard/3ds/ctruLua/examples/example.lua
2
1925
local gfx = require("ctr.gfx") local hid = require("ctr.hid") local ctr = require("ctr") local x = 50 local y = 50 local dMul = 1 local angle = 0 local texture1 = gfx.texture.load(ctr.root.."icon.png"); if not texture1 then error("Giants ducks came from another planet") end local tWidth, tHeight = texture1:getSize()...
gpl-3.0
mynameiscraziu/carlos
plugins/rss.lua
700
5434
local function get_base_redis(id, option, extra) local ex = '' if option ~= nil then ex = ex .. ':' .. option if extra ~= nil then ex = ex .. ':' .. extra end end return 'rss:' .. id .. ex end local function prot_url(url) local url, h = string.gsub(url, "http://", "") local...
gpl-2.0
focusworld/telemamal
plugins/rss.lua
700
5434
local function get_base_redis(id, option, extra) local ex = '' if option ~= nil then ex = ex .. ':' .. option if extra ~= nil then ex = ex .. ':' .. extra end end return 'rss:' .. id .. ex end local function prot_url(url) local url, h = string.gsub(url, "http://", "") local...
gpl-2.0
alfred-bot/mer2phm
plugins/rss.lua
700
5434
local function get_base_redis(id, option, extra) local ex = '' if option ~= nil then ex = ex .. ':' .. option if extra ~= nil then ex = ex .. ':' .. extra end end return 'rss:' .. id .. ex end local function prot_url(url) local url, h = string.gsub(url, "http://", "") local...
gpl-2.0
rigeirani/pm
plugins/welcome.lua
190
3526
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = string.gsub(chat_name, '_', ' ') or '' c...
gpl-2.0
mercury233/ygopro-scripts
c4417407.lua
2
3141
--幻獣機ブラックファルコン function c4417407.initial_effect(c) --level local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_UPDATE_LEVEL) e1:SetValue(c4417407.lvval) c:RegisterEffect(e1) -- local e2=Effect.CreateEffect(c) e2...
gpl-2.0
mercury233/ygopro-scripts
c66078354.lua
2
2855
--遺跡の魔鉱戦士 function c66078354.initial_effect(c) aux.AddCodeList(c,3285552) --spsummon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,66078354) e1:SetCondition(c66078354.spcon) e1:SetTarget(c66078354.sptg) e1...
gpl-2.0
mercury233/ygopro-scripts
c7200041.lua
6
1499
--メタル・シューター function c7200041.initial_effect(c) c:EnableCounterPermit(0x26) --summon success local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(7200041,0)) e1:SetCategory(CATEGORY_COUNTER) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c7200041.add...
gpl-2.0
Zenny89/darkstar
scripts/zones/Bearclaw_Pinnacle/Zone.lua
28
1630
----------------------------------- -- -- Zone: Bearclaw_Pinnacle (6) -- ----------------------------------- package.loaded["scripts/zones/Bearclaw_Pinnacle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Bearclaw_Pinnacle/TextIDs"); --------...
gpl-3.0
mercury233/ygopro-scripts
c2851070.lua
2
1700
--魔鏡導士リフレクト・バウンダー function c2851070.initial_effect(c) --damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(2851070,0)) e1:SetCategory(CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BATTLE_CONFIRM) e1:SetCondition(c2851070.damcon) e1:SetTarget(c2851070.d...
gpl-2.0
mercury233/ygopro-scripts
c525110.lua
4
1867
--プチトマボー function c525110.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(525110,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c525110.condition) e1:SetTarget(c...
gpl-2.0
mercury233/ygopro-scripts
c99789342.lua
3
2137
--黒魔術のカーテン function c99789342.initial_effect(c) aux.AddCodeList(c,46986414) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c99789342.cost) e1:SetTarget(c99789342.target) e1:SetOperation(c99789342.activa...
gpl-2.0
mercury233/ygopro-scripts
c59724555.lua
2
2429
--ドドドドワーフ-GG function c59724555.initial_effect(c) --spsummon1 local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(59724555,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,59724555) e1:SetTarget(c59724555.sptg1) e1:SetOperati...
gpl-2.0
mercury233/ygopro-scripts
c12571621.lua
2
3268
--電脳堺豸-豸々 function c12571621.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(12571621,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOGRAVE+CATEGORY_TOHAND+CATEGORY_GRAVE_ACTION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange...
gpl-2.0
mercury233/ygopro-scripts
c1248895.lua
9
1261
--連鎖破壊 function c1248895.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c1248895.target) e1:SetOperation(c1248895.activate) c:RegisterEffect(e1) ...
gpl-2.0
mercury233/ygopro-scripts
c94113093.lua
2
3282
--らくがきちょう-とおせんぼ function c94113093.initial_effect(c) --negate attack local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_GRAVE_SPSUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_BE_BATTLE_TARGET) e1:SetCountLimit(1,94113093) e1:SetCondition(c94113093.negcon) e1:SetOperation(...
gpl-2.0
mercury233/ygopro-scripts
c111280.lua
2
3192
--黒魔導強化 function c111280.initial_effect(c) aux.AddCodeList(c,46986414,38033121) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetConditio...
gpl-2.0
Zenny89/darkstar
scripts/globals/mobskills/Antimatter.lua
18
1115
--------------------------------------------------- -- Antimatter -- -- Description: Single-target ranged Light damage (~700-1500), ignores Utsusemi. -- Type: Magical -- --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/g...
gpl-3.0
mercury233/ygopro-scripts
c92958307.lua
4
1337
--EMショーダウン function c92958307.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_POSITION) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetHintTiming(TIMING_BATTLE_PHASE,TIMINGS_CHECK_MONSTER+TIMING_BATTLE_PHASE) e1:Se...
gpl-2.0
mercury233/ygopro-scripts
c85852291.lua
2
1047
--打ち出の小槌 function c85852291.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c85852291.target) e1:SetOperation(c85852291.activate) c:Reg...
gpl-2.0
mercury233/ygopro-scripts
c47247413.lua
2
1039
--差し戻し function c47247413.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCategory(CATEGORY_TODECK) e1:SetCode(EVENT_TO_HAND) e1:SetCondition(c47247413.condition) e1:SetTarget(c47247413.target) e1:SetOperation(c47247413.activate) c:RegisterEffect(e1) end func...
gpl-2.0
Zenny89/darkstar
scripts/globals/items/m&p_doner_kabob.lua
36
1132
----------------------------------------- -- ID: 5717 -- Item: M&P Doner Kabob -- Food Effect: 5Min, All Races ----------------------------------------- -- HP 5% -- MP 5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------------...
gpl-3.0
mercury233/ygopro-scripts
c20584712.lua
2
1399
--SPYRAL-タフネス function c20584712.initial_effect(c) --change name aux.EnableChangeCode(c,41091257,LOCATION_MZONE+LOCATION_GRAVE) --destroy local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(20584712,0)) e2:SetCategory(CATEGORY_DESTROY) e2:SetType(EFFECT_TYPE_IGNITION) e2:SetProperty(EFFECT_FLAG_CARD_...
gpl-2.0
mrbangi/mrbangii
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
ashkanpj/beny
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