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
MalRD/darkstar
scripts/zones/Riverne-Site_B01/bcnms/storms_of_fate.lua
9
2004
----------------------------------- -- Area: Riverne Site #B01 -- Name: Storms of Fate -- !pos 299 -123 345 146 ----------------------------------- local ID = require("scripts/zones/Riverne-Site_B01/IDs") require("scripts/globals/battlefield") require("scripts/globals/keyitems") require("scripts/globals/settings") requ...
gpl-3.0
Lsty/ygopro-scripts
c3648368.lua
3
1393
--A・O・J リサーチャー function c3648368.initial_effect(c) --to hand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(3648368,0)) e1:SetCategory(CATEGORY_POSITION) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCost(c3648368....
gpl-2.0
MalRD/darkstar
scripts/globals/spells/blind.lua
12
1512
----------------------------------------- -- Spell: Blind ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") require("scripts/globals/status") require("scripts/globals/utils") ----------------------------------------- function onMagicCastingCheck(caster, target, s...
gpl-3.0
ThingMesh/openwrt-luci
modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
9
15436
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008-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 htt...
apache-2.0
Lsty/ygopro-scripts
c77538567.lua
3
1056
--魔宮の賄賂 function c77538567.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY+CATEGORY_DRAW) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_CHAINING) e1:SetCondition(c77538567.condition) e1:SetTarget(c77538567.target) e1:SetOperation(c77538567.activat...
gpl-2.0
Aaa1r/DRAGON
plugins/Spread.lua
1
1483
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY ali dragon ▀▄ ▄▀ ▀▄ ▄▀ BY ali dragon (@Aaa1R) ▀▄ ▄▀ ▀▄ ▄▀ ChannelDev (@love0o_o0) ▀▄ ▄▀ ▀▄ ▄▀ Making the file by ali dragon ▀▄ ▄▀ ▀▄ ...
gpl-2.0
zhaozg/lit
deps/coro-spawn.lua
2
2364
--[[lit-meta name = "creationix/coro-spawn" version = "3.0.2" dependencies = { "creationix/coro-channel@3.0.0" } homepage = "https://github.com/luvit/lit/blob/master/deps/coro-spawn.lua" description = "An coro style interface to child processes." tags = {"coro", "spawn", "child", "process"} license ...
apache-2.0
Lsty/ygopro-scripts
c57238939.lua
5
1235
--A・ジェネクス・リモート function c57238939.initial_effect(c) --cos local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(57238939,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetTarget(c57238939.costg) e1:SetOperation(c57238939....
gpl-2.0
Lsty/ygopro-scripts
c11052544.lua
3
1352
--セイバー・スラッシュ function c11052544.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(c11052544.target) e1:SetOperation(c11052544.activate) c:RegisterEffect(e1) end function c11052544.filter(c) re...
gpl-2.0
morfeo642/mta_plr_server
hedit/client/core.lua
3
1277
-- -- CLIENTSIDE RESOURCE START PROCEDURE -- local function resourceStart() --Load the clientside configuration file, or create a new one if it does not exist. local rootNode = xmlLoadFile(client_config_file) or xmlCreateFile(client_config_file, "config") --Ensure all important setting nodes exist. for settingKey...
mit
SyDr/Advent-Of-Code-2016
25.lua
1
2881
local lpeg = require'lpeg' local pp = require'pretty' local function to_op(cmd, op1, op2) local command = 3 if cmd == "cpy" or cmd == "inc" then command = 1 end if cmd == "jnz" or cmd == "dec" then command = 2 end if cmd == "out" then command = 3 end if cmd == "cpy" or cmd == "jnz" then return functio...
mit
Lsty/ygopro-scripts
c92377303.lua
3
2438
--黒衣の大賢者 function c92377303.initial_effect(c) c:EnableReviveLimit() --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(92377303,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_O) e1:SetRange(LOCATION_HAND+LOCATION_DECK) e1:SetProperty(EFF...
gpl-2.0
openwrt/luci
applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrd6.lua
5
16297
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. require("luci.tools.webadmin") local fs = require "nixio.fs" local util = require "luci.util" local ip = require "luci.ip" local has_ipip = fs.glob("/etc/mo...
apache-2.0
horazont/aioxmpp
utils/metronome-cfg/master/metronome.cfg.lua
1
7575
-- Prosody Example Configuration File -- -- Information on configuring Prosody can be found on our -- website at http://prosody.im/doc/configure -- -- Tip: You can check that the syntax of this file is correct -- when you have finished by running: luac -p prosody.cfg.lua -- If there are any errors, it will let you know...
lgpl-3.0
tryroach/vlc
share/lua/meta/art/00_musicbrainz.lua
71
3091
--[[ Gets an artwork from the Cover Art Archive or Amazon $Id$ Copyright © 2007-2010 the VideoLAN team 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 ...
gpl-2.0
MalRD/darkstar
scripts/globals/spells/bluemagic/sub-zero_smash.lua
8
1815
----------------------------------------- -- Spell: Sub-zero Smash -- Additional Effect: Paralysis. Damage varies with TP -- Spell cost: 44 MP -- Monster Type: Aquans -- Spell Type: Physical (Blunt) -- Blue Magic Points: 4 -- Stat Bonus: HP+10 VIT+3 -- Level: 72 -- Casting Time: 1 second -- Recast Time: 30 seconds -- S...
gpl-3.0
MalRD/darkstar
scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Turbulent_Storm.lua
12
1301
----------------------------------- -- Area: The Eldieme Necropolis [S] -- NPC: Turbulent Storm -- Note: Starts Quest "The Fighting Fourth" -- !pos 422.461 -48.000 175 ----------------------------------- local ID = require("scripts/zones/The_Eldieme_Necropolis_[S]/IDs"); require("scripts/globals/keyitems"); require("s...
gpl-3.0
mamadkiller2/anti-spam
bot/bot.lua
1
21660
tdcli = dofile('./tg/tdcli.lua') serpent = (loadfile "./libs/serpent.lua")() feedparser = (loadfile "./libs/feedparser.lua")() our_id = 204949667 -- Put Here Your Bot ID URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" json = (loadfile "./libs/JSON.lua")() mim...
gpl-3.0
bforbis/thrift
lib/lua/TBinaryProtocol.lua
90
6141
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you ma...
apache-2.0
maxrio/luci981213
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/sensors.lua
30
2974
-- Copyright 2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. require "luci.sys" local m, s, o local sensor_types = { ["12v"] = "voltage", ["2.0v"] = "voltage", ["2.5v"] = "voltage", ["3.3v"] = "voltage", ["5.0v"] = "voltage", ["5v"] = "voltage", ["ain1"] = "voltag...
apache-2.0
cshore-firmware/openwrt-luci
applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/sensors.lua
30
2974
-- Copyright 2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. require "luci.sys" local m, s, o local sensor_types = { ["12v"] = "voltage", ["2.0v"] = "voltage", ["2.5v"] = "voltage", ["3.3v"] = "voltage", ["5.0v"] = "voltage", ["5v"] = "voltage", ["ain1"] = "voltag...
apache-2.0
Lsty/ygopro-scripts
c86474024.lua
3
1283
--共同戦線 function c86474024.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(c86474024.condition) e1:SetTarget(c86474024.target) e1:SetOperation(c86474024.activate) c:RegisterE...
gpl-2.0
cshore-firmware/openwrt-luci
modules/luci-base/luasrc/cbi/datatypes.lua
12
7855
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local ip = require "luci.ip" local math = require "math" local util = require "luci.util" local tonumber, tostring, type, unpack, select = tonumber, tostring, type, unpack, select ...
apache-2.0
Frenzie/koreader
frontend/apps/cloudstorage/cloudstorage.lua
1
30628
local BD = require("ui/bidi") local ButtonDialog = require("ui/widget/buttondialog") local ButtonDialogTitle = require("ui/widget/buttondialogtitle") local CheckButton = require("ui/widget/checkbutton") local ConfirmBox = require("ui/widget/confirmbox") local DataStorage = require("datastorage") local DropBox = require...
agpl-3.0
WarGamingKO/WarGamingKO
Build/GameServer/Quests/24406_Guardsman.lua
1
57303
local UserClass; local QuestNum; local Ret = 0; local NPC = 24406; if EVENT == 190 then QuestNum = SearchQuest(UID, NPC); if QuestNum == 0 then SelectMsg(UID, 2, -1, 1312, NPC, 10, 193); Ret = 1; elseif QuestNum > 1 and QuestNum < 100 then NpcMsg(UID, 1313, NPC) else EVENT = ...
gpl-2.0
Lsty/ygopro-scripts
c564541.lua
5
1808
--ミンゲイドラゴン function c564541.initial_effect(c) --double tribute local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_DOUBLE_TRIBUTE) e1:SetValue(c564541.dccon) c:RegisterEffect(e1) --Special Summon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(564541,0)) e2:SetType(...
gpl-2.0
MalRD/darkstar
scripts/zones/Arrapago_Remnants/mobs/Qiqirn_Astrologer.lua
9
2868
----------------------------------- -- Area: Arrapago Remnants -- Mob: Qiqirn Astrologer ----------------------------------- local ID = require("scripts/zones/Arrapago_Remnants/IDs") require("scripts/globals/monstertpmoves") require("scripts/globals/teleports") require("scripts/globals/pathfind") require("scripts/glob...
gpl-3.0
MalRD/darkstar
scripts/globals/items/broiled_trout.lua
11
1071
----------------------------------------- -- ID: 4587 -- Item: Broiled Trout -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 4 -- Mind -1 -- Ranged ATT % 14 (cap 55) ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") -------...
gpl-3.0
TheSAguy/Natural-Evolution
prototypes/Alien_Hatchery/recipe.lua
1
4510
data:extend({ ---- Alien Hatchery { type = "recipe", name = "Alien_Hatchery", enabled = "false", ingredients = { {"Building_Materials", 3}, -- {type="fluid", name="sulfuric-acid", amount=10}, }, result = "Alien_Hatchery" }, --- Small Biter Hatching { ...
mit
MalRD/darkstar
scripts/zones/Sealions_Den/npcs/Airship_Door.lua
8
1246
----------------------------------- -- Area: Sealion's Den -- NPC: Airship_Door ----------------------------------- local ID = require("scripts/zones/Sealions_Den/IDs") ----------------------------------- function onTrade(player, npc, trade) end function onTrigger(player, npc) local offset = npc:getID() - ID.npc...
gpl-3.0
MalRD/darkstar
scripts/commands/animation.lua
14
1156
--------------------------------------------------------------------------------------------------- -- func: animation -- desc: Sets the players current animation. --------------------------------------------------------------------------------------------------- require("scripts/globals/status"); cmdprops = { pe...
gpl-3.0
Lsty/ygopro-scripts
c31863912.lua
5
1724
--出目出し function c31863912.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_SPSUMMON) e1:SetTarget(c31863912.target1) e1:SetOperation(c31863912.operation) c:RegisterEffect(e1) -- local e2=Effect.CreateEffect(c) ...
gpl-2.0
MalRD/darkstar
scripts/zones/Northern_San_dOria/npcs/Eugballion.lua
11
1092
----------------------------------- -- Area: Northern San d'Oria -- NPC: Eugballion -- Only sells when San d'Oria controlls Qufim Region ----------------------------------- local ID = require("scripts/zones/Northern_San_dOria/IDs") require("scripts/globals/npc_util") require("scripts/globals/conquest") require("script...
gpl-3.0
MalRD/darkstar
scripts/zones/Throne_Room/npcs/_4l1.lua
9
1527
----------------------------------- -- Area: Throne Room -- NPC: Throne Room -- Type: Door -- !pos -111 -6 0 165 ------------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/bcnm"); require("scripts/globals/missions"); -- events: -- 7D00 : BC menu -- Param 4 is a bi...
gpl-3.0
Lsty/ygopro-scripts
c923596.lua
3
1746
--ギアギアーマー function c923596.initial_effect(c) --turn set local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(923596,0)) e1:SetCategory(CATEGORY_POSITION) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetTarget(c923596.target) e1:SetOperation(c923596.operation) c:RegisterEffect(e1) ...
gpl-2.0
Frenzie/koreader
plugins/calibre.koplugin/parser.lua
7
2711
-- A parser for metadata.calibre local util = require("util") -- removes leading and closing characters and converts hex-unicodes local function replaceHexChars(s, n, j) local l = string.len(s) if string.sub(s, l, l) == "\"" then s = string.sub(s, n, string.len(s)-1) else s = string.sub(s, ...
agpl-3.0
mickelfeng/ABTestingGateway
lib/abtesting/error/errcode.lua
22
1583
local modulename = 'abtestingErrorInfo' local _M = {} _M._VERSION = '0.0.1' _M.info = { -- index code desc -- SUCCESS ["SUCCESS"] = { 200, 'success '}, -- System Level ERROR ['REDIS_ERROR'] = { 40101, 'redis error for '}, ['POLICY_DB_ERROR'] = { 40102, 'policy in db error '...
mit
Lsty/ygopro-scripts
c92518817.lua
5
1785
--燃え盛るヒータ function c92518817.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCost(c92518817.spcost) e1:SetTarget(c92518817.sptg) e1:SetOperation(c92518817.spop) c:Registe...
gpl-2.0
dani-sj/kirbot
plugins/admin.lua
46
6101
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(receiver, '...
gpl-2.0
MalRD/darkstar
scripts/zones/Port_Bastok/npcs/Juroro.lua
9
5552
----------------------------------- -- Area: Port Bastok -- NPC: Juroro -- Starts and Finishes Quest: Trial by Earth -- !pos 32 7 -41 236 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/quests"); local ID = require("scripts/zones/Po...
gpl-3.0
openwrt/luci
modules/luci-mod-admin-mini/luasrc/model/cbi/mini/dhcp.lua
3
2744
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() local sys = require "luci.sys" local wa = require "luci.tools.webadmin" local fs = require "nixio.fs" m = Map(...
apache-2.0
gallenmu/MoonGen
libmoon/deps/luajit/src/jit/dis_arm64.lua
59
30904
---------------------------------------------------------------------------- -- LuaJIT ARM64 disassembler module. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -- -- Contributed by Djordje Kovacevic and Stefan Pejic from RT-RK.com. -- S...
mit
Lsty/ygopro-scripts
c36916401.lua
3
1422
--バーニングナックル・スピリッツ function c36916401.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,36916401+EFFECT_COUNT_CODE_OATH) e1:SetCost(c36916401...
gpl-2.0
maxrio/luci981213
applications/luci-app-asterisk/luasrc/model/cbi/asterisk/trunk_sip.lua
68
2351
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local ast = require("luci.asterisk") -- -- SIP trunk info -- if arg[2] == "info" then form = SimpleForm("asterisk", "SIP Trunk Information") form.reset = false form.submit = "Back to overview" local info,...
apache-2.0
Lsty/ygopro-scripts
c64681432.lua
3
3011
--破壊竜ガンドラ function c64681432.initial_effect(c) --cannot special summon local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1) --summon,flip local e2=Effect.CreateEffect(c) e2:Set...
gpl-2.0
Lsty/ygopro-scripts
c71692913.lua
3
2928
--相克の魔術師 function c71692913.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) --xyz level local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_IGNITION) e2:SetRange(LO...
gpl-2.0
gallenmu/MoonGen
libmoon/lua/lib/syscall/freebsd/types.lua
24
10466
-- FreeBSD types local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string local function init(types) local abi = requ...
mit
Lsty/ygopro-scripts
c29436665.lua
5
1829
--黒魔導の執行官 function c29436665.initial_effect(c) c:EnableReviveLimit() --cannot special summon 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 local e2=Effe...
gpl-2.0
Lsty/ygopro-scripts
c64734921.lua
9
1288
--創造の代行者 ヴィーナス function c64734921.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(64734921,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCost(c64734921.spcost) e1:SetTarget(c64734921.sptg) e1:SetOperati...
gpl-2.0
MalRD/darkstar
scripts/globals/spells/hojo_ichi.lua
12
1462
----------------------------------------- -- Spell: Hojo:Ichi -- Description: Inflicts Slow on target. -- Edited from slow.lua ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function o...
gpl-3.0
Lsty/ygopro-scripts
c24432029.lua
9
1075
--ジェネクス・ブラスト function c24432029.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(24432029,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetRange(LOCATION_MZONE) e1:SetCo...
gpl-2.0
AL-JOKER/AL.JOKER
plugins/badword.lua
1
2718
--[[ --@l56l_l --]] local function addword(msg, name) local hash = 'chat:'..msg.to.id..':badword' redis:hset(hash, name, 'newword') return "تـم ☑️ اضافه كلمه جديده الى قائمه المنع ❌👍\n>"..name end local function get_variables_hash(msg) return 'chat:'..msg.to.id..':badword' end local function l...
gpl-3.0
Lsty/ygopro-scripts
c37620434.lua
3
1194
--デーモン・テイマー function c37620434.initial_effect(c) --control local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(37620434,0)) e1:SetCategory(CATEGORY_CONTROL) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP) e1:SetTarget(c37620434.target) e1:SetOperation(c37620434...
gpl-2.0
qaheri/AASv2
plugins/Plugins.lua
7
6136
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 function plugin_exists( ...
gpl-2.0
Lsty/ygopro-scripts
c35514096.lua
3
2577
--ロードブリティッシュ function c35514096.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(35514096,0)) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BATTLE_DESTROYING) e1:SetCondition(c35514096.condition) e1:SetTarget(c35514096.target) e1:SetOperation(c35514096.oper...
gpl-2.0
Lsty/ygopro-scripts
c22020907.lua
7
1403
--ヒーロー・シグナル function c22020907.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c22020907.condition) e1:SetTarget(c22020907.target) e1:SetOperation(c22020907.operation) c:Regi...
gpl-2.0
MalRD/darkstar
scripts/globals/mobskills/erratic_flutter.lua
11
1526
--------------------------------------------- -- Erratic Flutter -- -- Description: Deals Fire damage around the caster. Grants the effect of Haste. -- Family: Wamoura -- Monipulators: Wamoura (MON), Coral Wamoura (MON) -- Level (Monstrosity): 60 -- TP Cost (Monstrosity): 1500 TP -- Type: Enhancing -- Element: Fire -- ...
gpl-3.0
MalRD/darkstar
scripts/globals/weaponskills/blade_ei.lua
10
1231
----------------------------------- -- Blade Ei -- Katana weapon skill -- Skill Level: 175 -- Delivers a dark elemental attack. Damage varies with TP. -- Aligned with the Shadow Gorget. -- Aligned with the Shadow Belt. -- Element: Dark -- Modifiers: STR:30% INT:30% -- 100%TP 200%TP 300%TP -- 1.00 1.50 ...
gpl-3.0
MahmoudDolah/Firmware-Entry-Points-In-Memory
openwrt/openwrt-generic-x86/usr/lib/lua/luci/model/cbi/admin_network/network.lua
48
2480
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" m = Map("network", translate("Interfaces")) m.pageaction = false m:section(SimpleSection).template = "admin_network/iface_overvi...
apache-2.0
Lsty/ygopro-scripts
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
MalRD/darkstar
scripts/globals/spells/bluemagic/firespit.lua
12
1259
----------------------------------------- -- Spell: Firespit -- Deals fire damage to an enemy -- Spell cost: 121 MP -- Monster Type: Beastmen -- Spell Type: Magical (Fire) -- Blue Magic Points: 5 -- Stat Bonus: STR+3 -- Level: 68 -- Casting Time: 6.5 seconds -- Recast Time: 42.75 seconds -- Magic Bursts on: Liquefactio...
gpl-3.0
HexCodeCC/DynaCode
src/Scripts/ExceptionHook.lua
2
1261
local oError local last _G.exceptionHook = {} function exceptionHook.hook() if oError then Exception("Failed to create exception hook. A hook is already in use.") end oError = _G.error _G.error = function( m, l ) Exception( m, type( l ) == "number" and ( l == 0 and 0 or l + 1 ) or 2 )...
mit
MalRD/darkstar
scripts/zones/Bastok_Markets_[S]/IDs.lua
9
1898
----------------------------------- -- Area: Bastok_Markets_[S] ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.BASTOK_MARKETS_S] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Co...
gpl-3.0
Frenzie/koreader
frontend/ui/widget/qrwidget.lua
8
1536
--[[ QRWidget shows a QR code for a given text. ]] local Blitbuffer = require("ffi/blitbuffer") local ImageWidget = require("ui/widget/imagewidget") local logger = require("logger") local qrencode = require("ffi/qrencode") local _ = require("gettext") local QRWidget = ImageWidget:extend{ scale_factor = nil, t...
agpl-3.0
Lsty/ygopro-scripts
c85646474.lua
3
1479
--墓守の使徒 function c85646474.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(85646474,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c85646474.condition) e1:SetTar...
gpl-2.0
robertbrook/Penlight
lua/pl/template.lua
19
3014
--- A template preprocessor. -- Originally by [Ricki Lake](http://lua-users.org/wiki/SlightlyLessSimpleLuaPreprocessor) -- -- There are two rules: -- -- * lines starting with # are Lua -- * otherwise, `$(expr)` is the result of evaluating `expr` -- -- Example: -- -- # for i = 1,3 do -- $(i) Hello, Word! -- ...
mit
Lsty/ygopro-scripts
c27967615.lua
3
1706
--フュージョン・ウェポン function c27967615.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(c27967615.target) e1:SetOperation(c27967615.operation) c:RegisterEffect...
gpl-2.0
MalRD/darkstar
scripts/zones/Dynamis-Tavnazia/IDs.lua
9
4410
----------------------------------- -- Area: Dynamis-Tavnazia ----------------------------------- require("scripts/globals/keyitems") require("scripts/globals/dynamis") require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.DYNAMIS_TAVNAZIA] = { text = { ...
gpl-3.0
Frenzie/koreader
spec/unit/luadata_spec.lua
4
5436
describe("luadata module", function() local Settings, lfs setup(function() require("commonrequire") lfs = require("libs/libkoreader-lfs") Settings = require("frontend/luadata"):open("this-is-not-a-valid-file") end) it("should handle undefined keys", function() Settings:d...
agpl-3.0
MalRD/darkstar
scripts/zones/Sealions_Den/mobs/Omega.lua
9
1693
----------------------------------- -- Area: Sealions Den -- Mob: Omega ----------------------------------- local ID = require("scripts/zones/Sealions_Den/IDs") require("scripts/globals/titles") require("scripts/globals/mobs") ----------------------------------- function onMobInitialize(mob) mob:setMobMod(dsp.mob...
gpl-3.0
MalRD/darkstar
scripts/globals/weaponskills/pyrrhic_kleos.lua
10
2179
----------------------------------- -- Pyrrhic Kleos -- Dagger weapon skill -- Skill level: N/A -- Description: Delivers a fourfold attack that lowers target's evasion. Duration of effect varies with TP. Terpsichore: Aftermath effect varies with TP. -- Available only after completing the Unlocking a Myth (Dancer) quest...
gpl-3.0
ashkanpj/yagoopfire
plugins/danbooru.lua
616
1750
do local URL = "http://danbooru.donmai.us" local URL_NEW = "/posts.json" local URL_POP = "/explore/posts/popular.json" local scale_day = "?scale=day" local scale_week = "?scale=week" local scale_month = "?scale=month" local function get_post(url) local b, c, h = http.request(url) if c ~= 200 then return nil end ...
gpl-2.0
MalRD/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Misseulieu.lua
11
1248
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Misseulieu -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Tavnazian_Safehold/IDs") require("scripts/globals/missions") require("scripts/globals/shop") ----------------------------------- function on...
gpl-3.0
MalRD/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Knuckles.lua
9
1185
----------------------------------- -- Area: Dynamis - Xarcabard -- Mob: Animated Knuckles ----------------------------------- require("scripts/globals/status"); local ID = require("scripts/zones/Dynamis-Xarcabard/IDs"); ----------------------------------- function onMobEngaged(mob,target) if (mob:AnimationSub()...
gpl-3.0
Noneatme/MTA-SCP-049
resources/shader_gloom1/c_postprocess.lua
1
7278
local scx, scy = guiGetScreenSize() ----------------------------------------------------------------------------------- -- Le settings ----------------------------------------------------------------------------------- Settings = {} Settings.var = {} Settings.var.Vignette=0.47 --------------------------------- -- PS ...
mit
Lsty/ygopro-scripts
c72258771.lua
3
2560
--コアキメイル・ヴァラファール function c72258771.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(c7...
gpl-2.0
Lsty/ygopro-scripts
c57046845.lua
3
1214
--剣聖-ネイキッド・ギア・フリード function c57046845.initial_effect(c) c:EnableReviveLimit() --cannot special summon local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SPSUMMON_CONDITION) c:RegisterEffect(e1) --destroy local e2=Ef...
gpl-2.0
Lsty/ygopro-scripts
c10110717.lua
3
2203
--メカウサー function c10110717.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(10110717,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_BATTLE_DESTROYED) e1:SetCondition(c10110717.condition) e1:SetTar...
gpl-2.0
MalRD/darkstar
scripts/zones/Quicksand_Caves/npcs/qm5.lua
11
2025
----------------------------------- -- Area: Quicksand Caves -- NPC: ??? (qm5) -- Involved in Quest: The Missing Piece -- positions: -- 1: !pos 770 0 -419 -- 2: !pos 657 0 -537 -- 3: !pos 749 0 -573 -- 4: !pos 451 -16 -739 -- 5: !pos 787 -16 -819 -- spawn in npc_list is 770 0 -419 ----------------------------------- l...
gpl-3.0
Lsty/ygopro-scripts
c47198668.lua
3
3758
--DDD死偉王ヘル・アーマゲドン function c47198668.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) --atk up local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_IGNITION) e2:SetRa...
gpl-2.0
SmartArduino/nodemcu-firmware
app/cjson/tests/bench.lua
145
3247
#!/usr/bin/env lua -- This benchmark script measures wall clock time and should be -- run on an unloaded system. -- -- Your Mileage May Vary. -- -- Mark Pulford <mark@kyne.com.au> local json_module = os.getenv("JSON_MODULE") or "cjson" require "socket" local json = require(json_module) local util = require "cjson.ut...
mit
Frenzie/koreader
frontend/ui/widget/iconbutton.lua
4
6169
--[[-- Button with a big icon image! Designed for touch devices. --]] local Device = require("device") local HorizontalGroup = require("ui/widget/horizontalgroup") local HorizontalSpan = require("ui/widget/horizontalspan") local InputContainer = require("ui/widget/container/inputcontainer") local IconWidget = require(...
agpl-3.0
Mijyuoon/starfall
lua/entities/starfall_processor/init.lua
1
5225
AddCSLuaFile('cl_init.lua') AddCSLuaFile('shared.lua') include('shared.lua') include("starfall/SFLib.lua") assert(SF, "Starfall didn't load correctly!") ENT.WireDebugName = "Starfall Processor" ENT.OverlayDelay = 0 local Context = SF.CreateContext() function ENT:UpdateState(state) if self.name then self:SetOverl...
bsd-3-clause
gallenmu/MoonGen
libmoon/lua/lib/syscall/netbsd/init.lua
24
2111
-- NetBSD init -- This returns NetBSD types and constants (but no syscalls) under any OS. -- Also returns util, which is a bit of a problem, as some of these will use syscalls -- Currently used by kdump example to get NetBSD ktrace types local require = require local abi = require "syscall.abi" local oldos, oldbsd ...
mit
Lsty/ygopro-scripts
c39357122.lua
3
1116
--真紅眼の凶雷皇-エビル・デーモン function c39357122.initial_effect(c) aux.EnableDualAttribute(c) --destroy local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetCondition(aux.IsDualState) e1:SetTarget(c39357122.destg) e1:SetOp...
gpl-2.0
npge/alnbox
spec/columnDigit_spec.lua
3
1241
-- alnbox, alignment viewer based on the curses library -- Copyright (C) 2015 Boris Nagaev -- See the LICENSE file for terms of use describe("alnbox.columnDigit", function() it("gets a digit for top header", function() local columnDigit = require 'alnbox.columnDigit' local digits = {} local...
mit
nucular/reactor
rgui/stablesort.lua
1
2220
-- Based on the stable hybrid merge-insertion sort by S. Fisher -- <http://lua.2524044.n2.nabble.com/A-stable-sort-td7648892.html> -- Licensed under Creative Commons 0 (CC0) -- if you're using LuaJIT, change to 72 local max_chunk_size = 12 local function insertion_sort(array, first, last, goes_before) for i = fir...
gpl-3.0
LuaDist2/tethys
tethys2/plugins/filter/FixMail.lua
2
2086
module(..., package.seeall) local oo = require "loop.simple" local Plugin = require 'tethys2.plugins.filter.Plugin' local MIMEMail = require 'tethys2.util.MIMEMail' require'config' new = oo.class({}, Plugin.class) FixMail = new class = new function FixMail:filterMessage(to, state, filtered) if state.fixmail_done th...
gpl-3.0
Lsty/ygopro-scripts
c61231400.lua
3
1683
--炎神機-紫龍 function c61231400.initial_effect(c) --summon with 1 tribute local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(61231400,0)) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SUMMON_PROC) e1:SetCondition(c61231400.otcon) e1:Se...
gpl-2.0
Lsty/ygopro-scripts
c84808313.lua
5
1666
--大進化薬 function c84808313.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c84808313.cost) e1:SetTarget(c84808313.target) c:RegisterEffect(e1) --reduce tribute local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2...
gpl-2.0
MalRD/darkstar
scripts/zones/Port_San_dOria/npcs/Deguerendars.lua
11
1513
----------------------------------- -- Area: Port San d'Oria -- NPC: Deguerendars -- Tavnazian Archipelago Regional Merchant ----------------------------------- local ID = require("scripts/zones/Port_San_dOria/IDs") require("scripts/globals/conquest") require("scripts/globals/missions") require("scripts/globals/npc_ut...
gpl-3.0
MalRD/darkstar
scripts/globals/spells/frazzle_ii.lua
12
1622
----------------------------------------- -- Spell: Frazzle II ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") require("scripts/globals/status") require("scripts/globals/utils") ----------------------------------------- function onMagicCastingCheck(caster, targ...
gpl-3.0
Lsty/ygopro-scripts
c69031175.lua
3
2549
--BF-アーマード・ウィング function c69031175.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0x33),aux.NonTuner(nil),1) c:EnableReviveLimit() -- local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_INDESTRUCTABLE_BATTLE) e1:SetValue(1) c:Regi...
gpl-2.0
Lsty/ygopro-scripts
c40164421.lua
9
2902
--ライトロード・メイデン ミネルバ function c40164421.initial_effect(c) --search local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(40164421,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarget(c40164421.thtg) e1:SetOp...
gpl-2.0
Mkalo/forgottenserver
data/talkactions/scripts/add_skill.lua
4
1710
local function getSkillId(skillName) if skillName == "club" then return SKILL_CLUB elseif skillName == "sword" then return SKILL_SWORD elseif skillName == "axe" then return SKILL_AXE elseif skillName:sub(1, 4) == "dist" then return SKILL_DISTANCE elseif skillName:sub(1, 6) == "shield" then return SKILL_S...
gpl-2.0
MalRD/darkstar
scripts/globals/items/plate_of_mushroom_paella_+1.lua
11
1072
----------------------------------------- -- ID: 5971 -- Item: Plate of Mushroom Paella +1 -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- HP 43 -- Mind 6 -- Magic Accuracy 6 -- Undead Killer 6 ----------------------------------------- require("scripts/globals/status") require("scripts/glo...
gpl-3.0
Lsty/ygopro-scripts
c95637655.lua
5
1626
--バックアップ・ウォリアー function c95637655.initial_effect(c) c:EnableReviveLimit() --special summon local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c95637655.spcon) c:RegisterEffect(e1) --sp...
gpl-2.0
Lsty/ygopro-scripts
c25373678.lua
9
1451
--旋風のボルテクス function c25373678.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(Card.IsRace,RACE_WINDBEAST),1) c:EnableReviveLimit() --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(25373678,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_...
gpl-2.0
Lsty/ygopro-scripts
c86871614.lua
3
2802
--クローン複製 function c86871614.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetCondition(c86871614.condition) e1:SetTarget(c86871614.target) e1:SetOperation(c86871614.activate) c:RegisterEf...
gpl-2.0
MalRD/darkstar
scripts/zones/Port_Windurst/npcs/Tokaka.lua
9
2556
----------------------------------- -- Area: Port Windurst -- NPC: Tokaka -- Starts & Finishes Repeatable Quest: Something Fishy ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); ----------------------------------- function onTrade(player,npc,trade) TokakaSpo...
gpl-3.0