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 |
|---|---|---|---|---|---|
anshkumar/yugioh-glaze | assets/script/c93483212.lua | 3 | 3833 | --極神聖帝オーディン
function c93483212.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,c93483212.tfilter,aux.NonTuner(nil),2)
c:EnableReviveLimit()
--disable
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(93483212,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCount... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c98637386.lua | 5 | 1443 | --ゴヨウ・プレデター
function c98637386.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(98637386,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetCode(EVENT_BATTLE_DESTROYING)
e1:... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c21558682.lua | 3 | 2162 | --ディフェンド・スライム
function c21558682.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_BATTLE_START)
e1:SetTarget(c21558682.atktg1)
e1:SetOperation(c21558682.atkop)
c:RegisterEffect(e1)
--change target
local e2=Effe... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c50474354.lua | 9 | 1915 | --武神器-ヤサカニ
function c50474354.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(50474354,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,50474354)
e1:SetCondition(c50474354.condition)
e1:S... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c66127916.lua | 3 | 1860 | --融合準備
function c66127916.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c66127916.target)
e1:SetOperation(c66127916.activate)
c:RegisterEffect(e1)
end
f... | gpl-2.0 |
kiarash14/bumper1 | bot/seedbot.lua | 1 | 8667 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '1.0'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
retu... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c64238008.lua | 7 | 1771 | --リニアキャノン
function c64238008.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c64238008.cost)
e1:SetTarget(c64238008.target)
e1:SetOperation(c64238008.a... | gpl-2.0 |
WAKAMAZU/sile_fe | lua-libraries/std/strbuf.lua | 6 | 1203 | --[[--
String buffers.
@classmod std.strbuf
]]
local Object = require "std.object"
--- Add a string to a buffer.
-- @tparam string s string to add
-- @treturn std.strbuf modified buffer
local function concat (self, s)
table.insert (self, s)
return self
end
--- Convert a buffer to a string.
-- @treturn strin... | mit |
fmidev/himan | himan-scripts/nearby-weather.lua | 1 | 11995 | function max (...)
maxindex = 0
maxvalue = 0
local arg = {...}
for i,v in ipairs(arg) do
if (v > maxvalue) then
maxindex = i
maxvalue = v
end
end
return maxindex, maxvalue
end
--Main program
--
local Missing = missing
--Get the weather number
local w = luatool:FetchInfo(current_tim... | mit |
madmanteam/vlc | share/lua/meta/art/00_musicbrainz.lua | 71 | 3091 | --[[
Gets an artwork from the Cover Art Archive or Amazon
$Id$
Copyright © 2007-2010 the VideoLAN team
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at ... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c41855169.lua | 5 | 1606 | --昇霊術師 ジョウゲン
function c41855169.initial_effect(c)
--disable spsummon
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_CANNOT_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetTargetRange(1,1)
c:RegisterEffect(e1)
--destroy
local e2=Effec... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c37412656.lua | 3 | 1607 | --ヒーロー・ブラスト
function c37412656.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,0x1e0)
e1:SetTarget(c37412656.target)
e1:SetOpera... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c86474024.lua | 3 | 1283 | --共同戦線
function c86474024.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c86474024.condition)
e1:SetTarget(c86474024.target)
e1:SetOperation(c86474024.activate)
c:RegisterE... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c75560629.lua | 7 | 2787 | --フリント
function c75560629.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(c75560629.target)
e1:SetOperation(c75560629.operation)
c:RegisterEffect(e1)
-... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c74069667.lua | 3 | 4679 | --DDD壊薙王アビス・ラグナロク
function c74069667.initial_effect(c)
--pendulum summon
aux.AddPendulumProcedure(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--spsummon
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c73001017.lua | 7 | 1761 | --シルフィード
function c73001017.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(c73001017.spcon)
e1:SetOperation(c73001017.spop)
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c10000030.lua | 3 | 3071 | --マジマジ☆マジシャンギャル
function c10000030.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_SPELLCASTER),6,2)
c:EnableReviveLimit()
--effect
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(10000030,1))
e1:SetCategory(CATEGORY_CONTROL)
e1:SetType(EFFECT_TYPE_IGN... | gpl-2.0 |
Arashbrsh/kings-BOT | plugins/groupmanager.lua | 8 | 11449 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if not is_admin(msg) then
return "Hi For Creating Group You Have To Pay 2000 Tomans\nEACH MONTH\nFor Order Group Join↙️\nhttps://telegram.... | gpl-2.0 |
zwhfly/openwrt-luci | libs/nixio/lua/nixio/util.lua | 179 | 5824 | --[[
nixio - Linux I/O library for lua
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... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c88305978.lua | 3 | 2057 | --BF-陽炎のカーム
function c88305978.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(88305978,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetRange(LOCATION_GRAVE)
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c42110604.lua | 3 | 2134 | --HSRチャンバライダー
function c42110604.initial_effect(c)
c:SetSPSummonOnce(42110604)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--extra attack
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_EXTRA_ATTACK)
e1:SetValue(1)
c:RegisterEffect... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c5908650.lua | 3 | 1968 | --幻奏の音姫ローリイット・フランソワ
function c5908650.initial_effect(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(5908650,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(c59086... | gpl-2.0 |
adan830/UpAndAway | code/prefabs/turf_test.lua | 2 | 3479 | BindGlobal()
require "prefabutil"
local CFG = TUNING.UPANDAWAY
local new_tiles = CFG.NEW_TILES
local function test_ground(inst, pt)
return GetGroundTypeAtPosition(pt) ~= GROUND.IMPASSABLE
end
local function ondeploy(inst, pt, deployer)
if deployer and deployer.SoundEmitter then
deployer.SoundEmitt... | gpl-2.0 |
johnparker007/mame | 3rdparty/genie/src/actions/vstudio/vs2019.lua | 26 | 1736 | --
-- vs2015.lua
-- Baseline support for Visual Studio 2019.
--
premake.vstudio.vc2019 = {}
local vc2019 = premake.vstudio.vc2019
local vstudio = premake.vstudio
---
-- Register a command-line action for Visual Studio 2019.
---
newaction
{
trigger = "vs2019",
shortname = "Visual Studio 2019",... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c11961740.lua | 3 | 1739 | --タイムカプセル
function c11961740.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c11961740.target)
e1:SetOperation(c11961740.activate)
c:RegisterEffect(e1)
end
function c11961740.target(e,tp,eg,ep... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c57902193.lua | 5 | 1313 | --苦渋の転生
function c57902193.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1)
e1:SetTarget(c57902193.target)
e1:SetOperation(c57902193.activate)
c:RegisterEffect(e1)
end
function c5790219... | gpl-2.0 |
dwing4g/jane | tool/luainspect/compat_env.lua | 5 | 13632 | --[[
compat_env v$(_VERSION) - Lua 5.1/5.2 environment compatibility functions
SYNOPSIS
-- Get load/loadfile compatibility functions only if using 5.1.
local CL = pcall(load, '') and _G or require 'compat_env'
local load = CL.load
local loadfile = CL.loadfile
-- The following now works in both Lua... | lgpl-3.0 |
Tiger66639/premake-core | tests/testfx.lua | 1 | 10190 | --
-- tests/testfx.lua
-- Automated test framework for Premake.
-- Copyright (c) 2008-2015 Jason Perkins and the Premake project
--
local p = premake
--
-- Define a namespace for the testing functions
--
test = {}
test.suppressed = {}
--
-- Capture stderr for testing.
--
local stderr_capture = nil
local mt... | bsd-3-clause |
MadkaT182/DDR3rdMix | Graphics/Player combo/default.lua | 3 | 1660 | local c;
local player = Var "Player";
local ShowComboAt = THEME:GetMetric("Combo", "ShowComboAt");
local Pulse = THEME:GetMetric("Combo", "PulseCommand");
local PulseLabel = THEME:GetMetric("Combo", "PulseLabelCommand");
local NumberMinZoom = THEME:GetMetric("Combo", "NumberMinZoom");
local NumberMaxZoom = THEME:GetMe... | gpl-3.0 |
anshkumar/yugioh-glaze | assets/script/c4807253.lua | 3 | 2623 | --Emフレイム・イーター
function c4807253.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_CHAINING)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(aux.damcon1)
e1:SetTarget(c4807253.sptg)
e1:SetOperation(c4807253.spop)
c:R... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c73018302.lua | 3 | 1754 | --黒羽を狩る者
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 |
shirat74/sile | languages/ga.lua | 4 | 62044 | SILE.hyphenator.languages["ga"] = {};
SILE.hyphenator.languages["ga"].patterns =
{
".ab4ai",
".ab6ar",
".ab5r",
".ac6ad",
".ach6ar",
".ad6aim",
".ad6am",
".ae5n",
".ag6ar",
".agh4a",
".ag4ó",
".ag5r",
".ag6úi",
".ai6c5",
".ail6te",
".ain3g4",
".ain6te.",
".ain6t5ín",
".air6ní",
".ais3",
".aist4",
".ais6te.",
".aí4",
".... | mit |
zwhfly/openwrt-luci | applications/luci-radvd/luasrc/model/cbi/radvd/interface.lua | 78 | 7996 | --[[
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 |
anshkumar/yugioh-glaze | assets/script/c97024987.lua | 3 | 1907 | --イグナイト・ドラグノフ
function c97024987.initial_effect(c)
--pendulum summon
aux.AddPendulumProcedure(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--tohand
local e2=Effect.CreateEffect(c)
e2:SetCategory(CATEGORY_DESTROY+CATEGORY_TOHAN... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c71408082.lua | 3 | 2075 | --黒竜の聖騎士
function c71408082.initial_effect(c)
c:EnableReviveLimit()
--destroy
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_BATTLE_START)
e1:SetCondition(c71408082.descon)
e1:SetTarget(c71408082.destg)
e1:SetOperation(c714... | gpl-2.0 |
freifunk-gluon/luci | contrib/luadoc/lua/luadoc/taglet/standard.lua | 93 | 16319 | -------------------------------------------------------------------------------
-- @release $Id: standard.lua,v 1.39 2007/12/21 17:50:48 tomas Exp $
-------------------------------------------------------------------------------
local assert, pairs, tostring, type = assert, pairs, tostring, type
local io = require "io... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c50920465.lua | 3 | 2025 | --ブリザード・サンダーバード
function c50920465.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(50920465,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,50920465)
e1:SetCost(c50920465.cost)
e1:SetTarget(c... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c6544078.lua | 9 | 1112 | --伊弉凪
function c6544078.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(6544078,0))
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_SPSUMMON_PROC)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c6544078.spcon)
e1:SetOperation(... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c89893715.lua | 3 | 1142 | --ラヴァルの炎車回し
function c89893715.initial_effect(c)
--to grave
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(89893715,0))
e1:SetCategory(CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c89893715.condition)
e1:SetTarget(c8989... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c73026394.lua | 5 | 1151 | --フュージョン・ガード
function c73026394.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_TOGRAVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c73026394.condition)
e1:SetTarget(c73026394.target)
e1:SetOperation(c73026394.activate)
c:Reg... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c98229575.lua | 5 | 1966 | --U.A.フィールドゼネラル
function c98229575.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,98229575)
e1:SetCondition(c98229575.spcon)
e1:SetOperation(c9... | gpl-2.0 |
dinodeck/rpg_dialog_script | dialog_runner/code/ActorXPSummary.lua | 4 | 3729 |
ActorXPSummary = {}
ActorXPSummary.__index = ActorXPSummary
function ActorXPSummary:Create(actor, layout, layoutId)
local this =
{
mActor = actor,
mLayout = layout,
mId = layoutId,
mXPBar = ProgressBar:Create
{
value = actor.mXP,
maximum = actor.... | mit |
zhaoxin54430/zhaoxin_test | src_luci/applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/network.lua | 53 | 2738 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("Network Plugin Configuration"),
translate(
"The network plugin provides network based communication between " ..
"different collectd instances. Coll... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c4906301.lua | 3 | 1221 | --ネクロ・ガードナー
function c4906301.initial_effect(c)
--disable attack
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(4906301,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_ATTACK)
e1:SetRange(LOCATION_GRAVE)
e1:SetCondition(c4906301.condition)
e1:SetCost(c... | gpl-2.0 |
trakk/fdb | fns.lua | 1 | 2840 | -- fdb: streamlined cli budget management
-- Copyright (C) 2014 - 2015 David Ulrich
--
-- This program is free software: you can redistribute it and/or modify
-- it under the terms of the GNU Affero General Public License as published
-- by the Free Software Foundation, version 3 of the License.
--
-- This program i... | agpl-3.0 |
dinodeck/rpg_dialog_script | dialog_runner/code/Selection.lua | 2 | 5604 |
Selection = {}
Selection.__index = Selection
function Selection:Create(params)
local this =
{
mX = 0,
mY = 0,
mDataSource = params.data,
mColumns = params.columns or 1,
mFocusX = 1,
mFocusY = 1,
mSpacingY = params.spacingY or 24,
mS... | mit |
WAKAMAZU/sile_fe | languages/fr.lua | 3 | 19085 | SILE.hyphenator.languages["fr"] = {};
SILE.hyphenator.languages["fr"].patterns =
{
---------------------%-----------------------%
-- phonetic patterns % etymological patterns %
---------------------%-----------------------%
----*
"2'2",
---------------------%-----------------------%
-- phonetic patterns % etymological ... | mit |
anshkumar/yugioh-glaze | assets/script/c4861205.lua | 7 | 1510 | --ミイラの呼び声
function c4861205.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(4861205,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:Set... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c60930169.lua | 3 | 2165 | --ブロークン・ブロッカー
function c60930169.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c60930169.condition)
e1:SetTarget(c60930169.target)
e1:SetOperation(c60930169.activate)
c:Reg... | gpl-2.0 |
zhaoxin54430/zhaoxin_test | src_luci/protocols/luci-proto-ppp/luasrc/model/cbi/admin_network/proto_l2tp.lua | 17 | 1665 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local server, username, password
local ipv6, defaultroute, metric, peerdns, dns, mtu
server = section:taboption("general", Value, "server", translate("L2TP Server"))
server.datat... | gpl-2.0 |
Zhu-Zhi-Hao/Droid_Ettercap | src/lua/share/third-party/stdlib/src/mbox.lua | 12 | 1370 | --- mbox parser.
-- Based on code by Diego Nahab.
local function headers (s)
local header = {}
s = "\n" .. s .. "$$$:\n"
local i, j = 1, 1
while true do
j = string.find (s, "\n%S-:", i + 1)
if not j then
break
end
local _, _, name, val = string.find (string.sub (s, i + 1, j - 1),
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/single/QB020.lua | 1 | 1603 | --wcs2011-06
Debug.SetAIName("高性能电子头脑")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)
Debug.SetPlayerInfo(0,1000,0,0)
Debug.SetPlayerInfo(1,13600,0,0)
Debug.AddCard(81254059,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(81254059,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(57543573,0,0,LOCAT... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c44394295.lua | 3 | 3770 | --影依融合
function c44394295.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCountLimit(1,44394295+EFFECT_COUNT_CODE_OATH)
e1:SetTarget(c44394295.target)
e1:SetOperation(c44394295.activate)
c:R... | gpl-2.0 |
zwhfly/openwrt-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... | apache-2.0 |
freifunk-gluon/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... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c23535429.lua | 3 | 1252 | --牙城のガーディアン
function c23535429.initial_effect(c)
--defup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(23535429,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetRange(LOCATION_HAND)
e1:SetProperty(EFF... | gpl-2.0 |
shirat74/sile | lua-libraries/repl/plugins/pretty_print.lua | 6 | 6597 | -- Copyright (c) 2011-2014 Rob Hoelz <rob@hoelz.ro>
--
-- 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,... | mit |
anshkumar/yugioh-glaze | assets/single/QB011.lua | 1 | 1152 | --wcs2011-02
Debug.SetAIName("高性能电子头脑")
Debug.ReloadFieldBegin(DUEL_ATTACK_FIRST_TURN+DUEL_SIMPLE_AI)
Debug.SetPlayerInfo(0,100,0,0)
Debug.SetPlayerInfo(1,9300,0,0)
Debug.AddCard(1353770,0,0,LOCATION_DECK,0,POS_FACEDOWN)
Debug.AddCard(74968065,0,0,LOCATION_HAND,0,POS_FACEDOWN)
Debug.AddCard(77527210,0,0,LOCATION... | gpl-2.0 |
MmxBoy/mmx-anti | plugins/banhammer.lua | 294 | 10470 | local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id)... | gpl-2.0 |
ld-test/chronos | update_rockspec.lua | 2 | 2435 | #!/usr/bin/env lua
print("enter a new version:")
version = string.match(io.read(), "v?([%d]+.[%d]+-[%d]+)")
assert(version ~= nil)
rockspec = {
package = "chronos",
version = version,
source = {
url = "https://github.com/ldrumm/chronos/archive/v" .. version .. ".zip",
dir= "chronos-" .. ver... | mit |
aliafshar250/tele7 | plugins/ins.lua | 1 | 1211 | local Arian = 117625029
local function action_by_reply(extra, success, result)
local hash = 'rank:variables'
local text = ''
local value = redis:hget(hash, result.from.id)
if not value then
if result.from.id == tonumber(Arian) then
text = text..'این بابامه\n\n'
elseif is_admin2(... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c82052602.lua | 3 | 2398 | --ガガガバック
function c82052602.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:SetCondition(c82052602.condition)
e1:SetTarget(c82052602.target)
e1:SetOperation... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c87043568.lua | 5 | 3017 | --アサルト・スピリッツ
function c87043568.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c87043568.target)
e1:SetOperation(c87043568.operation)
c:RegisterEffect(... | gpl-2.0 |
adan830/UpAndAway | wicker/init/kernel_components/import_essentials.lua | 5 | 5618 | --[[
Copyright (C) 2013 simplex
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that ... | gpl-2.0 |
m-a-hicks/Simulacrum | Resources/Lua/ResourceTemplate.lua | 1 | 1452 | --==============================================================================
------------------------- Generic Resource Template ----------------------------
--==============================================================================
-- Clear and Initialise the resource (called at creation)
-- No return value... | lgpl-3.0 |
BenWhitehead/dcos | packages/adminrouter/extra/src/lib/cache.lua | 2 | 23286 | local cjson_safe = require "cjson.safe"
local shmlock = require "resty.lock"
local http = require "resty.http"
local resolver = require "resty.resolver"
local util = require "util"
-- In order to make caching code testable, these constants need to be
-- configurable/exposed through env vars.
--
-- Values assigned to t... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c67616300.lua | 3 | 3631 | --チキンレース
function c67616300.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--change damage
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LOCATION_FZONE)
e2:SetCode(EFFECT_CHANGE_DAMAGE)... | gpl-2.0 |
adan830/UpAndAway | code/brains/rambrain.lua | 2 | 2889 | BindGlobal()
local CFG = TheMod:GetConfig()
require "behaviours/wander"
require "behaviours/runaway"
require "behaviours/doaction"
require "behaviours/panic"
require "behaviours/chaseandram"
require "behaviours/chaseandattack"
local RamBrain = Class(Brain, function(self, inst)
Brain._ctor(self, inst)
end)
local... | gpl-2.0 |
Arashbrsh/kings-BOT | 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 |
WAKAMAZU/sile_fe | packages/features.lua | 3 | 5434 | local opentype = { -- Mapping of opentype features to friendly names
Ligatures = {
Required = "rlig", Common = "liga", Contextual = "clig",
Rare = "dlig", Discretionary = "dlig", Historic = "hlig"
},
Fractions = { On = "frac", Alternate = "afrc" },
StylisticSet = function(i) return string.format("ss%02i... | mit |
anshkumar/yugioh-glaze | assets/script/c2732323.lua | 3 | 1301 | --デコイドラゴン
function c2732323.initial_effect(c)
--change battle target
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(2732323,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c47017574.lua | 3 | 2957 | --CNo.92 偽骸虚龍 Heart-eartH Chaos Dragon
function c47017574.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,10,4)
c:EnableReviveLimit()
--battle
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetValue(1)
c:RegisterEffect(e1)
--recover
local e... | gpl-2.0 |
zvinlong/google-diff-match-patch | lua/diff_match_patch.lua | 265 | 73869 | --[[
* Diff Match and Patch
*
* Copyright 2006 Google Inc.
* http://code.google.com/p/google-diff-match-patch/
*
* Based on the JavaScript implementation by Neil Fraser.
* Ported to Lua by Duncan Cross.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance ... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c78910579.lua | 7 | 1546 | --儀水鏡の反魂術
function c78910579.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(c78910579.target)
e1:SetOperation(c78910579.activate)
c:RegisterEffect(e1)... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c62701967.lua | 5 | 1529 | --ジュラック・ティラヌス
function c62701967.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(62701967,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetLabel(500)
e1:SetCost(c62701967.atkcost)
e1:SetOperation(c62701967.operati... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c35638627.lua | 3 | 1610 | --ワーム・ウォーロード
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 |
astog/cqui | Assets/UI/Panels/notificationpanel.lua | 4 | 77128 | -- ===========================================================================
-- Notification Panel
-- ===========================================================================
include( "ToolTipHelper" );
include( "InstanceManager" );
-- ===========================================================================... | mit |
anshkumar/yugioh-glaze | assets/script/c66235877.lua | 6 | 1222 | --デス・デーモン・ドラゴン
function c66235877.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCode2(c,93220472,16475472,false,false)
--disable
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_DISABLE)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(LOCATION_MZONE,LOC... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c52068432.lua | 3 | 3326 | --トリシューラの影霊衣
function c52068432.initial_effect(c)
c:EnableReviveLimit()
--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.ritlimit)
c:RegisterEffe... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c22653490.lua | 5 | 2605 | --電光千鳥
function c22653490.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_WIND),4,2)
c:EnableReviveLimit()
--return to deck
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(22653490,0))
e1:SetCategory(CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_SI... | gpl-2.0 |
adan830/UpAndAway | code/actions.lua | 2 | 2873 | BindGlobal()
local ACTIONS = ACTIONS
BindTheMod()
ACTIONS.DEPLOY.strfn = (function()
local oldfn = ACTIONS.DEPLOY.strfn
return function(act)
if act.invobject and act.invobject:HasTag("portable_structure") then
return "PORTABLE_STRUCTURE"
else
return oldfn(act)
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c70902743.lua | 3 | 3078 | --レッド・デーモンズ・ドラゴン
function c70902743.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--destroy1
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(70902743,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGE... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c40061558.lua | 3 | 2826 | --アポクリフォート・カーネル
function c40061558.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)
c:RegisterEffect(e1)
--tribute limit
local e2=Effect.CreateEffect(c)... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c79852326.lua | 3 | 2012 | --死霊ゾーマ
function c79852326.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:SetTarget(c79852326.target)
e1:SetOperation(c79852326.activate)
c:RegisterEffect(... | gpl-2.0 |
AnySDK/Sample_CPP_Cocos2dx | cocos2d/tools/cocos2d-console/plugins/plugin_luacompile/bin/lua/jit/bc.lua | 78 | 5606 | ----------------------------------------------------------------------------
-- LuaJIT bytecode listing module.
--
-- Copyright (C) 2005-2013 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | mit |
anshkumar/yugioh-glaze | assets/script/c52198054.lua | 5 | 4026 | --ブレイズ・キャノン・マガジン
function c52198054.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c52198054.target1)
e1:SetOperation(c52198054.operation)
e1:SetHintTiming(0,TIMING_MAIN_END)
c:RegisterEffect(e1)
--tograve
local e2=Effect... | gpl-2.0 |
zhaoxin54430/zhaoxin_test | src_luci/applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_network.lua | 79 | 1459 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local sys = require"luci.sys"
local ip = require "luci.ip"
m = Map("coovachilli")
-- tun
s1 = m:section(TypedSection, "tun")
s1.anonymous = true
s1:option(... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c65961683.lua | 3 | 1785 | --ジュラック・ヴェルヒプト
function c65961683.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsRace,RACE_DINOSAUR),1)
c:EnableReviveLimit()
--Atk
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetOperation(c6596... | gpl-2.0 |
BerlinUnited/NaoTH | NaoTHSoccer/Make/tools/clean_action.lua | 1 | 1429 | -- tools/clean_action.lua
premake.modules.lua = {}
local m = premake.modules.lua
local p = premake
newaction {
trigger = "clean",
description = "Cleanup the build and dist folders",
onStart = function()
print("Cleanup build/dist folders + generated protobuf messages")
end,
execute = function()
if os.isdir... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/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 |
zhaoxin54430/zhaoxin_test | src_luci/applications/luci-app-qos/luasrc/model/cbi/qos/qos.lua | 17 | 2481 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local wa = require "luci.tools.webadmin"
local fs = require "nixio.fs"
m = Map("qos", translate("Quality of Service"),
translate("With <abbr title=\"Quality of Service\">QoS</abbr> you " ..
"can prioritize n... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c88132637.lua | 9 | 1059 | --ツインヘッド・ケルベロス
function c88132637.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:SetCondition(c88132637.discon)
e1:SetOperation(c88132637.disop)
c:RegisterEffect(e1)
end
function c88132637... | gpl-2.0 |
johnparker007/mame | plugins/autofire/autofire_save.lua | 6 | 2256 | local lib = {}
local function get_settings_path()
return emu.subst_env(manager.machine.options.entries.homepath:value():match('([^;]+)')) .. '/autofire/'
end
local function get_settings_filename()
return emu.romname() .. '.cfg'
end
local function initialize_button(settings)
if settings.port and settings.field and... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c1662004.lua | 3 | 2040 | --炎星師-チョウテン
function c1662004.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(c1662004.synlimit)
c:RegisterEffect(e1)
--summon success
loc... | gpl-2.0 |
gdtm86/cf-metrics | heka/lua_modules/msg_interpolate.lua | 1 | 3023 | -- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
--[[
API
---
**interpolate_from_msg(value, secs)**
Interpolates values from the currently processed message int... | bsd-3-clause |
BooM-amour/neweagle | bot/SaTaN_bot.lua | 1 | 11251 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '1.0'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
retu... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c83239739.lua | 7 | 1177 | --オイスターマイスター
function c83239739.initial_effect(c)
--token
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(83239739,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCondition(c83239739.condition)
e1:Set... | gpl-2.0 |
rickyHong/nn_lib_torch | Parallel.lua | 39 | 3780 | local Parallel, parent = torch.class('nn.Parallel', 'nn.Container')
function Parallel:__init(inputDimension,outputDimension)
parent.__init(self)
self.modules = {}
self.size = torch.LongStorage()
self.inputDimension = inputDimension
self.outputDimension = outputDimension
end
function Parallel:updateOut... | bsd-3-clause |
VanessaE/homedecor_modpack | lrfurn/init.lua | 1 | 2022 |
lrfurn = {}
screwdriver = screwdriver or {}
lrfurn.fdir_to_right = {
{ 1, 0 },
{ 0, -1 },
{ -1, 0 },
{ 0, 1 },
}
lrfurn.colors = {
"black",
"brown",
"blue",
"cyan",
"dark_grey",
"dark_green",
"green",
"grey",
"magenta",
"orange",
"pink",
"red",
"violet",
"white",
"yellow",
}
function lrfurn... | lgpl-3.0 |
anshkumar/yugioh-glaze | assets/script/c3167573.lua | 3 | 1682 | --パペット・キング
function c3167573.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(3167573,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetRange(LOCATION_HAND)
e1:SetCode(EVENT_TO_HAND)
e1:SetCondition(c3167573.spcon)
e... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.