repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
anshkumar/yugioh-glaze | assets/script/c39188539.lua | 3 | 2607 | --ストーム・シューター
function c39188539.initial_effect(c)
--move
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(39188539,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1,EFFECT_COUNT_CODE_SINGLE)
e1:SetCondition(c39188539.seqcon)
e1:SetCost(c39188539.cost)
e1:SetOpera... | gpl-2.0 |
psidhu/packages | net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/rule.lua | 80 | 4829 | -- ------ extra functions ------ --
function ruleCheck() -- determine if rules needs a proper protocol configured
uci.cursor():foreach("mwan3", "rule",
function (section)
local sourcePort = ut.trim(sys.exec("uci -p /var/state get mwan3." .. section[".name"] .. ".src_port"))
local destPort = ut.trim(sys.exec("... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c96875080.lua | 3 | 1529 | --大気圏外射撃
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 |
TETOO2020/THETETOO_A8 | plugins/redees.lua | 4 | 1103 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY tetoo ▀▄ ▄▀
▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀
▀▄ ▄▀ broadcast : ريـــدس ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀... | gpl-2.0 |
Tiger66639/premake-core | tests/actions/vstudio/vc2010/test_filter_ids.lua | 5 | 2427 | --
-- tests/actions/vstudio/vc2010/test_filter_ids.lua
-- Validate generation of filter unique identifiers.
-- Copyright (c) 2011-2012 Jason Perkins and the Premake project
--
local suite = test.declare("vs2010_filter_ids")
local vc2010 = premake.vstudio.vc2010
--
-- Setup/teardown
--
local sln, prj
function s... | bsd-3-clause |
zhaoxin54430/zhaoxin_test | src_luci/libs/luci-lib-nixio/docsrc/nixio.File.lua | 173 | 4457 | --- Large File Object.
-- Large file operations are supported up to 52 bits if the Lua number type is
-- double (default).
-- @cstyle instance
module "nixio.File"
--- Write to the file descriptor.
-- @class function
-- @name File.write
-- @usage <strong>Warning:</strong> It is not guaranteed that all data
-- in the bu... | gpl-2.0 |
sjznxd/lc-20130302 | modules/niu/luasrc/model/cbi/niu/wireless/bridge.lua | 51 | 2481 | local uci = require "luci.model.uci"
local cursor = uci.cursor()
if not cursor:get("wireless", "bridge") then
cursor:section("wireless", "wifi-iface", "bridge",
{device = "_", doth = "1", _niu = "1", mode = "sta", wds = "1"})
cursor:save("wireless")
end
local function deviceroute(self)
cursor:unload("wireless")
... | apache-2.0 |
wvierber/hammerspoon | extensions/speech/init.lua | 11 | 1424 | --- === hs.speech ===
---
--- This module provides access to the Speech Synthesizer component of OS X.
---
--- The speech synthesizer functions and methods provide access to OS X's Text-To-Speech capabilities and facilitates generating speech output both to the currently active audio device and to an AIFF file.
---
---... | mit |
anshkumar/yugioh-glaze | assets/script/c76442347.lua | 3 | 1922 | --子型ペンギン
function c76442347.initial_effect(c)
--flip effect
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_FLIP)
e1:SetOperation(c76442347.flipop)
c:RegisterEffect(e1)
--special summon
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(7644234... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c2009101.lua | 3 | 1920 | --BF-疾風のゲイル
function c2009101.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(c2009101.spcon)
c:RegisterEffect(e1)
--atk def down
local e2=Effect.... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c2250266.lua | 3 | 3008 | --D・ステープラン
function c2250266.initial_effect(c)
--atk
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e1:SetCode(EVENT_LEAVE_FIELD_P)
e1:SetOperation(c2250266.check)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetDescri... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c78391364.lua | 3 | 1915 | --超重武者テンB-N
function c78391364.initial_effect(c)
--spsummon
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(c78391364.spcon)
c:RegisterEffect(e1)
--spsummon
local e2=Effect.CreateEf... | gpl-2.0 |
yt752/torch7 | torchcwrap.lua | 54 | 15111 | local wrap = require 'cwrap'
local types = wrap.types
types.Tensor = {
helpname = function(arg)
if arg.dim then
return string.format("Tensor~%dD", arg.dim)
else
return "Tensor"
end
end,
declare = function(arg... | bsd-3-clause |
leereilly/hawkthorne-journey | src/characters/britta.lua | 1 | 1353 | local anim8 = require 'vendor/anim8'
local plyr = {}
plyr.name = 'britta'
plyr.offset = 10
plyr.costumes = {
{name='Britta Perry', sheet='images/britta.png'},
{name='Brittasaurus Rex', sheet='images/britta_dino.png'},
{name='Cheerleader', sheet='images/britta_cheer.png'},
{name='Darkest Timeline', shee... | mit |
anshkumar/yugioh-glaze | assets/script/c30770156.lua | 7 | 1417 | --コア転送ユニット
function c30770156.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(30770156,0))
e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e2:... | gpl-2.0 |
PocoCraftSource/FiveNightsatFreddysGMod | entities/weapons/manhack_welder.lua | 2 | 3860 |
-- Variables that are used on both client and server
SWEP.Instructions = "Shoot a prop to attach a Manhack.\nRight click to attach a rollermine."
SWEP.Spawnable = true
SWEP.AdminOnly = true
SWEP.UseHands = true
SWEP.ViewModel = "models/weapons/c_pistol.mdl"
SWEP.WorldModel = "models/weapons/w_pistol.mdl"
... | gpl-2.0 |
TETOO2020/THETETOO_A8 | plugins/ar-supergruop.lua | 7 | 102343 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY tetoo ▀▄ ▄▀
▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀
▀▄ ▄▀ broadcast : سوبر كروب ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀... | gpl-2.0 |
aliafshar250/tele7 | plugins/anti_bot.lua | 65 | 3192 |
local function isBotAllowed (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
local banned = redis:get(hash)
return banned
end
local function allowBot (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
redis:set(hash, true)
end
local function disallowBot (userId, ch... | gpl-2.0 |
Hooodini/HooECS | spec/entity_spec.lua | 1 | 7510 | package.path = package.path .. ";./?.lua;./?/init.lua;./init.lua"
local HooECS = require('HooECS')
HooECS.initialize({ globals = true, debugging = true })
describe('Entity', function()
local TestComponent, TestComponent1, TestComponent2, TestComponent3
local entity, entity1, entity2, parent
local testSyst... | mit |
anshkumar/yugioh-glaze | assets/script/c31986288.lua | 3 | 1326 | --スプリット・D・ローズ
function c31986288.initial_effect(c)
--token
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(31986288,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c31986288.condition... | gpl-2.0 |
adminerror/5555555 | bot/seedbot.lua | 1 | 8718 | 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/c94973028.lua | 3 | 3644 | --幻獣機コルトウィング
function c94973028.initial_effect(c)
--level
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_UPDATE_LEVEL)
e1:SetValue(c94973028.lvval)
c:RegisterEffect(e1)
--
local e2=Effect.CreateEffect(c)
e2... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c74854609.lua | 5 | 1695 | --ゼクト・コンバージョン
function c74854609.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_BE_BATTLE_TARGET)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCondition(c74854609.condition)
e1:SetTarget(c74854609.target)
e1:SetOper... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c43250041.lua | 9 | 1029 | --ドレインシールド
function c43250041.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_RECOVER)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetCondition(c43250041.condition)
e1:SetTarget(c43250041.target)
e1:SetOperat... | gpl-2.0 |
tetoali605/THETETOO_A6A | VIPTEAM/VIPTEAM.lua | 1 | 7732 | 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("./VIPTEAM/utils")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:close()
-- This function... | gpl-2.0 |
adan830/UpAndAway | code/prefabs/crystal_fragment_spire.lua | 2 | 1395 | BindGlobal()
local CFG = TheMod:GetConfig()
local assets =
{
Asset("ANIM", "anim/crystal_fragment_spire.zip"),
Asset( "ATLAS", inventoryimage_atlas("crystal_fragment_spire") ),
Asset( "IMAGE", inventoryimage_texture("crystal_fragment_spire") ),
}
local function fn(Sim)
local inst = CreateEntity()
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c60999392.lua | 7 | 1289 | --マシンナーズ・ソルジャー
function c60999392.initial_effect(c)
--summon success
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(60999392,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCondition(c60999392.sumcon)
e1:SetT... | gpl-2.0 |
zwhfly/openwrt-luci | applications/luci-olsr/luasrc/model/cbi/olsr/olsrdplugins.lua | 54 | 7297 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2009 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://w... | apache-2.0 |
VanessaE/homedecor_modpack | homedecor/electrics.lua | 4 | 1898 |
local S = homedecor_i18n.gettext
homedecor.register("power_outlet", {
description = S("Power Outlet"),
tiles = {
"homedecor_outlet_edges.png",
"homedecor_outlet_edges.png",
"homedecor_outlet_edges.png",
"homedecor_outlet_edges.png",
"homedecor_outlet_back.png",
"homedecor_outlet_edges.png"
},
inventor... | lgpl-3.0 |
astog/cqui | Assets/UI/supportfunctions.lua | 5 | 27281 | ------------------------------------------------------------------------------
-- Misc Support Functions
------------------------------------------------------------------------------
-- ===========================================================================
-- CONSTANTS
-- ========================================... | mit |
anshkumar/yugioh-glaze | assets/script/c17393207.lua | 3 | 1113 | --墓守の司令官
function c17393207.initial_effect(c)
--search
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(17393207,0))
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCost(c17393207.cost)
e1:SetTarget(c17393207.target)
e1:SetOperatio... | gpl-2.0 |
Krzo/susa_rp | dxlib.lua | 1 | 16449 | dxElement = { }
dxElement_mt = { __index = dxElement }
local visibleElements = { }
local x,y = guiGetScreenSize()
local defaultDXSettings = {
px = x/2,
py = y/2,
sx = x,
sy = y,
text = "",
color = {255,255,255,255},
scale = 1,
font = "default-bold",
colorize = false,
shadow = false,
active = true... | mit |
anshkumar/yugioh-glaze | assets/script/c23289281.lua | 5 | 1346 | --カラテマン
function c23289281.initial_effect(c)
--atk
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(23289281,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetOperation(c23289281.operaion)
c:RegisterEffect(e1)
end
functio... | gpl-2.0 |
Zhu-Zhi-Hao/Droid_Ettercap | src/lua/share/third-party/stdlib/src/string_ext.lua | 12 | 9440 | --- Additions to the string module
-- TODO: Pretty printing (use in getopt); see source for details.
require "table_ext"
local list = require "list"
local strbuf = require "strbuf"
-- Write pretty-printing based on:
--
-- John Hughes's and Simon Peyton Jones's Pretty Printer Combinators
--
-- Based on "The Desi... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c93238626.lua | 5 | 3593 | --ドン・サウザンドの玉座
function c93238626.initial_effect(c)
c:SetUniqueOnField(1,0,93238626)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
c:RegisterEffect(e1)
--recover
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux... | gpl-2.0 |
wvierber/hammerspoon | extensions/battery/init.lua | 20 | 1813 | --- === hs.battery ===
---
--- Battery/power information
--- All functions here may return nil, if the information requested is not available.
---
--- This module is based primarily on code from the previous incarnation of Mjolnir by [Steven Degutis](https://github.com/sdegutis/).
local module = require("hs.battery.i... | mit |
hbomb79/DynaCode | src/Scripts/Logging.lua | 2 | 1681 | local loggingEnabled
local loggingPath
local loggingModes = {
i = "Information";
w = "Warning";
e = "Error";
f = "FATAL";
s = "Success";
di = "Daemon Information";
dw = "Daemon Warning";
de = "Daemon Error";
df = "Daemon Fatal";
ds = "Daemon Success";
eh = "Exception Handl... | mit |
anshkumar/yugioh-glaze | assets/script/c22076135.lua | 9 | 1672 | --水精鱗-アビスタージ
function c22076135.initial_effect(c)
--salvage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(22076135,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_SUMMON_SUCC... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c22996376.lua | 3 | 2294 | --百獣王 ベヒーモス
function c22996376.initial_effect(c)
--summon/set with 1 tribute
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(22996376,0))
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SUMMON_PROC)
e1:SetCondition(c22996376.otcon)... | gpl-2.0 |
johnparker007/mame | 3rdparty/genie/tests/test_premake.lua | 66 | 1038 | --
-- tests/test_premake.lua
-- Automated test suite for the Premake support functions.
-- Copyright (c) 2008-2009 Jason Perkins and the Premake project
--
T.premake = { }
--
-- premake.checktools() tests
--
function T.premake.checktools_SetsDefaultTools()
_ACTION = "gmake"
premake.checktools()
test.isequa... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c85475641.lua | 5 | 1672 | --インフェルニティ・リベンジャー
function c85475641.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(85475641,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetRange(LOCATION_GRAVE)
e1:SetCon... | gpl-2.0 |
beko123/DEV_VIP | plugins/saveplug.lua | 20 | 1784 | local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
return false
end
local function disable_plugin( name, chat )
local k = plugin_enabled(name)
if not k then
return
end
table.remove(_config.enabled_plugins, k)
save_conf... | agpl-3.0 |
anshkumar/yugioh-glaze | assets/script/c90555947.lua | 3 | 1759 | --ナチュル・ガイアストライオ
function c90555947.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFunRep(c,c90555947.ffilter,2,false)
--negate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(90555947,0))
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_FIELD+EFF... | gpl-2.0 |
httpRick/Preview-of-the-world | client/colissions.lua | 1 | 4455 | Colissions = {}
Colissions.__index = Colissions
Colissions.config = {distance = 30.0, show = false}
function Vector6(x, y, z, w, h, r)
return {x = x, y = y, z = z, w = w, h = h, r = r}
end
function Colissions:createBoundingBox(Element)
local matrix = Vector3( getCameraMatrix() )
position = Element:getPosition()
l... | gpl-2.0 |
self-group/self | plugins/inpm.lua | 1114 | 3008 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
ld-test/lua-jet | src/jet/daemon/value_matcher.lua | 2 | 3019 | local jutils = require'jet.utils'
local tinsert = table.insert
local less_than = function(other)
return function(x)
return x < other
end
end
local greater_than = function(other)
return function(x)
return x > other
end
end
local equals = function(other)
return function(x)
return x == other
end... | mit |
anshkumar/yugioh-glaze | assets/script/c67464807.lua | 5 | 1675 | --運命のドラ
function c67464807.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_ATTACK,0x1e0)
e1:SetCondition(c67464807.condition)
e1:SetTarget(c67464807.target)
e1:SetOperation... | gpl-2.0 |
aliafshar250/tele7 | plugins/owners.lua | 94 | 12617 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c44046281.lua | 3 | 2820 | --ディメンション・ゲート
function c44046281.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_REMOVE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c44046281.target)
e1:SetOperation(c44046281.operation)
c:RegisterEffec... | gpl-2.0 |
sjznxd/lc-20130302 | modules/admin-full/luasrc/controller/admin/status.lua | 15 | 4610 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2011 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://w... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c75620895.lua | 5 | 1713 | --隻眼のスキル・ゲイナー
function c75620895.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,3)
c:EnableReviveLimit()
--attack up
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetDescription(aux.Stringid(75620895,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1)
e1:SetProperty(EF... | gpl-2.0 |
freifunk-gluon/luci | modules/admin-full/luasrc/model/cbi/admin_network/iface_add.lua | 79 | 3091 | --[[
LuCI - Lua Configuration Interface
Copyright 2009-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$
]]... | apache-2.0 |
zwhfly/openwrt-luci | libs/web/luasrc/cbi.lua | 76 | 40152 | --[[
LuCI - Configuration Bind Interface
Description:
Offers an interface for binding configuration values to certain
data types. Supports value and range validation and basic dependencies.
FileId:
$Id$
License:
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "Li... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c25341652.lua | 3 | 2499 | --交響魔人マエストローク
function c25341652.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,4,2)
c:EnableReviveLimit()
--pos
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(25341652,0))
e1:SetCategory(CATEGORY_POSITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:S... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c14886469.lua | 3 | 1561 | --レッド・スプリンター
function c14886469.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(14886469,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetCou... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c3160805.lua | 5 | 4087 | --明と宵の逆転
function c3160805.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:SetTarget(c3160805.target1)
e1:SetOperation(c3160805.operation)
c:RegisterEffect(e1)
--instant
local e2=Effect.CreateEff... | gpl-2.0 |
hadirahimi1380/botahriman | plugins/google.lua | 722 | 1037 | local function googlethat(query)
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&"
local parameters = "q=".. (URL.escape(query) or "")
-- Do the request
local res, code = https.request(api..parameters)
if code ~=200 then return nil end
local data = json:decode(res)
local r... | gpl-2.0 |
TurBoss/Zero-K-Infrastructure | MissionEditor/MissionEditor2/MissionBase/LuaUI/Widgets/gui_api_hide_hax.lua | 7 | 1693 | function widget:GetInfo()
return {
name = "GUI Hide Hax",
desc = "Allows hiding of non-registered GUI elements",
author = "KingRaptor (L.J. Lim)",
date = "2012.10.26",
license = "GNU GPL v2",
layer = -math.huge,
enabled = true,
handler = true,
api = true,
}
end
local... | gpl-3.0 |
anshkumar/yugioh-glaze | assets/script/c23536866.lua | 3 | 3194 | --ゲイザー・シャーク
function c23536866.initial_effect(c)
--xyz
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(23536866,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_GRAVE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,23536866)
e1:SetCost(c23536866.cost)
e1:SetTarget(c23536866.... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c77584012.lua | 3 | 1374 | --擬似空間
function c77584012.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--copy
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(77584012,0))
e2:SetType(EFFECT_TYPE_IGNITION)
e2:SetRange(LOCATION_SZO... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c29357956.lua | 3 | 3767 | --剣闘獣ネロキウス
function c29357956.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcFunRep(c,aux.FilterBoolFunction(Card.IsSetCard,0x19),3,true)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABL... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c17874674.lua | 3 | 3895 | --破邪の刻印
function c17874674.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_DRAW_PHASE)
e1:SetTarget(c17874674.target1)
e1:SetOperation(c17874674.operation)
c:RegisterEffect(e1)
--confirm
local e2=Effect.Create... | gpl-2.0 |
andrejzverev/rspamd | test/lua/unit/expressions.lua | 3 | 3370 | -- Expressions unit tests
context("Rspamd expressions", function()
local rspamd_expression = require "rspamd_expression"
local rspamd_mempool = require "rspamd_mempool"
local rspamd_regexp = require "rspamd_regexp"
local split_re = rspamd_regexp.create('/\\s+|\\)|\\(/')
local function parse_func(str)
--... | apache-2.0 |
PocoCraftSource/FiveNightsatFreddysGMod | gamemode/spawnmenu/creationmenu/content/contentsidebar.lua | 2 | 1404 | include( "ContentSidebarToolbox.lua" )
local pnlSearch = vgui.RegisterFile( "ContentSearch.lua" )
local PANEL = {}
function PANEL:Init()
self.Tree = vgui.Create( "DTree", self );
self.Tree:SetClickOnDragHover( true );
self.Tree.OnNodeSelected = function( Tree, Node ) hook.Call( "ContentSidebarSelection", GAMEM... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c38814750.lua | 3 | 3443 | --PSYフレームギア・γ
function c38814750.initial_effect(c)
c:EnableUnsummonable()
--splimit
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(c38814750.splimit)
c:RegisterEffect(e1)
--spsumm... | gpl-2.0 |
adan830/UpAndAway | code/prefabs/gnome_decor.lua | 2 | 1248 | BindGlobal()
local assets =
{
Asset("ANIM", "anim/gnome_decor.zip"),
}
local function makefn(bankname, buildname, animname)
local function fn(Sim)
local inst = CreateEntity()
local trans = inst.entity:AddTransform()
local anim = inst.entity:AddAnimState()
inst:AddTag("DECOR")
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c31456110.lua | 3 | 1145 | --ヴェルズ・ゴーレム
function c31456110.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(31456110,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetTarget(c31456110... | gpl-2.0 |
chenjiansnail/skynet | examples/agent.lua | 65 | 2082 | local skynet = require "skynet"
local netpack = require "netpack"
local socket = require "socket"
local sproto = require "sproto"
local sprotoloader = require "sprotoloader"
local WATCHDOG
local host
local send_request
local CMD = {}
local REQUEST = {}
local client_fd
function REQUEST:get()
print("get", self.what)
... | mit |
kiarash14/br | 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 |
assassinboy208/eagleTG | 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 |
Ardavans/DSR | mbwrap/games/MovingGoals.lua | 1 | 1359 | local MovingGoals, parent = torch.class('MovingGoals', 'MazeBase')
math = require ('math')
function MovingGoals:__init(opts, vocab)
opts.height = 3
opts.width = 3
parent.__init(self, opts, vocab)
--block_locs = {{3,5}, {4,5}, {5,5}, {6,5}, {7,5}, {8,5}, {3,6}, {3,7}, {3,8}, {8,6}, {8,7}, {8,8}}
--... | mit |
WAKAMAZU/sile_fe | core/hyphenator-liang.lua | 3 | 3513 | local function addPattern(h, p)
local t = h.trie;
for char in p:gmatch('%D') do
if not(t[char]) then t[char] = {} end
t = t[char]
end
t["_"] = {};
local lastWasDigit = 0
for char in p:gmatch('.') do
if char:find("%d") then
lastWasDigit = 1
table.insert(t["_"], tonumber(char))
els... | mit |
johnparker007/mame | scripts/target/mame/nl.lua | 9 | 14700 | -- license:BSD-3-Clause
-- copyright-holders:MAMEdev Team
---------------------------------------------------------------------------
--
-- nl.lua
--
-- Compiles all drivers using netlist code
-- Use make SUBTARGET=nl to build
--
---------------------------------------------------------------------------
-----... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c65961085.lua | 7 | 1660 | --魔導獣士 ルード
function c65961085.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(65961085,0))
e1:SetCategory(CATEGORY_TODECK)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_SPSUMM... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c55608151.lua | 3 | 1070 | --グリフォンの翼
function c55608151.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DISABLE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c55608151.condition)
e1:SetTarget(c55608151.target)
e1:SetOperation(c55608151.activate)
c:RegisterEffect(e1)
end... | gpl-2.0 |
RiverWeng/oceanbase | oceanbase_0.4/tools/mysql_stress/simple.lua | 12 | 1105 | -- `stress_sqls' table list all sqls used to stress
stress_sqls = {
{
sql = "select id, number from simple_table where id=?;",
params = {
{type = "int", range_min = 1, range_max = 100},
},
weight = 1
},
{
sql = "select /*+ read_static */ id, number from simple_table where id>=?... | gpl-2.0 |
akornatskyy/sample-blog-api-lua | spec/posts/views_spec.lua | 1 | 4536 | local client = require 'shared.client'
local describe, it, assert = describe, it, assert
describe('posts.views', function()
local go, path_for = client.new()
local signin = function(credentials)
local w = go {
method = 'POST',
path = path_for('signin'),
body = {use... | mit |
adan830/UpAndAway | wicker/init/kernel_components/extra_utilities.lua | 5 | 1981 | --[[
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 |
wvierber/hammerspoon | extensions/osascript/test_applescript.lua | 5 | 1613 | function testAppleScriptParseError()
local as = "2 +"
local status, object, descriptor = hs.osascript.applescript(as)
assertFalse(status)
assertIsEqual(descriptor.OSAScriptErrorBriefMessageKey, "Expected expression but found end of script.")
return success()
end
function testAppleScriptAddition()
local as ... | mit |
VanessaE/homedecor_modpack | homedecor/bedroom.lua | 1 | 8482 |
local S = homedecor_i18n.gettext
local function N_(x) return x end
local bed_sbox = {
type = "wallmounted",
wall_side = { -0.5, -0.5, -0.5, 0.5, 0.5, 1.5 }
}
local bed_cbox = {
type = "wallmounted",
wall_side = {
{ -0.5, -0.5, -0.5, 0.5, -0.05, 1.5 },
{ -0.5, -0.5, 1.44, 0.5, 0.5, 1.5 },
{ -0.5, -0.5, -0.... | lgpl-3.0 |
anshkumar/yugioh-glaze | assets/script/c32391631.lua | 3 | 3533 | --サベージ・コロシアム
function c32391631.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--to defence
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(32391631,0))
e2:SetCategory(CATEGORY_RECOVER)
e2:SetType(E... | gpl-2.0 |
TETOO2020/THETETOO_A8 | plugins/lock_fwd.lua | 5 | 2601 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY tetoo ▀▄ ▄▀
▀▄ ▄▀ BY nmore (@l_l_lo) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY l_l_ll ▀▄ ▄▀
▀▄ ▄▀ broadcast : قفل توجية بلتحذير ▀▄ ▄▀
▀▄▀▀... | gpl-2.0 |
tetoali605/THETETOO_A6A | libs/fakeredis.lua | 650 | 40405 | local unpack = table.unpack or unpack
--- Bit operations
local ok,bit
if _VERSION == "Lua 5.3" then
bit = (load [[ return {
band = function(x, y) return x & y end,
bor = function(x, y) return x | y end,
bxor = function(x, y) return x ~ y end,
bnot = function(x) return ~x end,
rshift = function(x... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c56321639.lua | 3 | 2651 | --魔導書廊エトワール
function c56321639.initial_effect(c)
c:EnableCounterPermit(0x3001)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--Add counter
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e0:Set... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c22174866.lua | 3 | 1621 | --アロマージ-カナンガ
function c22174866.initial_effect(c)
--atk & def
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(0,LOCATION_MZONE)
e1:SetCondition(c22174866.adcon)
e1:SetValue(-500)
c:RegisterEffect(e1)
local e2=e1:Clone... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c87772572.lua | 3 | 1631 | --量子猫
function c87772572.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:SetTarget(c87772572.target)
e1:SetOperation(c87772572.activate)
c:RegisterEffect(e1)
end
function c87772572.target(e,tp,e... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c85520851.lua | 3 | 1318 | --超伝導恐獣
function c85520851.initial_effect(c)
--damage
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(85520851,0))
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c85520851.cost)... | gpl-2.0 |
kingofpowers/SavedInstances | libs/AceAddon-3.0/AceAddon-3.0.lua | 66 | 25788 | --- **AceAddon-3.0** provides a template for creating addon objects.
-- It'll provide you with a set of callback functions that allow you to simplify the loading
-- process of your addon.\\
-- Callbacks provided are:\\
-- * **OnInitialize**, which is called directly after the addon is fully loaded.
-- * **OnEnable** wh... | gpl-3.0 |
anshkumar/yugioh-glaze | assets/script/c1669772.lua | 3 | 1155 | --魔力浄化
function c1669772.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c1669772.cost)
e1:SetTarget(c1669772.target)
e1:SetOperation(c1669772.activate)
c:RegisterEffect(e1)
end
function c1669... | gpl-2.0 |
Solvaring/ESO_ZBS_APIcreator | apimaker2.lua | 1 | 2244 | --local _G = _G
local esouidoc = io.open("ESOUIDocumentation.txt", "r")
local esouidocstring = esouidoc:read("*a")
local working1 = io.open("ESOAPI.lua", "w+")
esouidoc:seek("set")
working1:write("return {\n")
local _f = '"function"'
local stringtowriteline1='%s = {type = %s,\ndescription = "",\nargs = "%s",'
local s... | gpl-3.0 |
Tiger66639/premake-core | tests/actions/vstudio/vc2010/test_files.lua | 3 | 16478 | --
-- tests/actions/vstudio/vc2010/test_files.lua
-- Validate generation of files block in Visual Studio 2010 C/C++ projects.
-- Copyright (c) 2011-2014 Jason Perkins and the Premake project
--
local suite = test.declare("vstudio_vs2010_files")
local vc2010 = premake.vstudio.vc2010
--
-- Setup
--
local sln, prj... | bsd-3-clause |
MoZhonghua/skynet | service/clusterd.lua | 2 | 3922 | local skynet = require "skynet"
local sc = require "socketchannel"
local socket = require "socket"
local cluster = require "cluster.core"
local config_name = skynet.getenv "cluster"
local node_address = {}
local node_session = {}
local command = {}
local function read_response(sock)
local sz = socket.header(sock:rea... | mit |
fengye/luasocket | etc/forward.lua | 61 | 2077 | -- load our favourite library
local dispatch = require("dispatch")
local handler = dispatch.newhandler()
-- make sure the user knows how to invoke us
if table.getn(arg) < 1 then
print("Usage")
print(" lua forward.lua <iport:ohost:oport> ...")
os.exit(1)
end
-- function to move data from one socket to t... | mit |
Tiger66639/premake-core | tests/actions/make/cs/test_response.lua | 5 | 1444 | --
-- tests/actions/make/cs/test_response.lua
-- Validate the list of objects for a response file used by a makefile.
-- Copyright (c) 2009-2013 Jason Perkins and the Premake project
--
local suite = test.declare("make_cs_response")
local make = premake.make
local project = premake.project
--
-- Setup
--
local ... | bsd-3-clause |
anshkumar/yugioh-glaze | assets/script/c47693640.lua | 3 | 4320 | --ゾンビタイガー
function c47693640.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(47693640,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetTarget(c47693640.eqtg)
e1:SetOperation(c47... | gpl-2.0 |
andrejzverev/rspamd | rules/http_headers.lua | 2 | 3569 | --[[
Copyright (c) 2015, Vsevolod Stakhov <vsevolod@highsecure.ru>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law ... | apache-2.0 |
sjznxd/lc-20130302 | modules/admin-core/luasrc/controller/admin/servicectl.lua | 76 | 1376 | --[[
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$
]]--
mo... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c93599951.lua | 3 | 1089 | --沈黙の邪悪霊
function c93599951.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c93599951.condition)
e1:SetTarget(c93599951.target)
e1:SetOperation(c93599951.activate)
c:RegisterEffect... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c99013397.lua | 3 | 3413 | --剣闘獣の闘器ハルバード
function c99013397.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(c99013397.target)
e1:SetOperation(c99013397.operation)
c:RegisterEffect... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c58268433.lua | 3 | 1173 | --ブレードラビット
function c58268433.initial_effect(c)
--flip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(58268433,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_CHANGE_POS)
e1:SetCondition(c58268433.... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.