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/c45282603.lua
5
1190
--召喚師セームベル function c45282603.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(45282603,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetProperty(EFFECT_FLAG_NO_TURN_RESET) e1:SetCountLimit(1) e1:SetTarget(...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c14258627.lua
3
2596
--地球巨人 ガイア・プレート function c14258627.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(c14258627.spcon) e1:SetOperation(c14258627.spop) c:RegisterEffec...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c23122036.lua
5
1956
--陰謀の盾 function c23122036.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(c23122036.target) e1:SetOperation(c23122036.operation) c:RegisterEffect(e1) en...
gpl-2.0
Ardavans/DSR
mbwrap/games/Bottleneck2Rooms.lua
1
1215
local Bottleneck2Rooms, parent = torch.class('Bottleneck2Rooms', 'MazeBase') math = require ('math') function Bottleneck2Rooms:__init(opts, vocab) opts.height = 5 opts.width = 5 parent.__init(self, opts, vocab) block_locs = {{1,3}, {2,3}, {3,3}, {5,3}} for i = 1,#block_locs do self:place...
mit
anshkumar/yugioh-glaze
assets/script/c55696885.lua
3
1195
--疫病狼 function c55696885.initial_effect(c) --atkup local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(55696885,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetOperation(c55696885.atkop) c:RegisterEffect(e1) end function c...
gpl-2.0
zwhfly/openwrt-luci
applications/luci-pbx/luasrc/model/cbi/pbx-users.lua
146
5623
--[[ Copyright 2011 Iordan Iordanov <iiordanov (AT) gmail.com> This file is part of luci-pbx. luci-pbx 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 3 of the License, or ...
apache-2.0
Ardavans/DSR
mbwrap/games/MultiGoalsAbsolute.lua
2
3624
-- Copyright (c) 2015-present, Facebook, Inc. -- All rights reserved. -- -- This source code is licensed under the BSD-style license found in the -- LICENSE file in the root directory of this source tree. An additional grant -- of patent rights can be found in the PATENTS file in the same directory. local MultiGoalsA...
mit
anshkumar/yugioh-glaze
assets/script/c80887952.lua
3
2585
--ヘリオス・デュオ・メギストス function c80887952.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(c80887952.hspcon) e1:SetOperation(c80887952.hspop) c:RegisterEf...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c82263578.lua
9
1263
--戦火の残滓 function c82263578.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:SetCondition(c82263578.condition) e1:SetTarget(c82263578.target) e1:SetOperation(c8226...
gpl-2.0
CTaylor1118/smart-style-transfer
images.lua
1
1095
-- Preprocess an image before passing it to a Caffe model. -- We need to rescale from [0, 1] to [0, 255], convert from RGB to BGR, -- and subtract the mean pixel. function preprocess(img) local mean_pixel = torch.DoubleTensor({103.939, 116.779, 123.68}) local perm = torch.LongTensor{3, 2, 1} img = img:index(1, pe...
mit
johnparker007/mame
3rdparty/bimg/scripts/genie.lua
7
1520
-- -- Copyright 2010-2019 Branimir Karadzic. All rights reserved. -- License: https://github.com/bkaradzic/bimg#license-bsd-2-clause -- newoption { trigger = "with-amalgamated", description = "Enable amalgamated build.", } newoption { trigger = "with-shared-lib", description = "Enable building shared library.", }...
gpl-2.0
shirat74/sile
languages/hu.lua
4
716735
SILE.hyphenator.languages["hu"] = {}; SILE.hyphenator.languages["hu"].patterns = { ".a2", ".adatát1a2", ".ada2t1e2", ".adás1s", ".adá2s3z", ".ad1yé.", ".ad1yi", ".ag1os", ".ag2ra", ".agyag1g", ".agy1á2ram", ".agy1árt", ".agy1e2", ".agyo2", ".agyon1", ".agy1ó2", ".agy1ű2", ".akác1c", ".aká2cs", ".ak2h", ".ako2", ".ak...
mit
m-a-hicks/Simulacrum
Resources/Loaders/MRILoader.lua
1
11412
--============================================================================== -------------------------- Generic Volume Loader ------------------------------- --============================================================================== SLua.SLogger_global():addMessage("SLua ProstateMRI Study Loader") --========...
lgpl-3.0
PocoCraftSource/FiveNightsatFreddysGMod
entities/entities/edit_sun.lua
3
2565
AddCSLuaFile() DEFINE_BASECLASS( "base_edit" ) ENT.Spawnable = true ENT.AdminOnly = true ENT.PrintName = "Sun Editor" ENT.Category = "Editors" function ENT:Initialize() BaseClass.Initialize( self ) self:EnableForwardArrow() self:SetMaterial( "gmod/edit_sun" ) if ( SERVER ) then -- -- Notify us ...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c78004197.lua
3
1778
--暗黒界の武神 ゴルド function c78004197.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(78004197,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_TO_GRAVE) e1:SetCondition(c78004197.spcon) e1:Se...
gpl-2.0
wvierber/hammerspoon
extensions/uielement/init.lua
13
7608
--- === hs.uielement === --- --- A generalized framework for working with OSX UI elements local uielement = require "hs.uielement.internal" local application = {} application.watcher = require "hs.application.watcher" local fnutils = require "hs.fnutils" --- hs.uielement:isApplication() -> bool --- Method --- Return...
mit
anshkumar/yugioh-glaze
assets/script/c19252988.lua
3
1036
--トラップ・ジャマー function c19252988.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c19252988.condition) e1:SetTarget(c19252988.target) e1:SetOperation(c19252988.activate) c:Regi...
gpl-2.0
shawnye/tools-Assets-Manager
release/date.lua
3
32258
--------------------------------------------------------------------------------------- -- Module for date and time calculations -- -- Version 2.1.1 -- Copyright (C) 2006, by Jas Latrix (jastejada@yahoo.com) -- Copyright (C) 2013-2014, by Thijs Schreijer -- Licensed under MIT, http://opensource.org/licenses/MIT --[[ C...
mit
Zhu-Zhi-Hao/Droid_Ettercap
src/lua/share/third-party/stdlib/rockspecs.lua
12
1121
-- Rockspec data -- Variables to be interpolated: -- -- package -- version local version_dashed = version:gsub ("%.", "-") local default = { package = package_name, version = version.."-2", source = { url = "git://github.com/rrthomas/lua-stdlib.git", }, description = { summary = "General Lua librar...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c1045143.lua
3
1270
--ギアギアーノ Mk-II function c1045143.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(1045143,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c1045143.sptg) e1:SetOperation(c1045...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c691925.lua
3
1252
--ソーラー・エクスチェンジ function c691925.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DRAW+CATEGORY_DECKDES) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c691925.cost) e1:SetTarget(c691925.target) e1:SetOperati...
gpl-2.0
WAKAMAZU/sile_fe
packages/color.lua
3
1388
SILE.registerCommand("color", function(options, content) local color = options.color or "black" color = SILE.colorparser(color) SILE.typesetter:pushHbox({ outputYourself= function () SILE.outputter:pushColor(color) end }); SILE.process(content) SILE.typesetter:pushHbox({ outputYourself= function ()...
mit
Arashbrsh/kings-BOT
bot/utils.lua
356
14963
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
shirat74/sile
languages/en.lua
3
40984
SILE.hyphenator.languages["en"] = {}; SILE.hyphenator.languages["en"].patterns = {".ach4", ".ad4der", ".af1t", ".al3t", ".am5at", ".an5c", ".ang4", ".ani5m", ".ant4", ".an3te", ".anti5s", ".ar5s", ".ar4tie", ".ar4ty", ".as3c", ".as1p", ".as1s", ".aster5", ".atom5", ".au1d", ".av4i", ".awn4", ".ba4g", ".ba5na", ".bas4e"...
mit
sjznxd/lc-20130302
modules/niu/luasrc/controller/niu/system.lua
33
6889
--[[ 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...
apache-2.0
assassinboy208/eagleTG
plugins/vote.lua
615
2128
do local _file_votes = './data/votes.lua' function read_file_votes () local f = io.open(_file_votes, "r+") if f == nil then print ('Created voting file '.._file_votes) serialize_to_file({}, _file_votes) else print ('Values loaded: '.._file_votes) f:close() end return loadfile (_file_votes)()...
gpl-2.0
sjznxd/lc-20130302
modules/admin-full/luasrc/model/cbi/admin_system/system.lua
39
5650
--[[ 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/c20057949.lua
3
3197
--フォーチュン・インハーリット function c20057949.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetCondition(c20057949.condition) e1:SetOperation(c20057949.activate) c:...
gpl-2.0
rickyHong/nn_lib_torch
SpatialSubtractiveNormalization.lua
3
3490
local SpatialSubtractiveNormalization, parent = torch.class('nn.SpatialSubtractiveNormalization','nn.Module') function SpatialSubtractiveNormalization:__init(nInputPlane, kernel) parent.__init(self) -- get args self.nInputPlane = nInputPlane or 1 self.kernel = kernel or torch.Tensor(9,9):fill(1) local ...
bsd-3-clause
anshkumar/yugioh-glaze
assets/script/c95816395.lua
3
1542
--どぐう function c95816395.initial_effect(c) --to grave local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_TO_GRAVE) e1:SetOperation(c95816395.regop) c:RegisterEffect(e1) end function c95816395.regop(e,tp,eg,ep,ev,re,r,rp) local c=e:GetHandler() if rp~=tp and c:...
gpl-2.0
dafei2015/hugula
Client/Assets/Lua/begin.lua
3
1132
------------------------------------------------ -- Copyright © 2013-2014 Hugula: Arpg game Engine -- -- author pu ------------------------------------------------ require("const.importClass") require("net.netMsgHelper") require("net.netAPIList") require("net.netProtocalPaser") require("net.proxy") require("cons...
mit
anshkumar/yugioh-glaze
assets/script/c16708652.lua
3
1832
--カラクリ粉 function c16708652.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE+CATEGORY_DEFCHANGE) 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:SetC...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c91148083.lua
3
1785
--神々の黄昏 function c91148083.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c91148083.target) e1:SetOperation(c91148083.operation) c:RegisterEffect(e1) end function c91148083.filter(c) ...
gpl-2.0
adan830/UpAndAway
wicker/api/prefab_compiler.lua
6
1396
--[[ 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
sjznxd/lc-20130302
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua
85
3643
--[[ Luci statistics - olsrd plugin diagram definition Copyright 2011 Manuel Munz <freifunk at somakoma dot de> 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/licen...
apache-2.0
anshkumar/yugioh-glaze
assets/script/c10000010.lua
3
3823
--ラーの翼神竜 function c10000010.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(c10000010.ttcon) e1:SetOperation(c10000010.ttop) e1:SetValue...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c15270885.lua
3
2702
--トゥーン・ゴブリン突撃部隊 function c15270885.initial_effect(c) --cannot attack local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetOperation(c15270885.atklimit) c:RegisterEffect(e1) local e2=e1:Clone() e2:SetCode(EVENT_SPSUMMON_SUCCESS) c:RegisterE...
gpl-2.0
assassinboy208/eagleTG
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
MmxBoy/mmx-anti
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
mahdipilotts/mahdi
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
agpl-3.0
anshkumar/yugioh-glaze
assets/script/c93715853.lua
3
1249
--魔神アーク・マキナ function c93715853.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DAMAGE) e1:SetCondition(c93715853.spcon) e1:SetTarget(c93715853.sptg) e1:SetOperation(c93715853.spop) ...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c7165085.lua
3
2550
--おとり人形 function c7165085.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c7165085.target) e1:SetOperation(c7165085.activate) c:RegisterEffect(e1) end function c7165085.filter(c) return c:Is...
gpl-2.0
adan830/UpAndAway
code/components/climbingvoter_replica.lua
2
1869
local ClimbingScreen = modrequire "screens.climbingscreen" --- local pushscreen local popscreen local ClimbingVoter = Class(Debuggable, function(self, inst) self.inst = inst Debuggable._ctor(self, "ClimbingVoterReplica") self:SetConfigurationKey "CLIMBING_VOTER" self.poll_screen = nil self.inst:DoTaskInTime(...
gpl-2.0
zhaoxin54430/zhaoxin_test
src_luci/applications/luci-app-statistics/luasrc/controller/luci_statistics/luci_statistics.lua
9
5926
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Copyright 2012 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.luci_statistics.luci_statistics", package.seeall) function index() require("nixio.fs") require("luci.util") req...
gpl-2.0
cartman300/Polycode
Examples/Lua/Game_Demos/DemoPlatformer/Scripts/Player.lua
10
3163
class "Player" function Player:Player(scene, playerBody) self.scene = scene self.playerBody = playerBody self.top = safe_cast(playerBody:getEntityById("top", true), SceneSprite) self.legs = safe_cast(playerBody:getEntityById("legs", true), SceneSprite) self.groundSensor = playerBody:getEntityById("groundSensor",...
mit
AnySDK/Sample_CPP_Cocos2dx
tools/cocos2d-console/plugins/plugin_luacompile/bin/lua/jit/bcsave.lua
78
18123
---------------------------------------------------------------------------- -- LuaJIT module to save/list bytecode. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
mit
johnparker007/mame
scripts/target/mame/arcade.lua
1
196750
-- license:BSD-3-Clause -- copyright-holders:MAMEdev Team --------------------------------------------------------------------------- -- -- arcade.lua -- -- MAME target makefile -- --------------------------------------------------------------------------- -------------------------------------------------- -- spe...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c66604523.lua
5
1295
--エクシーズ・リバーサル function c66604523.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_CONTROL) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,0x1e0) e1:SetTarget(c66604523.target) e1:SetOperation(c66604523...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c36415522.lua
3
4171
--EMピンチヘルパー function c36415522.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_ATTACK) e1:SetTarget(c36415522.sptg1) e1:SetOperation(c36415522.spop) c:RegisterEffect(e1) --spsummon local e2=Effect.CreateEffect...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c80193355.lua
6
1463
--救出劇 function c80193355.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_BECOME_TARGET) e1:SetCondition(c80193355.condition) e1:SetTarget(c80193355.target) e1:SetOperation(c80193355.activate) ...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c282886.lua
3
1531
--水精鱗-アビスノーズ function c282886.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(282886,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCode(EVENT_BATTLE_DESTROYING) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCountLimit(1,282886) e1:SetCondition(a...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c36757171.lua
3
2004
--ヴェルズ・バハムート function c36757171.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0xa),4,2) c:EnableReviveLimit() --attack up local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_CONTROL+CATEGORY_HANDES) e1:SetDescription(aux.Stringid(36757171,0)) e1:SetType(EFFECT_TY...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c15175429.lua
3
1159
--マジック・リアクター・AID function c15175429.initial_effect(c) --destroy&damage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(15175429,0)) e1:SetCategory(CATEGORY_DAMAGE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_QUICK_O) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL) e1:S...
gpl-2.0
sjznxd/lc-20130302
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/iptables.lua
86
1131
--[[ Luci statistics - iptables plugin diagram definition (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 at http://www.a...
apache-2.0
anshkumar/yugioh-glaze
assets/script/c74294676.lua
3
2631
--エヴォルカイザー・ラギア function c74294676.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_DINOSAUR),4,2) c:EnableReviveLimit() --negate activate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(74294676,0)) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e1:Se...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c12181376.lua
5
1950
--トライアングル・X・スパーク function c12181376.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c12181376.target) e1:SetOperation(c12181376.activate) c:RegisterEffect(e1) end function c12181376.filter(...
gpl-2.0
zhaoxin54430/zhaoxin_test
src_luci/build/luadoc/luadoc/lp.lua
175
4389
---------------------------------------------------------------------------- -- Lua Pages Template Preprocessor. -- -- @release $Id: lp.lua,v 1.7 2007/04/18 14:28:39 tomas Exp $ ---------------------------------------------------------------------------- local assert, error, getfenv, loadstring, setfenv = assert, erro...
gpl-2.0
johnparker007/mame
3rdparty/genie/src/base/bake.lua
26
24928
-- -- base/bake.lua -- -- Takes all the configuration information provided by the project scripts -- and stored in the solution->project->block hierarchy and flattens it all -- down into one object per configuration. These objects are cached with the -- project, and can be retrieved by calling the getconfig() or eachco...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c14318794.lua
3
1946
--生命吸収装置 function c14318794.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_STANDBY_PHASE,0) c:RegisterEffect(e1) --recover local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(14318794,0)) e2:SetCateg...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c39765958.lua
3
1761
--琰魔竜 レッド・デーモン function c39765958.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) c:EnableReviveLimit() --destroy local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCategory(CATEGORY_DESTROY) e1:SetDescription(aux.Stringid(39765958,0)) e1:SetRange(LOCAT...
gpl-2.0
anshkumar/yugioh-glaze
assets/script/c9109991.lua
3
1380
--BF-鉄鎖のフェーン function c9109991.initial_effect(c) --direct attack local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_DIRECT_ATTACK) c:RegisterEffect(e1) --change pos local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(9109991,0)) e2:SetCategory(CATEGORY_POSITION) e2:Set...
gpl-2.0
phi-gamma/lualibs
lualibs-set.lua
3
1923
if not modules then modules = { } end modules ['l-set'] = { version = 1.001, comment = "companion to luat-lib.mkiv", author = "Hans Hagen, PRAGMA-ADE, Hasselt NL", copyright = "PRAGMA ADE / ConTeXt Development Team", license = "see context related readme files" } -- This will become obsole...
gpl-2.0
Scavenge/darkstar
scripts/zones/Sauromugue_Champaign/npcs/qm2.lua
14
3918
----------------------------------- -- Area: Sauromugue Champaign -- NPC: qm2 (???) (Tower 2) -- Involved in Quest: THF AF "As Thick As Thieves" -- @pos 196.830 31.300 206.078 120 ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; --------------------------------...
gpl-3.0
Scavenge/darkstar
scripts/globals/items/vulcan_claymore.lua
42
1451
----------------------------------------- -- ID: 18379 -- Item: Vulcan Claymore -- Additional Effect: Fire Damage -- Enchantment: Enfire ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -----...
gpl-3.0
smanolache/kong
kong/dao/postgres_db.lua
1
13454
local BaseDB = require "kong.dao.base_db" local Errors = require "kong.dao.errors" local uuid = require "lua_uuid" local utils = require "kong.tools.utils" local TTL_CLEANUP_INTERVAL = 60 -- 1 minute local ngx_stub = _G.ngx _G.ngx = nil local pgmoon = require "pgmoon" _G.ngx = ngx_stub local PostgresDB = BaseDB:exte...
apache-2.0
nmacs/lm3s-uclinux
lib/liblua/xavante-2.2.1/src/codeweb/codeWeb.lua
3
2023
----------------------------------------------------------------------------- -- Xavante CodeWeb -- -- Author: Javier Guerra -- Copyright (c) 2005 Kepler Project ----------------------------------------------------------------------------- require "cgilua.prep" module (arg and arg[1]) -- Adds a module as a website; -...
gpl-2.0
PicoleDeLimao/Ninpou2
game/dota_addons/ninpou2/scripts/vscripts/items/burning_oil.lua
1
1860
--[[ Author: PicoleDeLimao Date: 07.23.2016 Implement burning oil damage ]] function SpellStart(event) local ability = event.ability local caster = event.caster local target = event.target_points[1] local radius = ability:GetSpecialValueFor("radius") local duration = ability:GetSpecialValueFor("duration") l...
apache-2.0
Scavenge/darkstar
scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_HM.lua
23
1634
----------------------------------- -- Area: LaLoff Amphitheater -- MOB: Ark Angel HM ----------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ----------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); require("scripts/globals/status"); ----...
gpl-3.0
Scavenge/darkstar
scripts/zones/Quicksand_Caves/npcs/_5s6.lua
14
1275
----------------------------------- -- Area: Quicksand Caves -- NPC: Ornate Door -- Door blocked by Weight system -- @pos -825 0 -379 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Caves/TextID...
gpl-3.0
Scavenge/darkstar
scripts/zones/Sacrarium/npcs/qm2.lua
14
1799
----------------------------------- -- Area: Sacrarium -- NPC: qm2 (???) -- Notes: Used to spawn Old Prof. Mariselle -- @pos 102.669 -3.111 127.279 28 ----------------------------------- package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sacrarium/Tex...
gpl-3.0
mrvigeo/pride
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
omid1212/spam
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
Joker-Developer/jokersuper
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
Scavenge/darkstar
scripts/globals/weaponskills/backhand_blow.lua
25
1380
----------------------------------- -- Backhand Blow -- Hand-to-Hand weapon skill -- Skill Level: 100 -- Deals params.critical damage. Chance of params.critical hit varies with TP. -- Aligned with the Breeze Gorget. -- Aligned with the Breeze Belt. -- Element: None -- Modifiers: STR:30% ; DEX:30% -- 100%TP 200%TP ...
gpl-3.0
ihcfan/NautiPlot
hmi-cocos2d-x/external/lua/luajit/src/src/jit/bcsave.lua
78
18123
---------------------------------------------------------------------------- -- LuaJIT module to save/list bytecode. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
gpl-2.0
Scavenge/darkstar
scripts/globals/abilities/thunder_maneuver.lua
19
1620
----------------------------------- -- Ability: Thunder Maneuver -- Enhances the effect of thunder attachments. Must have animator equipped. -- Obtained: Puppetmaster level 1 -- Recast Time: 10 seconds (shared with all maneuvers) -- Duration: 1 minute ----------------------------------- require("scripts/globals/status...
gpl-3.0
Scavenge/darkstar
scripts/zones/Garlaige_Citadel/npcs/qm17.lua
14
1367
----------------------------------- -- Area: Garlaige Citadel -- NPC: qm17 (???) -- Notes: Used to obtain Pouch of Weighted Stones -- @pos -354 0 262 200 ----------------------------------- package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0
Scavenge/darkstar
scripts/zones/LaLoff_Amphitheater/npcs/qm1_5.lua
17
2450
----------------------------------- -- Area: LaLoff_Amphitheater -- NPC: Shimmering Circle (BCNM Entrances) ------------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; package.loaded["scripts/globals/bcnm"] = nil; ------------------------------------- require("scripts/glob...
gpl-3.0
nebularg/Parrot2
Data/PointGains.lua
1
6712
local _, ns = ... local Parrot = ns.addon local module = Parrot:NewModule("PointGains") local L = LibStub("AceLocale-3.0"):GetLocale("Parrot") local newDict, newList = Parrot.newDict, Parrot.newList local Deformat = Parrot.Deformat local currentXP = 0 function module:OnEnable() currentXP = UnitXP("player") end -- ...
lgpl-2.1
lessthanoptimal/DeepBoof
network_training/torch/models/version004.lua
1
1648
require 'torch' require 'nn' if opt.type == 'cuda' then require 'cunn' end ---------------------------------------------------------------------- print(sys.COLORS.red .. '==> construct CNN') -- This gets around ????% on test starting around epoc ?? -- ????% on training -- -- th run.lua local fu...
apache-2.0
Scavenge/darkstar
scripts/zones/AlTaieu/npcs/Swirling_Vortex.lua
29
1413
----------------------------------- -- Area: Al'Taieu -- NPC: Swirling_Vortex -- Type: Standard NPC -- @zone 33 ----------------------------------- package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil; ----------------------------------- require("scripts/zones/AlTaieu/TextIDs"); require("scripts/globals/limbus")...
gpl-3.0
OpenPrograms/mpmxyz-Programs
home/lib/crunch/19_dotindex_compression.lua
2
3305
----------------------------------------------------- --name : lib/crunch/19_dotindex_compression.lua --description: crunch module, converts '["name"]' to '.name'/{'name'=} when possible --author : mpmxyz --github page: https://github.com/mpmxyz/ocprograms --forum page : none ---------------------------------...
mit
Scavenge/darkstar
scripts/globals/items/loaf_of_black_bread.lua
12
1277
----------------------------------------- -- ID: 4364 -- Item: loaf_of_black_bread -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 8 -- Dexterity -1 -- Vitality 2 ----------------------------------------- require("scripts/globals/status"); -----------------------------------------...
gpl-3.0
Scavenge/darkstar
scripts/zones/Southern_San_dOria/npcs/qm2.lua
17
1229
----------------------------------- -- Area: Southern San d'Oria -- NPC: The ??? on the Ink Well in 2nd Flr of Vemalpeau's house. -- General Info NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
vahidazizi/golbarg
libs/JSON.lua
1
34933
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-3.0
jchuang1977/openwrt
package/diy/luci-app-diskman/luasrc/controller/diskman.lua
1
5262
--[[ LuCI - Lua Configuration Interface Copyright 2019 lisaac <https://github.com/lisaac/luci-app-diskman> ]]-- require "luci.util" module("luci.controller.diskman",package.seeall) function index() -- check all used executables in disk management are existed local CMD = {"parted", "blkid", "smartctl"} local exe...
gpl-2.0
Scavenge/darkstar
scripts/zones/Aydeewa_Subterrane/npcs/Excavation_Site.lua
43
1796
----------------------------------- -- Area: Aydeewa Subterrane -- NPC: Excavation Site (Olduum Ring quest) -- @pos 390 1 349 68 ----------------------------------- package.loaded["scripts/zones/Aydeewa_Subterrane/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scri...
gpl-3.0
Scavenge/darkstar
scripts/zones/Upper_Jeuno/npcs/Ajithaam.lua
26
4431
----------------------------------- -- Area: Upper Jeuno -- NPC: Ajithaam -- @pos -82 0.1 160 244 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/g...
gpl-3.0
Scavenge/darkstar
scripts/globals/items/plate_of_boiled_barnacles.lua
12
1320
----------------------------------------- -- ID: 5980 -- Item: Plate of Boiled Barnacles -- Food Effect: 30 Mins, All Races ----------------------------------------- -- Charisma -3 -- Defense % 25 Cap 130 ----------------------------------------- require("scripts/globals/status"); ------------------------------------...
gpl-3.0
wjhandboy/Atlas
examples/tutorial-prep-stmts.lua
46
2699
--[[ $%BEGINLICENSE%$ Copyright (c) 2007, 2008, Oracle and/or its affiliates. All rights reserved. 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; version 2 of the License. This program is dis...
gpl-2.0
Scavenge/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Bonbavour_RK.lua
14
3344
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Bonbavour, R.K. -- Outpost Conquest Guards -- @pos -481.164 -32.858 49.188 118 ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conq...
gpl-3.0
lordporya1/6985
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
sil3ntboyy/TGuard1.0.0
libs/JSON.lua
3765
34843
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.org/licenses...
gpl-2.0
Scavenge/darkstar
scripts/zones/Windurst_Woods/npcs/Quesse.lua
17
1638
----------------------------------- -- Area: Windurst Woods -- NPC: Quesse -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/zones/Windurst_Woods/TextIDs"); ...
gpl-3.0
Scavenge/darkstar
scripts/zones/Castle_Oztroja/mobs/Yagudo_Theologist.lua
12
1028
----------------------------------- -- Area: Castle Oztroja (151) -- MOB: Yagudo_Theologist ----------------------------------- require("scripts/zones/Castle_Oztroja/MobIDs"); ----------------------------------- -- onMobDeath ----------------------------------- function onMobDeath(mob, player, isKiller) end; -----...
gpl-3.0
Scavenge/darkstar
scripts/zones/FeiYin/TextIDs.lua
7
2354
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6558; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6564; -- Obtained: <item> GIL_OBTAINED = 6565; -- Obtained <number> gil KEYITEM_OBTAINED = 6567; -- Obtain...
gpl-3.0
zozaiq/DEV_ZOZO
plugins/p.lua
7
5155
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled(name) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local fu...
gpl-2.0
TeleDALAD/883bot
plugins/banhammer.lua
1085
11557
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
wilyrastin/catbot
plugins/banhammer.lua
1085
11557
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
LORDMEHDI/testertard
plugins/banhammer.lua
1085
11557
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0