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
Lsty/ygopro-scripts
c10004783.lua
3
2809
--宝玉の解放 function c10004783.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(c10004783.target) e1:SetOperation(c10004783.operation) c:RegisterEffect(e1) ...
gpl-2.0
MalRD/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/_6eo.lua
9
1121
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Door:House -- !pos 148 0 27 80 ----------------------------------- local ID = require("scripts/zones/Southern_San_dOria_[S]/IDs") require("scripts/globals/quests"); require("scripts/globals/settings"); ----------------------------------- funct...
gpl-3.0
MalRD/darkstar
scripts/zones/RoMaeve/mobs/Shikigami_Weapon.lua
11
1556
----------------------------------- -- Area: RoMaeve -- NM: Shikigami Weapon ----------------------------------- require("scripts/globals/pathfind") require("scripts/globals/regimes") require("scripts/globals/status") ----------------------------------- local path = { -47, -4, -37, -49, -4, -37, -54, -4,...
gpl-3.0
Lsty/ygopro-scripts
c66788016.lua
3
1093
--地割れ function c66788016.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c66788016.target) e1:SetOperation(c66788016.activate) c:RegisterEffect(e1) end function c66788016.filter(c) return c:...
gpl-2.0
Lsty/ygopro-scripts
c52665542.lua
3
3561
--ライトロードの神域 function c52665542.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --to hand local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(52665542,0)) e2:SetCategory(CATEGORY_TOHAND) e2:SetType(EFFECT...
gpl-2.0
Lsty/ygopro-scripts
c32752319.lua
3
1122
--ユーフォロイド・ファイター function c32752319.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcCodeFun(c,7602840,aux.FilterBoolFunction(Card.IsRace,RACE_WARRIOR),1,false,false) --atk local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_SPSUMMON_SUC...
gpl-2.0
MalRD/darkstar
scripts/zones/Cloister_of_Frost/bcnms/sugar-coated_directive.lua
9
1239
---------------------------------------- -- Area: Cloister of Frost -- BCNM: Sugar Coated Directive (ASA-4) ---------------------------------------- require("scripts/globals/battlefield") require("scripts/globals/missions") ---------------------------------------- function onBattlefieldTick(battlefield, tick) dsp....
gpl-3.0
Lsty/ygopro-scripts
c33776843.lua
3
1488
--CNo.15 ギミック・パペット-シリアルキラー function c33776843.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,9,3) c:EnableReviveLimit() --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(33776843,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE...
gpl-2.0
zhaozg/lit
libs/export-zip.lua
2
1695
--[[ Copyright 2014-2015 The Luvit Authors. All Rights Reserved. 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 o...
apache-2.0
MalRD/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Thierride.lua
9
2808
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Thierride -- !pos -124 -2 14 80 ----------------------------------- local ID = require("scripts/zones/Southern_San_dOria_[S]/IDs"); require("scripts/globals/quests"); ----------------------------------- -- Item 1019 = Lufet Salt -- Had to use ...
gpl-3.0
MalRD/darkstar
scripts/zones/Windurst_Walls/npcs/Raamimi.lua
9
2736
----------------------------------- -- Area: Windurst Walls -- Location: X:-81 Y:-9 Z:103 -- NPC: Raamimi -- Working 100% -- Involved in Quest: To Bee or Not to Bee? ----------------------------------- local ID = require("scripts/zones/Windurst_Walls/IDs"); require("scripts/globals/settings"); require("scripts/glo...
gpl-3.0
MalRD/darkstar
scripts/globals/spells/bluemagic/feather_barrier.lua
12
1203
----------------------------------------- -- Spell: Feather Barrier -- Enhances evasion -- Spell cost: 29 MP -- Monster Type: Birds -- Spell Type: Magical (Wind) -- Blue Magic Points: 2 -- Stat Bonus: None -- Level: 56 -- Casting Time: 2 seconds -- Recast Time: 120 seconds -- Duration: 30 Seconds -- -- Combos: Resist G...
gpl-3.0
qaheri/AASv2
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
MalRD/darkstar
scripts/zones/Bostaunieux_Oubliette/npcs/Novalmauge.lua
9
3889
----------------------------------- -- Area: Bostaunieux Obliette -- NPC: Novalmauge -- Starts and Finishes Quest: The Rumor, Souls in Shadow -- Involved in Quest: The Holy Crest, Trouble at the Sluice -- !pos 70 -24 21 167 ----------------------------------- local ID = require("scripts/zones/Bostaunieux_Oubliette/IDs...
gpl-3.0
Lsty/ygopro-scripts
c23587624.lua
3
3143
--青天の霹靂 function c23587624.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:SetCondition(c23587624.condition) e1:SetTarget(c23587624.target) e1:SetOperation(c23587624.activate) c:RegisterEffect(...
gpl-2.0
Lsty/ygopro-scripts
c20797524.lua
7
1343
--ヴィークラー function c20797524.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(20797524,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c20797524.condition) e1:SetTa...
gpl-2.0
MalRD/darkstar
scripts/globals/spells/bluemagic/sound_blast.lua
12
1314
----------------------------------------- -- Spell: Sound Blast -- Lowers Intelligence of enemies within range. -- Spell cost: 25 MP -- Monster Type: Birds -- Spell Type: Magical (Fire) -- Blue Magic Points: 1 -- Stat Bonus: None -- Level: 32 -- Casting Time: 4 seconds -- Recast Time: 30 seconds -- Magic Bursts on: Liq...
gpl-3.0
cshore-firmware/openwrt-luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk/phone_sip.lua
68
3603
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local ast = require("luci.asterisk") local function find_outgoing_contexts(uci) local c = { } local h = { } uci:foreach("asterisk", "dialplan", function(s) if not h[s['.name']] then c[#c+1] = { s['...
apache-2.0
Koukaam/ipcorder-utils
actions/send_me_email_if_no_rec.lua
1
1652
-- This action sends email when the cameras are not recording for given time -- Use trigger "System variables updated" in the IPCorder Action Editor -- initialization if ownDevice == nil then ownDevice = {}; end; -- initialize custom device table if not exists if startTime == nil then startTime = os.time(); end; -- st...
mit
raiguard/ModernGadgets
Skins/ModernGadgets/@Resources/Scripts/DiskConfig.lua
2
4231
debug = false alphabet = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ' numDisks = 10 function Initialize() dynamicVarsPath = SKIN:GetVariable('dynamicVarsPath') hiddenDisks = SKIN:GetVariable('manualHideDisks') measureCheckTable = { A = SKIN:GetMeasure('MeasureCheckDiskAExists'), B = SKIN:GetMeasure('MeasureCheckDiskBExi...
mit
MalRD/darkstar
scripts/globals/abilities/pets/glittering_ruby.lua
12
1197
--------------------------------------------- -- Glittering Ruby --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/msg") --------------------------------------------- function onAbilityC...
gpl-3.0
Lsty/ygopro-scripts
c99348756.lua
7
2211
--バルキリー・ナイト function c99348756.initial_effect(c) --cannot be battle target local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetTargetRange(0,LOCATION_MZONE) e1:SetValue(c99348756.atktg) c:RegisterEffect(e1) --spsummon l...
gpl-2.0
Lsty/ygopro-scripts
c39910367.lua
3
2513
--魔法都市エンディミオン function c39910367.initial_effect(c) c:EnableCounterPermit(0x3001) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --Add counter local e3=Effect.CreateEffect(c) e3:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD) e3:S...
gpl-2.0
MalRD/darkstar
scripts/zones/East_Sarutabaruta/IDs.lua
8
2687
----------------------------------- -- Area: East_Sarutabaruta ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.EAST_SARUTABARUTA] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Co...
gpl-3.0
chewxy/mongrel2
examples/bbs/engine.lua
96
1958
local print = print local pcall = pcall local coroutine = coroutine local ui = require 'ui' local db = require 'db' module 'engine' local STATE = {} function run(conn, engine) while true do -- Get a message from the Mongrel2 server local good, request = pcall(conn.recv_json, conn) if goo...
bsd-3-clause
Lsty/ygopro-scripts
c20579538.lua
3
2875
--森羅の姫芽君 スプラウト function c20579538.initial_effect(c) --deck check local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(20579538,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,20579538) e1:SetCost(c20579538.cost) e1:SetTarget(c20579538.target) e1:SetOperation(c20579...
gpl-2.0
Lsty/ygopro-scripts
c38981606.lua
3
1458
--砂漠の守護者 function c38981606.initial_effect(c) --defup local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetCode(EFFECT_UPDATE_DEFENCE) e1:SetRange(LOCATION_MZONE) e1:SetValue(c38981606.val) c:RegisterEffect(e1) --destroy replace local e2=Effect.CreateEf...
gpl-2.0
Lsty/ygopro-scripts
c21208154.lua
3
2237
--邪神アバター function c21208154.initial_effect(c) --summon with 3 tribute local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_LIMIT_SUMMON_PROC) e1:SetCondition(c21208154.ttcon) e1:SetOperation(c21208154.ttop) e1:SetValue...
gpl-2.0
Frenzie/koreader
frontend/ui/widget/container/scrollablecontainer.lua
4
17506
--[[-- ScrollableContainer allows scrolling its content (1 widget) within its own dimensions This scrollable container needs to be known as widget.cropping_widget in the widget using it that is passed to UIManager:show() for UIManager to ensure proper interception of inner widget self-repainting/invert (mostly used wh...
agpl-3.0
nucular/reactor
class.lua
2
1307
-- class.lua -- Based on http://lua-users.org/wiki/SimpleLuaClasses function class(base, init) local c = {} -- a new class instance if not init and type(base) == "function" then init = base base = nil elseif type(base) == "table" then -- the new class is a shallow copy of the new cl...
gpl-3.0
rotmanmi/nn
SpatialConvolution.lua
9
4476
local SpatialConvolution, parent = torch.class('nn.SpatialConvolution', 'nn.Module') function SpatialConvolution:__init(nInputPlane, nOutputPlane, kW, kH, dW, dH, padW, padH) parent.__init(self) dW = dW or 1 dH = dH or 1 self.nInputPlane = nInputPlane self.nOutputPlane = nOutputPlane self.kW = kW ...
bsd-3-clause
SmartArduino/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
Lsty/ygopro-scripts
c13455953.lua
5
1909
--極星霊ドヴェルグ function c13455953.initial_effect(c) --extra summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetOperation(c13455953.sumop) c:RegisterEffect(e1) --salvage local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(13...
gpl-2.0
MalRD/darkstar
scripts/globals/spells/earth_carol.lua
10
1548
----------------------------------------- -- Spell: Earth Carol -- Increases earth resistance for party members within the area of effect. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") -----------------------------------------...
gpl-3.0
imebeh/openwrt-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
MalRD/darkstar
scripts/globals/abilities/beast_roll.lua
12
2863
----------------------------------- -- Ability: Beast Roll -- Enhances pet attacks for party members within area of effect -- Optimal Job: Beastmaster -- Lucky Number: 4 -- Unlucky Number: 8 -- Level: 34 -- Phantom Roll +1 Value: 3 -- -- Die Roll |No BST |With BST -- -------- -------- ----------- -- 1 |16...
gpl-3.0
Lsty/ygopro-scripts
c56931015.lua
3
2116
--グラヴィティ・ベヒモス function c56931015.initial_effect(c) --summon with no tribute local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(56931015,0)) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SUMMON_PROC) e1:SetCondition(c56931015.ntcon) c:RegisterEffect(e1) --de...
gpl-2.0
Lsty/ygopro-scripts
c78700060.lua
3
1520
--死霊騎士デスカリバー・ナイト function c78700060.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) --Negate local e2=Effect.CreateEffect(c) e2:S...
gpl-2.0
MalRD/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Yurim.lua
9
6304
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Yurim -- !pos 83.697 -25.000 3.250 26 ----------------------------------- require("scripts/globals/missions") require("scripts/globals/npc_util") require("scripts/globals/quests") ----------------------------------- -- base items local earring = ...
gpl-3.0
horazont/aioxmpp
utils/prosody-cfg/trunk/prosody.cfg.lua
2
7430
-- 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: prosodyctl check config -- If there are any errors, it will let you know...
lgpl-3.0
Lsty/ygopro-scripts
c799183.lua
3
2250
--超戦士の盾 function c799183.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c799183.condition) e1:SetTarget(c799183.target) e1:SetOperation(c799183.activate) c:RegisterEffect(e...
gpl-2.0
Frenzie/koreader
frontend/apps/cloudstorage/dropboxapi.lua
1
10117
local DocumentRegistry = require("document/documentregistry") local JSON = require("json") local http = require("socket.http") local lfs = require("libs/libkoreader-lfs") local logger = require("logger") local ltn12 = require("ltn12") local socket = require("socket") local socketutil = require("socketutil") local util ...
agpl-3.0
SecondReality/Mudlet-Suttonian
src/mudlet-lua/lua/TableUtils.lua
12
8643
---------------------------------------------------------------------------------- --- Mudlet Table Utils ---------------------------------------------------------------------------------- --- Tests if a table is empty: this is useful in situations where you find --- yourself wanting to do 'if my_table == {}' and suc...
gpl-2.0
Frenzie/koreader
frontend/ui/message/messagequeue.lua
4
2381
local ffi = require("ffi") local Event = require("ui/event") local logger = require("logger") local _ = require("ffi/zeromq_h") local czmq = ffi.load("libs/libczmq.so.1") local MessageQueue = {} function MessageQueue:extend(subclass_prototype) local o = subclass_prototype or {} setmetatable(o, self) self...
agpl-3.0
mason-larobina/spnavkbd
spnavkbd.lua
1
3844
require "math" -- Global config hit_zone = 100 initial_delay = 0.5 repeat_delay = 0.1 -- Action specific config actions = { panning = { hit_zone = 100, repeat_delay = 0.025, }, pressing = { hit_zone = 50, initial_delay = 0.75, repeat_delay = 0.3, }, ...
gpl-3.0
maxrio/luci981213
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/proto_ahcp.lua
84
2006
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local device, apn, service, pincode, username, password local ipv6, maxwait, defaultroute, metric, peerdns, dns, keepalive_failure, keepalive_interval, demand mca = s:tabop...
apache-2.0
Lsty/ygopro-scripts
c84058253.lua
3
3953
--キメラテック・ランページ・ドラゴン function c84058253.initial_effect(c) c:EnableReviveLimit() --fusion material local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_FUSION_MATERIAL) e1:SetCondition(c84058253.fscondition) e1:SetOperat...
gpl-2.0
Lsty/ygopro-scripts
c40666140.lua
5
1725
--極星霊リョースアールヴ function c40666140.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(40666140,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTa...
gpl-2.0
MalRD/darkstar
scripts/globals/mobskills/soothing_aroma.lua
12
1036
--------------------------------------------- -- Soothing Aroma -- Family: Rafflesia -- Description: Charms nearby players. -- Type: -- Utsusemi/Blink absorb: -- Range: -- Notes: --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/settings") require("scripts/...
gpl-3.0
imblackman/khoffash1
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-3.0
Lsty/ygopro-scripts
c22842126.lua
5
2403
--汎神の帝王 function c22842126.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(22842126,0)) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCost(c22842126.cost) e1:SetTarget(c2284...
gpl-2.0
T-L-N/Dev_TLN
plugins/isup.lua
1
3423
--[[ --By @x_I_10_I_x --By @llN00Nll --By @liknil --ch> @Dev_TLN ▀▄ ▄▀ isup : ضد توقف البوت ▀▄ ▄▀ ▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀ --]] do local socket = require("socket") local cronned = load_from_file('data/isup.lua') local function save_cron(msg, url, delete) local origin = get_r...
gpl-2.0
MalRD/darkstar
scripts/zones/Sealions_Den/bcnms/warriors_path.lua
9
1622
----------------------------------- -- Area: Sealion's Den -- Name: The Warrior's Path ----------------------------------- require("scripts/globals/battlefield") require("scripts/globals/missions") require("scripts/globals/titles") ----------------------------------- function onBattlefieldTick(battlefield, tick) d...
gpl-3.0
Lsty/ygopro-scripts
c34088136.lua
3
2570
--アルティメット・インセクト LV3 function c34088136.initial_effect(c) --atk down local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetRange(LOCATION_MZONE) e1:SetTargetRange(0,LOCATION_MZONE) e1:SetCondition(c34088136.con) e1:SetValue(-300) c:RegisterEffect(e1) --special sum...
gpl-2.0
Lsty/ygopro-scripts
c99004752.lua
5
2486
--ミニマム・ガッツ function c99004752.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c99004752.cost) e1:SetTarget(c99004752.target) e1:SetOperation(c99004752...
gpl-2.0
MalRD/darkstar
scripts/globals/mobskills/tebbad_wing_air.lua
11
1150
--------------------------------------------- -- Tebbad Wing -- -- Description: A hot wind deals Fire damage to enemies within a very wide area of effect. Additional effect: Plague -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: 30' radial. -- Notes: Used only by Tiamat, Smok and Ildebrann ----...
gpl-3.0
patixx/bostg
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
primeplus2017/COMING_SOON
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...
agpl-3.0
MalRD/darkstar
scripts/globals/abilities/pets/earthen_fury.lua
11
1195
--------------------------------------------------- -- Earthen Fury --------------------------------------------------- require("/scripts/globals/settings") require("/scripts/globals/status") require("/scripts/globals/monstertpmoves") require("/scripts/globals/magic") --------------------------------------------------...
gpl-3.0
Lsty/ygopro-scripts
c20368763.lua
5
3619
--幻獣機ハリアード function c20368763.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(c20368763.lvval) c:RegisterEffect(e1) -- local e2=Effect.CreateEffect(c) e2:S...
gpl-2.0
Lsty/ygopro-scripts
c83584898.lua
3
2544
--魔界の足枷 function c83584898.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(c83584898.target) e1:SetOperation(c83584898.operation) c:RegisterEffect(e1) ...
gpl-2.0
Lsty/ygopro-scripts
c8091563.lua
7
2183
--SDロボ・ライオ function c8091563.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(8091563,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c8091563.sumtg) e1:SetOperation(c8091563...
gpl-2.0
Lsty/ygopro-scripts
c46895036.lua
5
3236
--ゴーストリック・デュラハン function c46895036.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,1,2) c:EnableReviveLimit() --atk local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_UPDATE_ATTACK) e1:SetValue(c4689503...
gpl-2.0
tarulas/luadch
scripts/etc_ccpmblocker.lua
1
1420
--[[ etc_ccpmblocker.lua by pulsar and blastbeat v0.1 - This script controls the CCPM - Client to Client Private Message feature ]]-- -------------- --[SETTINGS]-- -------------- local scriptname = "etc_ccpmblocker" local scriptversion = "0.1" ---...
gpl-3.0
MalRD/darkstar
scripts/zones/Upper_Jeuno/npcs/Ajithaam.lua
9
4030
----------------------------------- -- Area: Upper Jeuno -- NPC: Ajithaam -- !pos -82 0.1 160 244 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/globals/missions"); require("scripts/globals/teleports"); require("scripts/globals/keyitems"); l...
gpl-3.0
maxrio/luci981213
modules/luci-mod-admin-mini/luasrc/model/cbi/mini/wifi.lua
48
11450
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. -- Data init -- local fs = require "nixio.fs" local sys = require "luci.sys" local uci = require "luci.model.uci".cursor() if not uci:get("network", "wan") ...
apache-2.0
MalRD/darkstar
scripts/zones/Apollyon/mobs/Earth_Elemental.lua
9
2117
----------------------------------- -- Area: Apollyon SW -- Mob: Earth Elemental ----------------------------------- require("scripts/globals/limbus"); ----------------------------------- function onMobDeath(mob, player, isKiller) end; function onMobDespawn(mob) local mobID = mob:getID(); -- print(mobID); lo...
gpl-3.0
sdgathman/cjdns
contrib/lua/cjdns/config.lua
34
1851
-- Cjdns admin module for Lua -- Written by Philip Horger common = require 'cjdns/common' ConfigFile = {} ConfigFile.__index = ConfigFile common.ConfigFile = ConfigFile function ConfigFile.new(path, no_init) local values = { path = path, text = "", contents = {}, } setmeta...
gpl-3.0
MalRD/darkstar
scripts/globals/weaponskills/double_thrust.lua
10
1359
----------------------------------- -- Double Thrust -- Polearm weapon skill -- Skill Level: 5 -- Delivers a two-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Light Gorget. -- Aligned with the Light Belt. -- Element: None -- Modifiers: STR:30% -- 100%TP 200%TP 300%TP -- 1...
gpl-3.0
MalRD/darkstar
scripts/globals/spells/sleep_ii.lua
12
1105
----------------------------------------- -- Spell: Sleep II ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") require("scripts/globals/status") ----------------------------------------- function onMagicCastingCheck(caster, target, spell) return 0 end functi...
gpl-3.0
colesbury/cudnn.torch
init.lua
1
2531
require 'cutorch' require 'nn' cudnn = {} include 'ffi.lua' local C = cudnn.C local ffi = require 'ffi' local initialized = false local maxStreamsPerDevice = 100 function cudnn.getHandle() local curStream = cutorch.getStream() assert(curStream < maxStreamsPerDevice, 'cudnn bindings only support max of : ' ...
bsd-2-clause
Lsty/ygopro-scripts
c75421661.lua
3
1625
--ドドドガッサー function c75421661.initial_effect(c) --atkup local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_FLIP_SUMMON_SUCCESS) e1:SetOperation(c75421661.atkop) c:RegisterEffect(e1) --destroy local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(75421...
gpl-2.0
Lsty/ygopro-scripts
c10755153.lua
3
2175
--ガーディアン・シール function c10755153.initial_effect(c) --sum limit local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_CANNOT_SUMMON) e1:SetCondition(c10755153.sumlimit) c:RegisterEffect(e1) local e2=e1:Clone() e2:SetCode...
gpl-2.0
Distrotech/vlc
share/lua/intf/modules/host.lua
48
12262
--[==========================================================================[ host.lua: VLC Lua interface command line host module --[==========================================================================[ Copyright (C) 2007-2012 the VideoLAN team $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org> ...
gpl-2.0
MalRD/darkstar
scripts/globals/abilities/pets/thunder_ii.lua
11
1064
--------------------------------------------------- -- Thunder 2 --------------------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/monstertpmoves") require("scripts/globals/magic") --------------------------------------------------- func...
gpl-3.0
Lsty/ygopro-scripts
c20138923.lua
3
1111
--反魔鏡 function c20138923.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_CHAINING) e1:SetCondition(c20138923.condition) e1:SetTarget(c20138923.target) e1:SetOperation(c2013892...
gpl-2.0
Lsty/ygopro-scripts
c40619825.lua
5
2642
--デーモンの斧 function c40619825.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(c40619825.target) e1:SetOperation(c40619825.operation) c:RegisterEffect(e1) ...
gpl-2.0
MalRD/darkstar
scripts/globals/weaponskills/vidohunir.lua
10
1857
----------------------------------- -- Vidohunir -- Staff weapon skill -- Skill Level: N/A -- Lowers target's magic defense. Duration of effect varies with TP. Laevateinn: Aftermath effect varies with TP. -- Reduces enemy's magic defense by 10%. -- Available only after completing the Unlocking a Myth (Black Mage) quest...
gpl-3.0
Lsty/ygopro-scripts
c70908596.lua
5
1747
--セイクリッド・カウスト function c70908596.initial_effect(c) --lv change local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(70908596,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(2) e1:SetTarget(c70908596.target) e1:SetOperation(c709...
gpl-2.0
Lsty/ygopro-scripts
c54512827.lua
3
2736
--ゴーストリック・ランタン function c54512827.initial_effect(c) --summon limit local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_CANNOT_SUMMON) e1:SetCondition(c54512827.sumcon) c:RegisterEffect(e1) --turn set local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(54512827,0)) e2:Se...
gpl-2.0
MalRD/darkstar
scripts/zones/Metalworks/npcs/Fariel.lua
12
1532
----------------------------------- -- Area: Metalworks -- NPC: Fariel -- Type: Standard Info NPC ----------------------------------- require("scripts/globals/pathfind"); ----------------------------------- local path = { 53.551208, -14.000000, -7.162227, 54.111534, -14.000000, -6.227105, 54.075279, -14.000000, -5.13...
gpl-3.0
adan830/luacheck
spec/helper.lua
2
1448
local helper = {} local dir_sep = package.config:sub(1, 1) -- Return path to root directory when run from `path`. local function antipath(path) local _, level = path:gsub(dir_sep, "") return (".."..dir_sep):rep(level) end function helper.luacov_config(prefix) return { statsfile = prefix.."luacov.stats...
mit
cshore-firmware/openwrt-luci
applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua
36
2367
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local wa = require "luci.tools.webadmin" local fs = require "nixio.fs" m = Map("qos", translate("Quality of Service"), translate("With <abbr title=\"Quality of Service\">QoS</abbr> you " .. "can prioritize n...
apache-2.0
Lsty/ygopro-scripts
c33423043.lua
3
1181
--異次元の指名者 function c33423043.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCategory(CATEGORY_REMOVE) e1:SetTarget(c33423043.target) e1:SetOperation(c33423043.operation) c:RegisterEffect(e1) end function c33423043.target(e,tp,eg,e...
gpl-2.0
MalRD/darkstar
scripts/globals/weaponskills/cloudsplitter.lua
10
1577
----------------------------------- -- Cloudsplitter -- Axe weapon skill -- Skill level: NA -- Description: Deals lightning elemental damage. Damage varies with TP. Farsha: Aftermath. -- Available only when equipped with Farsha (85), Farsha (90) or Alard's Axe +1. -- Elemental gorgets do not affect damage. Rairin Obi i...
gpl-3.0
tarulas/luadch
scripts/hub_inf_manager.lua
1
3073
--[[ hub_inf_manager by blastbeat - this script kills users with forbidden inf flags - do not change anything here when you dont know what you are doing v0.05: by pulsar - improved user:kill() v0.04: by pulsar - commented "I4" in flags_on_in...
gpl-3.0
Lsty/ygopro-scripts
c91831066.lua
3
3031
--水照明 function c91831066.initial_effect(c) c:SetUniqueOnField(1,0,91831066) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --atk & def local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE) e2:SetType...
gpl-2.0
Lsty/ygopro-scripts
c88341502.lua
3
2680
--ブラック・アロー function c88341502.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetCondition(c883415...
gpl-2.0
Lsty/ygopro-scripts
c81566151.lua
3
3773
--E・HERO フレア・ネオス function c81566151.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcCode2(c,89943723,89621922,false,false) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(E...
gpl-2.0
RamiLego4Game/PlatformerWorld
Engine/Tiles/Grass.lua
1
2497
--Author : Ramilego4Game - This File Is Part Of Platformer World-- --Type : Class/Tile-- --local Tile = TileBase:new("Grass","grass",thumbnail) Tile = class:new() function Tile:init() self.name = "Grass" self.category = "Ground" self.thumbnail = nil self.hover = "grass" self.snap = 70 end function Tile:create(m...
gpl-2.0
morfeo642/mta_plr_server
hedit/client/gui/languages/english.lua
1
25804
guiLanguage.english = { -- -- GENERAL STRINGS -- windowHeader = "Handling Editor v"..HVER.." r"..HREV, restrictedPassenger = "You are not allowed to use the handling editor as a passenger.", needVehicle = "You must be driving a vehicle to use the handling editor!", needLogin = "You must...
mit
Lsty/ygopro-scripts
c33455338.lua
3
1332
--邪狂神の使い function c33455338.initial_effect(c) --atk up local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(33455338,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_PHASE+PHASE_STANDBY) e1:SetCountLimit(1) e1:SetC...
gpl-2.0
Frenzie/koreader
frontend/apps/reader/modules/readerpaging.lua
1
42868
local BD = require("ui/bidi") local Device = require("device") local Event = require("ui/event") local Geom = require("ui/geometry") local InputContainer = require("ui/widget/container/inputcontainer") local Math = require("optmath") local ReaderZooming = require("apps/reader/modules/readerzooming") local UIManager = r...
agpl-3.0
morfeo642/mta_plr_server
hedit/server/core.lua
1
2810
addEventHandler ( "onResourceStart", resourceRoot, function ( ) -- !HIGH PRIORITY! -- KEEP THIS IN ORDER TO LET CLIENTS SYNC THEIR SAVED HANDLINGS BETWEEN SERVERS! -- BY KEEPING THE DEFAULT RESOURCENAME PLAYERS CAN STORE THEIR HANDLINGS CLIENTSIDE, -- SO WHENEVER THEY JOIN ANOTHER SERVER, THEY WILL...
mit
MalRD/darkstar
scripts/globals/spells/bluemagic/regurgitation.lua
12
1960
----------------------------------------- -- Spell: Regurgitation -- Deals Water damage to an enemy. Additional Effect: Bind -- Spell cost: 69 MP -- Monster Type: Lizards -- Spell Type: Magical (Water) -- Blue Magic Points: 1 -- Stat Bonus: INT+1 MND+1 MP+3 -- Level: 68 -- Casting Time: 5 seconds -- Recast Time: 24 sec...
gpl-3.0
ThingMesh/openwrt-luci
protocols/ppp/luasrc/model/cbi/admin_network/proto_pppoe.lua
59
3798
--[[ LuCI - Lua Configuration Interface Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> 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 ]]-- local ma...
apache-2.0
robertbrook/Penlight
lua/pl/input.lua
28
5192
--- Iterators for extracting words or numbers from an input source. -- -- require 'pl' -- local total,n = seq.sum(input.numbers()) -- print('average',total/n) -- -- _source_ is defined as a string or a file-like object (i.e. has a read() method which returns the next line) -- -- See @{06-data.md.Reading_Unstru...
mit
Lsty/ygopro-scripts
c71060915.lua
3
1090
--フェザー・ウィンド function c71060915.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c71060915.condition) e1:SetTarget(c71060915.target) e1:SetOperation(c71060915.activate) c:Regi...
gpl-2.0
Lsty/ygopro-scripts
c83903521.lua
7
1404
--ファラオの化身 function c83903521.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(83903521,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BE_MATERIAL) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY...
gpl-2.0
Lsty/ygopro-scripts
c90500169.lua
3
2147
--レベルダウン!? function c90500169.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TODECK) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c90500169.target) e1:SetOperation(c90500169.activa...
gpl-2.0