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
mercury233/ygopro-scripts
c15335853.lua
3
2774
--幻獣機サーバルホーク function c15335853.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(c15335853.lvval) c:RegisterEffect(e1) -- local e2=Effect.CreateEffect(c) e2...
gpl-2.0
mercury233/ygopro-scripts
c35429292.lua
2
1253
--ピクシーナイト function c35429292.initial_effect(c) --to deck local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(35429292,0)) e1:SetCategory(CATEGORY_TODECK) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCondition(c35...
gpl-2.0
hreese/beewatch
src/nodemcu-hive-controller/init.lua
1
1252
-- based on blog post in -- https://bigdanzblog.wordpress.com/2015/04/24/esp8266-nodemcu-interrupting-init-lua-during-boot/ local FileToExecute = "user.lua" local BootTimeout = 200 local AbortTimeout = 3000 -- initialize abort boolean flag local abortFlag = false function firmwareInfo() if (1/3) > 0 then print(...
apache-2.0
mboncoddo/forgottenserver
data/migrations/15.lua
58
2534
function onUpdateDatabase() print("> Updating database to version 16 (moving skills into players table)") db.query("ALTER TABLE `players` ADD `skill_fist` int(10) unsigned NOT NULL DEFAULT 10, ADD `skill_fist_tries` bigint(20) unsigned NOT NULL DEFAULT 0, ADD `skill_club` int(10) unsigned NOT NULL DEFAULT 10, ADD `sk...
gpl-2.0
mercury233/ygopro-scripts
c81344637.lua
2
1614
--呪眼の眷属 バジリウス function c81344637.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(81344637,0)) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,81344637+EFFECT_COUN...
gpl-2.0
mercury233/ygopro-scripts
c64927055.lua
2
1829
--天空の歌声 function c64927055.initial_effect(c) aux.AddCodeList(c,56433456) --to hand local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,64927055+EFFECT_COUNT_CODE_OATH) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCost...
gpl-2.0
Zenny89/darkstar
scripts/globals/items/moogle_pie.lua
36
1626
----------------------------------------- -- ID: 5561 -- Item: Moogle Pie -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- HP 20 -- MP 20 -- Strength 1 -- Dexterity 1 -- Vitality 1 -- Agility 1 -- Intelligence 1 -- Mind 1 -- Charisma 1 ----------------------------------------- require("scr...
gpl-3.0
mercury233/ygopro-scripts
c32164201.lua
2
3333
--ZW-天馬双翼剣 function c32164201.initial_effect(c) c:SetUniqueOnField(1,0,32164201) --Special Summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c32164201.spcon) c:RegisterEffect(e1...
gpl-2.0
dailin/wesnoth
data/ai/micro_ais/cas/ca_simple_attack.lua
26
2442
local AH = wesnoth.require "ai/lua/ai_helper.lua" local BC = wesnoth.require "ai/lua/battle_calcs.lua" local LS = wesnoth.require "lua/location_set.lua" local ca_simple_attack = {} function ca_simple_attack:evaluation(ai, cfg, self) local units = AH.get_units_with_attacks { side = wesnoth.current.side, ...
gpl-2.0
squeek502/lit
deps/http-codec.lua
10
8617
--[[ 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
Faeder-EN/Faeder-EN
plugins/help.lua
1
8898
do function run (msg, matches) local reply_id = msg ['id'] if matches[1]== 'help' and is_momod(msg) then local omar = [[💡Faeder bot📍 📍➖➖➖➖➖➖➖📍 📍¦ h1 :: لعرض اوامر الرفع 📍¦ h2 :: لعرض اوامر الحظر والمعلومات 📍¦ h3 :: لعرض اوامر القفل 📍¦ h4 :: لعرض اعدادات المجموعه 📍¦ h5 :: لعرض اوامر الترحيب 📍¦ h6 :: لعرض ...
gpl-2.0
valhallaGaming/uno
branches/2_0_3_STABLE/faction-system/s_faction_system.lua
1
39760
-- //////////////////////////////////// -- // 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
c9145181.lua
4
1087
--儀式降臨封印の書 function c9145181.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+TIMING_END_PHASE) e1:SetTarget(c9145181.target...
gpl-2.0
uber/fbthrift
thrift/test/lua/test_bpack.lua
2
2635
-- Copyright 2004-present Facebook. All Rights Reserved. local b = luabpack -- Pack and unpack a value function pup(t, val) return luabpack.bunpack(t, luabpack.bpack(t, val)) end function luaunit:testChar() luaunit:assertEqual(pup('c', 0x01), 1) luaunit:assertEqual(pup('c', 0x40), 64) luaunit:assertEqual(pup...
apache-2.0
mercury233/ygopro-scripts
c51282878.lua
6
1220
--フィッシュボーグ-プランター function c51282878.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(51282878,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_NO_TURN_RESET) e1:SetRange(LOCATION_GRAVE) e1:SetCountLimit(1,51282878)...
gpl-2.0
mercury233/ygopro-scripts
c47217354.lua
4
1208
--魔轟神レイヴン function c47217354.initial_effect(c) --lv atk up local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(47217354,0)) e1:SetCategory(CATEGORY_HANDES+CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZONE) e1:SetTarget(c47217354.tg) e1:SetOperation(c...
gpl-2.0
5620j/u
plugins/setcmd.lua
12
1195
do local function save_value(msg, name, value) if (not name or not value) then return end local hash = nil if msg.to.type == 'chat' or 'channel' then hash = 'botcommand:variables' end if hash then redis:hset(hash, name, value) return "Done!" end end local function get_variables_hash(msg)...
gpl-2.0
valhallaGaming/uno
branches/2_0_3_STABLE/savevehicle-system/s_savevehicle_system.lua
1
3988
-- //////////////////////////////////// -- // MYSQL // -- //////////////////////////////////// sqlUsername = exports.mysql:getMySQLUsername() sqlPassword = exports.mysql:getMySQLPassword() sqlDB = exports.mysql:getMySQLDBName() sqlHost = exports.mysql:getMySQLHost() sqlPort = exports.mysql:getMySQLPort()...
bsd-3-clause
PenguinToast/StarModMenu
smm/penguingui.lua
1
64631
-- "version": "Beta v. Upbeat Giraffe", -- "author": "PenguinToast", -- "version": "0.4.1", -- "support_url": "http://penguintoast.github.io/PenguinGUI" -- This script contains all the scripts in this library, so you only need to -- include this script for production purposes. -----------------------------------------...
apache-2.0
mercury233/ygopro-scripts
c49161188.lua
2
3705
--鋼鉄の魔導騎士-ギルティギア・フリード function c49161188.initial_effect(c) --fusion summon c:EnableReviveLimit() aux.AddFusionProcFunRep(c,c49161188.ffilter,2,true) --disable local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(49161188,0)) e1:SetCategory(CATEGORY_DISABLE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_QUIC...
gpl-2.0
AlmightyLaxz/gmRPG
gamemode/client/derma/merchants.lua
1
7027
net.Receive("rpgMerchantDermaStart", function() local title = net.ReadString() local text = net.ReadString() local merchantid = net.ReadString() local npcEnt = net.ReadEntity() if !IsValid(npcEnt) then return false end local frame = vgui.Create( "DFrame" ) frame:SetPos( 5, 5 ) frame:SetSize( 500, 300 ) fram...
gpl-3.0
mercury233/ygopro-scripts
c63851864.lua
2
3088
--ブレイク・ドロー function c63851864.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(c63851864.target) e1:SetOperation(c63851864.o...
gpl-2.0
mercury233/ygopro-scripts
c68535320.lua
2
1565
--ファイヤー・ハンド function c68535320.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(68535320,0)) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON+CATEGORY_DECKDES) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_D...
gpl-2.0
mercury233/ygopro-scripts
c26692769.lua
3
3044
--幻影騎士団ラスティ・バルディッシュ function c26692769.initial_effect(c) --link summon aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkAttribute,ATTRIBUTE_DARK),2) c:EnableReviveLimit() --to grave local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOGRAVE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZO...
gpl-2.0
noname007/koreader
frontend/ui/otamanager.lua
4
7729
local InfoMessage = require("ui/widget/infomessage") local ConfirmBox = require("ui/widget/confirmbox") local NetworkMgr = require("ui/networkmgr") local lfs = require("libs/libkoreader-lfs") local UIManager = require("ui/uimanager") local Device = require("device") local DEBUG = require("dbg") local T = require("ffi/u...
agpl-3.0
mercury233/ygopro-scripts
c96594609.lua
2
2233
--炎王獣 キリン function c96594609.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(96594609,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetRange(LOCATION_HAND) e1:SetCode(EVENT_DESTROYE...
gpl-2.0
mercury233/ygopro-scripts
c67127799.lua
2
2394
--ヴァレット・キャリバー function c67127799.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,67127799+EFFECT_COUNT_CODE_OATH) e1:SetCondition(c67127799.spcon...
gpl-2.0
The-Three-Otakus/Joint-Animator
loveframes/libraries/utf8.lua
16
26922
-- $Id: utf8.lua 179 2009-04-03 18:10:03Z pasta $ -- -- Provides UTF-8 aware string functions implemented in pure lua: -- * utf8len(s) -- * utf8sub(s, i, j) -- * utf8reverse(s) -- * utf8char(unicode) -- * utf8unicode(s, i, j) -- * utf8gensub(s, sub_len) -- * utf8find(str, regex, init, plain) -- * utf8match(str, regex, ...
gpl-3.0
mercury233/ygopro-scripts
c97466438.lua
2
2667
--ヨコシマウマ function c97466438.initial_effect(c) --pendulum summon aux.EnablePendulumAttribute(c,false) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(1160) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetRange(LOCATION_HAND) e1:SetCost(c97466438.reg) c:RegisterEffect(e1) --dis...
gpl-2.0
Zenny89/darkstar
scripts/globals/spells/bluemagic/blitzstrahl.lua
18
1932
----------------------------------------- -- Spell: Blitzstrahl -- Deals lightning damage to an enemy. Additional effect: "Stun" -- Spell cost: 70 MP -- Monster Type: Arcana -- Spell Type: Magical (Lightning) -- Blue Magic Points: 4 -- Stat Bonus: DEX+3 -- Level: 44 -- Casting Time: 4.5 seconds -- Recast Time...
gpl-3.0
noname007/koreader
plugins/evernote.koplugin/main.lua
4
14349
local InputContainer = require("ui/widget/container/inputcontainer") local LoginDialog = require("ui/widget/logindialog") local InfoMessage = require("ui/widget/infomessage") local DocSettings = require("docsettings") local NetworkMgr = require("ui/networkmgr") local UIManager = require("ui/uimanager") local Screen = r...
agpl-3.0
Zenny89/darkstar
scripts/zones/Windurst_Walls/npcs/Kalupa-Tawalupa.lua
17
2403
----------------------------------- -- Area: Windurst Walls -- Location: X:-90 Y:-9 Z:109 -- NPC: Kalupa-Tawalupa -- Working 100% -- Involved in Quest: To Bee or Not to Bee? ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); --------------------...
gpl-3.0
lambd0x/Awesome-wm-Funtoo-GreenSunset
awesome/vicious/widgets/fs_all.lua
4
1689
--------------------------------------------------- -- Licensed under the GNU General Public License v2 -- * (c) 2010, Adrian C. <anrxc@sysphere.org> -- * (c) 2009, Lucas de Vries <lucas@glacicle.com> --------------------------------------------------- -- {{{ Grab environment local tonumber = tonumber local io = { p...
gpl-2.0
qq779089973/my_openwrt_mod
luci/modules/niu/luasrc/model/cbi/niu/traffic/routes1.lua
48
1869
--[[ LuCI - Lua Configuration Interface Copyright 2008 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$ ]]-- m =...
mit
mercury233/ygopro-scripts
c66668900.lua
9
1063
--アクアアクトレス・グッピー function c66668900.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetTarget(c66668900.sptg) e1:SetOperation(c66668900.spop) c:RegisterEffect(e1) end function...
gpl-2.0
notcake/gcompute
lua/gcompute/metadata/other/lemongate.lua
1
2898
local self = {} GCompute.Other.LemonGateNamespace = GCompute.MakeConstructor (self, GCompute.NamespaceDefinition) function self:ctor () if not LemonGate then return end local language = GCompute.Languages.Get ("Lemon Gate") if not language:IsDataAvailable () then language:RequestData (self) return ...
gpl-3.0
mercury233/ygopro-scripts
c20721759.lua
2
1436
--ヘイト・クレバス function c20721759.initial_effect(c) --tograve local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_DAMAGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_TO_GRAVE) e1:SetCondition(c20721759.condition) e1:SetTarget(c20721759.target) e1:S...
gpl-2.0
wenhuizhang/MoonGen
examples/multi-device.lua
9
1148
local dpdk = require "dpdk" local memory = require "memory" local device = require "device" function master(...) local devs = { tonumberall(...) } map(devs, function(port) return device.config(port) end) device.waitForLinks() for i, v in ipairs(devs) do dpdk.launchLua("loadSlave", v.id) end dpdk.waitForSla...
mit
mercury233/ygopro-scripts
c75991898.lua
2
1566
--ラヴァルバル・ドラゴン function c75991898.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsAttribute,ATTRIBUTE_FIRE),1) c:EnableReviveLimit() --to hand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(75991898,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_IG...
gpl-2.0
mercury233/ygopro-scripts
c5329790.lua
3
1305
--プロトコル・ガードナー function c5329790.initial_effect(c) --link summon c:EnableReviveLimit() aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkRace,RACE_CYBERSE),2,2) --cannot be battle target local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET) e1:SetRang...
gpl-2.0
mercury233/ygopro-scripts
c50619462.lua
2
3086
--烏合無象 function c50619462.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,50619462+EFFECT_COUNT_CODE_OATH) e1:SetCost(c50619462.spcost) e1:SetTarget(c50619462.sptg) e1:SetOperat...
gpl-2.0
omid4631aghaz/xy
plugins/xy.lua
1
1135
do local function run(msg, matches) local bot_id = 0 local x = 192916039 local y = 179783031 local z = 180239388 local w = 158135400 if matches[1] == 'bye' and is_admin(msg) or msg.action.type == "chat_add_user" and msg.action.user.id == tonumber(bot_id) and not is_sudo(msg) then chat_del_user("chat#id"..ms...
gpl-2.0
mercury233/ygopro-scripts
c42175079.lua
3
1045
--大噴火 function c42175079.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_END_PHASE,0) e1:SetCondition(c42175079.condition) e1:SetTarget(c42175079.target) e1:SetOperation(c42175079...
gpl-2.0
Zenny89/darkstar
scripts/zones/Silver_Sea_route_to_Nashmau/Zone.lua
17
1445
----------------------------------- -- -- Zone: Silver_Sea_route_to_Nashmau -- ----------------------------------- package.loaded["scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Silver_Sea_route_to_Nashmau/TextIDs"); require("scripts/glo...
gpl-3.0
Zenny89/darkstar
scripts/zones/Mount_Zhayolm/npcs/Waudeen.lua
17
2070
----------------------------------- -- Area: Mount_Zhayolm -- NPC: Waudeen -- Type: Assault -- @pos 673.882 -23.995 367.604 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require...
gpl-3.0
ajayk/kong
spec/plugins/jwt/hooks_spec.lua
2
5617
local json = require "cjson" local http_client = require "kong.tools.http_client" local spec_helper = require "spec.spec_helpers" local cache = require "kong.tools.database_cache" local jwt_encoder = require "kong.plugins.jwt.jwt_parser" local STUB_GET_URL = spec_helper.STUB_GET_URL local API_URL = spec_helper.API_URL...
apache-2.0
mercury233/ygopro-scripts
c23232295.lua
2
2141
--BK 拘束蛮兵リードブロー function c23232295.initial_effect(c) Duel.EnableGlobalFlag(GLOBALFLAG_DETACH_EVENT) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x84),4,2) c:EnableReviveLimit() --destroy replace local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:...
gpl-2.0
lingkeyang/slua
build/luajit-2.0.4/dynasm/dasm_arm.lua
120
34598
------------------------------------------------------------------------------ -- DynASM ARM module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _in...
mit
Zenny89/darkstar
scripts/zones/The_Celestial_Nexus/mobs/Exoplates.lua
18
2871
----------------------------------- -- Area: The Celestial Nexus -- NPC: Exoplates -- Zilart Mission 16 BCNM Fight ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/magic"); function onMobInitialize(mob) mob:addMod(MOD_REGAIN, 50); ...
gpl-3.0
gibtang/CCNSCoding
samples/Lua/TestLua/Resources/luaScript/CurrentLanguageTest/CurrentLanguageTest.lua
4
2176
local function CurrentLanguageTest() local ret = cc.Layer:create() local label = cc.LabelTTF:create("Current language Test", "Arial", 28) ret:addChild(label, 0) label:setPosition( cc.p(VisibleRect:center().x, VisibleRect:top().y-50) ) local labelLanguage = cc.LabelTTF:create("", "Arial", 20) l...
mit
mercury233/ygopro-scripts
c60718396.lua
4
1411
--フレムベルカウンター function c60718396.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(c60718396.condition) e1:SetCost(c60718396.cost) e1:SetTarget(c60718396.target) e1:SetOperatio...
gpl-2.0
Zenny89/darkstar
scripts/globals/items/shrimp_cracker_+1.lua
35
1332
----------------------------------------- -- ID: 5636 -- Item: shrimp_cracker_+1 -- Food Effect: 5Min, All Races ----------------------------------------- -- Vitality 2 -- HP Recovered While Healing 9 -- Amorph Killer 5 ----------------------------------------- require("scripts/globals/status"); ---------...
gpl-3.0
Zenny89/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Nembet.lua
36
1042
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Nembet -- @zone 80 -- @pos 147 -3 110 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); --------------------------------...
gpl-3.0
mercury233/ygopro-scripts
c21187631.lua
2
2129
--オルターガイスト・ドラッグウィリオン function c21187631.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) c:EnableReviveLimit() --disable attack local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(21187631,0)) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetRange(LOCATIO...
gpl-2.0
notcake/gcompute
lua/gcompute/metadata/classdefinition.lua
1
15492
local self = {} GCompute.ClassDefinition = GCompute.MakeConstructor (self, GCompute.NamespaceDefinition) --- @param The name of this type -- @param typeParameterList A TypeParameterList describing the parameters the type takes or nil if the type is non-parametric function self:ctor (name, typeParameterList) -- ...
gpl-3.0
Zenny89/darkstar
scripts/globals/items/cup_of_chamomile_tea.lua
35
1384
----------------------------------------- -- ID: 4603 -- Item: cup_of_chamomile_tea -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic 8 -- Vitality -2 -- Charisma 2 -- Magic Regen While Healing 1 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
yipf/lua-svg
lua2svg.bak.20140828.lua
1
16645
---------------------------------------------------------------------------------------- -- SVG templates ---------------------------------------------------------------------------------------- local templates={ -- base elements path=[[<path d = "@PATH@" fill = "@BGCOLOR or "none"@" stroke = "@COLOR@" stroke-linejoi...
mit
mercury233/ygopro-scripts
c27971137.lua
2
3167
--腐乱犬 function c27971137.initial_effect(c) --atkup local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetOperation(c27971137.atkop) c:RegisterEffect(e1) --special summon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(279711...
gpl-2.0
Zenny89/darkstar
scripts/commands/delquest.lua
24
1155
--------------------------------------------------------------------------------------------------- -- func: @delquest <logID> <questID> <player> -- desc: Deletes the given quest from the GM or target player. --------------------------------------------------------------------------------------------------- cmdpr...
gpl-3.0
mercury233/ygopro-scripts
c44227727.lua
2
4576
--海造賊-進水式 function c44227727.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(44227727,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c44227727.target) e1:SetOperation(c44227...
gpl-2.0
super-maxbot/self-bot
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
sina021/xyz
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
dmitryint/corelb
lib/resty/http.lua
3
11033
module("resty.http", package.seeall) _VERSION = '0.2' -- constants -- connection timeout in seconds local TIMEOUT = 60 -- default port for document retrieval local PORT = 80 -- user agent field sent in request local USERAGENT = 'resty.http/' .. _VERSION -- default url parts local default = { host = "", port ...
apache-2.0
Zenny89/darkstar
scripts/globals/items/cup_of_windurstian_tea.lua
35
1210
----------------------------------------- -- ID: 4493 -- Item: cup_of_windurstian_tea -- Food Effect: 180Min, All Races ----------------------------------------- -- Vitality -2 -- Charisma 1 ----------------------------------------- require("scripts/globals/status"); ---------------------------------------...
gpl-3.0
mercury233/ygopro-scripts
c40659562.lua
4
1526
--守護者スフィンクス function c40659562.initial_effect(c) --turn set local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(40659562,0)) e1:SetCategory(CATEGORY_POSITION) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetTarget(c40659562.target) e1:SetOperation(c40659562.operation) c:RegisterEf...
gpl-2.0
mercury233/ygopro-scripts
c11439455.lua
4
2692
--月光蒼猫 function c11439455.initial_effect(c) --atk up local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(11439455,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DELAY+EFFE...
gpl-2.0
mercury233/ygopro-scripts
c25643346.lua
2
1732
--悪魔嬢マリス function c25643346.initial_effect(c) --set local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(25643346,0)) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHA...
gpl-2.0
AntonioModer/fuccboiGDX
fuccboi/libraries/loveframes/objects/internal/columnlist/columnlistheader.lua
10
4228
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- columnlistheader class local newobject = loveframes.NewObject("columnlistheader", "loveframes_object_columnlistheader", t...
mit
AntonioModer/fuccboiGDX
fuccboi/resources/particles/sperm/loveframes/templates.lua
9
5338
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2013 Kenny Shields -- --]]------------------------------------------------ -- templates library loveframes.templates = {} -- available templates loveframes.templates.available = {} -- objects loveframes...
mit
qq779089973/my_openwrt_mod
luci/modules/admin-full/luasrc/model/cbi/admin_network/proto_ahcp.lua
96
2209
--[[ 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...
mit
mercury233/ygopro-scripts
c84797028.lua
2
2259
--機械仕掛けの夜-クロック・ワーク・ナイト- function c84797028.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,84797028+EFFECT_COUNT_CODE_OATH) c:RegisterEffect(e1) --race local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2...
gpl-2.0
Zenny89/darkstar
scripts/zones/Ship_bound_for_Selbina/npcs/Bhagirath.lua
31
1930
----------------------------------- -- Area: Ship_bound_for_Selbina -- NPC: Bhagirath -- Notes: Tells ship ETA time -- @pos 0.278 -14.707 -1.411 220 ----------------------------------- package.loaded["scripts/zones/Ship_bound_for_Selbina/TextIDs"] = nil; require("scripts/zones/Ship_bound_for_Selbina/TextIDs"); --...
gpl-3.0
Chakerbh/Dotfiles
awesome/menugen/init.lua
7
1795
--------------------------------------------------------------------------- -- @author Harvey Mittens -- @copyright 2014 Harvey Mittens -- @email teknocratdefunct@riseup.net -- @release v3.5.5 --------------------------------------------------------------------------- local menu_gen = require("menubar.menu_gen") loc...
gpl-3.0
mercury233/ygopro-scripts
c6853254.lua
4
2066
--復活の福音 function c6853254.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c6853254.target) e1:SetOperation(c6853254.activate) c:RegisterEffect(...
gpl-2.0
Zenny89/darkstar
scripts/zones/Port_Jeuno/npcs/Squintrox_Dryeyes.lua
19
4412
----------------------------------- -- Area: Port Jeuno -- NPC: Squintrox Dryeyes -- Type: Addon Mission Merchant -- @pos -100.071 -1 11.869 246 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); re...
gpl-3.0
mercury233/ygopro-scripts
c46565218.lua
4
1688
--サタンクロース function c46565218.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_SPSUM_PARAM) e1:SetRange(LOCATION_HAND) e1:SetTargetRange(POS_FACEUP_DEFENSE,1) e1:SetCondition(c465652...
gpl-2.0
linushsao/marsu_game-linus-v0.2
mods/decoration/more_chests/dropbox.lua
1
3833
local function has_locked_chest_privilege(meta, player) if player:get_player_name() ~= meta:get_string("owner") then return false end return true end minetest.register_node("more_chests:dropbox", { description = "Dropbox", tiles = {"dropbox_top.png", "dropbox_top.png", "dropbox_side.png", "dropbox_side.png", ...
gpl-3.0
mercury233/ygopro-scripts
c4538826.lua
2
5370
--終焉龍 カオス・エンペラー function c4538826.initial_effect(c) c:EnableReviveLimit() aux.EnablePendulumAttribute(c) --to hand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(4538826,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) ...
gpl-2.0
guillaume144/jeu-rp
entities/weapons/pocket/sv_init.lua
3
8976
local meta = FindMetaTable("Player") /*--------------------------------------------------------------------------- Stubs ---------------------------------------------------------------------------*/ DarkRP.stub{ name = "dropPocketItem", description = "Make the player drop an item from the pocket.", paramet...
mit
mercury233/ygopro-scripts
c75888208.lua
2
3038
--夢魔鏡の夢魔-イケロス function c75888208.initial_effect(c) aux.AddCodeList(c,74665651) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(75888208,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetCode(EV...
gpl-2.0
mercury233/ygopro-scripts
c68819554.lua
2
3025
--Emダメージ・ジャグラー function c68819554.initial_effect(c) --negate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(68819554,0)) e1:SetCategory(CATEGORY_DESTROY+CATEGORY_NEGATE) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_CHAINING) e1:SetRange(LOCATION_HAND) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+E...
gpl-2.0
linushsao/marsu_game-linus-v0.2
mods/technical/mesecons/mesecons_mvps/init.lua
2
7219
--register stoppers for movestones/pistons mesecon.mvps_stoppers = {} mesecon.on_mvps_move = {} mesecon.mvps_unmov = {} --- Objects (entities) that cannot be moved function mesecon.register_mvps_unmov(objectname) mesecon.mvps_unmov[objectname] = true; end function mesecon.is_mvps_unmov(objectname) return mesecon.m...
gpl-3.0
Zenny89/darkstar
scripts/zones/Bastok_Markets_[S]/npcs/Blingbrix.lua
34
1234
----------------------------------- -- Area: Bastok Markets (S) -- NPC: Blingbrix -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Bastok_Markets_[S]/TextIDs"); require("scr...
gpl-3.0
mercury233/ygopro-scripts
c67270095.lua
4
2173
--ターボ・シンクロン function c67270095.initial_effect(c) --pos local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(67270095,0)) e1:SetCategory(CATEGORY_POSITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetTarget(c672700...
gpl-2.0
dailin/wesnoth
data/ai/lua/stdlib.lua
36
2129
--! #textdomain wesnoth return { init = function(ai, dbg) -- Initialize the cache system for LuaAI context local cache = wesnoth.require("ai/lua/cache.lua") cache.init(ai) -- Hiding of get_new_* and is_*_valid methods local to_hide = { [1] = "get_new_src_dst", [2] = "get_new_dst_src", [3] = ...
gpl-2.0
Zenny89/darkstar
scripts/zones/QuBia_Arena/mobs/Rojgnoj_s_Right_Hand.lua
18
1237
----------------------------------- -- Area: QuBia_Arena -- Mission 9-2 SANDO ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/missions"); require("scripts/zones/QuBia_Arena/TextIDs"); ----------------------------------- -- onMobSpawn A...
gpl-3.0
mercury233/ygopro-scripts
c10158145.lua
2
4024
--夢幻崩界イヴリース function c10158145.initial_effect(c) --spsummon link local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(10158145,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_...
gpl-2.0
mercury233/ygopro-scripts
c39732186.lua
3
3228
--プロフィビット・スネーク function c39732186.initial_effect(c) --opp to hand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(39732186,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_START) e1:SetProperty(EFFECT_FLAG_DELAY) e1:SetRange(LOCATION_...
gpl-2.0
Zenny89/darkstar
scripts/zones/Port_Bastok/Zone.lua
28
3713
----------------------------------- -- -- Zone: Port_Bastok (236) -- ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/zone"); require("scripts/globals/settings"); require("scripts/globals/missions"); r...
gpl-3.0
linushsao/marsu_game-linus-v0.2
mods/administration/wiki/plugin_forum.lua
3
3377
local private = ... local BASEPATH = wikilib.paths.plugins.."/ml" private.mkdir(BASEPATH) local ML_DB_FILE = BASEPATH.."/posts.dat" local posts = { } local function load_posts() local f = private.open(ML_DB_FILE, "r") if not f then return false end local list = { } local post = { text="" } for line in f:line...
gpl-3.0
lambd0x/Awesome-wm-Funtoo-GreenSunset
awesome/lain/widget/contrib/kbdlayout.lua
3
2573
--[[ Licensed under GNU General Public License v2 * (c) 2015, Dario Gjorgjevski --]] local helpers = require("lain.helpers") local awful = require("awful") local wibox = ...
gpl-2.0
Zenny89/darkstar
scripts/zones/RuLude_Gardens/npcs/Nomad_Moogle.lua
15
1438
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Nomad Moogle -- Type: Adventurer's Assistant -- @pos 10.012 1.453 121.883 243 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setti...
gpl-3.0
mercury233/ygopro-scripts
c74416224.lua
2
1732
--ブラック・レイ・ランサー function c74416224.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_WATER),3,2) c:EnableReviveLimit() --disable local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DISABLE) e1:SetDescription(aux.Stringid(74416224,0)) e1:SetType(EFFECT_TYPE...
gpl-2.0
scroggo/skia
tools/lua/classify_rrect_clips.lua
160
3346
function sk_scrape_startcanvas(c, fileName) end function sk_scrape_endcanvas(c, fileName) end function classify_rrect(rrect) if (rrect:type() == "simple") then local x, y = rrect:radii(0) if (x == y) then return "simple_circle" else return "simple_oval" end...
bsd-3-clause
mercury233/ygopro-scripts
c49565413.lua
2
3294
--カオス・ビースト-混沌の魔獣- local s,id,o=GetID() function s.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_LIGHT),aux.NonTuner(Card.IsAttribute,ATTRIBUTE_DARK),1) c:EnableReviveLimit() --atk up local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1...
gpl-2.0
mercury233/ygopro-scripts
c98931003.lua
4
1208
--ナナナ function c98931003.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c98931003.target) e1:SetOperation(c98931003.operation) c:RegisterEffect(e1) end function c98931003.filter(c) r...
gpl-2.0
mercury233/ygopro-scripts
c63737050.lua
2
1147
--龍大神 function c63737050.initial_effect(c) --tograve local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(63737050,0)) e1:SetCategory(CATEGORY_TOGRAVE) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetRange(LOCATION_MZONE) e1:SetCondition(c63737050.condition...
gpl-2.0
notcake/gcompute
lua/gcompute/ast/staticmemberaccess.lua
1
3717
local self = {} self.__Type = "StaticMemberAccess" GCompute.AST.StaticMemberAccess = GCompute.AST.MakeConstructor (self, GCompute.AST.Expression) function self:ctor (leftExpression, name, typeArgumentList) self.LeftExpression = nil self.Name = name self.TypeArgumentList = nil self.RuntimeName = nil ...
gpl-3.0
mercury233/ygopro-scripts
c85352446.lua
4
1487
--統制訓練 function c85352446.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(TIMING_ATTACK,0x11e0) e1:SetTarget(c85352446.target) e1:SetOperation(c85...
gpl-2.0
Zenny89/darkstar
scripts/zones/Abyssea-La_Theine/mobs/Lusion.lua
19
1542
----------------------------------- -- Area: Abyssea - La Theine -- NPC: Luison ----------------------------------- ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob) setLocalVar("transformTime", os.time()) end; ----------------------------------- -...
gpl-3.0