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 |
|---|---|---|---|---|---|
Zenny89/darkstar | scripts/zones/Metalworks/npcs/Ghemp.lua | 24 | 2139 | -----------------------------------
-- Area: Metalworks
-- NPC: Ghemp
-- Type: Smithing Guild Master
-- @pos -109 2 27 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/glo... | gpl-3.0 |
mercury233/ygopro-scripts | c64804316.lua | 2 | 3210 | --ゴーストリック・セイレーン
function c64804316.initial_effect(c)
--summon limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_SUMMON)
e1:SetCondition(c64804316.sumcon)
c:RegisterEffect(e1)
--discard deck
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(64804316,0))
... | gpl-2.0 |
mercury233/ygopro-scripts | c92223641.lua | 2 | 1372 | --天空の泉
function c92223641.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--adjust
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_RECOVER)
e2:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e2:SetType(EFFECT_TYPE_F... | gpl-2.0 |
valhallaGaming/uno | src_trunk/resources/freecam/freecam.lua | 2 | 10479 | -- state variables
local speed = 0
local strafespeed = 0
local rotX, rotY = 0,0
local velocityX, velocityY, velocityZ
local startX, startY, startZ
-- configurable parameters
local options = {
invertMouseLook = false,
normalMaxSpeed = 2,
slowMaxSpeed = 0.2,
fastMaxSpeed = 12,
smoothMovement = true,
... | bsd-3-clause |
qq779089973/my_openwrt_mod | luci/modules/niu/luasrc/controller/niu/traffic.lua | 49 | 1218 | --[[
LuCI - Lua Development Framework
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$
]]--
local... | mit |
Zenny89/darkstar | scripts/zones/Port_Bastok/npcs/Ferrol.lua | 19 | 2970 | -----------------------------------
-- Area: Port Bastok
-- NPC: Ferrol
-- Starts Quest: Trial Size Trial by Earth
-- @pos 33.708 6.499 -39.425 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
mercury233/ygopro-scripts | c57115864.lua | 4 | 1391 | --光子化
function c57115864.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetCondition(c57115864.condition)
e1:SetTarget(c57115864.target)
e1:SetOperation(c57115864.activate)
c:RegisterEffe... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Cloister_of_Tremors/npcs/Earth_Protocrystal.lua | 19 | 1770 | -----------------------------------
-- Area: Cloister of Tremors
-- NPC: Earth Protocrystal
-- Involved in Quest: Trial by Earth
-- @pos -539 1 -493 209
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/k... | gpl-3.0 |
mercury233/ygopro-scripts | c86750474.lua | 2 | 2667 | --トリックスター・フォクシーウィッチ
function c86750474.initial_effect(c)
--link summon
c:EnableReviveLimit()
aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkRace,RACE_FAIRY),2)
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(86750474,1))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_SI... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Yuhtunga_Jungle/npcs/br3.lua | 10 | 2954 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Blue Rafflesia
-- Used in quest Even More Gullible Travels
-- @pos -468.876 -1 220.247 170
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("script... | gpl-3.0 |
valhallaGaming/uno | branches/2_0_3_STABLE/elevator-system/s_elevator_system.lua | 1 | 14069 | -- ////////////////////////////////////
-- // MYSQL //
-- ////////////////////////////////////
sqlUsername = exports.mysql:getMySQLUsername()
sqlPassword = exports.mysql:getMySQLPassword()
sqlDB = exports.mysql:getMySQLDBName()
sqlHost = exports.mysql:getMySQLHost()
sqlPort = exports.mysql:getMySQLPort()... | bsd-3-clause |
amirTg/TELEHONES | bot/utils.lua | 473 | 24167 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
Stoph2016/Sb | bot/utils.lua | 473 | 24167 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
Zenny89/darkstar | scripts/globals/abilities/pets/wind_blade.lua | 25 | 1297 | ---------------------------------------------------
-- Geocrush
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/magic");
--------------------------------------------... | gpl-3.0 |
mercury233/ygopro-scripts | c56790702.lua | 2 | 1521 | --異次元の強襲艦
function c56790702.initial_effect(c)
--attack cost
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_ATTACK_COST)
e1:SetCost(c56790702.atcost)
e1:SetOperation(c56790702.atop)
c:RegisterEffect(e1)
--sp summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringi... | gpl-2.0 |
pauldub/luvit-dnode | lib/dnode/walk.lua | 1 | 1413 | local Object = require('core').Object
local table = require('table')
local Queue = require('./queue')
local Logger = require('./logger')
local logger = Logger:new('walk')
local Node = Object:extend()
function Node:initialize(params)
self.value = params.value
self.path = params.path
end
local Walk = Object:ext... | mit |
mercury233/ygopro-scripts | c71422989.lua | 4 | 3319 | --吸光融合
function c71422989.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,71422989+EFFECT_COUNT_CODE_OATH)
e1:SetCost(c71422... | gpl-2.0 |
mercury233/ygopro-scripts | c47529357.lua | 2 | 1359 | --ミスト・ボディ
function c47529357.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(c47529357.target)
e1:SetOperation(c47529357.op... | gpl-2.0 |
mercury233/ygopro-scripts | c23869735.lua | 2 | 2600 | --化石発掘
function c23869735.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCost(c23869735.cost)
e1:SetTarget(c2386... | gpl-2.0 |
mercury233/ygopro-scripts | c90928333.lua | 6 | 1082 | --闇の量産工場
function c90928333.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:SetTarget(c90928333.target)
e1:SetOperation(c90928333.activate)
c:RegisterEffect(e1)
... | gpl-2.0 |
mercury233/ygopro-scripts | c4252828.lua | 2 | 2895 | --シー・アーチャー
function c4252828.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(4252828,0))
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCondition(c4252828.eqco... | gpl-2.0 |
mercury233/ygopro-scripts | c83370323.lua | 2 | 1358 | --トラパート
function c83370323.initial_effect(c)
--
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_BE_MATERIAL)
e1:SetProperty(EFFECT_FLAG_EVENT_PLAYER)
e1:SetCondition(c83370323.con)
e1:SetOperation(c83370323.op)
c:RegisterEffect(e1)
local e2=Effect.CreateEf... | gpl-2.0 |
xin3liang/platform_external_chromium_org_third_party_skia | tools/lua/paths_agg.lua | 92 | 1207 |
clips = 0
draws = 0
clipPaths = 0
drawPaths = 0
swClipPaths = 0
swDrawPaths = 0
skpsTotal = 0
skpsWithPath = 0
skpsWithSWPath = 0
dofile("/tmp/lua-output")
io.write("Number of clips: ", clips, "\n");
io.write("Number of draws: ", draws, "\n");
io.write("Number of clipped paths: ", clipPaths, "\n");
io.write("Number... | bsd-3-clause |
linushsao/marsu_game-linus-v0.2 | server_side/irc/chatcmds.lua | 6 | 3393 | -- This file is licensed under the terms of the BSD 2-clause license.
-- See LICENSE.txt for details.
-- Note: This file does NOT conatin every chat command, only general ones.
-- Feature-specific commands (like /join) are in their own files.
minetest.register_chatcommand("irc_msg", {
params = "<name> <message>",
... | gpl-3.0 |
Zenny89/darkstar | scripts/globals/spells/bluemagic/mysterious_light.lua | 18 | 1889 | -----------------------------------------
-- Spell: Mysterious Light
-- Deals wind damage to enemies within range. Additional effect: Weight
-- Spell cost: 73 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 4
-- Stat Bonus: AGI+3
-- Level: 40
-- Casting Time: 3.75 seconds
-- Rec... | gpl-3.0 |
qq779089973/my_openwrt_mod | luci/modules/admin-full/luasrc/model/cbi/admin_system/fstab.lua | 5 | 4594 | --[[
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$
]]--
req... | mit |
mercury233/ygopro-scripts | c17021204.lua | 6 | 1177 | --マザー・スパイダー
function c17021204.initial_effect(c)
--spsummon proc
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(c17021204.spcon)
e1:SetOperation(c17021204.spop)
c:RegisterEffect(e1)... | gpl-2.0 |
mercury233/ygopro-scripts | c54762426.lua | 9 | 1085 | --埋蔵金の地図
function c54762426.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW+CATEGORY_HANDES)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c54762426.condition)
e1:SetTarget(c54762426.target)
e1:Set... | gpl-2.0 |
mercury233/ygopro-scripts | c81954378.lua | 2 | 1679 | --死神の大鎌-デスサイス
function c81954378.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(c81954378.target)
e1:SetOperation(c8195437... | gpl-2.0 |
mercury233/ygopro-scripts | c37256334.lua | 4 | 2108 | --EMカード・ガードナー
function c37256334.initial_effect(c)
--pendulum summon
aux.EnablePendulumAttribute(c)
--defup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(37256334,0))
e1:SetCategory(CATEGORY_DEFCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATIO... | gpl-2.0 |
rouing/FHLG-BW | entities/entities/ent_mad_flash/shared.lua | 1 | 1575 | ENT.Type = "anim"
ENT.PrintName = "Flash"
ENT.Author = "Worshipper"
ENT.Contact = "Josephcadieux@hotmail.com"
ENT.Purpose = ""
ENT.Instructions = ""
/*---------------------------------------------------------
Name: ENT:SetupDataTables()
Desc: Setup the data tables.
------------------------------------... | unlicense |
MiroK/fenics16-poster | luaqrcode.lua | 1 | 1370 | qrencode = dofile("qrencode.lua") -- <--- Ooooh! You cheater!
local function matrix_to_tikz( tab , size)
if (size == nil) then size=10 end
pixel_width = size / #tab
pixel_cmd = string.format("\\filldraw[%%s] (%%f, %%f) +(-%f, %f) rectangle +(%f, -%f);",
pixel_width/2, pixel_width/2, pixel_width/2, ... | mit |
Zenny89/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Tachi.lua | 16 | 1477 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Tachi
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functio... | gpl-3.0 |
Zenny89/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rw.lua | 17 | 1304 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: _0rw (Oil Lamp)
-- Notes: Opens south door at J-9 from inside.
-- @pos 103.703 -26.180 83.000 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
Zenny89/darkstar | scripts/zones/Castle_Oztroja/npcs/_47j.lua | 17 | 1570 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47j (Torch Stand)
-- Notes: Opens door _472 near password #1
-- @pos -62.533 -1.859 -30.634 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
Zenny89/darkstar | scripts/zones/Spire_of_Dem/npcs/_0j3.lua | 51 | 1321 | -----------------------------------
-- Area: Spire_of_Dem
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Dem/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Dem/TextIDs");
---------------... | gpl-3.0 |
mercury233/ygopro-scripts | c86868952.lua | 4 | 1954 | --武神器-ヤツカ
function c86868952.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(86868952,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCondition(c86868952.condition)
e1:SetCost(c86868952.cost)
e1:SetTarget(... | gpl-2.0 |
mercury233/ygopro-scripts | c45593826.lua | 2 | 2346 | --彼岸の悪鬼 ドラゴネル
function c45593826.initial_effect(c)
--self destroy
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_SELF_DESTROY)
e1:SetCondition(c45593826.sdcon)
c:RegisterEffect(e1)
--Special Summon
local e2=... | gpl-2.0 |
mercury233/ygopro-scripts | c67968069.lua | 2 | 1210 | --ジャンク・パペット
function c67968069.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:SetCountLimit(1,67968069+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c67968069.tar... | gpl-2.0 |
Zenny89/darkstar | scripts/commands/addallspells.lua | 12 | 5159 | ---------------------------------------------------------------------------------------------------
-- func: addallspells
-- desc: Adds all valid spells to the given target. If no target; then to the current player.
---------------------------------------------------------------------------------------------------
... | gpl-3.0 |
mercury233/ygopro-scripts | c71978434.lua | 2 | 3739 | --深海のミンストレル
function c71978434.initial_effect(c)
--remove
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(71978434,0))
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,71978434)
e1:SetCost(c71978434.rmcost)
e1:SetTarget(c71978434.rmtg... | gpl-2.0 |
mercury233/ygopro-scripts | c52346240.lua | 2 | 1682 | --ロックキャット
function c52346240.initial_effect(c)
--summon success
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(52346240,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)
e1:Set... | gpl-2.0 |
mercury233/ygopro-scripts | c47457347.lua | 3 | 1899 | --魔法名-「大いなる獣」
function c47457347.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:SetHintTiming(0,TIMING_END_PHASE)
e1:SetTarget(c47457347.target)
e1:SetO... | gpl-2.0 |
dustine/ChargeTransmission | stdlib/utils/queue_hashed.lua | 1 | 2306 | -------------------------------------------------------------------------------
--[[Queue]]
-------------------------------------------------------------------------------
local function NtoZ_c(x, y)
return (x >= 0 and x or (-0.5 - x)), (y >= 0 and y or (-0.5 - y))
end
local function cantorPair_v7(pos)
local x... | mit |
Zenny89/darkstar | scripts/globals/weaponskills/shell_crusher.lua | 18 | 1620 | -----------------------------------
-- Shell Crusher
-- Staff weapon skill
-- Skill Level: 175
-- Lowers target's defense. Duration of effect varies with TP.
-- If unresisted, lowers target defense by 25%.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget.
-- Aligned with the Breeze Belt.
-- E... | gpl-3.0 |
mercury233/ygopro-scripts | c50065971.lua | 2 | 3106 | --超重忍者シノビ-A・C
function c50065971.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_MACHINE),aux.NonTuner(Card.IsRace,RACE_MACHINE),1)
c:EnableReviveLimit()
--defense attack
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_DEFENSE_... | gpl-2.0 |
ArmanKiIng/telegram--bot | plugins/img_google.lua | 660 | 3196 | do
local mime = require("mime")
local google_config = load_from_file('data/google.lua')
local cache = {}
--[[
local function send_request(url)
local t = {}
local options = {
url = url,
sink = ltn12.sink.table(t),
method = "GET"
}
local a, code, headers, status = http.request(options)
return tabl... | gpl-2.0 |
SharpWoW/Command | locales/enUS.lua | 1 | 35829 | --[[
* Copyright (c) 2011-2012 by Adam Hellberg.
*
* This file is part of Command.
*
* Command 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 3 of the License, or
* (at your option) any... | gpl-3.0 |
mercury233/ygopro-scripts | c7369217.lua | 2 | 3212 | --メタル化寄生生物-ルナタイト
function c7369217.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(7369217,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c7369217.eqtg)
e1:SetOperation... | gpl-2.0 |
mercury233/ygopro-scripts | c58600555.lua | 2 | 3118 | --電子光虫-コアベージ
function c58600555.initial_effect(c)
c:EnableReviveLimit()
--xyz summon
aux.AddXyzProcedure(c,c58600555.mfilter,5,2,c58600555.ovfilter,aux.Stringid(58600555,2),99,c58600555.xyzop)
--Back to Deck
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(58600555,0))
e2:SetCategory(CATEGORY_TODEC... | gpl-2.0 |
valhallaGaming/uno | branches/2_0_3_STABLE/gate-system/pd_garage_gate1.lua | 1 | 1168 | objGateh = createObject(972, 2297.1805664063, 2509.133789063, 2.2734375, 0, 0, 180)
exports.pool:allocateElement(objGateh)
open = false
-- Green door
createObject(1492, 2293.8684082031, 2494.5129394531, 2.3734375, 0, 0, 270)
-- Gate code
function usePDSideGarageGate(thePlayer)
local team = getPlayerTeam(t... | bsd-3-clause |
alfred-bot/mer2phm | plugins/domaintools.lua | 359 | 1494 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function check(name)
local api = "https://domainsearch.p.mashape.com/index.php?"... | gpl-2.0 |
ZeroK-RTS/SpringRTS-Tools | aoplate baker/plateshield.lua | 1 | 3223 | return { plateshield = {
unitname = [[plateshield]],
name = [[Shieldbot Plate]],
description = [[Augments Production]],
acceleration = 0,
brakeRate = 0,
buildCostMetal = Shared.FACTORY_P... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Castle_Oztroja/npcs/_47v.lua | 17 | 1251 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47v (Handle)
-- Notes: Opens door _472 from behind
-- @pos -61 0 -36 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_O... | gpl-3.0 |
mercury233/ygopro-scripts | c78084378.lua | 3 | 2912 | --ダイプレクサ・キマイラ
function c78084378.initial_effect(c)
--fusion material
aux.AddFusionProcFunRep(c,aux.FilterBoolFunction(Card.IsRace,RACE_CYBERSE),2,true)
c:EnableReviveLimit()
--lock
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(78084378,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_M... | gpl-2.0 |
mercury233/ygopro-scripts | c97093037.lua | 6 | 1260 | --創世者の化身
function c97093037.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(97093037,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c97093037.spcost)
e1:SetTarget(c97093037.sptg)
e1:SetOperati... | gpl-2.0 |
mercury233/ygopro-scripts | c39475024.lua | 2 | 2889 | --骸の魔妖-餓者髑髏
function c39475024.initial_effect(c)
c:SetUniqueOnField(1,0,39475024)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--immune
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(39475024,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Northern_San_dOria/npcs/Castilchat.lua | 17 | 3336 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Castilchat
-- Starts Quest: Trial Size Trial by Ice
-- @pos -186 0 107 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
ytodorov/AntServices | AdvancedNetToolsSolution/AntServicesMvc5/programs/Nmap/nselib/rtsp.lua | 4 | 8877 | ---
-- This Real Time Streaming Protocol (RTSP) library implements only a minimal
-- subset of the protocol needed by the current scripts.
--
-- @copyright Same as Nmap--See https://nmap.org/book/man-legal.html
-- @author Patrik Karlsson <patrik@cqure.net>
--
-- The library contains the following classes:
--
-- * <code... | apache-2.0 |
mercury233/ygopro-scripts | c97091969.lua | 2 | 3759 | --武装竜の震霆
function c97091969.initial_effect(c)
--activate
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_ACTIVATE)
e0:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e0)
--atk
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(97091969,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYP... | gpl-2.0 |
mercury233/ygopro-scripts | c71172240.lua | 2 | 2116 | --バックリンカー
function c71172240.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c71172240.spcon)
c:RegisterEffect(e1)
--todeck
local e2=Effect.Create... | gpl-2.0 |
notcake/gcompute | lua/gcompute/execution/executionserviceexecutionfilterable.lua | 1 | 4764 | local self = {}
GCompute.Execution.ExecutionServiceExecutionFilterable = GCompute.MakeConstructor (self, GCompute.Execution.IExecutionFilterable)
--[[
Events:
CanCreateExecutionContext (authId, hostId, languageName)
Fired when an execution context is about to be created.
CanCreateExecutionInstance (IExecutionC... | gpl-3.0 |
mercury233/ygopro-scripts | c35638627.lua | 6 | 1534 | --ワーム・ウォーロード
function c35638627.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)
--Disable
local e2=Effect.CreateEffect(c)
e2:SetT... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/West_Ronfaure/npcs/Stone_Monument.lua | 32 | 1287 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -183.734 -12.678 -395.722 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
requi... | gpl-3.0 |
Zenny89/darkstar | scripts/globals/spells/bluemagic/uppercut.lua | 28 | 1859 | -----------------------------------------
-- Spell: Uppercut
-- Damage varies with TP
-- Spell cost: 31 MP
-- Monster Type: Plantoids
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: STR+2, DEX+1
-- Level: 38
-- Casting Time: 0.5 seconds
-- Recast Time: 17.75 seconds
-- Skillchain Eleme... | gpl-3.0 |
Zenny89/darkstar | scripts/globals/items/moon_ball.lua | 35 | 1183 | -----------------------------------------
-- ID: 4568
-- Item: moon_ball
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 3
-- Magic 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
fusijie/cocos2d-x-samples | samples/KillBug/src/cocos/cocostudio/DeprecatedCocoStudioFunc.lua | 61 | 3456 | if nil == ccs then
return
end
--tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of GUIReader will be deprecated begin
local GUIReaderDeprecated = { }
function GUIReaderDeprecated.shareRe... | mit |
Zenny89/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Mainchelite.lua | 21 | 5532 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Mainchelite
-- @zone 80
-- @pos -16 1 -30
-- CS IDs:
-- 0x005 = Generic Greeting for Iron Ram members
-- 0x006 = Mid Initiation of other nation
-- 0x007 = Ask player to Join Iron Rams
-- 0x008 = Ask if changed mind about joining Iron ra... | gpl-3.0 |
l33tRS/E2Power | lua/entities/gmod_wire_expression2/core/custom/KeyPress.lua | 1 | 7206 | -- made by [G-moder]FertNoN
local keys = {
["w"]= IN_FORWARD,
["a"]= IN_MOVELEFT,
["s"]= IN_BACK,
["d"]= IN_MOVERIGHT,
["mouse1"]= IN_ATTACK,
["mouse2"]= IN_ATTACK2,
["reload"]= IN_RELOAD,
["jump"]= IN_JUMP,
["speed"] = IN_SPEED,
["run"] = IN_SPEED,
["zoom"]= IN_ZOOM,
["walk"]= IN_WALK,
["turnleftkey"]= IN_LEFT,
["tur... | gpl-3.0 |
amirTg/TELEHONES | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
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_prin... | gpl-2.0 |
samijon/suofi | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
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_prin... | gpl-2.0 |
AlmightyLaxz/gmRPG | entities/weapons/weapon_gmrpg_unarmed/shared.lua | 1 | 1272 | if SERVER then
AddCSLuaFile("shared.lua")
end
if CLIENT then
SWEP.Slot = 0
SWEP.ViewModelFOV = 10
end
SWEP.HoldType = "normal"
SWEP.Base = "weapon_base"
SWEP.ViewModel = "models/weapons/v_crowbar.mdl"
SWEP.WorldModel = "models/weapons/w_crowbar.mdl"
SWEP.Primary.ClipSize = -1
SWEP.Primary.De... | gpl-3.0 |
mercury233/ygopro-scripts | c85313220.lua | 2 | 2605 | --漆黒の魔王 LV4
function c85313220.initial_effect(c)
--disable
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_BATTLED)
e1:SetRange(LOCATION_MZONE)
e1:SetOperation(c85313220.disop)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetTy... | gpl-2.0 |
mercury233/ygopro-scripts | c79766336.lua | 2 | 1968 | --闇よりの罠
function c79766336.initial_effect(c)
--copy trap
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0x1e1,0x1e1)
e1:SetCondition(c79766336.condition)
e1:SetCost(c79766336.cost)
e1:SetTarget(c79766336.target)
e1:SetOperation(c79766336.operation... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/Northern_San_dOria/npcs/Shomo_Pochachilo.lua | 38 | 1288 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Shomo Pochachilo
-- Type: Standard Info NPC
-- @zone: 231
-- @pos 28.369 -0.199 30.061
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
Zenny89/darkstar | scripts/globals/spells/aurorastorm.lua | 31 | 1161 | --------------------------------------
-- Spell: Aurorastorm
-- Changes the weather around target party member to "auroras."
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
------------------------------------... | gpl-3.0 |
mercury233/ygopro-scripts | c34898052.lua | 2 | 1690 | --牙竜咆哮
function c34898052.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(34898052,0))
e1:SetCategory(CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetCost(c34898052.cost)
e1:SetTarget(c34898052... | gpl-2.0 |
Firew0lf/ctruLua | sdcard/3ds/ctruLua/editor/syntax.lua | 2 | 3361 | -- Each pattern should return 3 captures : start position, the string to colorize, and the end position.
local syntax = {
{ "comment", { "()(%-%-.*)()$" } },
--["string"] = { "()(%'.*%f[%\\]%')()", "()(%\".*%f[%\\]%\")()" },
{ "string", { "()(%'[^%']*%')()", "()(%\"[^%\"]*%\")()" } },
{ "constant.numeric", {
"%... | gpl-3.0 |
mercury233/ygopro-scripts | c82971335.lua | 3 | 1904 | --フォーチュンレディ・アーシー
function c82971335.initial_effect(c)
--atk,def
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_SET_ATTACK)
e1:SetValue(c82971335.value)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFF... | gpl-2.0 |
mercury233/ygopro-scripts | c10424147.lua | 2 | 4503 | --超量機艦マグナキャリア
function c10424147.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--spsummon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(10424147,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:Set... | gpl-2.0 |
mercury233/ygopro-scripts | c20747792.lua | 2 | 2820 | --ベリー・マジシャン・ガール
function c20747792.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(20747792,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:Set... | gpl-2.0 |
Zenny89/darkstar | scripts/zones/West_Sarutabaruta/npcs/Banege_RK.lua | 30 | 3066 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Banege, R.K.
-- Type: Border Conquest Guards
-- @pos 399.450 -25.858 727.545 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conq... | gpl-3.0 |
Faeder-EN/Faeder-EN | plugins/reply.lua | 1 | 26035 | do
ws = {}
rs = {}
-- some examples of how to use this :3
ws[1] = "هلو" -- msg
rs[1] = "هلاوووات عيني نورتـ/ي😻🙈 " -- reply
ws[2] = "😒" -- msg
rs[2] = "عابت هالخلقـة وبِلَت😒وج الطاوة🌚" -- reply
ws[3] = "شلونكم" -- msg
rs[3] = "اني تعبان☹️الأدمنيـة تعبوني😞🔫" -- reply
ws[4] = "انجب" -- msg
rs[4] = "🌚چبابـة ت... | gpl-2.0 |
mercury233/ygopro-scripts | c51993760.lua | 2 | 3176 | --抹殺の邪悪霊
function c51993760.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(51993760,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_START)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCA... | gpl-2.0 |
mercury233/ygopro-scripts | c61374414.lua | 2 | 3462 | --CX-N·As·Ch Knight
function c61374414.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,6,3,c61374414.ovfilter,aux.Stringid(61374414,0))
c:EnableReviveLimit()
--immune
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_INDESTRUCTABLE_EFFECT)
e1:SetProperty(EFFECT_FLAG_SINGL... | gpl-2.0 |
mercury233/ygopro-scripts | c86223870.lua | 4 | 1279 | --レベル・リチューナー
function c86223870.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c86223870.target)
e1:SetOperation(c86223870.activate)
c:RegisterEffect(e1)
end
function c86223870.filter... | gpl-2.0 |
mercury233/ygopro-scripts | c63665875.lua | 6 | 1679 | --ゴブリンゾンビ
function c63665875.initial_effect(c)
--handes
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(63665875,0))
e1:SetCategory(CATEGORY_DECKDES)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLE_DAMAGE)
e1:SetCondition(c63665875.ddcon)
e1:SetTarget(c63665875.ddtg)
... | gpl-2.0 |
fusijie/cocos2d-x-samples | samples/KillBug/src/packages/mvc/AppBase.lua | 25 | 1853 |
local AppBase = class("AppBase")
function AppBase:ctor(configs)
self.configs_ = {
viewsRoot = "app.views",
modelsRoot = "app.models",
defaultSceneName = "MainScene",
}
for k, v in pairs(configs or {}) do
self.configs_[k] = v
end
if type(self.configs_.viewsRoot) ~... | mit |
mercury233/ygopro-scripts | c94689635.lua | 2 | 1604 | --紫光の宣告者
function c94689635.initial_effect(c)
--Negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(94689635,0))
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_CHAINING)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL)
e1:SetRang... | gpl-2.0 |
Zenny89/darkstar | scripts/globals/items/serving_of_vermillion_jelly.lua | 35 | 1448 | -----------------------------------------
-- ID: 5158
-- Item: Vermillion Jelly
-- Food Effect: 4 hours, All Races
-----------------------------------------
-- MP +12%(Cap: 90@750 Base MP)
-- Intelligence +6
-- MP Recovered While Healing +2
-----------------------------------------
require("scripts/globals/s... | gpl-3.0 |
mercury233/ygopro-scripts | c16984449.lua | 2 | 1537 | --炎妖蝶ウィルプス
function c16984449.initial_effect(c)
aux.EnableDualAttribute(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetDescription(aux.Stringid(16984449,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1... | gpl-2.0 |
ajayk/kong | kong/plugins/rate-limiting/daos.lua | 2 | 3183 | local BaseDao = require "kong.dao.cassandra.base_dao"
local cassandra = require "cassandra"
local timestamp = require "kong.tools.timestamp"
local ngx_log = ngx and ngx.log or print
local ngx_err = ngx and ngx.ERR
local tostring = tostring
local RateLimitingMetrics = BaseDao:extend()
function RateLimitingMetrics:new... | apache-2.0 |
Josepdal/DBTeam | plugins/rules.lua | 43 | 2283 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
ajayk/kong | spec/unit/tools/database_cache_spec.lua | 3 | 1356 | require "kong.tools.ngx_stub"
local cache = require "kong.tools.database_cache"
describe("Database cache", function()
it("should return a valid API cache key", function()
assert.are.equal("apis:httpbin.org", cache.api_key("httpbin.org"))
end)
it("should return a valid PLUGIN cache key", function()
asse... | apache-2.0 |
Zenny89/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Despachiaire.lua | 17 | 2660 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Despachiaire
-- @pos 108 -40 -83 26
-----------------------------------
require("scripts/globals/missions");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade... | gpl-3.0 |
focusworld/telemamal | plugins/id.lua | 226 | 4260 | local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
local function returnids(cb_extra, success, result)
local re... | gpl-2.0 |
mercury233/ygopro-scripts | c51474037.lua | 2 | 2412 | --ヤモイモリ
function c51474037.initial_effect(c)
--change / destroy
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_GRAVE)
e1:SetCountLimit(1,51474037)
e1:SetCost(aux.bfgcost)
e1:SetTarget(c51474037.target)
e1:SetOperation(c51474037.acti... | gpl-2.0 |
mercury233/ygopro-scripts | c27699122.lua | 2 | 1542 | --トゥーン・フリップ
function c27699122.initial_effect(c)
aux.AddCodeList(c,15259703)
--activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,27699122+EFFECT_COUNT_CODE_OATH)
e1:SetCondition(c27699122.con)
e1:Set... | gpl-2.0 |
mercury233/ygopro-scripts | c61019812.lua | 3 | 1821 | --レッド・ダストン
function c61019812.initial_effect(c)
c:SetUniqueOnField(1,0,61019812)
--cannot release
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_UNRELEASABLE_SUM)
e1:SetValue(1)
c:RegisterEffect(e1)
local e2... | gpl-2.0 |
mercury233/ygopro-scripts | c10204849.lua | 2 | 4555 | --フルール・ド・フルーレ
function c10204849.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,10204849+EFFECT_COUNT_CODE_OATH)
e1:SetTar... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.