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 |
|---|---|---|---|---|---|
MOSAVI17/BosstG | plugins/helpen.lua | 12 | 3068 | do
function run(msg, matches)
return [[
Commands list :
!kick [username|id]
You can also by reply
〰〰〰〰〰〰
!ban [ username|id]
You can also by reply
〰〰〰〰〰〰
!unban [id]
You can also by reply
〰〰〰〰〰〰
!inviter
you can invite inviter bot to the group
〰〰〰〰〰〰
!insudo
you can invite sudo to the group
〰〰〰〰〰〰
!who
Members l... | gpl-2.0 |
Satoshi-t/Re-SBS | lua/ai/yjcm2015-ai.lua | 1 | 43413 | sgs.ai_skill_playerchosen.huituo = function(self, targets)
self:sort(self.friends, "defense")
return self.friends[1]
end
sgs.ai_playerchosen_intention.huituo = -80
sgs.ai_skill_playerchosen.mingjian = function(self, targets)
if (sgs.ai_skill_invoke.fangquan(self) or self:needKongcheng(self.player)) then
... | gpl-3.0 |
avataronline/avatarclient | modules/corelib/ui/uiminiwindowcontainer.lua | 1 | 4539 | -- @docclass
UIMiniWindowContainer = extends(UIWidget, "UIMiniWindowContainer")
function UIMiniWindowContainer.create()
local container = UIMiniWindowContainer.internalCreate()
container.scheduledWidgets = {}
container:setFocusable(false)
container:setPhantom(true)
return container
end
-- TODO: connect to w... | mit |
Philpax/jc2mp-buymenu | server/buymenu.lua | 1 | 6122 | -- Player extension methods
function Player:SendErrorMessage( str )
self:SendChatMessage( str, Color( 255, 0, 0 ) )
end
function Player:SendSuccessMessage( str )
self:SendChatMessage( str, Color( 0, 255, 0 ) )
end
-- Buy Menu
function BuyMenu:__init()
self.items = {}
self.vehicles = {}
self... | mit |
rlcevg/Zero-K | units/corsilo.lua | 2 | 6210 | unitDef = {
unitname = [[corsilo]],
name = [[Silencer]],
description = [[Strategic Nuclear Launcher, Drains 18 m/s, 3 minute stockpile]],
acceleration = 0,
antiweapons = [[1]],
bmcode = ... | gpl-2.0 |
Amadiro/obtuse-tanuki | libs/lovebird.lua | 2 | 17964 | --
-- lovebird
--
-- Copyright (c) 2014, rxi
--
-- This library is free software; you can redistribute it and/or modify it
-- under the terms of the MIT license. See LICENSE for details.
--
local socket = require "socket"
local lovebird = { _version = "0.3.0" }
lovebird.loadstring = loadstring or load
lovebird.inite... | mit |
minetest-australopithecus/minetest-australopithecus | mods/mapgen/crust/humiditymap.lua | 1 | 2248 | --[[
Australopithecus, a game for Minetest.
Copyright (C) 2015, Robert 'Bobby' Zenz
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any l... | lgpl-2.1 |
Jennal/cocos2dx-3.2-qt | tests/lua-tests/src/BugsTest/BugsTest.lua | 10 | 20298 | local MAX_COUNT = 9
local LINE_SPACE = 40
local kItemTagBasic = 5432
local Winsize = cc.Director:getInstance():getWinSize()
local testNames = {
"Bug-350",
"Bug-422",
"Bug-458",
"Bug-624",
"Bug-886",
"Bug-899",
"Bug-914",
"Bug-1159",
"Bug-1174"
}
local function CreateBugsT... | mit |
assassinboy208/eagleTG | plugins/webshot.lua | 919 | 1473 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
RockySeven3161/UB | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
hadirahimi1380/botahriman | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c86346643.lua | 3 | 4266 | --レインボー・ネオス
function c86346643.initial_effect(c)
--fusion material
c:EnableReviveLimit()
aux.AddFusionProcCodeFun(c,89943723,c86346643.fusfilter,1,false,false)
--spsummon condition
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c28637168.lua | 5 | 1637 | --クレーンクレーン
function c28637168.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(28637168,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCount... | gpl-2.0 |
fucxy/fucxy-node | node/init.lua | 1 | 2049 | --Gateway's ssid and Password setup. You must change for your setting.
gateway_ssid="fucxy-test";
gateway_pw="qwerty1qaz2wsx";
--Place for save the available station
sta_list={}
--Ap's init_config
ap_cfg={};
--Ap's ip config
ap_ip_cfg={}
--Ap's dhcp config
ap_dhcp_cfg ={}
--Other staff
sub_net_stage=1
online=0
id=strin... | gpl-3.0 |
anshkumar/yugioh-glaze | assets/script/c34830502.lua | 3 | 2579 | --アルティメット・インセクト LV5
function c34830502.initial_effect(c)
--atk down
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(c34830502.con)
e1:SetValue(-500)
c:RegisterEffect(e1)
--special sum... | gpl-2.0 |
Arashbrsh/kings-BOT | plugins/rae.lua | 616 | 1312 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connection"
end
dulcinea = json:decode(b)
... | gpl-2.0 |
kiarash14/br | plugins/rae.lua | 616 | 1312 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connection"
end
dulcinea = json:decode(b)
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c67511500.lua | 5 | 1217 | --ドラゴン・ウィッチ-ドラゴンの守護者-
function c67511500.initial_effect(c)
--cannot be battle target
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_FIELD)
e1:SetCode(EFFECT_CANNOT_SELECT_BATTLE_TARGET)
e1:SetRange(LOCATION_MZONE)
e1:SetTargetRange(0,LOCATION_MZONE)
e1:SetValue(c67511500.atlimit)
c:RegisterEffect(e1)
-... | gpl-2.0 |
walid55/all_wazer1 | plugins/stats.lua | 866 | 4001 | 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 |
ld-test/lua-jet | spec/daemon_spec.lua | 2 | 19758 | local ev = require'ev'
local jetdaemon = require'jet.daemon'
local cjson = require'cjson'
local socket = require'socket'
local jetsocket = require'jet.socket'
local loop = ev.Loop.default
local port = os.getenv('JET_PORT') or 11122+5
setloop('ev')
local addresses_to_test
if socket.dns and socket.dns.getaddrinfo then... | mit |
michleb/darktable | tools/lua_doc/dumper.lua | 15 | 2968 |
para = function() return "\n" end
node_to_string = function(node,name)
if name then
return name
else
return node:get_name()
end
end
code = function(text)
return "<code>"..text.."</code>"
end
emphasis = function(text)
return "<em>"..text.."</em>"
end
startlist = function() return "\n" end
endlist = funct... | gpl-3.0 |
alireza1998/power | plugins/location.lua | 185 | 1565 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c20858318.lua | 5 | 2083 | --必殺!黒蠍コンビネーション
function c20858318.initial_effect(c)
--activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c20858318.con)
e1:SetTarget(c20858318.tg)
e1:SetOperation(c20858318.op)
c:RegisterEffect(e1)
end
function c20858318.cfilter(c,code)
retur... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c66451379.lua | 5 | 2854 | --グレイドル・アリゲーター
function c66451379.initial_effect(c)
--equip
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_EQUIP)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCondition(c66451379.eq... | gpl-2.0 |
zwhfly/openwrt-luci | libs/core/luasrc/model/firewall.lua | 84 | 11156 | --[[
LuCI - Firewall model
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://www.apache.org/licenses/LICENSE-2.0
Unless required by applica... | apache-2.0 |
dmccuskey/dmc-kolor | examples/dmc-kolor-advanced/dmc_library_boot.lua | 2 | 6848 | --====================================================================--
-- dmc_library_boot.lua
--
-- utility to read in dmc_library configuration file
--
-- by David McCuskey
-- Documentation:
--====================================================================--
--[[
Copyright (C) 2013-2014 David McCuskey. All ... | mit |
anshkumar/yugioh-glaze | assets/script/c26775203.lua | 3 | 1568 | --BF-熱風のギブリ
function c26775203.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(26775203,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_ATTACK_ANNOUNCE)
e1:SetRange(LOCATION_HAND)
e1:SetCondition(c267752... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c69122763.lua | 3 | 1377 | --守護霊のお守り
function c69122763.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetCondition(c6912276... | gpl-2.0 |
hadirahimi1380/botahriman | plugins/id.lua | 355 | 2795 | local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
local function returnids(cb_extra, success, resu... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c67489919.lua | 5 | 3558 | --幻獣機ブルーインパラス
function c67489919.initial_effect(c)
--
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE)
e1:SetCondition(c67489919.indcon)
e1:SetValue(1)
c:RegisterEffect(e1)
local e2=e1:C... | gpl-2.0 |
Positive07/Risem | PC Software/Main/radio.lua | 1 | 1918 | --Radio--
channel = ... --Establece una conexion con el programa principal
socket = require("socket") --Inclute la libreria para comunicaciones TCP/IP
radio = assert(socket.bind("localhost", 4532)) --Genera un servidor en la direccion "localhost" y el puerto 4532
radio:settimeout(0) --Setea el tiempo maximo de espera ... | mit |
dinodeck/rpg_dialog_script | dialog_runner/code/ui/TextControlStack.lua | 1 | 2297 | --
-- Effects such as:
-- shake - shakes textbox
-- pause - stop text type out for ~1 sec
--
-- red - marks text up as red
-- slow - writes out text slowly
--
-- Tags are defined in a tag database
---local DEBUG = false
TextControlStack = {}
TextControlStack.__index = TextControlStack
function TextControlStack:Create(... | mit |
anshkumar/yugioh-glaze | assets/script/c15013468.lua | 3 | 2597 | --アンドロ・スフィンクス
function c15013468.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+EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_GRAVE)
e1:SetCode(EFFECT_SPSUMMON_CONDITION)
c:RegisterEffect(e... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c70344351.lua | 3 | 1212 | --フォースフィールド
function c70344351.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(70344351,0))
e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_CHAINING)
e1:SetCondition(c70344351.condition)
e1:SetTarget(c70344351.target)... | gpl-2.0 |
zhaoxin54430/zhaoxin_test | src_luci/modules/luci-mod-admin-mini/luasrc/model/cbi/mini/system.lua | 78 | 2244 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
require("luci.sys")
require("luci.sys.zoneinfo")
require("luci.tools.webadmin")
require("luci.util")
m = Map("system", translate("System"), translate("Here you can configure the basic aspects of your device li... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c96029574.lua | 3 | 2978 | --ブラック・ブルドラゴ
function c96029574.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsType,TYPE_DUAL),1)
c:EnableReviveLimit()
--destroy
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(96029574,0))
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_IGNITION)
e... | gpl-2.0 |
TurBoss/Zero-K-Infrastructure | ZeroKLobby_NET4.0/Benchmarker/Benchmarks/games/ca-benchmark.sdd/LuaRules/draw.lua | 12 | 4738 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file:
-- brief:
-- author: jK
--
-- Copyright (C) 2007.
-- Licensed under the terms of the GNU GPL, v2 or later.
--
--------------... | gpl-3.0 |
sjznxd/lc-20130302 | modules/admin-full/luasrc/model/cbi/admin_system/leds.lua | 83 | 3272 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
$Id$
]]--
m = ... | apache-2.0 |
iranianboy/iran-bot | plugins/rules.lua | 43 | 2283 | --------------------------------------------------
-- ____ ____ _____ --
-- | \| _ )_ _|___ ____ __ __ --
-- | |_ ) _ \ | |/ ·__| _ \_| \/ | --
-- |____/|____/ |_|\____/\_____|_/\/\_| --
-- --
--------------... | gpl-2.0 |
kiarash14/br | plugins/id.lua | 226 | 4260 | local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
local function returnids(cb_extra, success, result)
local re... | gpl-2.0 |
adan830/UpAndAway | code/prefabs/golden_rose.lua | 2 | 1100 | BindGlobal()
local assets =
{
Asset("ANIM", "anim/golden_rose.zip"),
}
local prefabs=
{
"golden_petals",
}
local function onpickedfn(inst)
inst:Remove()
end
local function fn(Sim)
local inst = CreateEntity()
inst.entity:AddTransform()
inst.entity:AddAnimState()
inst.entity:AddSoundEmitte... | gpl-2.0 |
PocoCraftSource/FiveNightsatFreddysGMod | entities/weapons/gmod_tool/stools/hydraulic.lua | 4 | 7136 |
TOOL.Category = "Constraints"
TOOL.Name = "#tool.hydraulic.name"
TOOL.ClientConVar[ "group" ] = "37"
TOOL.ClientConVar[ "width" ] = "3"
TOOL.ClientConVar[ "addlength" ] = "100"
TOOL.ClientConVar[ "fixed" ] = "1"
TOOL.ClientConVar[ "speed" ] = "64"
TOOL.ClientConVar[ "material" ] = "cable/rope"
function TOOL:LeftClic... | gpl-2.0 |
rickyHong/nn_lib_torch | CMul.lua | 18 | 3574 | local CMul, parent = torch.class('nn.CMul', 'nn.Module')
function CMul:__init(...)
parent.__init(self)
local arg = {...}
self.size = torch.LongStorage()
local n = #arg
if n == 1 and torch.type(arg[1]) == 'torch.LongStorage' then
self.size:resize(#arg[1]):copy(arg[1])
else
self.size:r... | bsd-3-clause |
kiarash14/br | plugins/minecraft.lua | 624 | 2605 | local usage = {
"!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565",
"!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.",
}
local ltn12 = require "ltn12"
local function mineSearch(ip, port, receiver) --25565
local responseText = ""
l... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c57043117.lua | 3 | 2035 | --鋼鉄の巨兵
function c57043117.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_ROCK),3,2)
c:EnableReviveLimit()
--immune
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_IMMUNE_EFFECT)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(... | gpl-2.0 |
aliafshar250/tele7 | plugins/location.lua | 93 | 1704 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
Teleseed2/Nod32 | plugins/location.lua | 93 | 1704 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c21420702.lua | 3 | 2614 | --ブレイズ・キャノン-トライデント
function c21420702.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c21420702.cost)
c:RegisterEffect(e1)
--destroy
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(21420702,0))
e2:SetCategory(... | gpl-2.0 |
Teleseed2/Nod32 | plugins/boobs.lua | 90 | 1731 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty array
if no... | gpl-2.0 |
dinodeck/rpg_dialog_script | dialog_runner/code/EntityDefs.lua | 8 | 13484 |
-- WaitState, MoveState must already be loaded.
assert(WaitState)
assert(MoveState)
gCharacterStates =
{
wait = WaitState,
move = MoveState,
npc_stand = NPCStandState,
plan_stroll = PlanStrollState,
follow_path = FollowPathState,
cs_run_anim = CSRunAnim,
cs_hurt = CSHurt,
... | mit |
VanessaE/homedecor_modpack | homedecor/climate-control.lua | 2 | 3973 | -- Nodes that would affect the local temperature e.g. fans, heater, A/C
local S = homedecor_i18n.gettext
homedecor.register("air_conditioner", {
description = S("Air Conditioner"),
mesh = "homedecor_ac.obj",
tiles = {
"homedecor_ac.png",
"default_glass.png"
},
groups = { snappy = 3 },
sounds = default.node_... | lgpl-3.0 |
anshkumar/yugioh-glaze | assets/script/c65303664.lua | 3 | 1725 | --森の狩人イエロー・バブーン
function c65303664.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(65303664,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetRange(LOCATION_HAND)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetCondition(c6... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c2148918.lua | 5 | 1481 | --機甲忍法ラスト・ミスト
function c2148918.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--atk change
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Stringid(2148918,0))
e2:SetCategory(CATEGORY_ATKCHANGE)
e2:SetType(... | gpl-2.0 |
zwhfly/openwrt-luci | protocols/ipv6/luasrc/model/cbi/admin_network/proto_6rd.lua | 53 | 2242 | --[[
LuCI - Lua Configuration Interface
Copyright 2011-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
http://www.apache.org/licenses/LICENSE-2.0
]]--
loc... | apache-2.0 |
flexiti/esp8266-devkit | Espressif/examples/ESP8266/nodemcu-firmware/lua_modules/dht_lib/dht_lib.lua | 51 | 4895 | -- ***************************************************************************
-- DHTxx(11,21,22) module for ESP8266 with nodeMCU
--
-- Written by Javier Yanez mod by Martin
-- but based on a script of Pigs Fly from ESP8266.com forum
--
-- MIT license, http://opensource.org/licenses/MIT
-- *****************************... | gpl-3.0 |
brennanfee/dotfiles | rcs/config/nvim/lua/plugin-configs/cmp.lua | 1 | 3584 | local cmp_status_ok, cmp = pcall(require, "cmp")
if not cmp_status_ok then
return
end
local snip_status_ok, luasnip = pcall(require, "luasnip")
if not snip_status_ok then
return
end
local check_backspace = function()
local col = vim.fn.col "." - 1
return col == 0 or vim.fn.getline("."):sub(col, col):match "%s... | mit |
WAKAMAZU/sile_fe | languages/ml.lua | 4 | 1285 | SILE.hyphenator.languages["ml"] = {};
SILE.hyphenator.languages["ml"].patterns =
{
-- GENERAL RULE
-- Do not break either side of ZERO-WIDTH JOINER (U+200D)
"22",
-- Break on both sides of ZERO-WIDTH NON JOINER (U+200C)
"11",
-- Break before or after any independent vowel.
"1അ1",
"1ആ1",
"1ഇ1",
"1ഈ1",
"1ഉ1",
"1ഊ1... | mit |
anshkumar/yugioh-glaze | assets/script/c83446909.lua | 3 | 1689 | --充電池メン
function c83446909.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(83446909,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e1:SetCode(EVENT_SUMMON_SUCCESS)
e1:SetTarget(c83446909.sumtg)
e1:SetOperation(c8... | gpl-2.0 |
zwhfly/openwrt-luci | libs/core/luasrc/model/uci.lua | 86 | 10653 | --[[
LuCI - UCI model
Description:
Generalized UCI model
FileId:
$Id$
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... | apache-2.0 |
kvaps/docker-metronome | modules/mod_storage_ldap.lua | 2 | 6494 | -- vim:sts=4 sw=4
-- Metronome IM
-- Copyright (C) 2008-2010 Matthew Wild
-- Copyright (C) 2008-2010 Waqas Hussain
-- Copyright (C) 2012 Rob Hoelz
-- Copyright (C) 2015 YUNOHOST.ORG
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
---------------------... | mit |
lemonsof/lemon | cmake/extension/programoptionc.lua | 1 | 8743 | print("Lemon Program Option Compiler Version lua.1.0")
print("Copyright (C) 2012 yayanyang All Rights Reserved")
title =
[==[
/**
* this file is auto generate by programoptionc,do not modify it
* @file po.hpp
* @brief Copyright (C) 2012 yayanyang All Rights Reserved
* @author yayanyang
* @version 1.... | bsd-3-clause |
beforan/adventure-jam-2015 | states/game/ui/verbline.lua | 1 | 2159 | local Class = require "lib.hump.class"
local Hotspot = require "classes.hotspot"
local Theme = require "assets.theme"
local Gamestate = require "lib.hump.gamestate"
local ui = Class {
init = function (self)
self.zone = Hotspot(0,500, love.graphics.getWidth(), love.graphics.getHeight())
self.text = ""
sel... | mit |
adan830/UpAndAway | code/prefabs/chest_sky.lua | 2 | 2252 | BindGlobal()
local CFG = TheMod:GetConfig()
require "prefabutil"
local assets=
{
Asset("ANIM", "anim/chest_sky.zip"),
Asset("ANIM", "anim/ui_chester_shadow_3x4.zip"),
}
local function onopen(inst)
inst.AnimState:PlayAnimation("open")
inst.SoundEmitter:PlaySound("dontstarve/wilson/chest_open")... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c57777714.lua | 3 | 2638 | --英霊獣使い-セフィラムピリカ
function c57777714.initial_effect(c)
c:SetSPSummonOnce(57777714)
--pendulum summon
aux.AddPendulumProcedure(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
c:RegisterEffect(e1)
--splimit
local e2=Effect.CreateEffect(c)
e2:SetType(EF... | gpl-2.0 |
shirat74/sile | lua-libraries/repl/plugins/keep_last_eval.lua | 7 | 1626 | -- 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/script/c5052212.lua | 5 | 1803 | --イージーチューニング
function c5052212.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetHintTiming(TIMING_DAMAGE_STEP)
e1:SetCondition(c50522... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c96907086.lua | 3 | 1093 | --地縛旋風
function c96907086.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCondition(c96907086.condition)
e1:SetTarget(c96907086.target)
e1:SetOperation(c96907086.activate)
c:RegisterEffect(e1)
end
... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c21237481.lua | 5 | 2337 | --零式魔導粉砕機
function c21237481.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c21237481.target1)
e1:SetOperation(c21237481.operation)
c:RegisterEffect(e1)
--damage
local e2=Effect.CreateEffect(c)
e2:SetDescription(aux.Strin... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c21495657.lua | 3 | 2522 | --宝竜星-セフィラフウシ
function c21495657.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)
--splimit
local e2=Effect.CreateEffect(c)
e2:SetType(EFFECT_TYPE_FIELD)
e2:SetRange(LO... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c32003338.lua | 3 | 1578 | --No.34 電算機獣テラ・バイト
function c32003338.initial_effect(c)
--xyz summon
aux.AddXyzProcedure(c,nil,3,3)
c:EnableReviveLimit()
--control
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_CONTROL)
e1:SetDescription(aux.Stringid(32003338,0))
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetProperty(EFFECT_FLAG_CARD_TARGE... | gpl-2.0 |
adan830/UpAndAway | code/stategraphs/SGowl.lua | 2 | 1690 | BindGlobal()
require("stategraphs/commonstates")
local actionhandlers =
{
ActionHandler(ACTIONS.GOHOME, "gohome"),
ActionHandler(ACTIONS.EAT, "eat"),
}
local events=
{
CommonHandlers.OnLocomote(true,true),
CommonHandlers.OnSleep(),
CommonHandlers.OnFreeze(),
CommonHandlers.OnAttack(),
C... | gpl-2.0 |
nanopack/flip | lib/store/rep_client.lua | 2 | 8331 | -- -*- 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 : 18 Feb 2015 by Daniel Barney... | mit |
anshkumar/yugioh-glaze | assets/script/c19048328.lua | 3 | 4007 | --幻竜星-チョウホウ
function c19048328.initial_effect(c)
--synchro summon
aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1)
c:EnableReviveLimit()
--mat check
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_MATERIAL_CHECK)
e1:SetValue(c19048328.matcheck)
c:RegisterEffect(e1)
--act lim... | gpl-2.0 |
mamaddeveloper/xam | bot/utils.lua | 646 | 23489 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c50263751.lua | 3 | 1401 | --グリード・クエーサー
function c50263751.initial_effect(c)
--base attack
local e1=Effect.CreateEffect(c)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_SET_BASE_ATTACK)
e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE)
e1:SetRange(LOCATION_MZONE)
e1:SetValue(c50263751.atkval)
c:RegisterEffect(e1)
local e2=e1:Clone()
e2:SetCo... | gpl-2.0 |
Arashbrsh/kings-BOT | plugins/twitter_send.lua | 627 | 1555 | do
local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local client = OAuth.new(consumer_key, consumer_secret, {
RequestToken = "https://api.twitter.com/oauth/request_token",
AuthorizeUser = {"https://api.twitter.com/oauth/autho... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c39701395.lua | 9 | 1096 | --調和の宝札
function c39701395.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DRAW)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetCost(c39701395.cost)
e1:SetTarget(c39701395.target)
e1:SetOperation(c39701395.activ... | gpl-2.0 |
Tiger66639/premake-core | tests/actions/vstudio/vc2010/test_debug_settings.lua | 3 | 2318 | --
-- tests/actions/vstudio/vc2010/test_debug_settings.lua
-- Validate handling of the working directory for debugging.
-- Copyright (c) 2011-2013 Jason Perkins and the Premake project
--
local suite = test.declare("vstudio_vs2010_debug_settings")
local vc2010 = premake.vstudio.vc2010
local project = premak... | bsd-3-clause |
anshkumar/yugioh-glaze | assets/script/c6459419.lua | 3 | 1494 | --アマゾネス転生術
function c6459419.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_DESTROY+CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c6459419.target)
e1:SetOperation(c6459419.activate)
c:RegisterEffect(e1)
end
function c645... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c24311595.lua | 3 | 1033 | --レスキューロイド
function c24311595.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(24311595,0))
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetRange(LOCATION_MZONE)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetCode(EVENT_BATTLE_DESTROYED)
e1:SetTarget(c24311595.target)... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c81443745.lua | 5 | 2833 | --水遁封印式
function c81443745.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(c81443745.target1)
e1:SetOperation(c81443745.operation)
c:RegisterEffect(e1)
--remove
local e2=Effect.CreateEf... | gpl-2.0 |
httpRick/Preview-of-the-world | server/commands.lua | 1 | 1041 | function getPosition(player)
local oldplayer = player
if getPedOccupiedVehicle( player ) then
player = getPedOccupiedVehicle( player )
end
local pos = player:getPosition()
outputChatBox( "Twoja pozycja to {"..tostring(pos.x)..", "..tostring(pos.y)..", "..tostring(pos.z).."}", oldplayer,255, 175, 0 )
outputChatB... | gpl-2.0 |
XanDDemoX/Codea-Xile | Xile.codea/TileMap.lua | 1 | 3218 | local TileMap = Xile.class()
Xile.TileMap = TileMap
local event = Xile.event
local from = Xile.from
TileMap.calcIndex = function(x,y,sz) return 1+(sz.x * y) + x end
function TileMap:init(args)
self:base().init(self)
args = args or {}
local state = args.state
-- size
local tile = args.tile or... | unlicense |
freifunk-gluon/luci | modules/niu/luasrc/model/cbi/niu/network/ddns1.lua | 37 | 1993 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | apache-2.0 |
anshkumar/yugioh-glaze | assets/script/c4857085.lua | 5 | 2254 | --Ωメガネ
function c4857085.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(c4857085.target)
e1:SetOperation(c4857085.operation)
c:RegisterEffect(e1)
--Eq... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c14785765.lua | 9 | 1710 | --BF-精鋭のゼピュロス
function c14785765.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(14785765,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DAMAGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_GRAVE)
e1:SetCountLimit(1,14785765+EFFECT_COUNT_CODE_DUEL)
... | gpl-2.0 |
johnparker007/mame | 3rdparty/genie/src/actions/vstudio/vs2012.lua | 33 | 1564 | --
-- vs2012.lua
-- Baseline support for Visual Studio 2012.
-- Copyright (c) 2013 Jason Perkins and the Premake project
--
premake.vstudio.vc2012 = {}
local vc2012 = premake.vstudio.vc2012
local vstudio = premake.vstudio
---
-- Register a command-line action for Visual Studio 2012.
---
newaction
{
trigger ... | gpl-2.0 |
Tiger66639/premake-core | tests/actions/vstudio/vc2010/test_rule_vars.lua | 3 | 1978 | --
-- tests/actions/vstudio/vc2010/test_rule_vars.lua
-- Validate generation of custom rule variables at the project level.
-- Author Jason Perkins
-- Copyright (c) 2014-2015 Jason Perkins and the Premake project
--
local suite = test.declare("vstudio_vs2010_rule_vars")
local vc2010 = premake.vstudio.vc2010
--
-... | bsd-3-clause |
anshkumar/yugioh-glaze | assets/script/c26099457.lua | 5 | 1226 | --下降潮流
function c26099457.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c26099457.target)
e1:SetOperation(c26099457.activate)
c:RegisterEffect(e1)... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c6061630.lua | 3 | 2697 | --マジカル・コンダクター
function c6061630.initial_effect(c)
c:EnableCounterPermit(0x3001)
--add counter
local e0=Effect.CreateEffect(c)
e0:SetType(EFFECT_TYPE_CONTINUOUS+EFFECT_TYPE_FIELD)
e0:SetProperty(EFFECT_FLAG_CANNOT_DISABLE)
e0:SetCode(EVENT_CHAINING)
e0:SetRange(LOCATION_MZONE)
e0:SetOperation(aux.chainreg)
c:Re... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c83682725.lua | 9 | 1517 | --テールスイング
function c83682725.initial_effect(c)
--Activate
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_TOHAND)
e1:SetType(EFFECT_TYPE_ACTIVATE)
e1:SetProperty(EFFECT_FLAG_CARD_TARGET)
e1:SetCode(EVENT_FREE_CHAIN)
e1:SetTarget(c83682725.target)
e1:SetOperation(c83682725.activate)
c:RegisterEffect(e1)... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c34761062.lua | 5 | 1026 | --業火の重騎士
function c34761062.initial_effect(c)
aux.EnableDualAttribute(c)
--remove
local e4=Effect.CreateEffect(c)
e4:SetDescription(aux.Stringid(34761062,0))
e4:SetCategory(CATEGORY_REMOVE)
e4:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O)
e4:SetCode(EVENT_BATTLE_START)
e4:SetCondition(c34761062.descon)
e4:... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c41113025.lua | 5 | 1119 | --ディスクライダー
function c41113025.initial_effect(c)
--atkup
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(41113025,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCountLimit(1)
e1:SetCost(c41113025.cost)
e1:SetOperation(c41113025.operation)... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c57793869.lua | 3 | 2775 | --邪神イレイザー
function c57793869.initial_effect(c)
--summon with 3 tribute
local e1=Effect.CreateEffect(c)
e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE)
e1:SetType(EFFECT_TYPE_SINGLE)
e1:SetCode(EFFECT_LIMIT_SUMMON_PROC)
e1:SetCondition(c57793869.ttcon)
e1:SetOperation(c57793869.ttop)
e1:SetValu... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c51355346.lua | 5 | 1788 | --爆炎集合体 ガイヤ・ソウル
function c51355346.initial_effect(c)
--atk
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(51355346,0))
e1:SetCategory(CATEGORY_ATKCHANGE)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c51355346.atkcost)
e1:SetOperation(c51355346.atkop)
c:RegisterEffect(... | gpl-2.0 |
Ardavans/DSR | dsr/NeuralQLearner.lua | 1 | 27433 | if not dsr then
require 'initenv'
end
require 'pprint'
require 'hdf5'
local nql = torch.class('dsr.NeuralQLearner')
local debug = require("debugger")
function nql:__init(args)
self.name = args.name
self.state_dim = args.state_dim -- State dimensionality.
self.actions = args.actions
if tor... | mit |
anshkumar/yugioh-glaze | assets/script/c92901944.lua | 3 | 2044 | --スクラップ・サーチャー
function c92901944.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(92901944,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O)
e1:SetRange(LOCATION_GRAVE)
e1:SetCode(EVENT_TO_GRAVE)
e1:SetCondition(c9290... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c93882364.lua | 9 | 1280 | --ジェネクス・ワーカー
function c93882364.initial_effect(c)
--special summon
local e1=Effect.CreateEffect(c)
e1:SetDescription(aux.Stringid(93882364,0))
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_MZONE)
e1:SetCost(c93882364.cost)
e1:SetTarget(c93882364.target)
e1:SetOpe... | gpl-2.0 |
anshkumar/yugioh-glaze | assets/script/c45206713.lua | 3 | 3906 | --DDスワラル・スライム
function c45206713.initial_effect(c)
--spsummon
local e1=Effect.CreateEffect(c)
e1:SetCategory(CATEGORY_SPECIAL_SUMMON)
e1:SetType(EFFECT_TYPE_IGNITION)
e1:SetRange(LOCATION_HAND)
e1:SetCountLimit(1,45206713)
e1:SetTarget(c45206713.target)
e1:SetOperation(c45206713.operation)
c:RegisterEffect(e1)... | gpl-2.0 |
dinodeck/rpg_dialog_script | dialog_runner/code/CombatActions.lua | 2 | 8590 | local function AddAnimEffect(state, entity, def, spf)
local x = entity.mX
local y = entity.mY + (entity.mHeight * 0.75)
local effect = AnimEntityFx:Create(x, y, def, def.frames, spf)
state:AddEffect(effect)
end
local function AddTextNumberEffect(state, entity, num, color)
local x = entity.mX
l... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.