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 |
|---|---|---|---|---|---|
silky/dream-art | loadcaffe_wrapper.lua | 2 | 2589 | -- Original by @jcjohnson at https://github.com/jcjohnson/neural-style.
-- Modifications by @bamos at https://github.com/bamos/dream-art.
-- Both licensed under the MIT license.
local ffi = require 'ffi'
require 'loadcaffe'
local C = loadcaffe.C
--[[
Most of this function is copied from
https://github.com/szagoru... | mit |
neofob/sile | vendor/luaexpat/tests/test-lom.lua | 18 | 1389 | #!/usr/local/bin/lua
local lom = require "lxp.lom"
local tests = {
[[<abc a1="A1" a2="A2">inside tag `abc'</abc>]],
[[<qwerty q1="q1" q2="q2">
<asdf>some text</asdf>
</qwerty>]],
}
function table._tostring (tab, indent, spacing)
local s = {}
spacing = spacing or ""
indent = indent or "\t"
table.insert (s, ... | mit |
Ninjistix/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sulbahn.lua | 3 | 1661 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sulbahn
-- Type: Alchemy Adv. Image Support
-- !pos -10.470 -6.25 -141.700 241
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
Ninjistix/darkstar | scripts/globals/spells/bluemagic/queasyshroom.lua | 31 | 1990 | -----------------------------------------
-- Spell: Queasyshroom
-- Additional effect: Poison. Duration of effect varies with TP
-- Spell cost: 20 MP
-- Monster Type: Plantoids
-- Spell Type: Physical (Piercing)
-- Blue Magic Points: 2
-- Stat Bonus: HP-5, MP+5
-- Level: 8
-- Casting Time: 2 seconds
-- Recast Time: 15 ... | gpl-3.0 |
abosalah22/zak | plugins/ar-banhammer.lua | 13 | 13810 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY SAJJAD NOORI ▀▄ ▄▀
▀▄ ▄▀ BY SAJAD NOORI (@SAJJADNOORI) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY SAJJAD NOORI ▀▄ ▄▀
▀▄ ▄▀ ban hammer : الطرد والحظر ▀▄ ▄▀
▀▄▀... | gpl-2.0 |
ccyphers/kong | kong/plugins/statsd/handler.lua | 5 | 2756 | local BasePlugin = require "kong.plugins.base_plugin"
local basic_serializer = require "kong.plugins.log-serializers.basic"
local statsd_logger = require "kong.plugins.statsd.statsd_logger"
local StatsdHandler = BasePlugin:extend()
StatsdHandler.PRIORITY = 1
local ngx_log = ngx.log
local ngx_timer_at = ngx.timer.at
... | apache-2.0 |
Ninjistix/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5fp.lua | 5 | 2281 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: West Plate
-- !pos 128 -34 20 195
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player,npc)
local state0 = 8;
local state1 = 9;
local DoorOffset = npc:getID() - 24; -- _5f1
if... | gpl-3.0 |
TEAMvirus/ViRuS | plugins/Dictionary.lua | 9 | 1358 | do
function translate(source_lang, target_lang, text)
local path = "http://translate.google.com/translate_a/single"
-- URL query parameters
local params = {
client = "gtx",
ie = "UTF-8",
oe = "UTF-8",
hl = "en",
dt = "t",
tl = target_lang or "en",
sl = source_lang or "auto",
q = U... | gpl-2.0 |
mamad-ali/xilibot | plugins/stats.lua | 1 | 3698 | do
local NUM_MSG_MAX = 3
local TIME_CHECK = 2 -- seconds
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
-- Returns a table with `... | gpl-2.0 |
dinodeck/ninety_nine_days_of_dev | 006_magic_menu/code/StateStack.lua | 4 | 6021 |
StateStack = {}
StateStack.__index = StateStack
function StateStack:Create()
local this =
{
mStates = {}
}
setmetatable(this, self)
return this
end
function StateStack:Push(state)
table.insert(self.mStates, state)
state:Enter()
end
function StateStack:Pop()
... | mit |
Ninjistix/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/_4w5.lua | 5 | 2516 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Silver Beastcoin Door
-- @zone 176
-- !pos 280 18.549 -100
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
neofob/sile | packages/rotate.lua | 1 | 4372 | local pdf = require("justenoughlibtexpdf")
local enter = function(self)
if not self.rotate then return end
local x = -math.rad(self.rotate)
-- Keep center point the same
pdf:gsave()
local cx = self:left()
local cy = -self:bottom()
pdf.setmatrix(1,0,0,1,cx + math.sin(x) * self:height(),cy)
pdf.setmatri... | mit |
amir1213/tamir | plugins/plugins.lua | 325 | 6164 | 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-2.0 |
DGA-MI-SSI/YaCo | deps/swig-3.0.7/Examples/test-suite/lua/overload_template_fast_runme.lua | 8 | 2305 | require("import") -- the import fn
import("overload_template_fast") -- import code
for k,v in pairs(overload_template_fast) do _G[k]=v end -- move to global
-- lua has only one numeric type, so maximum(int,int) and maximum(double,double) are the same
-- whichever one was wrapper first will be used (which is int)
f = ... | gpl-3.0 |
bagobor/cpp2lua-buindings-battle | external/LuaJIT-2.0.4/src/jit/v.lua | 88 | 5614 | ----------------------------------------------------------------------------
-- Verbose mode of the LuaJIT compiler.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
-------------------------------------------------------------------------... | mit |
bogdanm/luaelf | lib/elfct.lua | 1 | 6546 | -- ELF constants
module( ..., package.seeall )
local cl = require "classes"
local _elfct = cl.new_class( "elfct", "object", "ELF constants" )
getmetatable( getfenv() ).__tostring = function() return "[elfct]" end
setmetatable( _elfct, { __index = getfenv() } )
-- Build a string from its corresponding value
-- Allows... | mit |
rigeirani/sgyt | plugins/btc.lua | 289 | 1375 | -- See https://bitcoinaverage.com/api
local function getBTCX(amount,currency)
local base_url = 'https://api.bitcoinaverage.com/ticker/global/'
-- Do request on bitcoinaverage, the final / is critical!
local res,code = https.request(base_url..currency.."/")
if code ~= 200 then return nil end
local data = j... | gpl-2.0 |
mihailim/koreader | spec/unit/document_registry_spec.lua | 4 | 2624 | describe("document registry module", function()
local DocSettings, DocumentRegistry
setup(function()
require("commonrequire")
DocSettings = require("docsettings")
DocumentRegistry = require("document/documentregistry")
end)
it("should get preferred rendering engine", function()... | agpl-3.0 |
nekrozar/ygopro-scripts | c9030160.lua | 1 | 2590 | --常闇の契約書
function c9030160.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--cannot be target
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_BE_EFFECT_TARGET)
e2:SetRange(LOC... | gpl-2.0 |
nekrozar/ygopro-scripts | c60530944.lua | 4 | 1731 | --異種闘争
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,TIMINGS_CHECK_MONSTER)
e1:SetCondition(c60530944.condition)
e1:SetOp... | gpl-2.0 |
chrisjbray/hammerspoon | extensions/milight/init.lua | 9 | 5073 | --- === hs.milight ===
---
--- Simple controls for the MiLight LED WiFi bridge (also known as LimitlessLED and EasyBulb)
local milight = require "hs.milight.internal"
milight.cmd = milight._cacheCommands()
local milightObject = hs.getObjectMetatable("hs.milight")
--- hs.milight.minBrightness
--- Constant
--- Specifie... | mit |
nekrozar/ygopro-scripts | c46772449.lua | 4 | 2156 | --励輝士 ヴェルズビュート
function c46772449.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(46772449,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EV... | gpl-2.0 |
nekrozar/ygopro-scripts | c52105192.lua | 6 | 1563 | --アームズ・ホール
function c52105192.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c52105192.cost)
e1:SetTarget(c52105192.target)
e1:SetOperation(c52105192.activate)
c:RegisterEffect... | gpl-2.0 |
finalsliver/supervillain-ui | SVUI_NamePlates/components/healers.lua | 2 | 4463 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.se... | mit |
nekrozar/ygopro-scripts | c65500515.lua | 1 | 2424 | --隅烏賊
function c65500515.initial_effect(c)
--move
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(65500515,0))
e1:SetCategory(CATEGORY_TOKEN+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetCountLimit(1)
e1:SetTarget(c65500515.... | gpl-2.0 |
nekrozar/ygopro-scripts | c20474741.lua | 4 | 1114 | --トライデント・ウォリアー
function c20474741.initial_effect(c)
--summon success
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(20474741,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e2:SetCode(EVENT_SUMMON_SUCCESS)
e2:SetTarget(c20474741.sumtg)
e2:SetOpera... | gpl-2.0 |
nekrozar/ygopro-scripts | c73625877.lua | 9 | 2014 | --タイム・エスケーパー
function c73625877.initial_effect(c)
--remove
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(73625877,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetRange(LOCATION_HAND)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c7362... | gpl-2.0 |
nekrozar/ygopro-scripts | c21954587.lua | 2 | 3521 | --水精鱗-メガロアビス
function c21954587.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(21954587,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCost(c21954587.spcost)
e1:SetTarget(c21954587.sptg)
e1:SetOper... | gpl-2.0 |
nekrozar/ygopro-scripts | c94801854.lua | 4 | 3337 | --不知火の隠者
function c94801854.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(94801854,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetCountLimit(1,94801854)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c94801854.cost)
e1:SetTarget(c9... | gpl-2.0 |
fredericjoanis/crc-scoreboard | extern/lua/base/string.lua | 31 | 1025 | --
-- string.lua
-- Additions to Lua's built-in string functions.
-- Copyright (c) 2002-2008 Jason Perkins and the Premake project
--
--
-- Returns an array of strings, each of which is a substring of s
-- formed by splitting on boundaries formed by `pattern`.
--
function string.explode(s, pattern, plain)
if (pa... | mit |
nekrozar/ygopro-scripts | c79086452.lua | 1 | 1627 | --ギミック・パペット-ビスク・ドール
function c79086452.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(79086452,0))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c79086452.spcon)
... | gpl-2.0 |
nekrozar/ygopro-scripts | c43387895.lua | 1 | 3566 | --覇王眷竜スターヴ・ヴェノム
function c43387895.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFunRep(c,c43387895.ffilter,2,false)
aux.AddContactFusionProcedure(c,Card.IsReleasable,LOCATION_MZONE,0,Duel.Release,REASON_COST+REASON_MATERIAL)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:Se... | gpl-2.0 |
nekrozar/ygopro-scripts | c55465441.lua | 4 | 1805 | --ギブ&テイク
function c55465441.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(c55465441.target)
e1:SetOperation(c55465441.activate)
c:RegisterEff... | gpl-2.0 |
LiXizhi/NPLRuntime | Server/trunk/LuaJIT-2.1/src/jit/dump.lua | 43 | 20112 | ----------------------------------------------------------------------------
-- LuaJIT compiler dump module.
--
-- Copyright (C) 2005-2017 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
--
-... | gpl-2.0 |
nchampsavoir/mo4lua | mo4lua/malserver.lua | 1 | 2723 | local mal = require "libmal"
local malzmq = require "malzmq"
local Context = mal.Context
local binding = malzmq('localhost', '6666')
local malctx = Context:new(binding)
local logger_actor = [[
local mal = require "libmal"
local Actor, class = mal.Actor, mal.class
local DemoArea = require "demoarea"
l... | mit |
nekrozar/ygopro-scripts | c3775068.lua | 2 | 5115 | --方界超帝インディオラ・デス・ボルト
function c3775068.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
l... | gpl-2.0 |
FailcoderAddons/SVUI | SVUI_!Core/system/gear.lua | 1 | 18345 | --[[
##########################################################
S V U I By: Munglunch
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.select... | mit |
nekrozar/ygopro-scripts | c76763417.lua | 6 | 1385 | --サイバー・ジムナティクス
function c76763417.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(76763417,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c7676341... | gpl-2.0 |
nekrozar/ygopro-scripts | c23265594.lua | 4 | 3172 | --強化支援メカ・ヘビーウェポン
function c23265594.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(23265594,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c23265594.eqtg)
e1:SetOperat... | gpl-2.0 |
jyelloz/luatermkey-ffi | termkey.lua | 1 | 6257 | local ffi = require('ffi')
local bit = require('bit')
require('termkey_h')
local C = ffi.load('libtermkey')
local M = {}
local termkeymousevent_boxed_t = ffi.typeof('TermKeyMouseEvent[1]')
local int_boxed_t = ffi.typeof('int[1]')
local string_50_t = ffi.typeof('char[50]')
local index = {
start=C.termkey_start,
... | mit |
Domderon/spice-minions | smee/libs/jumper/search/bfs.lua | 9 | 1419 | -- Breadth-First search algorithm
if (...) then
-- Internalization
local t_remove = table.remove
local function breadth_first_search(finder, openList, node, endNode, clearance, toClear)
local neighbours = finder._grid:getNeighbours(node, finder._walkable, finder._allowDiagonal, finder._tunnel)
for i = 1... | mit |
ETegro/OpenSAN | feeds/luci/modules/admin-full/luasrc/model/cbi/admin_system/fstab.lua | 9 | 4650 | --[[
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: fstab.lua... | gpl-3.0 |
Xanthin/minetest_game | mods/vessels/init.lua | 1 | 6582 | -- Minetest 0.4 mod: vessels
-- See README.txt for licensing and other information.
vessels = {}
-- Intllib
local S
if minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function(s,a,...)
if a==nil then
return s
end
a={a,...}
return s:gsub("(@?)@(%(?)(%d+)(%)?)",
function(e,o,n,c... | lgpl-2.1 |
nekrozar/ygopro-scripts | c46044841.lua | 4 | 1450 | --ガスタ・ファルコ
function c46044841.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(46044841,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCondi... | gpl-2.0 |
PAC3-Server/notagain | lua/notagain/jrpg/autorun/hitmarks.lua | 2 | 11937 | local hitmarkers = _G.hitmarkers or {}
_G.hitmarkers = hitmarkers
if CLIENT then
local function set_blend_mode(how)
if not render.OverrideBlendFunc then return end
if how == "additive" then
render.OverrideBlendFunc(true, BLEND_SRC_ALPHA, BLEND_ONE, BLEND_SRC_ALPHA, BLEND_ONE)
elseif how == "multiplicative" ... | gpl-3.0 |
amireh/lua_cliargs | src/cliargs/utils/wordwrap.lua | 1 | 1056 | local split = require('cliargs.utils.split')
local function buildline(words, size, overflow)
-- if overflow is set, a word longer than size, will overflow the size
-- otherwise it will be chopped in line-length pieces
local line = {}
if #words[1] > size then
-- word longer than line
if overflow then
... | mit |
finalsliver/supervillain-ui | SVUI_ActionBars/libs/LibStub/LibStub.lua | 5 | 1389 | -- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info
-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
local _G = getfenv(0)
local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER... | mit |
nekrozar/ygopro-scripts | c55727845.lua | 2 | 1717 | --No.96 ブラック・ミスト
function c55727845.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,2,3)
c:EnableReviveLimit()
--atk u/d
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(55727845,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetRange(LOCATION_MZONE)
e1:SetCost... | gpl-2.0 |
nekrozar/ygopro-scripts | c89538537.lua | 2 | 3159 | --オルターガイスト・シルキタス
function c89538537.initial_effect(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetDescription(aux.Stringid(89538537,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMINGS_CHECK_MONSTER+TIMING_END_PHASE)
e1:SetProperty(EFFEC... | gpl-2.0 |
Lusito/premake | tests/tools/test_snc.lua | 1 | 2719 | --
-- tests/test_snc.lua
-- Automated test suite for the SNC toolset interface.
-- Copyright (c) 2012 Jason Perkins and the Premake project
--
T.tools_snc = {}
local suite = T.tools_snc
local snc = premake.tools.snc
--
-- Setup/teardown
--
local sln, prj, cfg
function suite.setup()
sln, prj = test.createso... | bsd-3-clause |
ev1l0rd/yalnpv | dfhack/hack/scripts/gui/stockpiles.lua | 1 | 2177 | -- lave/load stockpile settings with a GUI
--[[=begin
gui/stockpiles
==============
An in-game interface for `stocksettings`, to
load and save stockpile settings from the :kbd:`q` menu.
Usage:
:gui/stockpiles -save: to save the current stockpile
:gui/stockpiles -load: to load settings into... | mit |
Domderon/spice-minions | hymn/main.lua | 1 | 1642 | local flux = require "smee.libs.flux"
-- DEBUG = true
local HymnGame = require "hymn.logiccore"
local baseWidth, baseHeight = 1920, 1080
-- TODO Create UI Component
local ui = require "hymn.ui"
local function load()
love.window.setTitle("Hymn of Snow and Lava")
love.window.setMode(baseWidth/2, ... | mit |
nekrozar/ygopro-scripts | c60942444.lua | 3 | 2380 | --天威龍-マニラ
function c60942444.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(60942444,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,60942444)
e1:SetCondition(c60942444.spcon)
e1:SetTar... | gpl-2.0 |
nekrozar/ygopro-scripts | c75830094.lua | 3 | 2177 | --ホルスの黒炎竜 LV4
function c75830094.initial_effect(c)
--battle destroy
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_BATTLE_DESTROYING)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetOperation(c75830094.bdop)
c:RegisterEffect(e1)
--control
local e2=Effect... | gpl-2.0 |
nekrozar/ygopro-scripts | c36625827.lua | 3 | 1870 | --D-HERO ドレッドサーヴァント
function c36625827.initial_effect(c)
--summon success
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(36625827,0))
e1:SetCategory(CATEGORY_COUNTER)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetOperation(c36625827.addc)
c:RegisterE... | gpl-2.0 |
Pandafuchs/iLife | client/Classes/Firework/Rocket/Types/cRohrbombenBatteryRocket.lua | 2 | 4213 | --
-- Created by IntelliJ IDEA.
-- User: Noneatme
-- Date: 26.12.2014
-- Time: 20:27
-- Project: MTA iLife
--
cRohrbombenBatteryRocket = {};
--[[
]]
-- ///////////////////////////////
-- ///// New //////
-- ///// Returns: Object //////
-- ///////////////////////////////
function cRohrbombenBatteryRocket:new(..... | mit |
amireh/lua_cliargs | src/cliargs/core.lua | 3 | 15828 | -- luacheck: ignore 212
local _
local disect = require('cliargs.utils.disect')
local lookup = require('cliargs.utils.lookup')
local filter = require('cliargs.utils.filter')
local shallow_copy = require('cliargs.utils.shallow_copy')
local create_printer = require('cliargs.printer')
local config_loader = require('cliarg... | mit |
nekrozar/ygopro-scripts | c64681432.lua | 4 | 3084 | --破壊竜ガンドラ
function c64681432.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)
--summon,flip
local e2=Effect.CreateEffect(c)
e2:Set... | gpl-2.0 |
nekrozar/ygopro-scripts | c34010534.lua | 3 | 2074 | --サイバネット・オプティマイズ
function c34010534.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(34010534,0))
e2:SetCategory(CATEGORY_SUMMON)
e2:SetType(EF... | gpl-2.0 |
MNoya/DotaCraft | game/dota_addons/dotacraft/scripts/vscripts/heroes/far_seer/far_sight.lua | 1 | 1037 | -- Gives vision over an area and shows dust particle to the team
function FarSight( event )
local caster = event.caster
local ability = event.ability
local level = ability:GetLevel()
local reveal_radius = ability:GetLevelSpecialValueFor( "radius", level - 1 )
local duration = ability:GetLevelSpecialValueFor( "dura... | gpl-3.0 |
chrisJohn404/ljswitchboard-module_manager | lib/switchboard_modules/lua_script_debugger/premade_scripts/8_spi_example.lua | 1 | 2378 | --[[
Name: 8_spi_example.lua
Desc: This example sends out a packet of data over SPI and reads it back
Note: If the packet received matches the packet sent, SPI is working
properly. Otherwise, there may be some issues with the SPI circuitry
This example requires firmware 1.0282 (T7) or 1... | mit |
nekrozar/ygopro-scripts | c19594506.lua | 6 | 1250 | --ネオスペース・コンダクター
function c19594506.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(19594506,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCost(c19594506.cost)
e1:SetTarget(c19594506.target)
e1:SetO... | gpl-2.0 |
SoScared/OpenRA | mods/ra/maps/allies-05a/allies05a-AI.lua | 3 | 7185 | --[[
Copyright 2007-2019 The OpenRA Developers (see AUTHORS)
This file is part of OpenRA, which is free software. It is made
available to you 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 later vers... | gpl-3.0 |
MNoya/DotaCraft | game/dota_addons/dotacraft/scripts/vscripts/libraries/modifiers/gatherer_modifiers.lua | 1 | 1261 | modifier_carrying_lumber = class({})
function modifier_carrying_lumber:GetTexture()
return "furion_sprout"
end
function modifier_carrying_lumber:IsPurgable()
return false
end
----------------------------------------------
modifier_carrying_gold = class({})
function modifier_carrying_gold:GetTexture()
r... | gpl-3.0 |
nekrozar/ygopro-scripts | c93020401.lua | 2 | 2628 | --燈影の機界騎士
function c93020401.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,93020401)
e1:SetCondition(c93020401.hspcon)
e1:SetValue(c93020401.h... | gpl-2.0 |
nekrozar/ygopro-scripts | c24842059.lua | 1 | 2524 | --リングリボー
function c24842059.initial_effect(c)
--link summon
aux.AddLinkProcedure(c,c24842059.mfilter,1,1)
c:EnableReviveLimit()
--disable
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(24842059,0))
e1:SetCategory(CATEGORY_DISABLE+CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT... | gpl-2.0 |
nekrozar/ygopro-scripts | c46425662.lua | 1 | 3035 | --エレメントセイバー・ナル
function c46425662.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(46425662,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1)
e1:SetCost(c4642566... | gpl-2.0 |
Pandafuchs/iLife | server/Classes/System/cDatabase.lua | 2 | 5037 | --[[
@Class Database
- Database management
---- Functions ------
CDatabase:excec(sQuery [, ...args])
Excecutes a Query without any result or callback. Use for one-way Querys.
CDatabase:query(sQuery [, ...args])
Excecutes a SQL-Query. You will get a Table as result.
]]
local using_localhost = true;
CDatabase = inhe... | mit |
WFoundation/WF.Cartridges | TimerTest/TimerTest.lua | 1 | 12798 | require "Wherigo"
ZonePoint = Wherigo.ZonePoint
Distance = Wherigo.Distance
Player = Wherigo.Player
-- String decode --
function _s621(str)
local res = ""
local dtable = "\021\001\084\014\098\024\047\008\051\087\003\096\111\061\054\058\022\005\095\090\086\100\012\112\081\080\063\076\064\027\115\070\048\038\089\06... | mit |
zhoushishang/Coc_Demo | src/cocos/framework/extends/UIPageView.lua | 57 | 1384 |
--[[
Copyright (c) 2011-2014 chukong-inc.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, di... | apache-2.0 |
nekrozar/ygopro-scripts | c51945556.lua | 4 | 1057 | --雷帝ザボルグ
function c51945556.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(51945556,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCondition(c5194... | gpl-2.0 |
hjsrzvpqma/test | plugins/cyclone.lua | 25 | 3749 | --An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 4 -- 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 |
fredericjoanis/crc-scoreboard | extern/premake/actions/make/make_solution.lua | 23 | 2363 | --
-- make_solution.lua
-- Generate a solution-level makefile.
-- Copyright (c) 2002-2009 Jason Perkins and the Premake project
--
function premake.make_solution(sln)
-- create a shortcut to the compiler interface
local cc = premake[_OPTIONS.cc]
-- build a list of supported target platforms that also includes ... | mit |
sami2448/m | plugins/music.lua | 12 | 2843 | --Shared @ThisIsArman And Coping-Shared channel @BlackHatchannel
do
-- Base search URL
local BASE_URL = 'http://pleer.com/mobile/search?q='
-- Base download URL
local BASE_DL_URL = 'http://pleer.com/mobile/files_mobile/'
local htmlparser = require 'htmlparser'
-- Provide download link
local fun... | gpl-2.0 |
nekrozar/ygopro-scripts | c4446672.lua | 4 | 1143 | --古代の機械爆弾
function c4446672.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c4446672.target)
e1:SetOperation(c4446672.activate)
c:Regi... | gpl-2.0 |
nekrozar/ygopro-scripts | c59965151.lua | 4 | 2032 | --デッド・ガードナー
function c59965151.initial_effect(c)
--change battle target
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(59965151,0))
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c59965151.cbcon)
e1:SetTarget(c59... | gpl-2.0 |
PAC3-Server/notagain | lua/notagain/jrpg/autorun/witcher_gateway.lua | 2 | 27439 | if (SERVER) then
AddCSLuaFile()
resource.AddWorkshop("727161410")
end
sound.Add({
name = "Witcher.Teleport",
channel = CHAN_STREAM,
volume = 1,
level = 75,
pitch = {100, 110},
sound = "portal/portal_teleport.wav"
})
sound.Add({
name = "Witcher.PortalOpen",
channel = CHAN_STREAM,
volume = 1,
level = 80,
p... | gpl-3.0 |
nekrozar/ygopro-scripts | c74839123.lua | 1 | 2123 | --デストーイ・サンクチュアリ
function c74839123.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c74839123.cost)
c:RegisterEffect(e1)
--add setcode
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_SZONE)
... | gpl-2.0 |
nekrozar/ygopro-scripts | c1200843.lua | 7 | 1735 | --八汰鏡
function c1200843.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(c1200843.target)
e1:SetOperation(c1200843.operation)
c:RegisterEffect(e1)
--spi... | gpl-2.0 |
nekrozar/ygopro-scripts | c10060427.lua | 2 | 4247 | --コアキメイル・ルークロード
function c10060427.initial_effect(c)
--cost
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c10... | gpl-2.0 |
nekrozar/ygopro-scripts | c61583217.lua | 2 | 2526 | --サイバネット・ユニバース
function c61583217.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--atkup
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:SetRange(LOCATION_FZONE)
... | gpl-2.0 |
nekrozar/ygopro-scripts | c17286057.lua | 4 | 3105 | --ヘリオス・トリス・メギストス
function c17286057.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:SetCondition(c17286057.hspcon)
e1:SetOperation(c17286057.hspop)
c:RegisterEf... | gpl-2.0 |
nekrozar/ygopro-scripts | c49121795.lua | 2 | 3199 | --重装甲列車アイアン・ヴォルフ
function c49121795.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_MACHINE),4,2)
c:EnableReviveLimit()
--direct attack
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(49121795,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_... | gpl-2.0 |
nekrozar/ygopro-scripts | c62472614.lua | 7 | 2569 | --疫病
function c62472614.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(c62472614.target)
e1:SetOperation(c62472614.operation)
c:RegisterEffect(e1)
--A... | gpl-2.0 |
atkd1890/interface2 | LinhTinh/zhenyuan.lua | 1 | 2357 | --cyberdemon--
local tbZhenYuan = Item:GetClass("zhenyuan");
local ATTRIB_COUNT = 4;
function tbZhenYuan:GetTip(nState, tbEnhRandMASS, tbEnhEnhMASS)
local szTip = "";
if Item.tbZhenYuan:GetEquiped(it) == 1 then
szTip = szTip.."<color=yellow>Đã hộ thể<color>\n\n";
else
szTip = szTip.."<color=yellow>Chưa hộ th... | mit |
ev1l0rd/yalnpv | dfhack/hack/scripts/fix/build-location.lua | 1 | 1319 | -- Lets constructions reconsider the build location.
-- Partial work-around for http://www.bay12games.com/dwarves/mantisbt/view.php?id=5991
--[[=begin
fix/build-location
==================
Fixes construction jobs that are stuck trying to build a wall while standing
on the same exact tile (:bug:`5991`), design... | mit |
nekrozar/ygopro-scripts | c51351302.lua | 9 | 1349 | --ウジャト眼を持つ男
function c51351302.initial_effect(c)
--confirm
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(51351302,0))
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c51351302.target)
e1:SetOperation(c513... | gpl-2.0 |
bencvt/FixGroups | modules/addonChannel.lua | 1 | 2852 | --- Handle exchanging addon messages with other players using WoW's
-- CHAT_MSG_ADDON channels.
local A, L = unpack(select(2, ...))
local M = A:NewModule("addonChannel", "AceEvent-3.0", "AceTimer-3.0")
A.addonChannel = M
M.private = {
broadcastVersionTimer = false,
newerVersion = false,
}
local R = M.private
local ... | mit |
nekrozar/ygopro-scripts | c5817857.lua | 2 | 2825 | --コアキメイル・グールズスレイブ
function c5817857.initial_effect(c)
--cost
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EVENT_PHASE+PHASE_END)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c5... | gpl-2.0 |
Domderon/spice-minions | minionmaster/enemy.lua | 1 | 1960 | local flux = require "smee.libs.flux"
local Unit = require "shared.unit"
local Enemy = Unit:subclass("Enemy")
local content = require "minionmaster.content"
local state = require "minionmaster.state"
local BehaviorTrees = require "minionmaster.behaviors.behaviortrees"
local BehaviorTree = require "smee.log... | mit |
dustine/AlienGoopCracking | migrations/AlienGoopCracking_1.2.0.lua | 1 | 1790 | local angelsbioprocessing = (game.entity_prototypes["algae-farm"] and game.item_prototypes["blue-cellulose-fiber"]) or nil
local angelsrefining = game.item_prototypes["angels-ore1-crushed"] or nil
local bobplates = (game.entity_prototypes["water-pump"] and game.item_prototypes["alien-blue-alloy"]) or nil
local bobenemi... | mit |
dtaht/cerowrt-luci-3.3 | applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-format.lua | 80 | 3636 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
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
h... | apache-2.0 |
modhunter/NerdPack | Libs/DiesalGUI-1.0/Objects/ScrollingEditBox.lua | 2 | 11106 | -- $Id: ScrollingEditBox.lua 53 2016-07-12 21:56:30Z diesal2010 $
local DiesalGUI = LibStub('DiesalGUI-1.0')
-- ~~| Libraries |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
local DiesalTools = LibStub('DiesalTools-1.0')
-- ... | mit |
dtaht/cerowrt-luci-3.3 | applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua | 78 | 1344 | --[[
Luci configuration model for statistics - collectd dns plugin configuration
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
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 a... | apache-2.0 |
finalsliver/supervillain-ui | SVUI_UnitFrames/libs/oUF/elements/leader.lua | 4 | 1241 | local parent, ns = ...
local oUF = ns.oUF
local Update = function(self, event)
local leader = self.Leader
if(leader.PreUpdate) then
leader:PreUpdate()
end
local unit = self.unit
local isLeader = (UnitInParty(unit) or UnitInRaid(unit)) and UnitIsGroupLeader(unit)
if(isLeader) then
leader:Show()
else
leade... | mit |
Pandafuchs/iLife | client/Quests/Scripts/34.lua | 2 | 2335 | local QuestID = 34
local Quest = Quests[QuestID]
local QuestFunctions = {}
local QuestElements = {}
--Set this true to lock this script.
local QuestLocked = false
--[[
ACCEPT TRIGGERS HERE
]]
-- ID: QuestID
-- State = Aktueller Queststatus
-- tblData = Zu übertragende Daten
local CallClientQuestScript = function(ID,... | mit |
nekrozar/ygopro-scripts | c40619741.lua | 4 | 1251 | --ヴァイロン・ソルジャー
function c40619741.initial_effect(c)
--pos
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(40619741,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetTarget(c4061... | gpl-2.0 |
nekrozar/ygopro-scripts | c38916526.lua | 1 | 2779 | --空牙団の英雄 ラファール
function c38916526.initial_effect(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(38916526,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:S... | gpl-2.0 |
nekrozar/ygopro-scripts | c83705073.lua | 3 | 1387 | --ワルキューレ・エルダ
function c83705073.initial_effect(c)
c:SetUniqueOnField(1,0,83705073)
--atk up
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCondition(c83705073.atkcon)
e1:SetOperation(c83705... | gpl-2.0 |
808dkaneohe/billard-darkrp | simple_darkrp_billard_pack/addons/darkrp_mod/lua/darkrp_customthings/jobs.lua | 1 | 14857 | --[[---------------------------------------------------------------------------
DarkRP custom jobs
---------------------------------------------------------------------------
This file contains your custom jobs.
This file should also contain jobs from DarkRP that you edited.
Note: If you want to edit a default DarkRP... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.