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
c92510265.lua
3
2822
--聖戦士カオス・ソルジャー function c92510265.initial_effect(c) --remove local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(92510265,0)) e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EF...
gpl-2.0
Lsty/ygopro-scripts
c25811989.lua
5
4532
--インフェルノイド・アシュメダイ function c25811989.initial_effect(c) c:EnableReviveLimit() --special summon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1) --special summon lo...
gpl-2.0
Lsty/ygopro-scripts
c90934570.lua
5
1496
--侵略の侵喰崩壊 function c90934570.initial_effect(c) --remove & tohand local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_REMOVE+CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,0x1c0) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c90934570.target) e1:SetO...
gpl-2.0
MalRD/darkstar
scripts/zones/Southern_San_dOria/npcs/Raminel.lua
9
4533
----------------------------------- -- Area: Southern San d'Oria -- NPC: Raminel -- Involved in Quests: Riding on the Clouds -- !pos -56 2 -21 230 ----------------------------------- local ID = require("scripts/zones/Southern_San_dOria/IDs"); require("scripts/globals/keyitems"); require("scripts/globals/pathfind"); re...
gpl-3.0
MalRD/darkstar
scripts/globals/mobskills/thunderstrike.lua
11
1061
--------------------------------------------- -- Thunderstrike -- -- Description: Deals Lightning damage in an area of effect. Additional effect: Stun -- Type: Magical -- Ignores Shadows -- Range: 13' radial --------------------------------------------- require("scripts/globals/settings") require("scripts/globals/...
gpl-3.0
doubleleft/hook-corona-sdk
hook/client.lua
1
1931
-- -- core dependencies -- local json = require('json') -- -- hook dependencies -- local auth = require('hook.auth') local collection = require('hook.collection') local key_values = require('hook.key_values') local system = require('hook.system') local url = require('hook.utils.url') local request = require('hook.req...
mit
Lsty/ygopro-scripts
c29267084.lua
5
2285
--闇の呪縛 function c29267084.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+EFFECT_FLAG_DAMAGE_STEP) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetCondition(c29267084.co...
gpl-2.0
Lsty/ygopro-scripts
c97642679.lua
3
1337
--闇の支配者-ゾーク function c97642679.initial_effect(c) c:EnableReviveLimit() --dice local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(97642679,0)) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DICE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetTarget(c97642679.target...
gpl-2.0
MalRD/darkstar
scripts/globals/abilities/animated_flourish.lua
12
2108
----------------------------------- -- Ability: Animated Flourish -- Provokes the target. Requires at least one, but uses two Finishing Moves. -- Obtained: Dancer Level 20 -- Finishing Moves Used: 1-2 -- Recast Time: 00:30 ----------------------------------- require("scripts/globals/settings") require("scripts/globals/...
gpl-3.0
SymbolixDEV/335source
src/server/scripts/Custom/GoMove/GOMove/GOMoveScripts.lua
8
15071
GOMove.FavL = {NameWidth = 17} function GOMove.FavL:Add(name, guid) self:Del(guid) table.insert(self, 1, {name, guid}) GOMoveSV.FavL = self end function GOMove.FavL:Del(guid) for k,v in ipairs(self) do if(v[2] == guid) then table.remove(self, k) break end end ...
gpl-2.0
MalRD/darkstar
scripts/globals/spells/victory_march.lua
10
1526
----------------------------------------- -- Spell: Victory March -- Gives party members Haste ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end functio...
gpl-3.0
Lsty/ygopro-scripts
c19596712.lua
3
2081
--アビスケイル-ケートス function c19596712.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(c19596712.target) e1:SetOperation(c19596712.operation) c:RegisterEffect...
gpl-2.0
groupforspeed/WaderTG
plugins/weather.lua
11
1892
local BASE_URL = "http://api.openweathermap.org/data/2.5/weather" local function get_weather(location) print("Finding weather in ", location) local url = BASE_URL url = url..'?q='..location..'&APPID=eedbc05ba060c787ab0614cad1f2e12b' url = url..'&units=metric' local b, c, h = http.request(url) if c ~= 200 ...
gpl-2.0
MalRD/darkstar
scripts/zones/Davoi/npcs/_45h.lua
9
1850
----------------------------------- -- Area: Davoi -- NPC: Howling Pond -- Used In Quest: Whence Blows the Wind -- !pos 21 0.1 -258 149 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); local ID = require("scripts/zones/Davoi/IDs"); --------------------------...
gpl-3.0
jmattsson/nodemcu-firmware
lua_examples/u8glib/u8g_graphics_test.lua
19
4794
-- *************************************************************************** -- Graphics Test -- -- This script executes several features of u8glib to test their Lua bindings. -- -- Note: It is prepared for SSD1306-based displays. Select your connectivity -- type by calling either init_i2c_display() or init_spi...
mit
Lsty/ygopro-scripts
c66094973.lua
3
4165
--トランスフォーム・スフィア function c66094973.initial_effect(c) --equip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(66094973,0)) e1:SetCategory(CATEGORY_HANDES+CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:Set...
gpl-2.0
MalRD/darkstar
scripts/globals/items/red_terrapin.lua
11
1051
----------------------------------------- -- ID: 4402 -- Item: red_terrapin -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") -----------------------------------...
gpl-3.0
MalRD/darkstar
scripts/zones/Upper_Jeuno/npcs/Luto_Mewrilah.lua
9
1203
----------------------------------- -- Area: Upper Jeuno -- NPC: Luto Mewrilah -- !pos -53 0 45 244 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) ...
gpl-3.0
maxrio/luci981213
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/dns.lua
68
2109
-- Copyright 2011 Manuel Munz <freifunk at somakoma dot de> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.dns", package.seeall) function rrdargs( graph, plugin, plugin_instance ) local traffic = { title = "%H: DNS traffic", vlabel = "Bit/s", data = { sou...
apache-2.0
Lsty/ygopro-scripts
c53100061.lua
9
1055
--X-セイバー アクセル function c53100061.initial_effect(c) --draw local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(53100061,0)) e1:SetCategory(CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_BATTLE_DE...
gpl-2.0
Lsty/ygopro-scripts
c19642774.lua
9
1246
--フルール・シンクロン function c19642774.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(19642774,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BE_MATERIAL) e1:SetCondition(c19642774.con) e1:SetTarget(c1964277...
gpl-2.0
MalRD/darkstar
scripts/globals/abilities/pets/water_iv.lua
11
1046
--------------------------------------------------- -- Aero 2 --------------------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/monstertpmoves") require("scripts/globals/magic") --------------------------------------------------- functio...
gpl-3.0
maxrio/luci981213
applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdhna.lua
73
1639
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2011 Manuel Munz <freifunk at somakoma dot de> -- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() local ipv = uci:get_first("olsrd", "olsrd", "IpVersion", "4") mh = Map("olsrd", translate("OLSR - HNA-A...
apache-2.0
alimohamadzade/xyyyyyy
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
patixx/bostg
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
rigeirani/teshep
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
Lsty/ygopro-scripts
c63259351.lua
3
2066
--奇跡のジュラシック・エッグ function c63259351.initial_effect(c) --cannot remove local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetCode(EFFECT_CANNOT_REMOVE) e1:SetRange(LOCATION_MZONE) c:RegisterEffect(e1) --add counter local e2=Effect.CreateEffect(c) e2:SetTyp...
gpl-2.0
MalRD/darkstar
scripts/globals/spells/bluemagic/chaotic_eye.lua
12
1522
----------------------------------------- -- Spell: Chaotic Eye -- Silences an enemy -- Spell cost: 13 MP -- Monster Type: Beasts -- Spell Type: Magical (Wind) -- Blue Magic Points: 2 -- Stat Bonus: AGI+1 -- Level: 32 -- Casting Time: 3 seconds -- Recast Time: 10 seconds -- Magic Bursts on: Detonation, Fragmentation, a...
gpl-3.0
Lsty/ygopro-scripts
c4149689.lua
5
1337
--天狗のうちわ function c4149689.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e2:SetCode(EFFECT_CANNOT_ACTIVATE) ...
gpl-2.0
tarulas/luadch
examples/etc/other_available_scripts/etc_char_replacer.lua
2
1541
--[[ etc_char_replacer.lua v0.01 by blastbeat - this script replaces chars of incoming messages and exports a module for other scripts ]]-- --// settings begin //-- local scriptname = "etc_char_replacer" local scriptversion = "0.01" local char_table = { a = "α", b = "в",...
gpl-3.0
Lsty/ygopro-scripts
c34124316.lua
3
2222
--サイバーポッド function c34124316.initial_effect(c) --flip local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON+CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP) e1:SetTarget(c34124316.target) e1:SetOperation(c34124316.operation) c:RegisterEffect(e1) end function c341...
gpl-2.0
Lsty/ygopro-scripts
c30353551.lua
3
2537
--人海戦術 function c30353551.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_END_PHASE) c:RegisterEffect(e1) --special summon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(30353551,0)) e2:SetCatego...
gpl-2.0
Cyril-Roques/packages
net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/policyconfig.lua
104
1918
-- ------ extra functions ------ -- function policyCheck() -- check to see if this policy's name exceed the maximum of 15 characters policyNameLength = string.len(arg[1]) if policyNameLength > 15 then nameTooLong = 1 end end function policyWarn() -- display status and warning messages at the top of the page if ...
gpl-2.0
imebeh/openwrt-packages
net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/policyconfig.lua
104
1918
-- ------ extra functions ------ -- function policyCheck() -- check to see if this policy's name exceed the maximum of 15 characters policyNameLength = string.len(arg[1]) if policyNameLength > 15 then nameTooLong = 1 end end function policyWarn() -- display status and warning messages at the top of the page if ...
gpl-2.0
Lsty/ygopro-scripts
c90156158.lua
9
1547
--セイクリッドの超新生 function c90156158.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c90156158.cost) e1:SetTarget(c90156158.target) e1:SetOperation(c90156158....
gpl-2.0
rampantpixels/lua_lib
lua/luajit/src/jit/bcsave.lua
40
18344
---------------------------------------------------------------------------- -- LuaJIT module to save/list bytecode. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
unlicense
MalRD/darkstar
scripts/globals/abilities/runeists_roll.lua
12
2794
----------------------------------- -- Ability: Runeist's Roll -- Enhances magic evasion for party members within area of effect. -- Optimal Job: Rune Fencer -- Lucky Number: 4 -- Unlucky Number: 8 -- Level: 70 -- Phantom Roll +1 Value: 2 -- -- Die Roll | MEVA+ -- -------- ------- -- 1 |+4 -- 2 ...
gpl-3.0
MalRD/darkstar
scripts/globals/items/dish_of_spaghetti_marinara_+1.lua
11
1247
----------------------------------------- -- ID: 5720 -- Item: dish_of_spaghetti_marinara_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- HP % 15 (cap 130) -- Vitality 2 -- Defense 6 -- Store TP 6 -- hHP +1 ----------------------------------------- require("scripts/globals/status") requ...
gpl-3.0
MalRD/darkstar
scripts/globals/abilities/tabula_rasa.lua
12
1131
----------------------------------- -- Ability: Tabula Rasa -- Optimizes both white and black magic capabilities while allowing charge-free stratagem use. -- Obtained: Scholar Level 1 -- Recast Time: 1:00:00 -- Duration: 0:03:00 ----------------------------------- require("scripts/globals/settings") require("scripts/gl...
gpl-3.0
Lsty/ygopro-scripts
c79279397.lua
6
1180
--Dボーイズ function c79279397.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(79279397,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetTarget(c79279397.target) e1:Se...
gpl-2.0
maxrio/luci981213
applications/luci-app-vsftpd/luasrc/model/cbi/vsftpd/anonymous.lua
11
1305
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2014 HackPascal <hackpascal@gmail.com> 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://ww...
apache-2.0
Distrotech/vlc
share/lua/playlist/cue.lua
60
4393
--[[ Parse CUE files $Id$ Copyright (C) 2009 Laurent Aimar This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This pro...
gpl-2.0
Lsty/ygopro-scripts
c65025250.lua
3
2261
--妖仙獣 左鎌神柱 function c65025250.initial_effect(c) --pendulum summon aux.AddPendulumProcedure(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --destroy replace local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT...
gpl-2.0
Lsty/ygopro-scripts
c11834972.lua
3
1422
--ラヴァル・ガンナー function c11834972.initial_effect(c) --atkup local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(11834972,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetCondition(c11834972.condition) e1:SetCost(c11834972....
gpl-2.0
Lsty/ygopro-scripts
c7736719.lua
7
1748
--エア・サーキュレーター function c7736719.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(7736719,0)) e1:SetCategory(CATEGORY_TODECK+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c7736719.target) e1:SetOperatio...
gpl-2.0
MalRD/darkstar
scripts/zones/Upper_Jeuno/npcs/Chocobo.lua
9
4502
----------------------------------- -- Area: Upper Jeuno -- NPC: Chocobo -- Finishes Quest: Chocobo's Wounds ----------------------------------- local ID = require("scripts/zones/Upper_Jeuno/IDs"); require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("scr...
gpl-3.0
mamadkiller2/anti-spam
plugins/plugins.lua
1
6028
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-3.0
MalRD/darkstar
scripts/zones/Kazham/npcs/Khifo_Ryuhkowa.lua
12
1073
----------------------------------- -- Area: Kazham -- NPC: Khifo Ryuhkowa -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Kazham/IDs") require("scripts/globals/shop") function onTrade(player,npc,trade) end function onTrigger(player,npc) local stock = { ...
gpl-3.0
Lsty/ygopro-scripts
c47395382.lua
5
1222
--魔轟神レイジオン function c47395382.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x35),aux.NonTuner(nil),1) c:EnableReviveLimit() --draw local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(47395382,0)) e1:SetCategory(CATEGORY_DRAW) e1:SetProperty(EFFECT...
gpl-2.0
hfjgjfg/PERSIANGUARD1010
plugins/anti_spam.lua
435
3886
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
MalRD/darkstar
scripts/zones/The_Eldieme_Necropolis/IDs.lua
9
4206
----------------------------------- -- Area: The Eldieme Necropolis (195) ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.THE_ELDIEME_NECROPOLIS] = { text = { CONQUEST_BASE = 0, -- Tallyin...
gpl-3.0
MalRD/darkstar
scripts/zones/AlTaieu/mobs/Qnhpemde.lua
9
1261
----------------------------------- -- Area: Al'Taieu -- Mob: Qn'hpemde -- Jailor of Love Pet version ----------------------------------- local ID = require("scripts/zones/AlTaieu/IDs"); ----------------------------------- function onMobSpawn(mob) mob:AnimationSub(6); -- Mouth Closed end; function onMobFight(mob...
gpl-3.0
MalRD/darkstar
scripts/globals/abilities/fire_maneuver.lua
9
1882
----------------------------------- -- Ability: Fire Maneuver -- Enhances the effect of fire attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status") requ...
gpl-3.0
MalRD/darkstar
scripts/zones/RoMaeve/IDs.lua
3
2836
----------------------------------- -- Area: RoMaeve ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.ROMAEVE] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back after sorti...
gpl-3.0
MalRD/darkstar
scripts/zones/North_Gustaberg/npcs/qm1.lua
9
2184
----------------------------------- -- Area: North Gustaberg -- NPC: qm1 (???) -- Involved in Quest "The Siren's Tear" ----------------------------------- local ID = require("scripts/zones/North_Gustaberg/IDs") require("scripts/globals/quests") require("scripts/globals/status") ----------------------------------- loc...
gpl-3.0
MalRD/darkstar
scripts/zones/Northern_San_dOria/npcs/Vamorcote.lua
11
2202
----------------------------------- -- Area: Northern San d'Oria -- NPC: Vamorcote -- Starts and Finishes Quest: The Setting Sun -- !pos -137.070 10.999 161.855 231 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- require("scripts/globals/quests"); require("scripts/gl...
gpl-3.0
Lsty/ygopro-scripts
c55569674.lua
5
2810
--女神の聖剣-エアトス function c55569674.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(c55569674.target) e1:SetOperation(c55569674.operation) c:RegisterEffect(...
gpl-2.0
MalRD/darkstar
scripts/globals/items/hamsi.lua
11
1044
----------------------------------------- -- ID: 5449 -- Item: Hamsi -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------------- ...
gpl-3.0
Lsty/ygopro-scripts
c7171149.lua
3
1997
--トゥーン・アンティーク・ギアゴーレム function c7171149.initial_effect(c) --cannot attack local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetOperation(c7171149.atklimit) c:RegisterEffect(e1) local e2=e1:Clone() e2:SetCode(EVENT_FLIP_SUMMON_SUCCESS) c:Reg...
gpl-2.0
Lsty/ygopro-scripts
c23064604.lua
1
4853
--冥帝エレボス function c23064604.initial_effect(c) --summon with 1 tribute local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(23064604,0)) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SUMMON_PROC) e1:SetCondition(c23064604.otcon) e1:Se...
gpl-2.0
Lsty/ygopro-scripts
c63571750.lua
3
1851
--王家の財宝 function c63571750.initial_effect(c) Duel.EnableGlobalFlag(GLOBALFLAG_DECK_REVERSE_CHECK) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TODECK) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c63571750.target) e1:SetOperation(c63571750.activate) c:Registe...
gpl-2.0
Frenzie/koreader
spec/unit/menusorter_spec.lua
8
9474
describe("MenuSorter module", function() local MenuSorter setup(function() require("commonrequire") MenuSorter = require("ui/menusorter") end) it("should put menu items in the defined order", function() local menu_items = { ["KOMenu:menu_buttons"] = {}, m...
agpl-3.0
Lsty/ygopro-scripts
c80744121.lua
3
1739
--D-HERO ドゥームガイ function c80744121.initial_effect(c) --reg local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetOperation(c80744121.regop) c:RegisterEffect(e1) end function c80744121.regop(e,tp,eg,ep,ev,re,r,rp) local c=e:GetHandler() if ...
gpl-2.0
maxrio/luci981213
applications/luci-app-ahcp/luasrc/controller/ahcp.lua
73
1282
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.ahcp", package.seeall) function index() if not nixio.fs.access("/etc/config/ahcpd") then return end entry({"admin", "network", "ahcpd"}, cbi("ahcp"), _("AHCP Server"), 90) entry({...
apache-2.0
gallenmu/MoonGen
libmoon/lua/lib/syscall/linux/mips/nr.lua
24
11626
-- MIPS syscall numbers local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string -- these are different for different ...
mit
Lsty/ygopro-scripts
c28290705.lua
3
1462
--妖精王 アルヴェルド function c28290705.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_EARTH),4,2) c:EnableReviveLimit() --addown local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(28290705,0)) e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE) e1:S...
gpl-2.0
ThingMesh/openwrt-luci
modules/niu/luasrc/niulib.lua
49
1744
--[[ LuCI - Lua Configuration Interface Copyright 2009 Steven Barth <steven@midlink.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 $Id$ ]]-- loc...
apache-2.0
MalRD/darkstar
scripts/globals/items/royal_omelette.lua
11
2855
----------------------------------------- -- ID: 4564 -- Item: royal_omelette -- Food Effect: 180Min, All Races ----------------------------------------- -- Strength 5 -- Dexterity 2 -- Intelligence -3 -- Mind 4 -- Attack % 20 (cap 65) -- Ranged Attack % 20 (cap 65) ----------------------------------------- -- IF ELVAA...
gpl-3.0
Lsty/ygopro-scripts
c71209500.lua
3
1555
--アマゾネス・スカウト function c71209500.initial_effect(c) --effects local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(71209500,0)) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,0x1c0+TIMING_DRAW_PHASE) e1:SetCost(c71209500.efcost) e1:SetTarget(...
gpl-2.0
Lsty/ygopro-scripts
c83746708.lua
3
1636
--魔導師の力 function c83746708.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(c83746708.target) e1:SetOperation(c83746708.operation) c:RegisterEffect(e1) ...
gpl-2.0
MalRD/darkstar
scripts/zones/Sealions_Den/npcs/Sueleen.lua
9
1712
----------------------------------- -- Area: Sealion's Den -- NPC: Sueleen -- !pos 612 132 774 32 ----------------------------------- require("scripts/globals/teleports"); require("scripts/globals/missions"); require("scripts/globals/keyitems"); ----------------------------------- function onTrade(player,npc,trade) e...
gpl-3.0
groupforspeed/WaderTG
plugins/msg_checks.lua
149
11202
--Begin msg_checks.lua --Begin pre_process function local function pre_process(msg) -- Begin 'RondoMsgChecks' text checks by @rondoozle if is_chat_msg(msg) or is_super_group(msg) then if msg and not is_momod(msg) and not is_whitelisted(msg.from.id) then --if regular user local data = load_data(_config.moderatio...
gpl-2.0
ashkanpj/yagoopfire
plugins/help.lua
290
1653
do -- Returns true if is not empty local function has_usage_data(dict) if (dict.usage == nil or dict.usage == '') then return false end return true end -- Get commands for that plugin local function plugin_help(name) local plugin = plugins[name] if not plugin then return nil end local text = "" if ...
gpl-2.0
tarulas/luadch
luasocket/src/smtp.lua
123
8074
----------------------------------------------------------------------------- -- SMTP client support for the Lua language. -- LuaSocket toolkit. -- Author: Diego Nehab ----------------------------------------------------------------------------- -------------------------------------------------------------------------...
gpl-3.0
Lsty/ygopro-scripts
c22869904.lua
3
1446
--魔力誘爆 function c22869904.initial_effect(c) Duel.EnableGlobalFlag(GLOBALFLAG_DELAYED_QUICKEFFECT) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY) e1:SetCode(EVENT_TO_GRAVE) e1:SetCondition(c228...
gpl-2.0
MalRD/darkstar
scripts/zones/Mhaura/npcs/Ekokoko.lua
9
1132
----------------------------------- -- Area: Mhaura -- NPC: Ekokoko -- Gouvernor of Mhaura -- Involved in Quest: Riding on the Clouds -- !pos -78 -24 28 249 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/quests"); local ID = require("scripts/zones/Mhaura/IDs"); ------...
gpl-3.0
MalRD/darkstar
scripts/globals/items/federation_signet_staff.lua
8
1162
----------------------------------------- -- ID: 17585 -- Item: Federation Signet Staff -- Effect: Signet ----------------------------------------- require("scripts/globals/status") require("scripts/globals/conquest") require("scripts/globals/zone") require("scripts/globals/msg") ---------------------------------------...
gpl-3.0
Lsty/ygopro-scripts
c20822520.lua
7
2685
--魔導書庫ソレイン function c20822520.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,20822520+EFFECT_COUNT_CODE_OATH) e1:SetCondition(c...
gpl-2.0
MahmoudDolah/Firmware-Entry-Points-In-Memory
openwrt/openwrt-generic-x86/usr/lib/lua/luci/model/cbi/admin_network/dhcp.lua
5
8317
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local ipc = require "luci.ip" m = Map("dhcp", translate("DHCP and DNS"), translate("Dnsmasq is a combined <abbr title=\"Dynamic Host Configuration Protocol" .. "\">DHCP</abbr>-Server and <abbr title=\"Domain...
apache-2.0
Lsty/ygopro-scripts
c87390067.lua
5
1219
--BF-蒼天のジェット function c87390067.initial_effect(c) --indes local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_QUICK_O) e2:SetDescription(aux.Stringid(87390067,0)) e2:SetCode(EVENT_PRE_DAMAGE_CALCULATE) e2:SetRange(LOCATION_HAND) e2:SetCondition(c87390067.condition) e2:SetCost(c87390067.cost) e2:SetOperation...
gpl-2.0
Lsty/ygopro-scripts
c47826112.lua
3
2595
--海皇龍 ポセイドラ function c47826112.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(47826112,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND+LOCATION_GRAVE) e1:SetCost(c47826112.spcost) e1:SetTarget(c47826112.spt...
gpl-2.0
Lsty/ygopro-scripts
c85463083.lua
3
3044
--ゴーストリック・グール function c85463083.initial_effect(c) --summon limit local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_CANNOT_SUMMON) e1:SetCondition(c85463083.sumcon) c:RegisterEffect(e1) --turn set local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(85463083,0)) e2:Set...
gpl-2.0
MalRD/darkstar
scripts/globals/mobskills/savage_blade.lua
11
1241
--------------------------------------------- -- Savage Blade -- -- Description: Delivers a twofold attack. Damage varies with TP. -- Type: Physical -- Utsusemi/Blink absorb: Shadow per hit -- Range: Melee --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/s...
gpl-3.0
cshore-firmware/openwrt-luci
build/luadoc/luadoc/doclet/debug.lua
175
1048
----------------------------------------------------------------- -- LuaDoc debugging facilities. -- @release $Id: debug.lua,v 1.3 2007/04/18 14:28:39 tomas Exp $ ----------------------------------------------------------------- module "luadoc.doclet.debug" function printline() print(string.rep('-', 79)) end ------...
apache-2.0
Lsty/ygopro-scripts
c60530944.lua
5
1729
--異種闘争 function c60530944.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOGRAVE) e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,0x1c0) e1:SetCondition(c60530944.condition) e1:SetOperation(c6053094...
gpl-2.0
minimumcut/UnnamedEngine
UnnamedEngine/Vendor/bullet/test/collision/premake4.lua
12
1176
project "Test_BulletCollision" kind "ConsoleApp" -- defines { } includedirs { ".", "../../src", "../gtest-1.7.0/include" } if os.is("Windows") then --see http://stackoverflow.com/questions/12558327/google-test-in-visual-studio-2012 defines {"_VARIADIC_MAX=10"} end links {"LinearMath...
mit
Lsty/ygopro-scripts
c20003527.lua
3
2736
--雲魔物-ニンバスマン function c20003527.initial_effect(c) --battle indestructable local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE) e1:SetValue(1) c:RegisterEffect(e1) --selfdes local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE) e2:SetProperty(EFFECT_F...
gpl-2.0
MalRD/darkstar
scripts/zones/Southern_San_dOria/npcs/Tek_Lengyon.lua
12
1300
----------------------------------- -- Area: Southern San d'Oria -- NPC: Tek Lengyon -- Type: Leathercraft Synthesis Image Support -- !pos -190.120 -2.999 2.770 230 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/crafting"); local ID = require("scripts/zones/Southern_San...
gpl-3.0
pietern/redis
deps/lua/test/life.lua
888
2635
-- life.lua -- original by Dave Bollinger <DBollinger@compuserve.com> posted to lua-l -- modified to use ANSI terminal escape sequences -- modified to use for instead of while local write=io.write ALIVE="¥" DEAD="þ" ALIVE="O" DEAD="-" function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary for i=1,10000 do...
bsd-3-clause
MalRD/darkstar
scripts/globals/abilities/thunder_maneuver.lua
9
1896
----------------------------------- -- Ability: Thunder Maneuver -- Enhances the effect of thunder attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status"...
gpl-3.0
Lsty/ygopro-scripts
c42592719.lua
5
2403
--剣闘獣アレクサンデル function c42592719.initial_effect(c) --immune spell local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_IMMUNE_EFFECT) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCondition(c42592719.imcon) e1:SetValue(c42592719.imfilter) c:RegisterEffect...
gpl-2.0
nmabhi/Webface
openface/openface_server.lua
11
2259
#!/usr/bin/env th -- -- Copyright 2015-2016 Carnegie Mellon University -- -- 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 re...
apache-2.0
zhaozg/lit
deps/ustring.lua
5
6652
--[[ 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
Lsty/ygopro-scripts
c63881033.lua
3
4362
--マーシャリング・フィールド function c63881033.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c63881033.lvtg1) e1:SetOperation(c63881033.lvop) c:RegisterEffect(e1) --disable spsummon local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_...
gpl-2.0
MalRD/darkstar
scripts/globals/items/balik_sandvici_+1.lua
11
1125
----------------------------------------- -- ID: 5591 -- Item: Balik Sandvic +1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 3 -- Agility 1 -- Intelligence 3 -- Mind -2 -- Ranged ACC 6 ----------------------------------------- require("scripts/globals/status") require("scripts...
gpl-3.0
MalRD/darkstar
scripts/zones/Northern_San_dOria/npcs/Durogg.lua
11
2397
----------------------------------- -- Area: Northern San d'Oria -- NPC: Durogg -- Type: Past Event Watcher -- !pos 15 0 -18 231 ----------------------------------- require("scripts/globals/quests"); ----------------------------------- function onTrade(player,npc,trade) end; function onTrigger(player,npc) -- A...
gpl-3.0
Lsty/ygopro-scripts
c71490127.lua
3
2777
--龍の鏡 function c71490127.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(c71490127.target) e1:SetOperation(c71490127.activate) c:RegisterEffect(e1) end function c71490127.filter0(c) r...
gpl-2.0
savonix/chimailmadmin
nx_apps_dnu/chimailmadmin/scripts/lua/domain_list.lua
1
1426
#!/usr/bin/lua --[[ <!-- Program: ChiMailMadmin.com Component: domain_list.lua Copyright: Savonix Corporation Author: Albert L. Lash, IV License: Gnu Affero Public License version 3 http://www.gnu.org/licenses This program is free software; you can redistribute it and/or modify it under the terms of the GNU Affero Gen...
agpl-3.0
Lsty/ygopro-scripts
c67381587.lua
3
2168
--黒猫の睨み function c67381587.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c67381587.condition) e1:SetOperation(c67381587.activate) c:RegisterEffect(e1) --position change local e2=Effect.CreateEffect(c) e2:SetCategory(C...
gpl-2.0
mamadkiller2/anti-spam
plugins/msg-checks.lua
1
10977
local TIME_CHECK = 2 local function pre_process(msg) local data = load_data(_config.moderation.data) local chat = msg.chat_id_ local user = msg.sender_user_id_ local is_channel = gp_type(chat) == "channel" local is_chat = gp_type(chat) == "chat" local auto_leave = 'auto_leave_bot' local data = load_data(_config.moderat...
gpl-3.0