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
maxrio/luci981213
libs/luci-lib-nixio/docsrc/nixio.Socket.lua
157
6508
--- Socket Object. -- Supports IPv4, IPv6 and UNIX (POSIX only) families. -- @cstyle instance module "nixio.Socket" --- Get the local address of a socket. -- @class function -- @name Socket.getsockname -- @return IP-Address -- @return Port --- Get the peer address of a socket. -- @class function -- @name Socket.getpe...
apache-2.0
MalRD/darkstar
scripts/globals/mobskills/digest.lua
11
1112
--------------------------------------------- -- Digest -- Deals dark damage to a single target. Additional effect: Drain -- Type: Magical -- Utsusemi/Blink absorb: 1 shadow -- Range: Melee -- Notes: If used against undead, it will simply do damage and not drain HP. --------------------------------------------- require...
gpl-3.0
tryroach/vlc
share/lua/playlist/lelombrik.lua
108
1985
--[[ French humor site: http://lelombrik.net $Id$ Copyright © 2007 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 your option) any ...
gpl-2.0
Lsty/ygopro-scripts
c4334811.lua
5
2277
--スクラップ・リサイクラー function c4334811.initial_effect(c) --send to grave local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(4334811,0)) e1:SetCategory(CATEGORY_TOGRAVE) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetTarge...
gpl-2.0
MalRD/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Qutiba.lua
9
1547
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Qutiba -- Type: Standard NPC -- !pos 92.341 -7.5 -129.980 50 ----------------------------------- require("scripts/globals/quests") require("scripts/globals/settings") require("scripts/globals/keyitems") require("scripts/globals/npc_util") local ...
gpl-3.0
MalRD/darkstar
scripts/commands/mobsub.lua
14
1561
--------------------------------------------------------------------------------------------------- -- func: mobsub -- desc: Changes the sub-animation of the given mob. (For testing purposes.) --------------------------------------------------------------------------------------------------- require("scripts/globals/s...
gpl-3.0
qaheri/AASv2
plugins/Arz.lua
6
1086
local function get_arz() local url = 'http://exchange.nalbandan.com/api.php?action=json' local jstr, res = http.request(url) local arz = json:decode(jstr) return '📊 نرخ ارز ، طلا و سکه در:'..arz.dollar.date..'\n\n〽️ هر گرم طلای 18 عیار:'..arz.gold_per_geram.value..' تومان\n\n🌟 سکه طرح جدید:'..arz.coin_new.val...
gpl-2.0
donnerluetjen/ardupilot
Tools/CHDK-Scripts/Cannon SX260/3DR_EAI_SX260.lua
182
29665
--[[ KAP UAV Exposure Control Script v3.1 -- Released under GPL by waterwingz and wayback/peabody http://chdk.wikia.com/wiki/KAP_%26_UAV_Exposure_Control_Script 3DR EAI 1.0 is a fork of KAP 3.1 with settings specific to Canon cameras triggered off the Pixhawk autopilot. Changelog: -Modified Tv, Av, and...
gpl-3.0
neverlose1/sickmind
plugins/arabic_lang.lua
12
22231
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
MalRD/darkstar
scripts/zones/Windurst_Waters/npcs/Churano-Shurano.lua
9
1094
----------------------------------- -- Area: Windurst Waters -- NPC: Churano-Shurano -- Working 100% ----------------------------------- local ID = require("scripts/zones/Windurst_Waters/IDs"); require("scripts/globals/settings"); require("scripts/globals/keyitems"); ----------------------------------- function onTra...
gpl-3.0
Lsty/ygopro-scripts
c49328340.lua
3
1553
--螺旋槍殺 function c49328340.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --pierce local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_PIERCE) e2:SetRange(LOCATION_SZONE) e2:SetTargetRange(LOCATION...
gpl-2.0
cshore-firmware/openwrt-luci
applications/luci-app-fwknopd/luasrc/model/cbi/fwknopd.lua
21
3626
-- Copyright 2015 Jonathan Bennett <jbennett@incomsystems.biz> -- Licensed to the public under the GNU General Public License v2. tmp = 0 m = Map("fwknopd", translate("Firewall Knock Operator")) s = m:section(TypedSection, "global", translate("Enable Uci/Luci control")) -- Set uci control on or off s.anonymous=true s:...
apache-2.0
MalRD/darkstar
scripts/zones/Palborough_Mines/npcs/_3z9.lua
9
1041
----------------------------------- -- Area: Palborough Mines -- NPC: Refiner Lever -- Involved In Mission: Journey Abroad -- !pos 180 -32 167 143 ----------------------------------- local ID = require("scripts/zones/Palborough_Mines/IDs") ----------------------------------- function onTrade(player, npc, trade) end ...
gpl-3.0
MalRD/darkstar
scripts/zones/Dynamis-San_dOria/IDs.lua
9
4010
----------------------------------- -- Area: Dynamis-San_dOria ----------------------------------- require("scripts/globals/keyitems") require("scripts/globals/dynamis") require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.DYNAMIS_SAN_DORIA] = { text = { ...
gpl-3.0
cleytonk/globalfull
data/migrations/7.lua
58
2518
function onUpdateDatabase() print("> Updating database to version 8 (account viplist with description, icon and notify server side)") db.query("RENAME TABLE `player_viplist` TO `account_viplist`") db.query("ALTER TABLE `account_viplist` DROP FOREIGN KEY `account_viplist_ibfk_1`") db.query("UPDATE `account_viplist` ...
gpl-2.0
Lsty/ygopro-scripts
c4058065.lua
5
1117
--ヴェルズ・サラマンドラ function c4058065.initial_effect(c) --atkup local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(4058065,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(2) e1:SetCost(c4058065.cost) e1:SetOperation(c4058065.operation) ...
gpl-2.0
ld-test/lua-resty-session
lib/resty/session/storage/cookie.lua
9
1093
local concat = table.concat local tonumber = tonumber local setmetatable = setmetatable local cookie = {} cookie.__index = cookie function cookie.new(config) return setmetatable({ encode = config.encoder.encode, decode = config.encoder.decode, delimiter = config.cookie.del...
bsd-2-clause
A-N-bot/super10
bot/seedbot.lua
180
10314
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") VERSION = '2' -- This function is called when tg receive a msg function on_msg_receive (msg) if not started then return...
gpl-2.0
MalRD/darkstar
scripts/globals/items/bowl_of_riverfin_soup.lua
11
1615
----------------------------------------- -- ID: 6069 -- Item: Bowl of Riverfin Soup -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- Accuracy % 14 Cap 90 -- Ranged Accuracy % 14 Cap 90 -- Attack % 18 Cap 80 -- Ranged Attack % 18 Cap 80 -- Amorph Killer 5 -----------------------------------...
gpl-3.0
Lsty/ygopro-scripts
c74823665.lua
7
1804
--インフェルノ function c74823665.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(c74823665.spcon) e1:SetOperation(c74823665.spop) ...
gpl-2.0
MalRD/darkstar
scripts/globals/mobskills/snatch_morsel.lua
12
1615
--------------------------------------------- -- Snatch Morsel -- Steals food effect --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/msg") --------------------------------------------- ...
gpl-3.0
TheSAguy/Natural-Evolution
prototypes/Extra_Loot/extra_loot.lua
1
14131
local loot = { item = "small-alien-artifact", probability = 0.5, count_min = 1, count_max = 1 } local lootB = { item = "small-alien-artifact", probability = 0.6, count_min = 1, count_max = 2 } local lootC = { item = "small-alien-artifact", probability = 0.7, count_min = 2, count_max = 5 }...
mit
Lsty/ygopro-scripts
c25518020.lua
3
2592
--マシン・デベロッパー function c25518020.initial_effect(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_FIELD) e2:SetCode(EFFECT_UPDATE_ATTACK) e2:SetRange(LOCATION_SZONE) e...
gpl-2.0
Lsty/ygopro-scripts
c36354007.lua
3
1643
--ギルフォード・ザ・ライトニング function c36354007.initial_effect(c) --summon with 3 tribute local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(36354007,0)) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SUMMON_PROC) e1:SetCondition(c36354007.ttco...
gpl-2.0
MalRD/darkstar
scripts/globals/spells/rainstorm.lua
12
1329
-------------------------------------- -- Spell: Rainstorm -- Changes the weather around target party member to "rainy." -------------------------------------- require("scripts/globals/magic") require("scripts/globals/settings") require("scripts/globals/status") -------------------------------------- function onMa...
gpl-3.0
Lsty/ygopro-scripts
c82044279.lua
3
2992
--クリアウィング・シンクロ・ドラゴン function c82044279.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,nil,aux.NonTuner(nil),1) c:EnableReviveLimit() --negate local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(82044279,0)) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_FIELD+EF...
gpl-2.0
Nuthen/ludum-dare-39
libs/autobatch.lua
1
5336
-- -- autobatch.lua -- -- Copyright (c) 2016 rxi -- -- This library is free software; you can redistribute it and/or modify it -- under the terms of the MIT license. See LICENSE for details. -- local autobatch = { _version = "0.1.1" } setmetatable(autobatch, { __index = love.graphics }) -- Use local reference to love...
mit
MalRD/darkstar
scripts/zones/Nashmau/Zone.lua
9
1549
----------------------------------- -- -- Zone: Nashmau (53) -- ----------------------------------- local ID = require("scripts/zones/Nashmau/IDs"); require("scripts/globals/missions"); require("scripts/globals/settings"); require("scripts/globals/zone") ----------------------------------- function onInitialize(zone) ...
gpl-3.0
MalRD/darkstar
scripts/globals/items/zafmlug_bass.lua
11
1051
----------------------------------------- -- ID: 4385 -- Item: zafmlug_bass -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") -----------------------------------...
gpl-3.0
MalRD/darkstar
scripts/globals/abilities/steal.lua
9
4311
----------------------------------- -- Ability: Steal -- Steal items from enemy. -- Obtained: Thief Level 5 -- Recast Time: 5:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/msg") -- these are the quadavs that th...
gpl-3.0
intel2TM/intel
bot/seedbot.lua
1
14247
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") local f = assert(io.popen('/usr/bin/git describe --tags', 'r')) VERSION = assert(f:read('*a')) f:close() -- This function is ...
gpl-2.0
Lsty/ygopro-scripts
c59509952.lua
5
2357
--大天使クリスティア function c59509952.initial_effect(c) --special summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(59509952,0)) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c59509952.spcon) e1:SetV...
gpl-2.0
tarulas/luadch
scripts/hub_cmd_manager.lua
1
1562
--[[ hub_cmd_manager.lua v0.01 by blastbeat - this script mangages permissions for certain adc commands ]]-- local scriptname = "hub_cmd_manager" local scriptversion = "0.01" --// min levels to use a command //-- local ctmlevel = 0 local rcmlevel = 0 local schlevel = 0 local reslev...
gpl-3.0
MalRD/darkstar
scripts/zones/Southern_San_dOria/npcs/Orechiniel.lua
12
1368
----------------------------------- -- Area: Southern San d'Oria -- NPC: Orechiniel -- Type: Leathercraft Adv. Synthesis Image Support ----------------------------------- require("scripts/globals/status"); require("scripts/globals/crafting"); local ID = require("scripts/zones/Southern_San_dOria/IDs"); ----------------...
gpl-3.0
MalRD/darkstar
scripts/zones/Northern_San_dOria/npcs/Gaudylox.lua
11
1111
----------------------------------- -- Area: Northern San d'Oria -- NPC: Gaudylox -- Standard merchant, though he acts like a guild merchant -- !pos -147.593 11.999 222.550 231 ----------------------------------- local ID = require("scripts/zones/Northern_San_dOria/IDs"); require("scripts/globals/settings"); require("...
gpl-3.0
t4im/homedecor_modpack
homedecor/exterior.lua
11
11518
local S = homedecor.gettext local bbq_cbox = { type = "fixed", fixed = { -0.5, -0.5, -0.3125, 0.5, 0.53125, 0.3125 } } homedecor.register("barbecue", { description = "Barbecue", mesh = "homedecor_barbecue.obj", tiles = { "homedecor_generic_metal_black.png", { name="homedecor_embers.png", animation={ t...
lgpl-3.0
Lsty/ygopro-scripts
c11502550.lua
3
3794
--E・HERO エアー・ネオス function c11502550.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcCode2(c,89943723,54959865,false,false) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(E...
gpl-2.0
HexCodeCC/DynaCode
src/Classes/Node/Input.lua
2
7372
DCML.registerTag("Input", { argumentType = { X = "number"; Y = "number"; width = "number"; height = "number"; backgroundColour = "colour"; textColour = "colour"; selectedTextColour = "colour"; selectedBackgroundColour = "colour"; activeTextColo...
mit
MalRD/darkstar
scripts/zones/Cloister_of_Storms/npcs/Lightning_Protocrystal.lua
9
1483
----------------------------------- -- Area: Cloister of Storms -- NPC: Lightning Protocrystal -- Involved in Quests: Trial by Lightning -- !pos 534.5 -13 492 202 ----------------------------------- require("scripts/globals/missions"); local ID = require("scripts/zones/Cloister_of_Storms/IDs"); require("scripts/global...
gpl-3.0
MalRD/darkstar
scripts/globals/items/burning_claymore.lua
12
1077
----------------------------------------- -- ID: 16929 -- Item: Burning Claymore -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------- function onAdditionalEffect(...
gpl-3.0
zhaozg/lit
libs/get-installed.lua
3
1582
--[[ Copyright 2014-2015 The Luvit Authors. All Rights Reserved. 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 applicable law o...
apache-2.0
MalRD/darkstar
scripts/zones/Mhaura/IDs.lua
12
2445
----------------------------------- -- Area: Mhaura ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.MHAURA] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Come back after sorting ...
gpl-3.0
qaheri/AASv2
plugins/Stats.lua
5
4005
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
gpl-2.0
Lsty/ygopro-scripts
c28112535.lua
3
2226
--トゥーン・リボルバー・ドラゴン function c28112535.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(c28112535.atklimit) c:RegisterEffect(e1) local e2=e1:Clone() e2:SetCode(EVENT_FLIP_SUMMON_SUCCESS) c:Regi...
gpl-2.0
MalRD/darkstar
scripts/zones/Windurst_Woods/IDs.lua
11
8433
----------------------------------- -- Area: Windurst_Woods ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.WINDURST_WOODS] = { text = { CONQUEST_BASE = 0, -- Tallying conquest results... ...
gpl-3.0
weshoke/DSL
test/test.json.lua
1
3583
if(LuaAV) then addmodulepath = LuaAV.addmodulepath else --------------------------------------------------------------- -- Bootstrapping functions required to coalesce paths local function exec(cmd, echo) echo = echo or true if(echo) then print(cmd) print("") end local res = io.popen(cmd):read("*a") ...
mit
MalRD/darkstar
scripts/globals/items/rolanberry_daifuku_+1.lua
11
2069
----------------------------------------- -- ID: 6340 -- Item: rolanberry_daifuku_+1 -- Food Effect: 60 Min, All Races ----------------------------------------- -- HP +30 -- VIT +4 -- Accuracy +11% (cap 54) -- Ranged Accuracy +11% (cap 54) -- Magic Accuracy +4 -- Pet: -- HP +30 -- VIT +4 -- Accuracy +11% (cap 81) -- Ra...
gpl-3.0
oitofelix/freepop
data/script/legacy.lua
2
2612
--[[ legacy.lua -- legacy script module; Copyright (C) 2015, 2016, 2017 Bruno Félix Rezende Ribeiro <oitofelix@gnu.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 versi...
gpl-3.0
Lsty/ygopro-scripts
c68392533.lua
3
2821
--念動増幅装置 function c68392533.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(c68392533.target) e1:SetOperation(c68392533.operation) c:RegisterEffect(e1) ...
gpl-2.0
Lsty/ygopro-scripts
c28677304.lua
3
4952
--E・HERO ブラック・ネオス function c28677304.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcCode2(c,89943723,43237273,false,false) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetCode(...
gpl-2.0
WesleyAC/toybox
games/rcjam/conf.lua
1
3496
function love.conf(t) t.identity = nil -- The name of the save directory (string) t.version = "0.10.2" -- The LÖVE version this game was made for (string) t.console = false -- Attach a console (boolean, Windows only) t.accelerometerjoystick = true ...
mit
Lsty/ygopro-scripts
c29905795.lua
3
1195
--魔轟神獣チャワ function c29905795.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(29905795,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_HAND) e1:SetTarget(c29905795.tg) e1:SetOperation(c29905795.op) c:RegisterEffect(e1)...
gpl-2.0
MalRD/darkstar
scripts/zones/Upper_Jeuno/npcs/Rhea_Myuliah.lua
9
2002
----------------------------------- -- Area: Upper Jeuno -- NPC: Rhea Myuliah -- Type: Standard NPC -- !pos -56.220 -1 101.805 244 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); ----------------...
gpl-3.0
MahmoudDolah/Firmware-Entry-Points-In-Memory
openwrt/openwrt-generic-x86/usr/lib/lua/luci/controller/admin/index.lua
40
1140
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.admin.index", package.seeall) function index() local root = node() if not root.target then root.target = alias("admin") root.index = true end local page = node("admin") page....
apache-2.0
MalRD/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Illeuse.lua
9
1073
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Illeuse -- !pos -44.203 2 -36.216 80 ----------------------------------- require("scripts/globals/quests"); ----------------------------------- function onTrade(player,npc,trade) if (player:getQuestStatus(CRYSTAL_WAR,dsp.quest.id.crystalWa...
gpl-3.0
ennuuos/Neath
main.lua
1
6633
-- Basically a sh**load of imports here. This links all the files together. -- Note: these are all manually created files, not external libraries. Good luck. require('settings') require('util') require('game') require('tile') require('map') require('hero') require('enemy') require('pathfind') require('sprite') require(...
mit
Lsty/ygopro-scripts
c67136033.lua
5
2223
--熱血獣王ベアーマン function c67136033.initial_effect(c) --summon with no tribute local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(67136033,0)) e1:SetProperty(EFFECT_FLAG_CANNOT_DISABLE+EFFECT_FLAG_UNCOPYABLE) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SUMMON_PROC) e1:SetCondition(c67136033.ntcon) e...
gpl-2.0
Lsty/ygopro-scripts
c87292536.lua
3
1262
--XX-セイバー レイジグラ function c87292536.initial_effect(c) --salvage local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(87292536,0)) e1:SetCategory(CATEGORY_TOHAND) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAG...
gpl-2.0
Lsty/ygopro-scripts
c66084673.lua
3
1968
--空炎星-サイチョウ function c66084673.initial_effect(c) --attack up local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(66084673,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_QUICK_O+EFFECT_TYPE_FIELD) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE) e1:SetCondition(c660846...
gpl-2.0
Lsty/ygopro-scripts
c54451023.lua
3
3314
--植物連鎖 function c54451023.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_EQUIP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetCondition(c54451023.condi...
gpl-2.0
MalRD/darkstar
scripts/zones/Jugner_Forest_[S]/npcs/Glowing_Pebbles.lua
9
1053
----------------------------------- -- Area: Jugner Forest (S) -- NPC: Glowing Pebbles ----------------------------------- require("scripts/globals/keyitems") require("scripts/globals/npc_util") ----------------------------------- function onTrade(player, npc, trade) if npcUtil.tradeHas(trade, 2558) and player:ge...
gpl-3.0
MalRD/darkstar
scripts/zones/Uleguerand_Range/npcs/Fissure.lua
12
1275
----------------------------------- -- Area: Uleguerand Range -- NPC: Fissure -- Teleports players from underground to surface -- !pos 380.267 34.859 -179.655 5 -- !pos 460.339 -29.137 220.311 5 -- !pos 180.207 -77.147 500.276 5 ----------------------------------- require("scripts/globals/keyitems"); local ID = requi...
gpl-3.0
Lsty/ygopro-scripts
c75782277.lua
3
2416
--ハーピィの狩場 function c75782277.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --trigger local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e2:SetProperty(EFFECT_FLAG_CANNOT_DISABLE) ...
gpl-2.0
Lsty/ygopro-scripts
c15286412.lua
3
2203
--極星宝グングニル function c15286412.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c15286412.cost) e1:SetTarget(c15286412.target) e1:SetOperation(c15286412.a...
gpl-2.0
Lsty/ygopro-scripts
c86686671.lua
7
2507
--サイバー・リペア・プラント function c86686671.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_TODECK) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,86686671+EFFECT_COUNT_CODE_OATH)...
gpl-2.0
ThingMesh/openwrt-luci
libs/web/luasrc/config.lua
88
1070
--[[ LuCI - Configuration Description: Some LuCI configuration values read from uci file "luci" FileId: $Id$ License: Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a co...
apache-2.0
Lsty/ygopro-scripts
c97385276.lua
9
1556
--レベル・ウォリアー function c97385276.initial_effect(c) --summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(97385276,0)) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_SUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetCondition(c97385276.sumcon) e1:SetOperation(c97385276.sumop) c:Registe...
gpl-2.0
Lsty/ygopro-scripts
c65737274.lua
3
2915
--ドラゴラド function c65737274.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(65737274,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetTarget(c...
gpl-2.0
Lsty/ygopro-scripts
c16392422.lua
5
2710
--トゥーン・仮面魔道士 function c16392422.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(c16392422.atklimit) c:RegisterEffect(e1) local e2=e1:Clone() e2:SetCode(EVENT_SPSUMMON_SUCCESS) c:RegisterEffe...
gpl-2.0
Lsty/ygopro-scripts
c88940154.lua
3
1566
--武神器-ハチ function c88940154.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(88940154,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_GRAVE) e1:SetCountLimit(1,88940154) e1:SetCondition(...
gpl-2.0
ld-test/lua-resty-session
lib/resty/session/ciphers/aes.lua
4
1394
local setmetatable = setmetatable local tonumber = tonumber local aes = require "resty.aes" local cip = aes.cipher local hashes = aes.hash local ngx_var = ngx.var local CIPHER_MODES = { ecb = "ecb", cbc = "cbc", cfb1 = "cfb1", cfb8 = "cfb8", cfb128 = "cfb1...
bsd-2-clause
reekoheek/dotfiles
nvim/.config/nvim/lua/config/compe.lua
1
1162
require'compe'.setup { enabled = true; autocomplete = true; debug = false; min_length = 1; preselect = 'enable'; throttle_time = 80; source_timeout = 200; resolve_timeout = 800; incomplete_delay = 400; max_abbr_width = 100; max_kind_width = 100; max_menu_width = 100; documentation = { border = { '', '' ...
mit
Lsty/ygopro-scripts
c55226821.lua
7
1824
--稲妻の剣 function c55226821.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(c55226821.target) e1:SetOperation(c55226821.operation) c:RegisterEffect(e1) -...
gpl-2.0
Lsty/ygopro-scripts
c60621361.lua
3
3321
--横取りボーン function c60621361.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCondition(c60621361.condition) e1:Set...
gpl-2.0
adan830/luacheck
spec/analyze_spec.lua
4
3624
local analyze = require "luacheck.analyze" local linearize = require "luacheck.linearize" local parser = require "luacheck.parser" local utils = require "luacheck.utils" local ChState = utils.class() function ChState.__init() end function ChState.warn_redefined() end function ChState.warn_global() end function ChStat...
mit
Lsty/ygopro-scripts
c79234734.lua
3
2292
--超戦士の魂 function c79234734.initial_effect(c) --atk local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,79234734) e1:SetCost(c79234734.atkcost) e1:SetOperation(c79234734.atkop) c:RegisterEffect(e1) --search local e2...
gpl-2.0
MalRD/darkstar
scripts/zones/Rabao/IDs.lua
9
2642
----------------------------------- -- Area: Rabao ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.RABAO] = { text = { HOMEPOINT_SET = 2, -- Home point set! ITEM_CANNOT_BE_OBTAINED = 6404, -- Y...
gpl-3.0
Lsty/ygopro-scripts
c2759860.lua
3
2536
--グレイドル・インパクト function c2759860.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --destroy local e2=Effect.CreateEffect(c) e2:SetCategory(CATEGORY_DESTROY) e2:SetType(EFFECT_TYPE_IGNITION) e2:SetRange(LOCATION_SZONE...
gpl-2.0
mikhail-angelov/vlc
share/lua/sd/katsomo.lua
110
1336
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Ilkka Ollakka <ileoo 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 (at yo...
gpl-2.0
MalRD/darkstar
scripts/globals/items/bowl_of_egg_soup.lua
11
1088
----------------------------------------- -- ID: 4417 -- Item: Bowl of Egg Soup -- Food Effect: 180Min, All Races ----------------------------------------- -- Health % 6 -- Health Cap 30 -- Magic 5 -- Health Regen While Healing 5 ----------------------------------------- require("scripts/globals/status") require("scrip...
gpl-3.0
MalRD/darkstar
scripts/globals/items/coeurl_sub_+1.lua
11
1748
----------------------------------------- -- ID: 5167 -- Item: coeurl_sub_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Magic 15 -- Strength 5 -- Agility 1 -- Intelligence -2 -- Health Regen While Healing 1 -- Attack % 22 -- Attack Cap 80 -- Ranged ATT % 22 -- Ranged ATT Cap 80 -- Sle...
gpl-3.0
Mythricia/AvAddon
DataHoarder.lua
1
16441
-- DataHoarder collects data pertaining to the current character, for use in TellMyStory -- By: Avael @ Argent Dawn EU -- Local vars local addonName, addonTable = ... local rainbowName = "|cFF9400D3A|r|cFF4B0082v|r|cFFEE1289A|r|cFF00FF00d|r|cFFFFFF00d|r|cFFFF7F00o|r|cFFFF0000n|r" local doEventSpam = false local...
gpl-3.0
sagarwaghmare69/nn
View.lua
19
2467
local View, parent = torch.class('nn.View', 'nn.Module') function View:resetSize(...) if select('#', ...) == 1 and torch.typename(select(1, ...)) == 'torch.LongStorage' then self.size = select(1, ...) else self.size = torch.LongStorage({...}) end self.numElements = 1 local inferdim = false ...
bsd-3-clause
Frenzie/koreader
frontend/ui/widget/textboxwidget.lua
4
89943
--[[-- A TextWidget that handles long text wrapping Example: local Foo = TextBoxWidget:new{ face = Font:getFace("cfont", 25), text = 'We can show multiple lines.\nFoo.\nBar.', -- width = math.floor(Screen:getWidth() * 2/3), } UIManager:show(Foo) ]] local Blitbuffer = require("ffi...
agpl-3.0
Lsty/ygopro-scripts
c10000040.lua
3
1668
--光の創造神 ホルアクティ function c10000040.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(c10000040.spcon) e1:SetOperation(c10000040....
gpl-2.0
Death15/Test
plugins/invite.lua
33
2849
--[[ Invite user into the chat group. Type !invite by replying to a message to invite replied user. Usefull when you want to reinviting kicked user. Most reliable. Use !invite 1234567890 (where 1234567890 is id_number) to invite a user by id_number. This is a very reliable method, and if failed, will failed silently...
gpl-2.0
MalRD/darkstar
scripts/zones/Apollyon/mobs/Carnagechief_Jackbodokk.lua
9
2007
----------------------------------- -- Area: Apollyon CS -- Mob: Carnagechief Jackbodokk ----------------------------------- require("scripts/globals/limbus"); ----------------------------------- function onMobSpawn(mob) mob:setMobMod(dsp.mobMod.SUPERLINK, mob:getShortID()); end; function onMobEngaged(mob,target...
gpl-3.0
maxrio/luci981213
modules/luci-mod-freifunk/luasrc/model/cbi/freifunk/basics.lua
39
3262
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2011 Manuel Munz <freifunk at somakoma de> -- Licensed to the public under the Apache License 2.0. local fs = require "nixio.fs" local util = require "luci.util" local uci = require "luci.model.uci".cursor() local profiles = "/etc/config/profile_*" m = ...
apache-2.0
MalRD/darkstar
scripts/globals/items/bowl_of_homemade_stew.lua
11
1598
----------------------------------------- -- ID: 5222 -- Item: Bowl of Homemade Stew -- Food Effect: 30Min, All Races ----------------------------------------- -- Vitality 1 -- Accuracy +12% (cap 80) -- Attack +10% (cap 40) -- Ranged Accuracy +12% (cap 80) -- Ranged Attack +10% (cap 40) --------------------------------...
gpl-3.0
Noneatme/MTA-SCP-049
client/map/CMapLoader.lua
1
3222
-- ####################################### -- ## Project: MTA:scp-088 ## -- ## Name: MapLoader ## -- ## Author: Noneatme ## -- ## Version: 1.0 ## -- ## License: See top Folder ## -- ####################################### -- FUNCTIONS / METHODS -- local cFunc = {}; -- Local Functions local cSettin...
mit
Lsty/ygopro-scripts
c98154550.lua
5
1416
--プリミティブ・バタフライ function c98154550.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(c98154550.spcon) c:RegisterEffect(e1) --level local e2=Effect.Cr...
gpl-2.0
Lsty/ygopro-scripts
c60482781.lua
3
1352
--ミスティック・ソードマン LV6 function c60482781.initial_effect(c) --destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(60482781,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_F) e1:SetCode(EVENT_BATTLE_START) e1:SetCondition(c60482781.descon) e1:SetTarget(c60482...
gpl-2.0
Lsty/ygopro-scripts
c56856951.lua
6
2371
--メテオ・プロミネンス function c56856951.initial_effect(c) --damage local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCategory(CATEGORY_DAMAGE) e1:SetProperty(EFFECT_FLAG_PLAYER_TARGET) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCondition(c56856951.damcon) e1:SetCost(c56856951.damcost) e1:SetTarget(c568569...
gpl-2.0
mati865/vlc
share/lua/playlist/anevia_xml.lua
124
3618
--[[ Parse list of available streams on Anevia servers. The URI http://ipaddress/ws/Mgmt/* describes a list of available streams on the server. Copyright © 2009 M2X BV Authors: Jean-Paul Saman <jpsaman@videolan.org> This program is free software; you can redistribute it and/or modify it under the terms of the...
gpl-2.0
Lsty/ygopro-scripts
c9236985.lua
7
1320
--リチュアの写魂鏡 function c9236985.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(c9236985.target) e1:SetOperation(c9236985.activate) c:RegisterEffect(e1) end function c9236985.filter(c,e,t...
gpl-2.0
MalRD/darkstar
scripts/globals/spells/archers_prelude.lua
10
1534
----------------------------------------- -- Spell: Archer's Prelude -- Enhances ranged attack for party members within area of effect. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caste...
gpl-3.0
Cyril-Roques/packages
net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/member.lua
111
1535
-- ------ member configuration ------ -- ds = require "luci.dispatcher" m5 = Map("mwan3", translate("MWAN Member Configuration")) m5:append(Template("mwan/config_css")) mwan_member = m5:section(TypedSection, "member", translate("Members"), translate("Members are profiles attaching a metric and weight to an MWAN ...
gpl-2.0
sairon/packages
net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/member.lua
111
1535
-- ------ member configuration ------ -- ds = require "luci.dispatcher" m5 = Map("mwan3", translate("MWAN Member Configuration")) m5:append(Template("mwan/config_css")) mwan_member = m5:section(TypedSection, "member", translate("Members"), translate("Members are profiles attaching a metric and weight to an MWAN ...
gpl-2.0
Lsty/ygopro-scripts
c23434538.lua
3
2352
--増殖するG function c23434538.initial_effect(c) --draw local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(23434538,0)) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_STANDBY_PHASE+0x1c0) e1:SetRange(LOCATION_HAND) e1:SetCountLimit(1,23434538) e1:SetCost(c2343453...
gpl-2.0
Lsty/ygopro-scripts
c84530620.lua
5
1040
--OToサンダー function c84530620.initial_effect(c) --summon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(84530620,0)) e1:SetCategory(CATEGORY_SUMMON) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1) e1:SetTarget(c84530620.target) e1:SetOperation(c84530620.operation...
gpl-2.0