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 |
|---|---|---|---|---|---|
mikeller/nodemcu-firmware | lua_modules/http/http.lua | 89 | 6624 | ------------------------------------------------------------------------------
-- HTTP server module
--
-- LICENCE: http://opensource.org/licenses/MIT
-- Vladimir Dronnikov <dronnikov@gmail.com>
------------------------------------------------------------------------------
local collectgarbage, tonumber, tostring = col... | mit |
anshkumar/yugioh-glaze | assets/script/c17649753.lua | 3 | 1173 | --ใฏใผใ ใปใซใฏใคใจ
function c17649753.initial_effect(c)
--attack limit
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_FLIP)
e1:SetOperation(c17649753.flipop)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_SINGLE)
e2:SetCode(EFFECT_CAN... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c6713443.lua | 3 | 2106 | --ๆฅต็่๏ผใๆๆใ
function c6713443.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c6713443.spcost)
e1:SetTarget(c6713443.sptg)
e1:SetOperation(c6713443.spop)
c:RegisterEffect(e1)
end
functio... | gpl-2.0 |
sjznxd/lc-20130302 | applications/luci-statistics/luasrc/model/cbi/luci_statistics/dns.lua | 78 | 1344 | --[[
Luci configuration model for statistics - collectd dns plugin configuration
(c) 2008 Freifunk Leipzig / Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License a... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c23740893.lua | 5 | 2212 | --ๅฆไป็ฃ ๆจ้ญ
function c23740893.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_COUNTER)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCountLimit(1,23740893)
e1:SetCost(c23740893.cost)
e1:SetTarget(c23740893.target)
... | gpl-2.0 |
assassinboy208/eagleTG | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c46337945.lua | 7 | 1592 | --ๅๆฐด้กใฎ็ๆณ่ก
function c46337945.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:SetCost(c46337945.cost)
e1:SetTarget(c46337945.target)
e1:SetOperation(c46337945.act... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c68371799.lua | 3 | 3513 | --ใใผใขใณใฎๅฐๆ
function c68371799.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,68371799)
e1:SetCondition(c68371799.spcon)
e1:SetOperation(c6837179... | gpl-2.0 |
kiarash14/br | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
aidansmyth/corona-dungeon-generator | scenetemplate.lua | 1 | 3610 | ----------------------------------------------------------------------------------
--
-- scenetemplate.lua
--
----------------------------------------------------------------------------------
local appGlobals = require("globalData") -- Load Global data
local utils = require("modules.tools.utilities") -- Load ut... | mit |
sjznxd/lc-20130302 | libs/lucid-rpc/luasrc/lucid/rpc/server.lua | 52 | 8197 | --[[
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 ip... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c1828513.lua | 5 | 1713 | --ๅ
ญๆญฆ่กใฎๅฝฑ๏ผ็ดซ็
function c1828513.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x3d),4,2)
c:EnableReviveLimit()
--attack up
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetDescription(aux.Stringid(1828513,0))
e1:SetType(EFFECT_TYPE_QUICK_O)
e1:S... | gpl-2.0 |
BerlinUnited/NaoTH | NaoTHSoccer/Make/projectconfig.lua | 1 | 2968 | --------------------------------------------------------------
function printPath(prefix, path)
local msg = tostring(prefix) .. tostring(path)
if path == nil then
print ( "WARNING: path not set:", msg )
elseif os.isdir(path) then
print ( msg )
else
print ( "WARNING: path doesn't exist:", msg )
end
end
-- f... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c84220251.lua | 9 | 1140 | --่็็ด็ซ
function c84220251.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(c84220251.target)
e1:SetOperation(c84220251.activate)
c:RegisterEffec... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c55690251.lua | 3 | 2740 | --ๅ ๅคฉไฝฟใใฃใถใคใข
function c55690251.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)
e1:SetValue(aux.FALSE)
c:RegisterEffect(e1)
--normal summon with 1 tribut... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c36693940.lua | 3 | 1438 | --ใในใใผใคใปใซในใฟใ
function c36693940.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(c36693940.target)
e1:SetOperation(c36693940.activate)
c:Registe... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c34143852.lua | 5 | 1466 | --HใปC ใจใฏในใใฉใปใฝใผใ
function c34143852.initial_effect(c)
--effect gain
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS)
e1:SetCode(EVENT_BE_MATERIAL)
e1:SetCondition(c34143852.efcon)
e1:SetOperation(c34143852.efop)
c:RegisterEffect(e1)
end
function c34143852.efcon(e,tp,eg,ep,ev,r... | gpl-2.0 |
WAKAMAZU/sile_fe | languages/jv.lua | 2 | 2555 | local lpeg = require("lpeg")
local chardata = characters.data
local types = {
"Bi", "Bi","CSR", "Vs", "VI", "VI", "VI", "VI",
"VI", "C", "C", "C", "VI", "VI", "VI", "C",
"C", "C", "C", "C", "C", "C", "C", "C",
"C", "C", "C", "C", "C", "C", "C", "C",
"C", "C", "C", "C", "C", "C", ... | mit |
anshkumar/yugioh-glaze | assets/script/c32710364.lua | 3 | 2333 | --ๅฎ็็ฃใซใใผใปใซใผใใณใฏใซ
function c32710364.initial_effect(c)
--send replace
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_TO_GRAVE_REDIRECT_CB)
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetCondition(c32710364.repcon)
e1:SetOperation(c32710364.repop)
c:RegisterEffect(e1)
--special sum... | gpl-2.0 |
NBSW/redis | deps/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | bsd-3-clause |
Cisphyx/redis-websockets | deps/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | bsd-3-clause |
andrejzverev/rspamd | src/plugins/lua/dcc.lua | 2 | 3503 | --[[
Copyright (c) 2016, Steve Freegard <steve.freegard@fsl.com>
Copyright (c) 2016, Vsevolod Stakhov
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
... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c16616620.lua | 6 | 1705 | --ใณใณใฟใฏใ
function c16616620.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(c16616620.target)
e1:SetOperation(c16616620.activate)
c:RegisterEffect(e1)
end
c16616620.list={[42682609]=179... | gpl-2.0 |
PocoCraftSource/FiveNightsatFreddysGMod | entities/entities/gmod_button.lua | 3 | 2724 |
AddCSLuaFile()
DEFINE_BASECLASS( "base_gmodentity" )
ENT.PrintName = ""
ENT.Author = ""
ENT.Contact = ""
ENT.Purpose = ""
ENT.Instructions = ""
function ENT:SetupDataTables()
self:NetworkVar( "Int", 0, "Key" );
self:NetworkVar( "Bool", 0, "On" );
self:NetworkVar( "Bool", 1, "IsToggle" );
self:SetOn( fa... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c16021142.lua | 3 | 1705 | --ๅนปๅฅใฎ้ณๅฅณใซใใณ
function c16021142.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,16021142)
e1:SetCondition(c16021142.spcon)
c:RegisterEffect(e1)
-... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c39118197.lua | 3 | 1957 | --ใซใฉใฏใชๆญฆ่
ๅ
ญๅๅฃฑๅ
ซ
function c39118197.initial_effect(c)
--must attack
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_MUST_ATTACK)
c:RegisterEffect(e1)
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_EP)
e2:SetRange(LOCATION_MZONE)
e2:SetPrope... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c74100225.lua | 5 | 1892 | --้ฒๅใฎ็น็ฐ็น
function c74100225.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:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c74100225.target)
e1:SetOperation(c74100225.activate)
c:RegisterEff... | gpl-2.0 |
johnparker007/mame | plugins/cheat/cheat_xml.lua | 5 | 7376 | local xml = {}
function xml.filename(name)
return name .. ".xml"
end
-- basic xml parser for mamecheat only
local function xml_parse(data)
local function fix_gt(str)
str = str:gsub(">=", " ge ")
str = str:gsub(">", " gt ")
return str
end
data = data:gsub("(condition=%b\"\")", fix_gt)
local cheat_str = data... | gpl-2.0 |
flexiti/esp8266-devkit | Espressif/examples/ESP8266/nodemcu-firmware/lua_examples/email/read_email_imap.lua | 82 | 4543 | ---
-- Working Example: https://www.youtube.com/watch?v=PDxTR_KJLhc
-- @author Miguel (AllAboutEE.com)
-- @description This example will read the first email in your inbox using IMAP and
-- display it through serial. The email server must provided unecrypted access. The code
-- was tested with an AOL and Time Warner c... | gpl-3.0 |
mkottman/luacrypto | tests/rand.lua | 6 | 1354 | #!/usr/local/bin/lua50
--[[
-- $Id: rand.lua,v 1.1 2006/08/25 03:24:17 nezroy Exp $
-- See Copyright Notice in license.html
--]]
crypto = require "crypto"
local rand = crypto.rand
print("RAND version: " .. crypto._VERSION)
print("")
local SEEDFILE = "tmp.rnd"
if rand.load(SEEDFILE) then
print("loaded previous ran... | mit |
anshkumar/yugioh-glaze | assets/script/c89235196.lua | 3 | 1370 | --ใใใฐใปใฏใณใปใฆใฉใชใขใผ
function c89235196.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(89235196,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCost(c89235196.spcost)
e1:SetTarget(c89235196.sptg)
e1:SetOp... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c80678380.lua | 3 | 1429 | --่็ฅใฎๅ
ๅฝ
function c80678380.initial_effect(c)
--negate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c80678380.condition)
e1:SetCost(c80678380.cost)
e1:SetTarget(c80678380.target)
e1:SetOperation(c8067... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c44186624.lua | 3 | 3070 | --DDDๅถ่ฆ็ใซใคใผใซ
function c44186624.initial_effect(c)
--spsummon success
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DISABLE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCondition(c44186624.effcon)
e1:SetTarget(c44186624.distg)
e1:SetOperation(c44186624.... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c13361027.lua | 5 | 1614 | --ใใฉใฐใใใฃ๏ผใใฉใใฏในใใข
function c13361027.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(13361027,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetCountLimit(1)
e1:SetRange(LOCATION_MZONE)
e1:... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c5494820.lua | 7 | 1610 | --ใตใคใฏใญใณใฌใผใถใผ
function c5494820.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(c5494820.target)
e1:SetOperation(c5494820.operation)
c:RegisterEffect(e1)
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c52977572.lua | 5 | 2570 | --ใใฉใฐใใใฃ๏ผใใซใ
function c52977572.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(52977572,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c52977572.sptg)
e1:SetOp... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c71564150.lua | 3 | 2223 | --ๅฐ็ใฎๅๅก้ญไบบ
function c71564150.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_CONTROL)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c71564150.cost)
e1:SetTarget(c71564150.target)
e1:SetOperation(c71564150.operation)
c:RegisterE... | gpl-2.0 |
adan830/UpAndAway | code/stategraphs/SGoctocopter.lua | 2 | 2614 | BindGlobal()
require("stategraphs/commonstates")
local actionhandlers =
{
}
local events=
{
CommonHandlers.OnLocomote(false, true),
CommonHandlers.OnSleep(),
CommonHandlers.OnFreeze(),
CommonHandlers.OnAttack(),
CommonHandlers.OnAttacked(),
CommonHandlers.OnDeath(),
}
local states=
{
S... | gpl-2.0 |
zwhfly/openwrt-luci | applications/luci-firewall/luasrc/model/cbi/firewall/forwards.lua | 85 | 3942 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2010-2012 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
htt... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c75539614.lua | 3 | 1987 | --ใตใคใณใปใใฌใคใ
function c75539614.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:SetCountLimit(1,75539614+EFFECT_COUNT_CODE_OATH)
e1:SetCost(c75539614.cost)
e1:SetTa... | gpl-2.0 |
SquidDev-CC/Howl | howl/modules/tasks/minify.lua | 1 | 2719 | --- Adds various tasks to minify files.
-- @module howl.modules.tasks.minify
local assert = require "howl.lib.assert"
local rebuild = require "howl.lexer.rebuild"
local Runner = require "howl.tasks.Runner"
local Task = require "howl.tasks.Task"
local minifyFile = rebuild.minifyFile
local minifyDiscard = function(se... | mit |
leereilly/hawkthorne-journey | src/vendor/hardoncollider/class.lua | 4 | 3448 | --[[
Copyright (c) 2010-2011 Matthias Richter
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | mit |
anshkumar/yugioh-glaze | assets/script/c11741041.lua | 3 | 1637 | --ใตใณใใผใปใใใซ
function c11741041.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--counter
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS)
e2:SetCode(EVENT_ATTACK_ANNOUNCE)
e2:SetR... | gpl-2.0 |
njoubert/ardupilot | Tools/CHDK-Scripts/Cannon SX260/3DR_EAI_SX260.lua | 96 | 29666 |
--[[
KAP UAV Exposure Control Script v3.1
-- Released under GPL by waterwingz and wayback/peabody
http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script
3DR EAI 1.0 is a fork of KAP 3.1 with settings specific to Canon cameras triggered off the Pixhawk autopilot.
Changelog:
-Modified Tv, Av, and... | gpl-3.0 |
shirat74/sile | lua-libraries/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | mit |
adan830/UpAndAway | wicker/math/complex.lua | 6 | 4422 | --[[
-- Complex number implementation as a subclass of Vector3 (with zero y coordinate).
--]]
local Pred = wickerrequire "lib.predicates"
local MathCommon = wickerrequire "math.common"
local math = math
------------------------------------------------------------------------
local C = Class(Vector3, function(self,... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c61166988.lua | 3 | 1563 | --้ๆง่งฃๆพ
function c61166988.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c61166988.target)
e1:SetOperation(c61166988.activate)
c:RegisterEffect(e1)... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c82458280.lua | 5 | 2064 | --ใใธใใฏใปใใผใซใปใดใผใฌใ
function c82458280.initial_effect(c)
--direct attack
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(82458280,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCond... | gpl-2.0 |
ld-test/lua-jet | perf/add_remove_batch.lua | 3 | 3838 | #!/usr/bin/env lua
-- Measure add-fetch-notification throughput and the impact of a growing
-- number of fetchers (which dont match).
-- The time is measured for adding and removing <count> states.
-- Afterwards, the number of fetchers is incremented by 20 and the test is repeated.
-- Note that the add/remove peer stuf... | mit |
astog/cqui | Assets/UI/actionpanel.lua | 5 | 52631 | -- ===========================================================================
-- Action Panel
-- Main area of game to advance turns and show what is currently blocking.
-- Tabs set to 4 spaces; retaining tab.
-- ===========================================================================
include( "InstanceManager" ... | mit |
LuaDist2/nats | src/nats.lua | 2 | 9585 | local nats = {
_VERSION = 'lua-nats 0.0.2',
_DESCRIPTION = 'LUA client for NATS messaging system. https://nats.io',
_COPYRIGHT = 'Copyright (C) 2015 Eric Pinto',
}
-- ### Library requirements ###
local cjson = require('cjson')
local uuid = require('uuid')
-- ### Local properties ###
local unp... | mit |
anshkumar/yugioh-glaze | assets/script/c73551138.lua | 3 | 3527 | --ใชใใฅใขใปใจใใชใข
function c73551138.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)
e1:SetValue(aux.FALSE)
c:RegisterEffect(e1)
--summon,flip
local e2=Effe... | gpl-2.0 |
Ced-le-pingouin/microlua-sim | clp/mls/modules/Mod.lua | 2 | 5279 | -------------------------------------------------------------------------------
-- Micro Lua Mod module simulation.
--
-- @class module
-- @name clp.mls.modules.Mod
-- @author Ced-le-pingouin <Ced.le.pingouin@gmail.com>
-------------------------------------------------------------------------------
-- Copyright (C) 2... | gpl-3.0 |
madmanteam/vlc | share/lua/playlist/liveleak.lua | 91 | 1883 | --[[
$Id$
Copyright ยฉ 2012 VideoLAN and AUTHORS
Authors: Ludovic Fauvet <etix@videolan.org>
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 optio... | gpl-2.0 |
adan830/UpAndAway | code/prefabs/beanlet_zealot.lua | 2 | 2713 | --[[
-- The bean hate logic is now handled by the BeanHated component.
--]]
BindGlobal()
local BeanletCombat = pkgrequire "common.beanlet_combat"
local CFG = TheMod:GetConfig()
local assets =
{
Asset("ANIM", "anim/beanlet_zealot.zip"), -- same name as the .scml
Asset("SOUND", "sound/rabbit.fsb"),
Asset... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c89211486.lua | 3 | 1346 | --ใธใงใใฏในใปใใฏใฟใผ
function c89211486.initial_effect(c)
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(89211486,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c89211486.cost)
e1:SetTarget(c... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c26956670.lua | 3 | 2193 | --ๅ็ณๅฒฉใฎ่งฃๆพ
function c26956670.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_END_PHASE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c26956670.target)
e1:SetOperat... | gpl-2.0 |
asmagill/hammerspoon_core | location/init.lua | 1 | 35305 |
--- === hs.location ===
---
--- Determine the machine's location and useful information about that location
---
--- This module provides functions for getting current location information and tracking location changes. It expands on the earlier version of the module by adding the ability to create independant location... | mit |
johnparker007/mame | 3rdparty/bgfx/scripts/bindings-cs.lua | 7 | 9294 | local codegen = require "codegen"
local idl = codegen.idl "bgfx.idl"
local csharp_template = [[
/*
* Copyright 2011-2019 Branimir Karadzic. All rights reserved.
* License: https://github.com/bkaradzic/bgfx/blob/master/LICENSE
*/
/*
*
* AUTO GENERATED! DO NOT EDIT!
*
*/
using System;
using System.Runtime.Inter... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c41234315.lua | 3 | 1794 | --ใใงใคใฏใปใจใฏในใใญใผใธใงใณใปใใณใฟ
function c41234315.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetCondition(c41234315.condition)
e1:SetOperation(c41234315.activate)
c:RegisterEffect(e1)
end
functi... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c29400787.lua | 3 | 2352 | --ใดใผในใใชใใฏใปใใฌใผใ
function c29400787.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--atklimit
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
e2:SetRange(... | gpl-2.0 |
MoZhonghua/skynet | service/cslave.lua | 50 | 6448 | local skynet = require "skynet"
local socket = require "socket"
require "skynet.manager" -- import skynet.launch, ...
local table = table
local slaves = {}
local connect_queue = {}
local globalname = {}
local queryname = {}
local harbor = {}
local harbor_service
local monitor = {}
local monitor_master_set = {}
local ... | mit |
mamaddeveloper/xam | plugins/stats.lua | 4 | 3994 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c61587183.lua | 7 | 2008 | --้ป่ ๏ผ้ใ่ถณใฎใใใฏ
function c61587183.initial_effect(c)
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(61587183,0))
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_BATTLE_DAMAGE)
e1:SetCondition(c61587183.condition)
e1:SetTarget(c61587183.target)
e... | gpl-2.0 |
zhaoxin54430/zhaoxin_test | src_packages/net/prosody/files/prosody.cfg.lua | 147 | 7257 | -- Prosody Example Configuration File
--
-- Information on configuring Prosody can be found on our
-- website at http://prosody.im/doc/configure
--
-- Tip: You can check that the syntax of this file is correct
-- when you have finished by running: luac -p prosody.cfg.lua
-- If there are any errors, it will let you know... | gpl-2.0 |
sjznxd/lc-20130302 | libs/core/luasrc/util.lua | 81 | 21858 | --[[
LuCI - Utility library
Description:
Several common useful Lua functions
License:
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.... | apache-2.0 |
TETOO2020/THETETOO_A8 | plugins/en_leave.lua | 3 | 1370 | --[[
โโ โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โโ โโ โโ โโ
โโ โโ BY tetoo โโ โโ
โโ โโ BY nmore (@l_l_lo) โโ โโ
โโ โโ JUST WRITED BY l_l_ll โโ โโ
โโ โโ broadcast : ู
ุบุงุฏุฑุฉ ุงูุจูุช โโ โโ
โโโโโโโโโโโโโโโ... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c56931015.lua | 3 | 2116 | --ใฐใฉใดใฃใใฃใปใใใขใน
function c56931015.initial_effect(c)
--summon with no tribute
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(56931015,0))
e1:SetProperty(EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SUMMON_PROC)
e1:SetCondition(c56931015.ntcon)
c:RegisterEffect(e1)
--de... | gpl-2.0 |
shirat74/sile | core/typesetter.lua | 1 | 15113 | -- This is the default typesetter. You are, of course, welcome to create your own.
local awful_bad = 1073741823
local inf_bad = 10000
local eject_penalty = -inf_bad
local supereject_penalty = 2 * -inf_bad
local deplorable = 100000
if std.string.monkey_patch then -- stdlib >= 40
std.string.monkey_patch()
end
SILE.se... | mit |
anshkumar/yugioh-glaze | assets/script/c78700060.lua | 3 | 1520 | --ๆญป้้จๅฃซใในใซใชใใผใปใใคใ
function c78700060.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)
--Negate
local e2=Effect.CreateEffect(c)
e2:S... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c24449083.lua | 5 | 1702 | --ใณใผใใปใชใใปใธใฃในใใฃใน
function c24449083.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 e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(24449083,0))
e2:SetCategory(CATEGORY_SPECIAL_SUMMON)... | gpl-2.0 |
tavuntu/gooi | gooi/checkbox.lua | 1 | 1441 | ----------------------------------------------------------------------------
-------------------------- Checkbox creator -----------------------------
----------------------------------------------------------------------------
function gooi.newCheck(params)
params = params or {}
local chb = {}
local x... | mit |
anshkumar/yugioh-glaze | assets/script/c90200789.lua | 3 | 2935 | --ๅฟๆณ ่ถ
ๅคๅใฎ่ก
function c90200789.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOGRAVE+CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,0x1c0)
e1:SetTarget(c90200789.target)
e1:S... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c31178212.lua | 3 | 2025 | --ใใธใงในใใฏใฟใผใปใฆใใณใผใณ
function c31178212.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_TOHAND)
e2:SetType... | gpl-2.0 |
zhaoxin54430/zhaoxin_test | src_routing/luci-app-bmx6/files/usr/lib/lua/luci/model/cbi/bmx6/interfaces.lua | 20 | 2085 | --[[
Copyright (C) 2011 Pau Escrich <pau@dabax.net>
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.
Th... | gpl-2.0 |
mosaic-cloud/mosaic-distribution-dependencies | dependencies/nodejs/0.10.32/deps/v8/tools/gcmole/gccause.lua | 157 | 2313 | -- Copyright 2011 the V8 project authors. All rights reserved.
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are
-- met:
--
-- * Redistributions of source code must retain the above copyright
-- notice, this list of ... | apache-2.0 |
qq2588258/floweers | Resources/luaScript/util/CCBReaderLoad.lua | 14 | 5978 | ccb = ccb or {}
function CCBReaderLoad(strFilePath,proxy,bSetOwner,strOwnerName)
if nil == proxy then
return
end
local ccbReader = proxy:createCCBReader()
local node = proxy:readCCBFromFile(strFilePath,ccbReader,bSetOwner)
local owner = ccbReader:getOwner()
local rootName = "... | mit |
Zhu-Zhi-Hao/Droid_Ettercap | src/lua/share/third-party/stdlib/src/object.lua | 12 | 1911 | --- Prototype-based objects
-- <ul>
-- <li>Create an object/class:</li>
-- <ul>
-- <li>Either, if the <code>_init</code> field is a list:
-- <ul>
-- <li><code>object/Class = prototype {value, ...; field = value, ...}</code></li>
-- <li>Named values are assigned to the corresponding fields, and u... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c4466015.lua | 3 | 1134 | --ใดใงใใ ใปในใใฉใใทใฅ
function c4466015.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(0,TIMING_DRAW_PHASE)
e1:SetTarget(c4466015.target)
e1:SetOperation(... | gpl-2.0 |
johnparker007/mame | 3rdparty/genie/src/base/cmdline.lua | 44 | 2186 | --
-- cmdline.lua
-- Functions to define and handle command line actions and options.
-- Copyright (c) 2002-2011 Jason Perkins and the Premake project
--
--
-- Built-in command line options
--
newoption
{
trigger = "cc",
value = "VALUE",
description = "Choose a C/C++ compiler set",
allowed = {
... | gpl-2.0 |
chenjiansnail/skynet | lualib/http/httpd.lua | 101 | 3708 | local internal = require "http.internal"
local table = table
local string = string
local type = type
local httpd = {}
local http_status_msg = {
[100] = "Continue",
[101] = "Switching Protocols",
[200] = "OK",
[201] = "Created",
[202] = "Accepted",
[203] = "Non-Authoritative Information",
[204] = "No Content",... | mit |
mohammad10427/pawerbot | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c19980975.lua | 3 | 1196 | --ใใคใคใขใณใใในใใปใตใคใฏใญใณ
function c19980975.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetTarget(c19980975.target)
e1:SetOperation(c19980975.activate... | gpl-2.0 |
dinodeck/rpg_dialog_script | dialog_runner/code/ui/BitmapText.lua | 1 | 9903 | -- Should be support for newlines
-- Render and nextline and size
BitmapText = {}
BitmapText.__index = BitmapText
function BitmapText:Create(def)
local texture = Texture.Find(def.texture)
local this =
{
mTexture = texture,
mWidth = texture:GetWidth(),
mHeight = texture:GetHeight(... | mit |
anshkumar/yugioh-glaze | assets/script/c40583194.lua | 5 | 1799 | --ใใฉใผในใปใชใพใใผใฟใผ
function c40583194.initial_effect(c)
--
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(40583194,0))
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c40583194.cost)
e1:SetTarget(c40583194.target)
e1:SetOperation(c40583... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c31118030.lua | 3 | 1038 | --ๅ ่กๅงซใขใญใผใทใซใ
function c31118030.initial_effect(c)
--to hand
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_DELAY)
e1:SetTarget(c31118030.thtg)
e1:SetOperation(c31118030.thop)
c:Regist... | gpl-2.0 |
freifunk-gluon/luci | modules/admin-full/luasrc/model/cbi/admin_system/fstab/mount.lua | 27 | 3228 | --[[
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 |
nanopack/flip | test/packet.lua | 2 | 1327 | -- -*- mode: lua; tab-width: 2; indent-tabs-mode: 1; st-rulers: [70] -*-
-- vim: ts=4 sw=4 ft=lua noet
---------------------------------------------------------------------
-- @author Daniel Barney <daniel@pagodabox.com>
-- @copyright 2014, Pagoda Box, Inc.
-- @doc
--
-- @end
-- Created : 20 Nov 2014 by Daniel Barney... | mit |
fmidev/himan | himan-scripts/snwc-radiation.lua | 1 | 2692 | --
-- SmartMet NWC parameters
--
-- Create radiation parameters to SNWC using data from ECMWF
-- and fixing the radiation if total cloudiness has changed.
--
local MISS = missing
local rad_prod = producer(240, "ECGMTA")
local ftype = forecast_type(HPForecastType.kDeterministic)
local latest_origintime = ""
if confi... | mit |
anshkumar/yugioh-glaze | assets/script/c29424328.lua | 9 | 1461 | --้ญ็ใใฃใขใใญใน
function c29424328.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)
--tribute limit
local e2=Effect.CreateEffect(c)
e2:... | gpl-2.0 |
qamrhom/wawi.alnajaf | plugin/lock_fwd.lua | 1 | 1676 | --[[
#
#ููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููู
#:((
# For More Information ....!
# Wawi : Alnajaf < @wawi_alnajaf >
# our channel: @almlaek
# Version: 1.1
#:))
#ูููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููููู
#
]]
do
loca... | gpl-3.0 |
johnparker007/mame | 3rdparty/genie/tests/baking/test_merging.lua | 57 | 2096 | --
-- tests/baking/test_merging.lua
-- Verifies different field types are merged properly during baking.
-- Copyright (c) 2011 Jason Perkins and the Premake project
--
T.baking_merging = { }
local suite = T.baking_merging
--
-- Setup code
--
local sln, prj, cfg
function suite.setup()
sln = solution "MySolution... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c20138923.lua | 3 | 1111 | --ๅ้ญ้ก
function c20138923.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_CHAINING)
e1:SetCondition(c20138923.condition)
e1:SetTarget(c20138923.target)
e1:SetOperation(c2013892... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c44236692.lua | 3 | 1691 | --ใใฏใญใปใชใณใซใผ
function c44236692.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(44236692,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c44236692.spcost)
... | gpl-2.0 |
zhaoxin54430/zhaoxin_test | src_luci/applications/luci-app-wshaper/luasrc/model/cbi/wshaper.lua | 56 | 1848 | -- Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
-- Licensed to the public under the Apache License 2.0.
require("luci.tools.webadmin")
m = Map("wshaper", translate("Wondershaper"),
translate("Wondershaper shapes traffic to ensure low latencies for interactive traffic even when your " ..
"internet connec... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c39343610.lua | 3 | 2065 | --ใใผใฏใใฌใคใบใใฉใดใณ
function c39343610.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(39343610,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F)
e1:SetCode(EVENT_SPSUMMON_SUCCESS)
e1:SetCondition(c39343610.atkcon)
e1:SetOperation(c393... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c96765646.lua | 5 | 1678 | --ๆใๅบใฎใใฉใณใณ
function c96765646.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(c96765646.target)
e1:SetOperation(c96765646.activate)
c:RegisterE... | gpl-2.0 |
adan830/UpAndAway | code/stategraphs/SGgummybear.lua | 2 | 12908 | BindGlobal()
require("stategraphs/commonstates")
local actionhandlers =
{
ActionHandler(ACTIONS.GOHOME, "gohome"),
ActionHandler(ACTIONS.EAT, "eat"),
ActionHandler(ACTIONS.PICKUP, "pickup"),
}
local events =
{
CommonHandlers.OnStep(),
CommonHandlers.OnLocomote(true,true),
Co... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c12800777.lua | 3 | 2036 | --้ขจใฎ็ฒพ้ ใฌใซใผใ
function c12800777.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(c12800777.spcon)
e1:SetOperation(c12800777.spo... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c11390349.lua | 3 | 1787 | --ใใใฅใซใปใใฉใคใใใฉใค
function c11390349.initial_effect(c)
--atk,def
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(0,LOCATION_MZONE)
e1:SetCode(EFFECT_UPDATE_ATTACK)
e1:SetValue(c11390349.val)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCode(EFFECT_UPD... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.