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 |
|---|---|---|---|---|---|
dtaht/cerowrt-luci-3.3 | modules/admin-full/luasrc/model/cbi/admin_network/network.lua | 19 | 2372 | --[[
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 |
kburk1997/My-ASD-Journey | App/Libs/RuntimeResources.bundle/ltn12.lua | 33 | 8589 | -----------------------------------------------------------------------------
-- LTN12 - Filters, sources, sinks and pumps.
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
------------------------------------------------------------------------... | apache-2.0 |
MNoya/DotaCraft | game/dota_addons/dotacraft/scripts/vscripts/libraries/modifiers/modifier_hex.lua | 1 | 1727 | modifier_hex_frog = class({})
function modifier_hex_frog:DeclareFunctions()
local funcs = {
MODIFIER_PROPERTY_MODEL_CHANGE,
MODIFIER_PROPERTY_MOVESPEED_BASE_OVERRIDE,
}
return funcs
end
function modifier_hex_frog:CheckState()
local state = {
[MODIFIER_STATE_DISARMED] = true,
... | gpl-3.0 |
nekrozar/ygopro-scripts | c42940404.lua | 4 | 3841 | --マシンナーズ・ギアフレーム
function c42940404.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(42940404,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c42940404.eqtg)
e1:SetOperati... | gpl-2.0 |
ETegro/OpenSAN | feeds/luci/modules/admin-full/luasrc/model/cbi/admin_system/processes.lua | 1 | 1494 | --[[
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... | gpl-3.0 |
LiXizhi/NPLRuntime | Server/trunk/LuaJIT-2.1/src/host/genminilua.lua | 47 | 12039 | ----------------------------------------------------------------------------
-- Lua script to generate a customized, minified version of Lua.
-- The resulting 'minilua' is used for the build process of LuaJIT.
----------------------------------------------------------------------------
-- Copyright (C) 2005-2017 Mike P... | gpl-2.0 |
mihailim/koreader | frontend/ui/rendertext.lua | 1 | 12381 | --[[--
Text rendering module.
]]
local bit = require("bit")
local Font = require("ui/font")
local Cache = require("cache")
local CacheItem = require("cacheitem")
local BlitBuffer = require("ffi/blitbuffer")
local Device = require("device")
local logger = require("logger")
local band = bit.band
local bor = bit.bor
loc... | agpl-3.0 |
nekrozar/ygopro-scripts | c31829185.lua | 2 | 3166 | --ダーク・ネクロフィア
function c31829185.initial_effect(c)
c:EnableReviveLimit()
--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(c31829185.spcon)
e1:SetOperation(c31829185.sp... | gpl-2.0 |
ETegro/OpenSAN | feeds/luci/contrib/luadoc/lua/luadoc/util.lua | 93 | 5826 | -------------------------------------------------------------------------------
-- General utilities.
-- @release $Id: util.lua,v 1.16 2008/02/17 06:42:51 jasonsantos Exp $
-------------------------------------------------------------------------------
local posix = require "nixio.fs"
local type, table, string, io, as... | gpl-3.0 |
fredericjoanis/crc-scoreboard | extern/premake/actions/vstudio/vs2012.lua | 14 | 1488 | --
-- vs2012.lua
-- Baseline support for Visual Studio 2012.
-- Copyright (c) 2013 Jason Perkins and the Premake project
--
premake.vstudio.vc2012 = {}
local vc2012 = premake.vstudio.vc2012
local vstudio = premake.vstudio
---
-- Register a command-line action for Visual Studio 2012.
---
newaction
{
trigger ... | mit |
Pandafuchs/iLife | server/Classes/Vehicle/cUserVehicle.lua | 2 | 37159 | UserVehicles = {}
UserVehiclesByPlayer = {}
CUserVehicle = inherit(CVehicle)
addEvent("onVehicleSwitchLock", true)
local player_sell_anfragen = {}
function CUserVehicle:constructor(iID,iOwnerID,iInt,iDim,iVID,sKoords,sColor,sTuning,sPlate,fFuel,fKM,iHealth,sHeadLights, iDirtLevel, sAbstellPos, iPaintJob, sSpezialT... | mit |
ld-test/lgi | samples/gtk-demo/demo-text-hypertext.lua | 6 | 4587 | return function(parent, dir)
local lgi = require 'lgi'
local Gtk = lgi.Gtk
local Gdk = lgi.Gdk
local Pango = lgi.Pango
local window = Gtk.Window {
title = "Hypertext",
default_width = 450,
default_height = 450,
Gtk.ScrolledWindow {
Gtk.TextView {
id = 'textview',
wrap_mode = 'WORD',
},
... | mit |
nekrozar/ygopro-scripts | c43262273.lua | 4 | 2355 | --紅蓮の指名者
function c43262273.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_TOHAND)
e1:SetCost(c43262273.cost)
e1:SetTarget(c43262273.target)
e1:SetOperation(c43262273.activate)
... | gpl-2.0 |
nekrozar/ygopro-scripts | c34160055.lua | 4 | 1207 | --龍炎剣の使い手
function c34160055.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(34160055,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c34160055.target)
e... | gpl-2.0 |
nekrozar/ygopro-scripts | c68001309.lua | 2 | 2034 | --サブテラーの激闘
function c68001309.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--atk up
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_UPDATE_ATTACK)
e2:SetRange(LOCATION_SZONE)
e2:... | gpl-2.0 |
nekrozar/ygopro-scripts | c17132130.lua | 2 | 3290 | --D-HERO ドグマガイ
function c17132130.initial_effect(c)
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
e1:SetValue(aux.FALSE)
c:RegisterEffect(e1)
--special summon
local e... | gpl-2.0 |
nekrozar/ygopro-scripts | c24643836.lua | 9 | 1253 | --おジャマジック
function c24643836.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(24643836,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCondition(c24643836.thcon)
e1:SetTarget(c24643... | gpl-2.0 |
nekrozar/ygopro-scripts | c4722253.lua | 4 | 2780 | --ライトレイ ギア・フリード
function c4722253.initial_effect(c)
c:EnableReviveLimit()
--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(c4722253.spcon)
c:RegisterEffect(e1)
--sps... | gpl-2.0 |
nekrozar/ygopro-scripts | c26268488.lua | 3 | 3281 | --聖珖神竜 スターダスト・シフル
function c26268488.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSynchroType,TYPE_SYNCHRO),aux.NonTuner(Card.IsSynchroType,TYPE_SYNCHRO),2)
c:EnableReviveLimit()
--cannot special summon
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT... | gpl-2.0 |
nekrozar/ygopro-scripts | c98431356.lua | 2 | 3327 | --幻影翼
function c98431356.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetCondition(c98431356.co... | gpl-2.0 |
mamaddeveloper/ultixxx | plugins/anit-flood.lua | 281 | 2422 | local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds
local TIME_CHECK = 5
local function kick_user(user_id, chat_id)
local chat = 'chat#id'..chat_id
local user = 'user#id'..user_id
chat_del_user(chat, user, function (data, success, result)
if success ~= 1 then
local text = 'I can\'t k... | gpl-2.0 |
nekrozar/ygopro-scripts | c84764038.lua | 2 | 3087 | --彼岸の悪鬼 スカラマリオン
function c84764038.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(c84764038.sdcon)
c:RegisterEffect(e1)
--Special Summon
local e... | gpl-2.0 |
jungikim/OpenNMT | onmt/evaluators/TranslationEvaluator.lua | 6 | 2940 | local TranslationEvaluator, parent = torch.class('TranslationEvaluator', 'Evaluator')
function TranslationEvaluator:__init(translatorOpt, dicts)
parent.__init(self)
self.translatorOpt = translatorOpt
self.dicts = dicts
end
function TranslationEvaluator:canSaveTranslation()
return true
end
function Translatio... | mit |
Pandafuchs/iLife | server/Classes/Quest/Scripts/14.lua | 2 | 1879 | local QuestID = 14
local Quest = Quests[QuestID]
Quest.Texts = {
["Accepted"] = "Gebe dem Priester den Antrag zur\ueck!",
["Finished"] = "Kehre zum Priester zur\ueck!"
}
addEventHandler("onClientCallsServerQuestScript", getRootElement(),
function(ID, Status, Data)
if (ID == QuestID) then
... | mit |
ETegro/OpenSAN | feeds/luci/libs/lucid-rpc/luasrc/lucid/rpc.lua | 52 | 1197 | --[[
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 re... | gpl-3.0 |
mihailim/koreader | spec/unit/opds_spec.lua | 8 | 23005 | local navigation_sample = [[
<?xml version="1.0" encoding="utf-8"?>
<!--
DON'T USE THIS PAGE FOR SCRAPING.
Seriously. You'll only get your IP blocked.
Download http://www.gutenberg.org/feeds/catalog.rdf.bz2 instead,
which contains *all* Project Gutenberg metadata in one RDF/XML file.
--><feed xmlns="http://www.w3.o... | agpl-3.0 |
MNoya/DotaCraft | game/dota_addons/dotacraft/scripts/vscripts/buildings/items.lua | 1 | 1287 | function ApplyConstructionEffect( event )
local ability = event.ability
local target = event.target
local race = GetUnitRace(target)
if race == "orc" then
target.construction_particle = ParticleManager:CreateParticle("particles/custom/construction_dust.vpcf", PATTACH_ABSORIGIN_FOLLOW, target)
elseif race ~= "h... | gpl-3.0 |
nekrozar/ygopro-scripts | c23205979.lua | 9 | 2895 | --魂を削る死霊
function c23205979.initial_effect(c)
--battle indestructable
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetValue(1)
c:RegisterEffect(e1)
--handes
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(23205979,0))
e2:SetCategory(... | gpl-2.0 |
nekrozar/ygopro-scripts | c40159926.lua | 2 | 2713 | --ミラー・リゾネーター
function c40159926.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(40159926,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND+LOCATION_GRAVE)
e1:SetCountLimit(1,40159926)
e1:SetCondition(c40159926... | gpl-2.0 |
Pandafuchs/iLife | server/Classes/Quest/Scripts/26.lua | 2 | 1803 | local QuestID = 26
local Quest = Quests[QuestID]
Quest.Texts = {
["Accepted"] = "Besorge eine Zeitung f\\uer die alte Dame!",
["Finished"] = "Du hast der alten Dame die Zeitung \\uebergeben!"
}
for k,v in ipairs(Quest:getPeds(2)) do
addEventHandler("onElementClicked", v,
function(button, state, thePlayer)
if ... | mit |
nekrozar/ygopro-scripts | c21522601.lua | 1 | 3805 | --ウィッチクラフトマスター・ヴェール
function c21522601.initial_effect(c)
--atk & def
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(21522601,0))
e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLim... | gpl-2.0 |
jsitnicki/rushit | vendor/github.com/justincormack/ljsyscall/syscall/netbsd/init.lua | 24 | 2111 | -- NetBSD init
-- This returns NetBSD types and constants (but no syscalls) under any OS.
-- Also returns util, which is a bit of a problem, as some of these will use syscalls
-- Currently used by kdump example to get NetBSD ktrace types
local require = require
local abi = require "syscall.abi"
local oldos, oldbsd ... | apache-2.0 |
vlc-mirror/vlc-2.1 | share/lua/modules/simplexml.lua | 103 | 3732 | --[==========================================================================[
simplexml.lua: Lua simple xml parser wrapper
--[==========================================================================[
Copyright (C) 2010 Antoine Cellerier
$Id$
Authors: Antoine Cellerier <dionoea at videolan dot org>
This progra... | lgpl-2.1 |
mamaddeveloper/ultixxx | plugins/anti-spam8.lua | 13 | 2433 | local NUM_MSG_MAX = 8 -- Max number of messages per TIME_CHECK seconds
local TIME_CHECK = 8
local function kick_user(user_id, chat_id)
local chat = 'chat#id'..chat_id
local user = 'user#id'..user_id
chat_del_user(chat, user, function (data, success, result)
if success ~= 1 then
local text = 'I can\'t k... | gpl-2.0 |
PAC3-Server/notagain | lua/notagain/pac_server/autorun/sitting_on_ground.lua | 2 | 2536 | if engine.ActiveGamemode() ~= "sandbox" then return end
local tag = "groundSit"
if SERVER then
concommand.Add("ground_sit", function(ply)
if not ply.LastSit or ply.LastSit < CurTime() then
ply:SetNWBool(tag, not ply:GetNWBool(tag))
ply.LastSit = CurTime() + 1
end
end)
end
local sitting = 0
if CLIENT then... | gpl-3.0 |
andreaskoepf/nn | WeightedMSECriterion.lua | 22 | 1259 | local WeightedMSECriterion, parent = torch.class('nn.WeightedMSECriterion','nn.MSECriterion')
function WeightedMSECriterion:__init(w)
parent.__init(self)
self.weight = w:clone()
end
function WeightedMSECriterion:updateOutput(input,target)
self.buffer = self.buffer or input.new()
self.buffer:resizeAs(input... | bsd-3-clause |
Hacksore/TSL | commands/misc.lua | 1 | 7328 | command.add("test", function(self, from, args)
if util.isNotMe(self.sid, from) then return false end
local _T = {
a = "one",
b = "testing",
c = {
d = "powa",
e = "test",
f = {
deeper = "yez"
}
}
}
PrintTable(_T)
end).addAlias("one", "two")
command.add("unfollow", function(self, from, ar... | mit |
hjsrzvpqma/test | plugins/wlc.lua | 3 | 3577 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
c... | gpl-2.0 |
ev1l0rd/yalnpv | dfhack/hack/lua/plugins/sort.lua | 3 | 1304 | local _ENV = mkmodule('plugins.sort')
local utils = require('utils')
local units = require('plugins.sort.units')
local items = require('plugins.sort.items')
orders = orders or {}
orders.units = units.orders
orders.items = items.orders
function parse_ordering_spec(type,...)
local group = orders[type]
... | mit |
ndronen/fbcunn | test/test_SparseNLLCriterion.lua | 8 | 3069 | -- Copyright 2004-present Facebook. All Rights Reserved.
-- Author: Michael Mathieu <myrhev@fb.com>
require 'fb.luaunit'
require 'cutorch'
require 'nn'
require 'fbcunn'
require 'fbnn'
local test_repeats = 5
local function test_finite_diff_gradInput(model, input, target)
local eps = 1e-3
local output = model:... | bsd-3-clause |
nekrozar/ygopro-scripts | c60675348.lua | 2 | 2767 | --ダイナミスト・ハウリング
function c60675348.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetOperation(c60675348.activate)
c:RegisterEffect(e1)
--return
local e2=Effect.CreateEffect(c)
e2:SetDescription(... | gpl-2.0 |
nekrozar/ygopro-scripts | c89792713.lua | 4 | 1651 | --極星宝レーヴァテイン
function c89792713.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:SetTarget(c89792713.target)
e1:SetOperation(c89792713.activate)
c:RegisterEffect... | gpl-2.0 |
nekrozar/ygopro-scripts | c96875080.lua | 6 | 1531 | --大気圏外射撃
function c96875080.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,TIMING_END_PHASE)
e1:SetCost(c96875080.cost)
e1:SetTarget(c96875080.... | gpl-2.0 |
Pandafuchs/iLife | client/Guis/World/ammunation.lua | 2 | 5686 | --[[
addEventHandler("onClientResourceStart", resourceRoot,
function()
end
)
addEventHandler("onClientRender", root,
function()
--------------dxDrawImage(0, 0, 500, 245, ":ilife/res/images/ammunation.png", 0, 0, 0, tocolor(255, 255, 255, 255), true)
--------------dxDrawRectangle(197, 6, 29... | mit |
nekrozar/ygopro-scripts | c86221741.lua | 1 | 2582 | --RR-アルティメット・ファルコン
function c86221741.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_WINDBEAST),10,3)
c:EnableReviveLimit()
--immune
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_IMMUNE_EFFECT)
e1:SetProperty(EFFECT_FLAG_SINGLE_RAN... | gpl-2.0 |
Audumla/audiot-nodemcu-firmware | tools/utils.lua | 48 | 11997 | -- Generic utility functions
module( ..., package.seeall )
local lfs = require "lfs"
local sf = string.format
-- Taken from Lake
dir_sep = package.config:sub( 1, 1 )
is_os_windows = dir_sep == '\\'
-- Converts a string with items separated by 'sep' into a table
string_to_table = function( s, sep )
if type( s ) ~= ... | mit |
nekrozar/ygopro-scripts | c14730606.lua | 2 | 1415 | --アイヴィ・シャックル
function c14730606.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--race
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_SZONE)
e2:SetTargetRange(0,LOCATION_MZONE)
... | gpl-2.0 |
finalsliver/supervillain-ui | SVUI_!Core/libs/AceConfig-3.0/AceConfigCmd-3.0/AceConfigCmd-3.0.lua | 15 | 23497 | --- AceConfigCmd-3.0 handles access to an options table through the "command line" interface via the ChatFrames.
-- @class file
-- @name AceConfigCmd-3.0
-- @release $Id: AceConfigCmd-3.0.lua 1161 2017-08-12 14:30:16Z funkydude $
--[[
AceConfigCmd-3.0
Handles commandline optionstable access
REQUIRES: AceConsole-3.0 ... | mit |
nekrozar/ygopro-scripts | c46874015.lua | 2 | 1655 | --六武衆推参!
function c46874015.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(c46874015.target)
e1:SetOperation(c46874015.activate)
c:RegisterEff... | gpl-2.0 |
JoshuaBrockschmidt/polaroidal | score.lua | 1 | 2113 | require "library"
score = {
numColor = {0, 0, 255, 255},
x = 50,
y = 40,
line = {
color = {100, 100, 255, 255},
w = 0,
h = 10,
speed = 0,
accel = 100,
maxSpeed = 150
}
}
local line = score.line
function score.load()
line.x = score.x
line.y = score.y + fonts.sc... | gpl-2.0 |
nekrozar/ygopro-scripts | c71341529.lua | 2 | 1318 | --インフェルニティ・ナイト
function c71341529.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(71341529,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCondition(c71341529.spcon)
e1:SetCost(c71... | gpl-2.0 |
nekrozar/ygopro-scripts | c43642620.lua | 9 | 1349 | --マンモス・ゾンビ
function c43642620.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(c43642620.sdcon)
c:RegisterEffect(e1)
--damage
local e2=Effect.Crea... | gpl-2.0 |
nekrozar/ygopro-scripts | c23297235.lua | 4 | 1211 | --フレムベル・ヘルドッグ
function c23297235.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(23297235,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTROYING)
e1:SetCondition(aux.bdogcon)
e1:SetTarg... | gpl-2.0 |
nekrozar/ygopro-scripts | c10736540.lua | 4 | 3431 | --湖の乙女ヴィヴィアン
function c10736540.initial_effect(c)
--synchro limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_CANNOT_BE_SYNCHRO_MATERIAL)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetValue(c10736540.synlimit)
c:RegisterEffect(e1)
--synchro material... | gpl-2.0 |
nekrozar/ygopro-scripts | c40164421.lua | 9 | 2902 | --ライトロード・メイデン ミネルバ
function c40164421.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(40164421,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c40164421.thtg)
e1:SetOp... | gpl-2.0 |
nekrozar/ygopro-scripts | c92035412.lua | 2 | 2255 | --ヴァイロン・エレメント
function c92035412.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--Search
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(92035412,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetTy... | gpl-2.0 |
nekrozar/ygopro-scripts | c5288597.lua | 2 | 2211 | --トランスターン
function c5288597.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:SetLabel(0)
e1:SetCountLimit(1,5288597)
e1:SetCost(c5288597.cost)
e1:SetTarget(c5288597.target)
e1:SetOperation(c528... | gpl-2.0 |
Domderon/spice-minions | libs/jumper/core/bheap.lua | 8 | 5040 | --- A light implementation of Binary heaps data structure.
-- While running a search, some search algorithms (Astar, Dijkstra, Jump Point Search) have to maintains
-- a list of nodes called __open list__. Retrieve from this list the lowest cost node can be quite slow,
-- as it normally requires to skim through the ful... | mit |
nekrozar/ygopro-scripts | c52158283.lua | 4 | 1406 | --先史遺産コロッサル・ヘッド
function c52158283.initial_effect(c)
--adchange
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(52158283,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_GRAVE)
e1:SetCountLimit(1,52158283)
e1:SetC... | gpl-2.0 |
mihailim/koreader | frontend/document/documentregistry.lua | 1 | 7112 | --[[--
This is a registry for document providers
]]--
local logger = require("logger")
local lfs = require("libs/libkoreader-lfs")
local util = require("util")
local DocumentRegistry = {
registry = {},
providers = {},
filetype_provider = {},
}
function DocumentRegistry:addProvider(extension, mimetype, pr... | agpl-3.0 |
nekrozar/ygopro-scripts | c57543573.lua | 4 | 2327 | --ワーム・イリダン
function c57543573.initial_effect(c)
c:EnableCounterPermit(0xf)
--add counter
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_MSET)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c57543573.accon1)
e1:SetOperation(c57543573.acop)
c:RegisterEffect(e1)... | gpl-2.0 |
nekrozar/ygopro-scripts | c83438826.lua | 2 | 4171 | --聖剣アロンダイト
function c83438826.initial_effect(c)
c:SetUniqueOnField(1,0,83438826)
--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(c83438826.target)
e1:SetOperation(c834388... | gpl-2.0 |
nekrozar/ygopro-scripts | c95238394.lua | 2 | 4102 | --雷龍融合
function c95238394.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TODECK+CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,95238394)
e1:SetTarget(c95238394.target)
e1:SetOperation(c9523839... | gpl-2.0 |
Lusito/premake | tests/base/test_table.lua | 18 | 1436 | --
-- tests/base/test_table.lua
-- Automated test suite for the new table functions.
-- Copyright (c) 2008-2013 Jason Perkins and the Premake project
--
local suite = test.declare("table")
local t
--
-- table.contains() tests
--
function suite.contains_OnContained()
t = { "one", "two", "three" }
test.istru... | bsd-3-clause |
nekrozar/ygopro-scripts | c48633301.lua | 1 | 2100 | --TG ブースタ・ラプトル
function c48633301.initial_effect(c)
--special summon rule
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,48633301)
e1:SetCondition(c48633301.sprcon)
c:RegisterEff... | gpl-2.0 |
nekrozar/ygopro-scripts | c24861088.lua | 4 | 2804 | --先史遺産ネブラ・ディスク
function c24861088.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(24861088,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCountLimit(1,24861088)
e1:SetTarget... | gpl-2.0 |
nekrozar/ygopro-scripts | c1825445.lua | 1 | 2321 | --超量合神-マグナフォーメーション
function c1825445.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:Se... | gpl-2.0 |
Pandafuchs/iLife | client/Quests/Scripts/38.lua | 2 | 2699 | local QuestID = 38
local Quest = Quests[QuestID]
local QuestFunctions = {}
local QuestElements = {}
--Set this true to lock this script.
local QuestLocked = false
--[[
ACCEPT TRIGGERS HERE
]]
-- ID: QuestID
-- State = Aktueler Queststatus
-- tblData = Zu übertragende Daten
local CallClientQuestScript = function(ID, ... | mit |
chrisJohn404/ljswitchboard-module_manager | lib/switchboard_modules/lua_script_debugger/premade_scripts_addresses/i2c/i2c_utils-min.lua | 2 | 3269 | --This performs a find_all function that detects and outputs all properly connected I2C Devices on the I2C Bus on EIO4(SCL) and EIO5(SDA)
I2C_Utils= {}
function I2C_Utils.configure(self, sda, scl, speed, options, slave, debug)--Returns nothing
self.sda = sda --FIO0:7 = 0:7, EIO0:7 = 8:15, CIO0:7 = 16:23
self.scl = ... | mit |
mcccclean/grig | script/main.lua | 1 | 4870 |
local paint
local oldprint = print
print = function(...)
local info = debug.getinfo(2)
local source = "[" .. info.source .. ":" .. info.currentline .. "]"
local line = ""
local join = ' '
for i, v in ipairs({...}) do
line = line .. join .. v
join = '\t'
end
grig.log.debug(source .. line)
end
local functio... | mit |
nekrozar/ygopro-scripts | c39897277.lua | 4 | 1663 | --エルフの光
function c39897277.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(c39897277.target)
e1:SetOperation(c39897277.operation)
c:RegisterEffect(e1)
... | gpl-2.0 |
nekrozar/ygopro-scripts | c90590303.lua | 2 | 2325 | --No.41 泥睡魔獣バグースカ
function c90590303.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--maintain
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EVENT_PHASE+PHASE_... | gpl-2.0 |
Domderon/spice-minions | smee/logic/blocking.lua | 2 | 8311 | local Grid = require "libs.jumper.grid"
local Pathfinder = require "libs.jumper.pathfinder"
local floor = math.floor
local WALKABLE = 0
local BLOCKED = 1
local blocking = {
map = false,
grid = false,
}
function blocking.setMap(map)
assert(type(map) == "table", "a map please")
if blocking.map == map... | mit |
finalsliver/supervillain-ui | SVUI_UnitFrames/libs/Plugins/oUF_RaidDebuffs/oUF_RaidDebuffs.lua | 3 | 8920 | --GLOBAL NAMESPACE
local _G = _G;
--LUA
local unpack = _G.unpack;
local select = _G.select;
local assert = _G.assert;
local error = _G.error;
local print = _G.print;
local pairs = _G.pairs;
local next = _G.next;
local tostring = _G.tostring;
local type = _G.... | mit |
jsitnicki/rushit | vendor/github.com/justincormack/ljsyscall/syscall/linux/util.lua | 2 | 10031 | -- misc utils
-- aim is to move a lot of stuff that is not strictly syscalls out of main code to modularise better
-- most code here is man(1) or man(3) or misc helpers for common tasks.
-- TODO rework so that items can be methods on fd again, for eventfd, timerfd, signalfd and tty
local require, error, assert, tonu... | apache-2.0 |
nekrozar/ygopro-scripts | c91718579.lua | 2 | 3308 | --ゴゴゴアリステラ&デクシア
function c91718579.initial_effect(c)
--untargetable
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(0,LOCATION_MZONE)
e1:SetCondition(c91718579.tgcon)
e1:SetValue(c91718579.atlimit)
c:Regi... | gpl-2.0 |
kingbuffalo/prototype_code | cpp/ejoy2d_note/ejoy2d/particle.lua | 22 | 3315 | local debug = debug
local ej = require "ejoy2d"
local c = require "ejoy2d.particle.c"
local shader = require "ejoy2d.shader"
local pack = require "ejoy2d.simplepackage"
local fw = require "ejoy2d.framework"
local matrix = require "ejoy2d.matrix"
local math = require "math"
local particle_configs = {}
local particle_gr... | mit |
mihailim/koreader | frontend/ui/plugin/switch_plugin.lua | 9 | 3125 | --[[--
SwitchPlugin creates a plugin with a switch to enable or disable it.
See spec/unit/switch_plugin_spec.lua for the usage.
]]
local ConfirmBox = require("ui/widget/confirmbox")
local DataStorage = require("datastorage")
local LuaSettings = require("luasettings")
local UIManager = require("ui/uimanager")
local Wid... | agpl-3.0 |
nekrozar/ygopro-scripts | c41722932.lua | 9 | 1352 | --ダーク・ジェノサイド・カッター
function c41722932.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c41722932.condition)
e1:SetTarget(c41722932.target)
e1:SetOpera... | gpl-2.0 |
nekrozar/ygopro-scripts | c87116928.lua | 3 | 1490 | --キメラテック・メガフリート・ドラゴン
function c87116928.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFunFunRep(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0x1093),c87116928.matfilter,1,63,true)
aux.AddContactFusionProcedure(c,c87116928.cfilter,LOCATION_MZONE,LOCATION_MZONE,c87116928.sprop(c))
--sps... | gpl-2.0 |
nekrozar/ygopro-scripts | c45072394.lua | 1 | 2564 | --鉄の檻
function c45072394.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,45072394+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c45072394.target)
e1:SetOperation(c45072394.operation)
c:RegisterEffect(e1)
--special summon
loca... | gpl-2.0 |
nekrozar/ygopro-scripts | c50260683.lua | 2 | 3223 | --No.36 先史遺産-超機関フォーク=ヒューク
function c50260683.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x70),4,2)
c:EnableReviveLimit()
--atkdown
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(50260683,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE... | gpl-2.0 |
nekrozar/ygopro-scripts | c78845026.lua | 4 | 1211 | --ライトニング・チューン
function c78845026.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c78845026.target)
e1:SetOperation(c78845026.activate)
c:RegisterEff... | gpl-2.0 |
nekrozar/ygopro-scripts | c74137509.lua | 2 | 1295 | --天使のサイコロ
function c74137509.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetCondition(c74137509.condition)
e1:SetTarg... | gpl-2.0 |
nekrozar/ygopro-scripts | c21770260.lua | 7 | 1913 | --スライム増殖炉
function c21770260.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--token
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(21770260,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
e2:SetType(EF... | gpl-2.0 |
nekrozar/ygopro-scripts | c1799464.lua | 1 | 1613 | --トランシケーダ
function c1799464.initial_effect(c)
--spsummon token
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(1799464,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_DELAY... | gpl-2.0 |
nekrozar/ygopro-scripts | c73018302.lua | 6 | 1731 | --黒羽を狩る者
function c73018302.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(73018302,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetCondition(c73018302.descon)
e1:SetCost(... | gpl-2.0 |
nekrozar/ygopro-scripts | c48800175.lua | 6 | 1227 | --ドラゴン・目覚めの旋律
function c48800175.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(c48800175.cost)
e1:SetTarget(c48800175.target)
e1:SetOperation(c48800175.activate)
c:RegisterEff... | gpl-2.0 |
Alkorin/nodemcu-firmware | app/cjson/lua/cjson/util.lua | 170 | 6837 | local json = require "cjson"
-- Various common routines used by the Lua CJSON package
--
-- Mark Pulford <mark@kyne.com.au>
-- Determine with a Lua table can be treated as an array.
-- Explicitly returns "not an array" for very sparse arrays.
-- Returns:
-- -1 Not an array
-- 0 Empty table
-- >0 Highest index ... | mit |
dtaht/cerowrt-luci-3.3 | applications/luci-radvd/luasrc/model/cbi/radvd/prefix.lua | 4 | 4398 | --[[
LuCI - Lua Configuration Interface
Copyright 2010 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
$Id$
]]--
lo... | apache-2.0 |
dtaht/cerowrt-luci-3.3 | libs/web/luasrc/template.lua | 10 | 3134 | --[[
LuCI - Template Parser
Description:
A template parser supporting includes, translations, Lua code blocks
and more. It can be used either as a compiler or as an interpreter.
FileId: $Id$
License:
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you... | apache-2.0 |
nekrozar/ygopro-scripts | c33198837.lua | 4 | 1630 | --ナチュル・ビースト
function c33198837.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,c33198837.synfilter,aux.NonTuner(c33198837.synfilter),1)
c:EnableReviveLimit()
--negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(33198837,0))
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetT... | gpl-2.0 |
nekrozar/ygopro-scripts | c95515060.lua | 4 | 2709 | --静寂のロッド-ケースト
function c95515060.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(c95515060.target)
e1:SetOperation(c95515060.operation)
c:RegisterEffect... | gpl-2.0 |
nekrozar/ygopro-scripts | c60551528.lua | 1 | 4582 | --インフェルノイド・シャイターン
function c60551528.initial_effect(c)
c:EnableReviveLimit()
--special summon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
c:RegisterEffect(e1)
--special summon
lo... | gpl-2.0 |
hakelimopu/CoronaSDKDev | love2d/sandbox/Handler/Event.lua | 1 | 9286 | local EventHandler = {}
local MessageId = require("Message.Id")
local Message = require("Message.Base")
local MessageHandler = require("Handler.Message")
local ResizeMessage = require("Message.Resize")
local KeyMessage = require("Message.Key")
local MouseMessage = require("Message.Mouse")
local TouchMessage = require("... | gpl-2.0 |
nekrozar/ygopro-scripts | c71786742.lua | 2 | 1818 | --ギアギアーノ
function c71786742.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c71786742.cost)
e1:SetTarget(c71786742.target)
e1:SetOperation(c717867... | gpl-2.0 |
nekrozar/ygopro-scripts | c45644898.lua | 2 | 3079 | --青き眼の祭司
function c45644898.initial_effect(c)
--tohand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(45644898,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c45644898.... | gpl-2.0 |
nekrozar/ygopro-scripts | c94253609.lua | 9 | 1109 | --エレメンタル・アブソーバー
function c94253609.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c94253609.cost)
c:RegisterEffect(e1)
--cannot attack
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_A... | gpl-2.0 |
nekrozar/ygopro-scripts | c50896944.lua | 4 | 1089 | --暗黒ブラキ
function c50896944.initial_effect(c)
--pos
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(50896944,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c50896944.po... | gpl-2.0 |
nekrozar/ygopro-scripts | c12451640.lua | 4 | 2971 | --フロント・オブザーバー
function c12451640.initial_effect(c)
--tohand
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetOperation(c12451640.regop)
c:RegisterEffect(e1)
end
function c12451640.regop(e,tp,eg,... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.