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
Lsty/ygopro-scripts
c40703393.lua
9
1947
--冥界流傀儡術 function c40703393.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_REMOVE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetTarget(c40703393.target) e1:SetOperation(c40703393.activate...
gpl-2.0
cleytonk/globalfull
data/talkactions/scripts/buyhouse.lua
11
1174
function onSay(cid, words, param) local housePrice = configManager.getNumber(configKeys.HOUSE_PRICE) if housePrice == -1 then return true end local player = Player(cid) if player:getPremiumDays() <= 0 then player:sendCancelMessage("You need a premium account.") return false end local position = player:ge...
gpl-2.0
RamiLego4Game/PlatformerWorld
Engine/HUD.lua
1
2666
--Author : Ramilego4Game - This File Is Part Of Platformer World-- --Type : Class/API-- HUD = class:new() function HUD:init() self.data = {} self.data[1] = {heart=6,score="0",gems={blue=false,green=false,red=false,yellow=false},keys={blue=false,green=false,red=false,yellow=false}} self.data[2] = {heart=6,score="...
gpl-2.0
MalRD/darkstar
scripts/globals/abilities/altruism.lua
12
1049
----------------------------------- -- Ability: Altruism -- Increases the accuracy of your next White Magic spell. -- Obtained: Scholar Level 75 Tier 2 Merit Points -- Recast Time: Stratagem Charge -- Duration: 1 white magic spell or 60 seconds, whichever occurs first -- -- Level |Charges |Recharge Time per Charge --...
gpl-3.0
mati865/vlc
share/lua/sd/frenchtv.lua
111
1356
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Fabio Ritrovato <sephiroth87 at videolan dot 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 ...
gpl-2.0
MalRD/darkstar
scripts/zones/RuLude_Gardens/Zone.lua
9
5910
----------------------------------- -- -- Zone: RuLude_Gardens (243) -- ----------------------------------- local ID = require("scripts/zones/RuLude_Gardens/IDs") require("scripts/globals/conquest") require("scripts/globals/missions") require("scripts/globals/quests") ----------------------------------- function onIni...
gpl-3.0
Noneatme/MTA-SCP-049
client/render/CMessageBox.lua
1
2992
-- ####################################### -- ## Project: MTA:scp-088 ## -- ## Name: MessageBox.lua ## -- ## Author: Noneatme ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### -- FUNCTIONS / METHODS -- local cFunc = {}; -- Local Functions local cS...
mit
MalRD/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/MiliartTK.lua
11
4326
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Miliart T.K -- Type: Sigil NPC -- !pos 107 1 -31 80 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/campaign"); local ID = require("scripts/zones/Southern_San_dOria_[S]/IDs"); --------------------...
gpl-3.0
Lsty/ygopro-scripts
c94820406.lua
3
3327
--ダーク・フュージョン function c94820406.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(c94820406.target) e1:SetOperation(c94820406.activate) c:RegisterEffect(e1) end function c94820406.filter...
gpl-2.0
maxrio/luci981213
applications/luci-app-wol/luasrc/model/cbi/wol.lua
55
2319
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local sys = require "luci.sys" local fs = require "nixio.fs" m = SimpleForm("wol", translate("Wake on LAN"), translate("Wake on LAN is a mechanism to remotely boot computers in the local network.")) m.submit...
apache-2.0
StewEsho/Prepenole
en_fire.lua
2
1755
-------------------------------------------------------------------------------- -- -- ENEMY: Fireball -- -- en_fire.lua -- ------------------------------- Private Fields --------------------------------- local enemyBase = require("baseEnemy"); local class = require("classy"); local physics = require("physics"); local ...
gpl-3.0
ThingMesh/openwrt-luci
modules/secn/luasrc/model/cbi/secn/mesh.lua
1
2586
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Copyright 2013 Edwin Chen <edwin@dragino.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the Licen...
apache-2.0
Lsty/ygopro-scripts
c38973775.lua
9
1176
--フォトン・リザード function c38973775.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(38973775,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,38973775) e1:SetCost(c38973775.cost) e1:SetTarget...
gpl-2.0
Lsty/ygopro-scripts
c2295440.lua
5
1735
--ワン・フォー・ワン function c2295440.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:SetCost(c2295440.cost) e1:SetTarget(c2295440.target) e1:SetOperation(c2295440.activate) c:RegisterEffect(e1) end fu...
gpl-2.0
Lsty/ygopro-scripts
c66712593.lua
9
1489
--エレメント・ソルジャー function c66712593.initial_effect(c) --control local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_CANNOT_CHANGE_CONTROL) e1:SetCondition(c66712593.ctlcon) c:RegisterEffect(e1) --disable local e2=Ef...
gpl-2.0
gallenmu/MoonGen
libmoon/deps/luajit/dynasm/dasm_mips.lua
27
30354
------------------------------------------------------------------------------ -- DynASM MIPS32/MIPS64 module. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ local mips64 = mips64 ...
mit
rampantpixels/lua_lib
lua/luajit/dynasm/dasm_mips.lua
27
30354
------------------------------------------------------------------------------ -- DynASM MIPS32/MIPS64 module. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ local mips64 = mips64 ...
unlicense
shahabsaf1/My-system
plugins/youtube.lua
644
1722
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end function get_yt_data (yt_code) local url = 'https://www.googleapis.com/yo...
gpl-2.0
hfjgjfg/hack54
plugins/youtube.lua
644
1722
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end function get_yt_data (yt_code) local url = 'https://www.googleapis.com/yo...
gpl-2.0
elant/cardpeek
dot_cardpeek_dir/scripts/lib/country_codes.lua
16
7573
COUNTRY_NUM_CODES = { [004]="Afghanistan", [008]="Albania, People's Socialist Republic of", [010]="Antarctica (the territory South of 60 deg S)", [012]="Algeria, People's Democratic Republic of", [016]="American Samoa", [020]="Andorra, Principality of", [024]="Angola, Republic of", [028]="Antigua and Barbuda", [031]="...
gpl-3.0
tarulas/luadch
luasec/samples/sni/server.lua
11
1063
local socket = require("socket") local ssl = require("ssl") local params01 = { mode = "server", protocol = "any", key = "../certs/serverAkey.pem", certificate = "../certs/serverA.pem", cafile = "../certs/rootA.pem", verify = "none", options = "all", ciphers = "ALL:!ADH:@STRENGTH", } local params02 ...
gpl-3.0
Mike325/.vim
lua/neovim/commands.lua
1
5028
-- local i = vim.inspect local api = vim.api local funcs = STORAGE.commands local M = {} local function get_wrapper(info) local scope = info.scope local lhs = info.lhs local nparams = info.nparams local varargs = info.varargs local bang = info.bang local bufnr = require('neovim').win.get_buf(0...
mit
MalRD/darkstar
scripts/globals/weaponskills/penta_thrust.lua
10
1319
----------------------------------- -- Penta Thrust -- Polearm weapon skill -- Skill Level: 150 -- Delivers a five-hit attack. params.accuracy varies with TP. -- 0.875 Attack penalty -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget. -- Aligned with the Shadow Belt. -- Element: None -- Modifiers: STR:2...
gpl-3.0
ThingMesh/openwrt-luci
applications/luci-statistics/luasrc/model/cbi/luci_statistics/exec.lua
78
2796
--[[ Luci configuration model for statistics - collectd exec 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 ...
apache-2.0
MalRD/darkstar
scripts/globals/abilities/pets/grand_fall.lua
11
1409
--------------------------------------------------- -- Geocrush --------------------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/monstertpmoves") require("scripts/globals/magic") --------------------------------------------------- funct...
gpl-3.0
Lsty/ygopro-scripts
c67249508.lua
3
1607
--竜星の凶暴化 function c67249508.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE) e1:SetCondition(c67249508.condition) e1:SetOperation(c67249508.activate) c:RegisterEffect(e1) end function c67249508.condition(e,tp,eg,ep,ev,re,r,rp) l...
gpl-2.0
MalRD/darkstar
scripts/globals/spells/bindga.lua
12
1190
----------------------------------------- -- Spell: Bind ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end function onS...
gpl-3.0
cshore-firmware/openwrt-luci
applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/olsrd.lua
68
3418
-- Copyright 2011 Manuel Munz <freifunk at somakoma dot de> -- Licensed to the public under the Apache License 2.0. module("luci.statistics.rrdtool.definitions.olsrd", package.seeall) function rrdargs( graph, plugin, plugin_instance, dtype ) local g = { } if plugin_instance == "routes" then g[#g+1] = { ...
apache-2.0
MalRD/darkstar
scripts/zones/Waughroon_Shrine/bcnms/grimshell_shocktroopers.lua
9
1074
----------------------------------- -- Grimshell Shocktroopers -- Waughroon Shrine BCNM60, Moon Orb -- !additem 1130 ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldInitialise(battlefield) battlefield:setLocalVar("loot", 1) end f...
gpl-3.0
TheOneZealot/MelsomDarkRP
lua/darkrp_customthings/ammo.lua
1
1847
/*--------------------------------------------------------------------------- Ammo types --------------------------------------------------------------------------- Ammo boxes that can be purchased in the F4 menu. Add your custom ammo types in this file. Here's the syntax: DarkRP.createAmmoType("ammoType", { name ...
mit
WarGamingKO/WarGamingKO
Build/GameServer/Quests/14406_Guardsman.lua
1
47543
local UserClass; local QuestNum; local Ret = 0; local NPC = 14406; if EVENT == 190 then QuestNum = SearchQuest(UID, NPC); if QuestNum == 0 then SelectMsg(UID, 2, -1, 559, NPC, 10, 193); elseif QuestNum > 1 and QuestNum < 100 then NpcMsg(UID, 560, NPC) else EVENT = QuestNum end...
gpl-2.0
Lsty/ygopro-scripts
c73853830.lua
3
1374
--クルセイダー・オブ・エンディミオン function c73853830.initial_effect(c) aux.EnableDualAttribute(c) --add counter local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(73853830,0)) e1:SetCategory(CATEGORY_COUNTER) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCountLimit(1) e1:SetRange...
gpl-2.0
sagarwaghmare69/nn
SpatialMaxUnpooling.lua
17
1345
local SpatialMaxUnpooling, parent = torch.class('nn.SpatialMaxUnpooling', 'nn.Module') function SpatialMaxUnpooling:__init(poolingModule) parent.__init(self) assert(torch.type(poolingModule)=='nn.SpatialMaxPooling', 'Argument must be a nn.SpatialMaxPooling module') assert(poolingModule.kH==poolingModule.dH an...
bsd-3-clause
openwrt/luci
applications/luci-app-radicale/luasrc/controller/radicale.lua
3
8680
-- Copyright 2014-2016 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed under the Apache License, Version 2.0 module("luci.controller.radicale", package.seeall) local NX = require("nixio") local NXFS = require("nixio.fs") local DISP = require("luci.dispatcher") local HTTP = require("lu...
apache-2.0
Lsty/ygopro-scripts
c16638212.lua
5
1476
--異次元の精霊 function c16638212.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(c16638212.spcon) e1:SetOperation(c16638212.spop) c:RegisterEffect(e1) e...
gpl-2.0
Lsty/ygopro-scripts
c79861914.lua
5
2364
--妖仙大旋風 function c79861914.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c79861914.cost) c:RegisterEffect(e1) --tohand local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(79861914,0)) e2:SetCategory(CATEGORY_TOH...
gpl-2.0
Lsty/ygopro-scripts
c20522190.lua
3
1031
--邪悪なるバリア -ダーク・フォース- function c20522190.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_ATTACK_ANNOUNCE) e1:SetCondition(c20522190.condition) e1:SetTarget(c20522190.target) e1:SetOperation(c20522190.activate) c:Regis...
gpl-2.0
Lsty/ygopro-scripts
c57815601.lua
3
2356
--霊獣の騎襲 function c57815601.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:SetCountLimit(1,57815601+EFFECT_COUNT_CODE_OATH) e1:SetTarget(c57815601.target)...
gpl-2.0
SmartArduino/nodemcu-firmware
lua_examples/mqtt/mqtt_file.lua
68
1667
-- test transfer files over mqtt. m_dis={} function dispatch(m,t,pl) if pl~=nil and m_dis[t] then m_dis[t](m,pl) end end function pubfile(m,filename) file.close() file.open(filename) repeat local pl=file.read(1024) if pl then m:publish("/topic2",pl,0,0) end until not pl file.close() end -- payload...
mit
MalRD/darkstar
scripts/globals/items/bowl_of_boiled_cockatrice.lua
11
1568
----------------------------------------- -- ID: 4547 -- Item: Bowl of Boiled Cockatrice -- Food Effect: 180Min, All Races ----------------------------------------- -- Strength 5 -- Agility 2 -- Intelligence -2 -- Mind 1 -- Attack % 22 -- Attack Cap 60 -- Ranged ATT % 22 -- Ranged ATT Cap 60 -- Resist petrify +4 ------...
gpl-3.0
Lsty/ygopro-scripts
c37798171.lua
5
1354
--デプス・シャーク function c37798171.initial_effect(c) --summon with no tribute local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(37798171,0)) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SUMMON_PROC) e1:SetCondition(c37798171.ntcon) c:RegisterEffect(e1) --atk ...
gpl-2.0
minimumcut/UnnamedEngine
UnnamedEngine/Vendor/bullet/examples/ExampleBrowser/premake4.lua
2
6331
project "App_BulletExampleBrowser" language "C++" kind "ConsoleApp" hasCL = findOpenCL("clew") if (hasCL) then initOpenCL("clew") end links{"BulletExampleBrowserLib","gwen", "OpenGL_Window","BulletSoftBody", "BulletInverseDynamicsUtils", "BulletInverseDyn...
mit
Lsty/ygopro-scripts
c68140974.lua
3
4873
--機皇帝ワイゼル∞ function c68140974.initial_effect(c) c:EnableReviveLimit() --special summon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) e1:SetValue(0) c:RegisterEffect(e1) --special s...
gpl-2.0
staeld/minnet
minnet/funcs.lua
1
10181
#!/usr/bin/env lua -- funcs.lua - functions file for minnet -- Copyright Stæld Lakorv, 2010-2011 <staeld@staeld.co.cc> -- This file is part of Minnet. -- Minnet is released under the GPLv3 - see ../COPYING -- {{{ Internal functionality -- check_disabled(): Check if disabled in a channel function check_disabled(chan, c...
gpl-3.0
Lsty/ygopro-scripts
c96055137.lua
5
4372
--インフェルノイド・ベルフェゴル function c96055137.initial_effect(c) c:EnableReviveLimit() --special summon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1) --special summon lo...
gpl-2.0
TingPing/xenia
src/xenia/gpu/gl4/premake5.lua
2
1955
project_root = "../../../.." include(project_root.."/build_tools") group("src") project("xenia-gpu-gl4") uuid("da10149d-efb0-44aa-924c-a76a46e1f04d") kind("StaticLib") language("C++") links({ "elemental-forms", "glew", "xenia-base", "xenia-gpu", "xenia-ui", "xenia-ui-gl", "xxhash", ...
bsd-3-clause
Lsty/ygopro-scripts
c57036718.lua
3
1859
--ズバババスター function c57036718.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_BATTLE_DAMAGE) e1:SetOperation(c57036718.damop) c:RegisterEffect(e1) local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(57036718,0)) e2:Set...
gpl-2.0
gallenmu/MoonGen
libmoon/deps/luajit/dynasm/dasm_arm64.lua
30
34807
------------------------------------------------------------------------------ -- DynASM ARM64 module. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _...
mit
MalRD/darkstar
scripts/globals/abilities/pets/attachments/hammermill.lua
11
1174
----------------------------------- -- Attachment: Hammermill ----------------------------------- require("scripts/globals/status") ----------------------------------- function onEquip(pet) pet:addMod(dsp.mod.SHIELD_BASH, 30) end function onUnequip(pet) pet:delMod(dsp.mod.SHIELD_BASH, 30) end function onMane...
gpl-3.0
ThingMesh/openwrt-luci
libs/lucid-http/luasrc/lucid/http/DirectoryPublisher.lua
52
1320
--[[ LuCId HTTP-Slave (c) 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 ipairs, require...
apache-2.0
cshore-firmware/openwrt-luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk/voicemail.lua
68
1475
-- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local ast = require "luci.asterisk" cbimap = Map("asterisk", "Voicemail - Mailboxes") voicemail = cbimap:section(TypedSection, "voicemail", "Voicemail Boxes") voicemail.addremove = true voicemail.anonymous = t...
apache-2.0
tryroach/vlc
share/lua/intf/cli.lua
43
31858
--[==========================================================================[ cli.lua: CLI module for VLC --[==========================================================================[ Copyright (C) 2007-2011 the VideoLAN team $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org> Pierre Ynard ...
gpl-2.0
mati865/vlc
share/lua/intf/cli.lua
43
31858
--[==========================================================================[ cli.lua: CLI module for VLC --[==========================================================================[ Copyright (C) 2007-2011 the VideoLAN team $Id$ Authors: Antoine Cellerier <dionoea at videolan dot org> Pierre Ynard ...
gpl-2.0
Lsty/ygopro-scripts
c87025064.lua
7
1226
--銀龍の轟咆 function c87025064.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:SetCountLimit(1,87025064+EFFECT_COUNT_CODE_OATH) e1:SetTarget(c87025064.target)...
gpl-2.0
Lsty/ygopro-scripts
c91188343.lua
3
1378
--神秘の代行者 アース function c91188343.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(91188343,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_TRIGGER_O+EFFECT_TYPE_SINGLE) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c91188343.tg) e1:SetOperation(...
gpl-2.0
Lsty/ygopro-scripts
c18235309.lua
3
2569
--連撃の帝王 function c18235309.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c18235309.cost1) e1:SetTarget(c18235309.target1) e1:SetOperation(c18235309.activate) c:RegisterEffect(e1) --instant ...
gpl-2.0
Lsty/ygopro-scripts
c66957584.lua
3
2976
--インフェルニティガン function c66957584.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --discard local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(66957584,0)) e2:SetCategory(CATEGORY_TOGRAVE) e2:SetType(EFFE...
gpl-2.0
Lsty/ygopro-scripts
c48356796.lua
5
1244
--閃光の宝札 function c48356796.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c48356796.accon) c:RegisterEffect(e1) --Effect Draw local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_DRAW_COUNT) ...
gpl-2.0
ThingMesh/openwrt-luci
modules/secn/luasrc/model/cbi/secn/lan.lua
1
2888
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Copyright 2013 Edwin Chen <edwin@dragino.com> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the Licen...
apache-2.0
MalRD/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/_5cq.lua
8
2040
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5cq (Magical Gizmo) #2 -- Involved In Mission: The Horutoto Ruins Experiment ----------------------------------- local ID = require("scripts/zones/Inner_Horutoto_Ruins/IDs") require("scripts/globals/missions") ----------------------------------...
gpl-3.0
Frenzie/koreader
plugins/exporter.koplugin/target/text.lua
4
1771
local util = require("ffi/util") local T = util.template local _ = require("gettext") -- text exporter local TextExporter = require("base"):new { name = "text", extension = "txt", mimetype = "text/plain", } local function format(booknotes) local wide_space = "\227\128\128" local content = "" i...
agpl-3.0
MalRD/darkstar
scripts/zones/Wajaom_Woodlands/mobs/Zoraal_Jas_Pkuucha.lua
9
1329
----------------------------------- -- Area: Wajaom Woodlands -- Mob: Zoraal Ja's Pkuucha ----------------------------------- local ID = require("scripts/zones/Wajaom_Woodlands/IDs"); function onMobSpawn(mob) mob:setLocalVar("whenToPopZoraal", math.random(20,50)); mob:setLocalVar("hasPoppedZoraal",0); end; f...
gpl-3.0
Lsty/ygopro-scripts
c21454943.lua
3
2621
--サイコ・コマンダー function c21454943.initial_effect(c) --atkdown local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetDescription(aux.Stringid(21454943,0)) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(...
gpl-2.0
Aaa1r/DRAGON
plugins/newgroup.lua
2
36373
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY ali dragon ▀▄ ▄▀ ▀▄ ▄▀ BY ali dragon (@Aaa1R) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY :ali dragon ▀▄ ▄▀ ▀▄ ▄▀ create : صنع مجموعه ▀▄ ▄▀ ▀▄▀▀▄...
gpl-2.0
kinbei/lua-test
memoize.lua
3
1151
if not table.pack then function table.pack (...) return {n=select('#',...), ...} end end if not table.unpack then table.unpack = unpack end function memoize( fn ) local function fnKey( ... ) local key = "" local args = table.pack( ... ) for i = 1, args.n do ...
mit
Lsty/ygopro-scripts
c27564031.lua
3
2017
--Sin World function c27564031.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --search local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(27564031,0)) e2:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e2...
gpl-2.0
MalRD/darkstar
scripts/zones/Castle_Oztroja/npcs/Kaa_Toru_the_Just.lua
9
1287
----------------------------------- -- Area: Castle Oztroja -- NPC: Kaa Toru the Just -- Type: Mission NPC [ Windurst Mission 6-2 NPC ]~ -- !pos -100.188 -62.125 145.422 151 ----------------------------------- local ID = require("scripts/zones/Castle_Oztroja/IDs"); require("scripts/globals/keyitems"); ----------------...
gpl-3.0
Lsty/ygopro-scripts
c54059040.lua
3
2160
--アイスバーン function c54059040.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_SUMMON+TIMING_SPSUMMON) e1:SetTarget(c54059040.target1) e1:SetOperation(c54059040.operation) c:RegisterEffect(e1) --pos local e2=Effe...
gpl-2.0
Lsty/ygopro-scripts
c56839613.lua
9
2218
--電池メン-ボタン型 function c56839613.initial_effect(c) --flip effect local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(56839613,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP) e1:SetTarget(c56839613.target) e1:SetOperation(c56839613.operation) c:RegisterEffect(...
gpl-2.0
Lsty/ygopro-scripts
c34822850.lua
3
2606
--煉獄の氾爛 function c34822850.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --spsummon local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_TOKEN) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_T...
gpl-2.0
mikhail-angelov/vlc
share/lua/playlist/jamendo.lua
105
3112
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Fabio Ritrovato <sephiroth87 at videolan dot 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 ...
gpl-2.0
moody2020/TH3_BOSS
data/config.lua
2
1394
do local _ = { about_text = "▫️Welcome To\n TH3BOSS V10 \nFor More Information Subscribe To The Channel @llDEV1ll \n https://github.com/moody2020/TH3BOSS\n\n▫️Dev @TH3BOSS\n\n▫️ Dev Bot @ll60Kllbot\n\n▫️ channel @llDEV1ll ", enabled_plugins = { "badword", "admin", "ingroup", "stats", "anti_spa...
gpl-2.0
Lsty/ygopro-scripts
c14152862.lua
3
1493
--風紀宮司ノリト function c14152862.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_SPELLCASTER),6,2) c:EnableReviveLimit() -- local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(14152862,0)) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE...
gpl-2.0
MalRD/darkstar
scripts/zones/Cloister_of_Storms/bcnms/carbuncle_debacle.lua
9
1049
----------------------------------- -- Area: Cloister of Storms -- BCNM: Carbuncle Debacle ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldTick(battlefield, tick) dsp.battlefield.onBattlefieldTick(battlefield, tick) end function ...
gpl-3.0
MalRD/darkstar
scripts/zones/Beadeaux/Zone.lua
8
3007
----------------------------------- -- -- Zone: Beadeaux (147) -- ----------------------------------- local ID = require("scripts/zones/Beadeaux/IDs") require("scripts/globals/conquest") require("scripts/globals/missions") require("scripts/globals/npc_util") require("scripts/globals/treasure") require("scripts/globals/...
gpl-3.0
cshore-firmware/openwrt-luci
libs/luci-lib-httpclient/luasrc/httpclient/receiver.lua
78
5842
-- Copyright 2009 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. require "nixio.util" local nixio = require "nixio" local httpc = require "luci.httpclient" local ltn12 = require "luci.ltn12" local print, tonumber, require, unpack = print, tonumber, require, unpack module "l...
apache-2.0
cleytonk/globalfull
data/npc/lib/npcsystem/npcsystem.lua
49
5571
-- Advanced NPC System by Jiddo shop_amount = {} shop_cost = {} shop_rlname = {} shop_itemid = {} shop_container = {} shop_npcuid = {} shop_eventtype = {} shop_subtype = {} shop_destination = {} shop_premium = {} npcs_loaded_shop = {} npcs_loaded_travel = {} if NpcSystem == nil then -- Loads the underlying classes ...
gpl-2.0
Mkalo/forgottenserver
data/npc/lib/npcsystem/npcsystem.lua
49
5571
-- Advanced NPC System by Jiddo shop_amount = {} shop_cost = {} shop_rlname = {} shop_itemid = {} shop_container = {} shop_npcuid = {} shop_eventtype = {} shop_subtype = {} shop_destination = {} shop_premium = {} npcs_loaded_shop = {} npcs_loaded_travel = {} if NpcSystem == nil then -- Loads the underlying classes ...
gpl-2.0
Lsty/ygopro-scripts
c81020646.lua
3
1351
--煉獄龍 オーガ・ドラグーン function c81020646.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsAttribute,ATTRIBUTE_DARK),aux.NonTuner(nil),1) c:EnableReviveLimit() --negate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(81020646,0)) e1:SetCategory(CATEGORY_NEGATE+CA...
gpl-2.0
Lsty/ygopro-scripts
c80159717.lua
3
1292
--ドラグニティナイト-トライデント function c80159717.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_DRAGON),aux.NonTuner(Card.IsRace,RACE_WINDBEAST),1) c:EnableReviveLimit() --extra local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(80159717,0)) e1:SetCategory(C...
gpl-2.0
MalRD/darkstar
scripts/mixins/dynamis_dreamland.lua
9
4521
-- Dynamis procs mixin -- Customization: require("scripts/globals/mixins") require("scripts/globals/dynamis") require("scripts/globals/status") g_mixins = g_mixins or {} -- dynamis_currency values: -- t.whiteshell: 1449 -- o. bronzepiece: 1452 -- 1 byne bill: 1455 -- random: 0 g_mixins.dynamis_dreamland = funct...
gpl-3.0
mati865/vlc
share/lua/intf/test.lua
91
1909
function assert_url(result, protocol, username, password, host, port, path) assert(result.protocol == protocol) assert(result.username == username) assert(result.password == password) assert(result.host == host) assert(result.port == port) assert(result.path == path) end vlc.msg.inf...
gpl-2.0
pyridiss/devilsai
data/object/steelboots.lua
1
3435
--[[ Object "Steel Boots" - Sabaton 3 ]] name = "steelboots" categoryObject = "regulier" classObject = "bottes" imageFile = "img/O403+.png" iconFile = "img/O403-.png" currentSlot = 0 slotForUse = "equipment-boots" properties = { ["power"] = 5, ["agility"] = 12, ["constituti...
gpl-3.0
gallenmu/MoonGen
libmoon/lua/lib/turbo/turbo/socket_ffi.lua
2
15163
--- Turbo.lua Socket Module -- -- Copyright 2013 John Abrahamsen -- -- 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 ...
mit
Lsty/ygopro-scripts
c66816282.lua
3
3015
--コアキメイル・ウォール function c66816282.initial_effect(c) --cost local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_CANNOT_DISABLE) e1:SetCode(EVENT_PHASE+PHASE_END) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZONE) e1:SetCondition(c6681...
gpl-2.0
ashkanpj/yagoopfire
plugins/location.lua
625
1564
-- 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
Lsty/ygopro-scripts
c71413901.lua
3
2250
--魔導戦士 ブレイカー function c71413901.initial_effect(c) c:EnableCounterPermit(0x3001) c:SetCounterLimit(0x3001,1) --summon success local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(71413901,0)) e1:SetCategory(CATEGORY_COUNTER) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_SUMMON_S...
gpl-2.0
tarulas/luadch
luasocket/src/tp.lua
81
3612
----------------------------------------------------------------------------- -- Unified SMTP/FTP subsystem -- LuaSocket toolkit. -- Author: Diego Nehab ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- -- Declare...
gpl-3.0
Noneatme/MTA-SCP-049
server/map/CDownloadManager.lua
1
3943
-- ####################################### -- ## Project: MTA SCP-049 ## -- ## Name: DownloadManager.lua ## -- ## Author: Noneatme ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### -- FUNCTIONS / METHODS -- local cFunc = {}; -- Local Functions local ...
mit
MalRD/darkstar
scripts/zones/Cloister_of_Tremors/bcnms/puppet_master.lua
9
1127
----------------------------------- -- Area: Cloister of Tremors -- BCNM: The Puppet Master -- !pos -539 1 -493 209 ----------------------------------- require("scripts/globals/battlefield") ----------------------------------- function onBattlefieldTick(battlefield, tick) dsp.battlefield.onBattlefieldTick(battlefi...
gpl-3.0
Lsty/ygopro-scripts
c2273734.lua
3
1771
--星因士 アルタイル function c2273734.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(2273734,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_CA...
gpl-2.0
Lsty/ygopro-scripts
c8226374.lua
7
1276
--ギミック・パペット-ハンプティ・ダンプティ function c8226374.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(8226374,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) ...
gpl-2.0
cshore-firmware/openwrt-luci
applications/luci-app-mjpg-streamer/luasrc/model/cbi/mjpg-streamer.lua
52
7621
-- Copyright 2014 Roger D <rogerdammit@gmail.com> -- Licensed to the public under the Apache License 2.0. m = Map("mjpg-streamer", "MJPG-streamer", translate("mjpg streamer is a streaming application for Linux-UVC compatible webcams")) --- General settings --- section_gen = m:section(TypedSection, "mjpg-streamer", t...
apache-2.0
Lsty/ygopro-scripts
c18752707.lua
5
1327
--マジカル・スター・イリュージョン function c18752707.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c18752707.condition) e1:SetTarget(c18752707.target) e1:SetOperation(c18752707.activate) c:RegisterEffect(e1) end function c18752707.con...
gpl-2.0
Lsty/ygopro-scripts
c46232525.lua
3
2152
--ヘルモスの爪 function c46232525.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,46232525+EFFECT_COUNT_CODE_OATH) e1:SetTarget(c46232525.target) e1:SetOperation(c46232525.activate) c...
gpl-2.0
MalRD/darkstar
scripts/globals/abilities/pets/attachments/auto-repair_kit_ii.lua
11
1500
----------------------------------- -- Attachment: Auto-repair Kit II ----------------------------------- require("scripts/globals/automaton") require("scripts/globals/status") ----------------------------------- function onEquip(pet) -- We do not have support to do a fraction of a percent so we rounded local ...
gpl-3.0
MalRD/darkstar
scripts/zones/Al_Zahbi/npcs/Zwaluh.lua
12
1774
----------------------------------- -- Area: Al Zahbi -- NPC: Zwaluh -- Type: Leathercraft Normal/Adv. Image Support -- !pos -71.556 -6.999 -103.015 48 ----------------------------------- require("scripts/globals/status") require("scripts/globals/crafting") local ID = require("scripts/zones/Al_Zahbi/IDs") ------------...
gpl-3.0
MalRD/darkstar
scripts/zones/Norg/npcs/Heizo.lua
9
2782
----------------------------------- -- Area: Norg -- NPC: Heizo -- Starts and Ends Quest: Like Shining Leggings -- !pos -1 -5 25 252 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/shop"); require("scripts/globals/quests"); local ID =...
gpl-3.0
Lsty/ygopro-scripts
c49633574.lua
5
1804
--魔轟神オルトロ function c49633574.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(49633574,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCountLimit(1) e1:SetRange(LOCATION_MZONE) e1:SetTarget(c49633574.tg) e1:SetOperation(c496335...
gpl-2.0
MalRD/darkstar
scripts/globals/effects/addendum_white.lua
24
1830
----------------------------------- -- -- -- ----------------------------------- function onEffectGain(target,effect) target:recalculateAbilitiesTable() local bonus = effect:getPower() local regen = effect:getSubPower() target:addMod(dsp.mod.WHITE_MAGIC_COST, -bonus) target:addMod(dsp.mod.WHITE_MA...
gpl-3.0