repo_name
stringlengths
6
69
path
stringlengths
6
178
copies
stringclasses
278 values
size
stringlengths
4
7
content
stringlengths
671
917k
license
stringclasses
15 values
cho4036/packages
net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/policyconfig.lua
104
1918
-- ------ extra functions ------ -- function policyCheck() -- check to see if this policy's name exceed the maximum of 15 characters policyNameLength = string.len(arg[1]) if policyNameLength > 15 then nameTooLong = 1 end end function policyWarn() -- display status and warning messages at the top of the page if ...
gpl-2.0
dickeyf/darkstar
scripts/globals/items/dish_of_spaghetti_vongole_rosso.lua
18
1654
----------------------------------------- -- ID: 5189 -- Item: dish_of_spaghetti_vongole_rosso -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 17 -- Health Cap 90 -- Vitality 2 -- Mind -1 -- Defense % 25 -- Defense Cap 30 -- Store TP 6 ----------------------------------------- re...
gpl-3.0
Mhdl80/Mentalseed
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
agpl-3.0
mrvigeo/salib
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
Shayan123456/botttttt6
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c48063985.lua
2
5563
--聖霊獣騎 カンナホーク function c48063985.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcFun2(c,aux.FilterBoolFunction(Card.IsFusionSetCard,0x10b5),aux.FilterBoolFunction(Card.IsFusionSetCard,0x20b5),true) --spsummon condition local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:S...
gpl-2.0
dickeyf/darkstar
scripts/zones/Al_Zahbi/npcs/Danaaba.lua
13
1040
----------------------------------- -- Area: Al Zahbi -- NPC: Danaaba -- Type: Standard NPC -- @zone: 48 -- @pos -17.375 -6.999 59.161 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ------------------------...
gpl-3.0
mika6020/powerbot
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
agpl-3.0
dickeyf/darkstar
scripts/zones/Southern_San_dOria/npcs/Phamelise.lua
12
2168
----------------------------------- -- Area: Southern San d'Oria -- NPC: Phamelise -- Only sells when San d'Oria controlls Zulkheim Region ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/ev...
gpl-3.0
dickeyf/darkstar
scripts/zones/Quicksand_Caves/npcs/_5s5.lua
13
1255
----------------------------------- -- Area: Quicksand Caves -- NPC: Ornate Door -- Door blocked by Weight system -- @pos -779 0 -454 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Caves/TextID...
gpl-3.0
dickeyf/darkstar
scripts/zones/King_Ranperres_Tomb/npcs/Strange_Apparatus.lua
27
1164
----------------------------------- -- Area: King_Ranperre's Tomb -- NPC: Strange Apparatus -- @pos -260 7 -142 190 ----------------------------------- package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil; require("scripts/zones/King_Ranperres_Tomb/TextIDs"); require("scripts/globals/strangeapparatus");...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c37083210.lua
4
1688
--クロスカウンター function c37083210.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetCondition(c37083210.condition) e1:SetOperation(c37083210.activate) c:Regist...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c59975920.lua
2
3233
--超量士レッドレイヤー function c59975920.initial_effect(c) --spsummon proc local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(59975920,0)) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE) e1:SetRange(LOCATION_HAND) e1:SetCondition(c59975920.spcon) c:Regis...
gpl-2.0
Turttle/darkstar
scripts/globals/items/ogre_eel.lua
18
1390
----------------------------------------- -- ID: 4481 -- Item: ogre_eel -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 -- Evasion 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- ...
gpl-3.0
eugeneia/snabb
lib/ljndpi/ndpi/protocol_ids_1_7.lua
13
12470
-- Generated by ljdnpi's tools/update-protocol-ids script local T = { [0] = "PROTOCOL_UNKNOWN", [1] = "PROTOCOL_FTP_CONTROL", [2] = "PROTOCOL_MAIL_POP", [2] = "PROTOCOL_HISTORY_SIZE", [3] = "PROTOCOL_MAIL_SMTP", [4] = "PROTOCOL_MAIL_IMAP", [5] = "PROTOCOL_DNS", [6] = "PROTOCOL_IPP", [7] = "PROTOCOL_HT...
apache-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c86321248.lua
2
2831
--古代の機械合成獣 function c86321248.initial_effect(c) --mat check local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetCode(EFFECT_MATERIAL_CHECK) e1:SetValue(c86321248.valcheck) c:RegisterEffect(e1) --summon success local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS...
gpl-2.0
dickeyf/darkstar
scripts/zones/Port_San_dOria/npcs/Sheridan.lua
13
1803
----------------------------------- -- Area: Port San d'Oria -- NPC: Sheridan -- Involved in Quests: Riding on the Clouds -- @zone 232 -- @pos -19 -8 -129 ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyit...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c45948430.lua
2
2411
--超戦士の萌芽 function c45948430.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_SPECIAL_SUMMON+CATEGORY_DECKDES) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCountLimit(1,45948430+EFFECT_COUNT_CODE_OATH) e1:SetTarget(c45948430.target) e1:SetOperation(c4594...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c34302287.lua
2
3216
--幻煌龍の戦渦 function c34302287.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetHintTiming(0,0x1e0) e1:SetCondition(c34302287.condition) e1:SetTarget(c34302287.t...
gpl-2.0
dickeyf/darkstar
scripts/globals/mobskills/Nocturnal_Combustion.lua
35
1096
--------------------------------------------- -- Nocturnal Combustion -- -- Description: Self-destructs, releasing dark energy at nearby targets. -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: 20' radial -- Notes: Damage is based on remaining HP and time of day (more damaging near midnight)...
gpl-3.0
eugeneia/snabb
src/lib/protocol/udp.lua
15
2126
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local ffi = require("ffi") local C = ffi.C local header = require("lib.protocol.header") local ipsum = require("lib.checksum").ipsum local lib = require("core.lib") local htons, ntohs = lib.htons, lib.ntohs loca...
apache-2.0
dickeyf/darkstar
scripts/globals/items/inferno_axe.lua
41
1069
----------------------------------------- -- ID: 16709 -- Item: Inferno Axe -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action --------------------------------...
gpl-3.0
dickeyf/darkstar
scripts/zones/Windurst_Walls/npcs/HomePoint#3.lua
27
1267
----------------------------------- -- Area: Windurst Walls -- NPC: HomePoint#3 -- @pos 31 -6.5 -40 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Windurst_Walls/TextIDs"); require("scripts/globals/home...
gpl-3.0
Turttle/darkstar
scripts/globals/items/lionhead.lua
18
1318
----------------------------------------- -- ID: 4312 -- Item: lionhead -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChec...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c15939229.lua
2
3536
--DDD双暁王カリ・ユガ function c15939229.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsSetCard,0xaf),8,2) c:EnableReviveLimit() --summon success local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_SPSUMMON_SUCCESS) e1:SetOperation(c...
gpl-2.0
eugeneia/snabb
src/lib/protocol/dot1q.lua
2
1209
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local ffi = require("ffi") local lib = require("core.lib") local header = require("lib.protocol.header") local ntohs, htons = lib.ntohs, lib.htons local dot1q = subClass(header) -- Class variables dot1q._name =...
apache-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c13030280.lua
6
1831
--CX-CH レジェンド・アーサー function c13030280.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,5,3) c:EnableReviveLimit() --battle indes local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_SINGLE) e1:SetProperty(EFFECT_FLAG_SINGLE_RANGE) e1:SetRange(LOCATION_MZONE) e1:SetCode(EFFECT_INDESTRUCTABLE_COUNT) e...
gpl-2.0
dickeyf/darkstar
scripts/zones/East_Sarutabaruta/npcs/Heih_Porhiaap.lua
13
1031
----------------------------------- -- Area: East Sarutabaruta -- NPC: Heih Porhiaap -- @pos -118.876 -4.088 -515.731 116 ----------------------------------- package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/zones/East_Sarutabaruta/TextIDs"...
gpl-3.0
sevenbot/teamseven
plugins/torrent_search.lua
223
1059
local https = require ('ssl.https') local ltn12 = require ("ltn12") local function search_kickass(query) local url = 'https://kat.cr/json.php?q='..URL.escape(query) local resp = {} local b,c = https.request { url = url, protocol = "tlsv1", sink = ltn12.sink.table(resp) } resp = table.concat(...
gpl-2.0
dickeyf/darkstar
scripts/zones/Ghelsba_Outpost/bcnms/toadal_recall.lua
27
1512
----------------------------------- -- Area: Ghelsba Outpost -- Name: toadal_recall BCNM30 -- @pos -162 -11 78 140 ----------------------------------- package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c97750534.lua
2
1602
--死の代行者 ウラヌス function c97750534.initial_effect(c) --spsummon 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(c97750534.spcon) c:RegisterEffect(e1) --tograve local e2=Effect.CreateEf...
gpl-2.0
lordtg/lordtg
plugins/anti_spam.lua
435
3886
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
patrikrm13/bostg
plugins/anti_spam.lua
435
3886
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c38318146.lua
9
1439
--暴君の暴力 function c38318146.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c38318146.cost) c:RegisterEffect(e1) --activate cost local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_FIELD) e2:SetCode(EFFECT_ACTIVATE_COST) ...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c37744402.lua
2
1689
--風霊使いウィン function c37744402.initial_effect(c) --flip local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(37744402,0)) e1:SetCategory(CATEGORY_CONTROL) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_FLIP) e1:SetTarget(c37744402.target) e1:SetOperation(c37744402.oper...
gpl-2.0
GerHobbelt/civet-webserver
test/handle_form.lua
11
3851
-- Some basic checks if mg.request_info.request_method ~= "POST" or mg.request_info.content_type:lower():sub(1,19) ~= 'multipart/form-data' then mg.write("HTTP/1.0 400 OK\r\n") mg.write("Connection: close\r\n") mg.write("Content-Type: text/plain; charset=utf-8\r\n") mg.write("Cache-Control: max-age=0, must...
mit
Turttle/darkstar
scripts/zones/Ranguemont_Pass/Zone.lua
20
1885
----------------------------------- -- -- Zone: Ranguemont_Pass (166) -- ----------------------------------- package.loaded["scripts/zones/Ranguemont_Pass/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Ranguemont_Pass/TextIDs"); require("scrip...
gpl-3.0
dickeyf/darkstar
scripts/zones/Bastok_Mines/npcs/Mille.lua
12
1524
----------------------------------- -- Area: Bastok_Mines -- NPC: Mille -- Only sells when Bastok controlls Norvallen Region ----------------------------------- require("scripts/globals/events/harvest_festivals"); require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Basto...
gpl-3.0
dickeyf/darkstar
scripts/globals/items/yagudo_cherry.lua
18
1179
----------------------------------------- -- ID: 4445 -- Item: yagudo_cherry -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -...
gpl-3.0
dickeyf/darkstar
scripts/zones/Waughroon_Shrine/mobs/Maat.lua
6
1132
----------------------------------- -- Area: Waughroom Shrine -- MOB: Maat -- Genkai 5 Fight ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Waughroon_Shrine/TextIDs"); ----------------------------------- -...
gpl-3.0
iskygame/skynet
lualib/skynet.lua
4
16137
-- read https://github.com/cloudwu/skynet/wiki/FAQ for the module "skynet.core" local c = require "skynet.core" local tostring = tostring local tonumber = tonumber local coroutine = coroutine local assert = assert local pairs = pairs local pcall = pcall local table = table local profile = require "profile" local coro...
mit
SalvationDevelopment/Salvation-Scripts-TCG
c99916754.lua
3
1802
--ナチュル・エクストリオ function c99916754.initial_effect(c) --fusion material c:EnableReviveLimit() aux.AddFusionProcCode2(c,33198837,2956282,false,false) --negate local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(99916754,0)) e2:SetCategory(CATEGORY_NEGATE+CATEGORY_DESTROY) e2:SetType(EFFECT_TYPE_QUICK_O) ...
gpl-2.0
Turttle/darkstar
scripts/zones/Selbina/npcs/Chutarmire.lua
33
1717
----------------------------------- -- Area: Selbina -- NPC: Chutarmire -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/shop"); --------...
gpl-3.0
Turttle/darkstar
scripts/globals/spells/bluemagic/queasyshroom.lua
18
2027
----------------------------------------- -- Spell: Queasyshroom -- Additional effect: Poison. Duration of effect varies with TP -- Spell cost: 20 MP -- Monster Type: Plantoids -- Spell Type: Physical (Piercing) -- Blue Magic Points: 2 -- Stat Bonus: HP-5, MP+5 -- Level: 8 -- Casting Time: 2 seconds -- Recast...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c55569674.lua
5
2810
--女神の聖剣-エアトス function c55569674.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(c55569674.target) e1:SetOperation(c55569674.operation) c:RegisterEffect(...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c95676943.lua
4
1206
--絶滅の定め function c95676943.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_MAIN_END) e1:SetCondition(c95676943.condition) e1:SetCost(c95676943.cost) e1:SetOperation(c95676943.activate) c:RegisterEffect(e1) end ...
gpl-2.0
alobaidy98/ahmed..alobaidy
plugins/welcome.lua
1
1155
-- CODS CREATED BY @dev_ahmed_98 -- please join Channel @A7mEd_B98 do local function run(msg, matches) local a = msg['id'] if matches[1] == "chat_add_user" then local b = "هـَْـُلاٌٍے بيك حجي/ة نورت/ي @"..(msg.action.user.username or " ").."\n".."طب برجلك اليمنه وصلي ع محمد \n قناة الكـgяθυρـٍْـ...
gpl-3.0
FFG-Blinkenn/tdm
gamemodes/tdm/gamemode/cl_welcome2.lua
2
22801
-- Fonts surface.CreateFont( "TDM_Title", { font = "Software Tester 7", size = 32, weight = 400, antialias = true, blursize = 0.2, shadow = false }) surface.CreateFont( "TDM_ServerTitle", { font = "Triomphe", size = 20, weight = 600, antialias = true, blursize = 0.4, shadow = false }) surface.CreateFont( "TDM_FooterTex...
mit
monsterdeev/MONSTER
plugins/مهم.lua
1
7996
do local _ = { about_text = "MonsterDev v4\nAn advanced administration bot based on TG-CLI written in Lua\n\nhttps://github.com/SEEDTEAM/TeleSeed\n[Manager]\n@PXPP3 [Admin]\n\nSpecial thanks to\nawkward_potato\nSiyanew\ntopkecleon\nVamptacus\n\nOur channels\n@teleseedch [English]\n@iranseed [persian]\n\nOur website \...
gpl-2.0
gvvaughan/specl
lib/specl/badargs.lua
1
13403
--[[ Behaviour Driven Development for Lua 5.1, 5.2 & 5.3. Copyright (C) 2014-2018 Gary V. Vaughan ]] --[[-- Additional commands useful for writing API argument specs. @module specl.badargs ]] -- NOTE: This might look like we're importing symbols from the host Lua -- global environment, but actually 'specl.badarg...
mit
Turttle/darkstar
scripts/zones/Quicksand_Caves/npcs/Grounds_Tome.lua
34
1142
----------------------------------- -- Area: Quicksand Caves -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade...
gpl-3.0
Turttle/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Matifa.lua
37
1026
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Matifa -- Type: Standard NPC -- @pos -10.583 -1 -8.820 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegat...
gpl-3.0
Turttle/darkstar
scripts/globals/abilities/repair.lua
18
4423
----------------------------------- -- Ability: Repair -- Uses oil to restore pet's HP. -- Obtained: Puppetmaster Level 15 -- Recast Time: 3:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/pets"); ------------...
gpl-3.0
dickeyf/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Signpost.lua
13
1428
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Signpost ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Buburimu_Peninsula/TextIDs"); ----------------------------------- -- onTrad...
gpl-3.0
dickeyf/darkstar
scripts/zones/North_Gustaberg/npcs/Ennigreaud_RK.lua
13
3334
----------------------------------- -- Area: North Gustaberg -- NPC: Ennigreaud, R.K. -- Type: Outpost Conquest Guards -- @pos -584.687 39.107 54.281 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conq...
gpl-3.0
dickeyf/darkstar
scripts/zones/PsoXja/npcs/_i96.lua
13
1277
----------------------------------- -- Area: Pso'Xja -- NPC: _i96 (Stone Gate) -- Notes: Red Bracelet Door -- @pos -310.000 -1.925 -238.399 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/PsoXja/TextIDs"); require...
gpl-3.0
Turttle/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Cimeries.lua
16
1259
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Marquis Cimeries ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- func...
gpl-3.0
Ablu/ValyriaTear
img/sprites/map/enemies/bat_walk.lua
2
1592
-- Sprite animation file descriptor -- This file will describe the frames used to load the sprite animations -- This files is following a special format compared to other animation scripts. local ANIM_SOUTH = hoa_map.MapMode.ANIM_SOUTH; local ANIM_NORTH = hoa_map.MapMode.ANIM_NORTH; local ANIM_WEST = hoa_map.MapMode....
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c100912019.lua
2
3731
--覇王眷竜ダークヴルム --Supreme King Servant Dragon Darkvrm --Scripted by Eerie Code function c100912019.initial_effect(c) aux.EnablePendulumAttribute(c) --pendulum set local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(100912019,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_PZONE) e1:SetCountLimi...
gpl-2.0
Turttle/darkstar
scripts/globals/spells/kurayami_ichi.lua
18
1062
----------------------------------------- -- Spell: Kurayami:Ichi ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(c...
gpl-3.0
Maxsteam/xy-teast
plugins/inpm.lua
53
3081
do local function pairsByKeys (t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 -- iterator variable local iter = function () -- iterator function i = i + 1 if a[i] == nil then return nil else return a[i], t[a[i]] ...
gpl-2.0
Turttle/darkstar
scripts/globals/items/head_of_napa.lua
35
1195
----------------------------------------- -- ID: 5235 -- Item: head_of_napa -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItem...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c45627618.lua
2
4096
--覇王黒竜オッドアイズ・リベリオン・ドラゴン function c45627618.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,aux.FilterBoolFunction(Card.IsRace,RACE_DRAGON),7,2) c:EnableReviveLimit() --pendulum summon aux.EnablePendulumAttribute(c,false) --pendulum set local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_IGNITION) e1:Se...
gpl-2.0
SalvationDevelopment/Salvation-Scripts-TCG
c511000889.lua
2
1676
--Pheromone Wasp function c511000889.initial_effect(c) --sp summon local e2=Effect.CreateEffect(c) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_CONTINUOUS) e2:SetCode(EVENT_DAMAGE_STEP_END) e2:SetCondition(c511000889.condition) e2:SetOperation(c511000889.operation) c:RegisterEffect(e2) end function c511000889.condi...
gpl-2.0
dickeyf/darkstar
scripts/zones/Kazham/npcs/Nenepp.lua
1
4240
----------------------------------- -- Area: Kazham -- NPC: Nenepp -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); require("scripts/globals/pathfind"); local path = { 29.014000, -11.00000, -183.884000, 31.023000, -...
gpl-3.0
dickeyf/darkstar
scripts/zones/Upper_Jeuno/npcs/Mejuone.lua
13
1132
----------------------------------- -- Area: Upper Jeuno -- NPC: Mejuone -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
dickeyf/darkstar
scripts/globals/items/rarab_tail.lua
18
1172
----------------------------------------- -- ID: 4444 -- Item: rarab_tail -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck --------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c89914395.lua
2
1359
--ミョルニルの魔槌 function c89914395.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetCondition(c89914395.condition) e1:SetTarget(c89914395.target) e1:SetOperation(c89914395.operation) c:RegisterEff...
gpl-2.0
sipwise/lua-lemock
build/unit/argv.lua
2
5581
-- ../src/unittestfiles.nw:85 -- ../src/misc.nw:7 ------ THIS FILE IS TANGLED FROM LITERATE SOURCE FILES ------ -- Copyright (C) 2009 Tommy Pettersson <ptp@lysator.liu.se> -- See terms in file COPYRIGHT, or at http://lemock.luaforge.net -- ../src/unittestfiles.nw:86 require 'lunit' module( 'unit.argv', lunit....
mit
Turttle/darkstar
scripts/zones/Upper_Delkfutts_Tower/TextIDs.lua
7
1183
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6414; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6418; -- Obtained: <item>. GIL_OBTAINED = 6419; -- Obtained <number> gil. KEYITEM_OBTAINED = 6421; -- Obtained...
gpl-3.0
dickeyf/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Latteaune.lua
13
1072
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Latteaune -- Type: Event Scene Replayer -- @zone: 26 -- @pos -16.426 -28.889 109.626 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"]...
gpl-3.0
dickeyf/darkstar
scripts/globals/items/dish_of_spaghetti_arrabbiata.lua
18
1718
----------------------------------------- -- ID: 5211 -- Item: dish_of_spaghetti_arrabbiata -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 5 -- Vitality 2 -- Intelligence -7 -- Attack % 22 -- Attack Cap 120 -- Store TP 5 ----------------------------------------- require("scripts...
gpl-3.0
dickeyf/darkstar
scripts/globals/items/bluetail.lua
18
1308
----------------------------------------- -- ID: 4399 -- Item: Bluetail -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c25955164.lua
6
1112
--雷魔神-サンガ function c25955164.initial_effect(c) --atkdown local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(25955164,0)) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_QUICK_O) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_PRE_DAMAGE_CALCULATE) e1:SetProperty(EFFECT_FLAG_NO_TURN_RESET) e1...
gpl-2.0
Turttle/darkstar
scripts/zones/Temenos/bcnms/Temenos_Western_Tower.lua
19
1039
----------------------------------- -- Area: Temenos -- Name: ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[Temenos_W_Tower]UniqueID",GenerateLimbusKey()); HideArmouryCrates(GetInstanceRegion(1298),TEMENOS);...
gpl-3.0
Turttle/darkstar
scripts/globals/weaponskills/entropy.lua
30
1670
----------------------------------- -- Entropy -- Scythe weapon skill -- Skill level: 357 -- Description: Delivers a fourfold attack that converts damage dealt into own MP. Damage varies with TP. -- In order to obtain Entropy, the quest Martial Mastery must be completed. -- MP recovery is about 15~25% of damage d...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c35629124.lua
9
2193
--コドモドラゴン function c35629124.initial_effect(c) --spsummon local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(35629124,0)) e1:SetCategory(CATEGORY_SPECIAL_SUMMON) e1:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DELAY) e1:SetCode(EVENT_TO_GRAVE) ...
gpl-2.0
dickeyf/darkstar
scripts/zones/Bastok-Jeuno_Airship/npcs/Michele.lua
30
2226
----------------------------------- -- Area: Bastok-Jeuno Airship -- NPC: Michele -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Bastok-Jeuno_Airship/TextIDs"] = nil; require("scripts/zones/Bastok-Jeuno_Airship/TextIDs"); ----------------------------------- -- onTrade Action ...
gpl-3.0
Turttle/darkstar
scripts/zones/Windurst_Waters/npcs/Jacodaut.lua
53
1826
----------------------------------- -- Area: Windurst Waters -- NPC: Jacodaut -- Type: Cooking Image Support -- @pos -125.890 -2.999 62.499 238 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); requ...
gpl-3.0
rleh/telegram-bot
plugins/help.lua
290
1653
do -- Returns true if is not empty local function has_usage_data(dict) if (dict.usage == nil or dict.usage == '') then return false end return true end -- Get commands for that plugin local function plugin_help(name) local plugin = plugins[name] if not plugin then return nil end local text = "" if ...
gpl-2.0
Death15/Mega-Tauch
plugins/help.lua
290
1653
do -- Returns true if is not empty local function has_usage_data(dict) if (dict.usage == nil or dict.usage == '') then return false end return true end -- Get commands for that plugin local function plugin_help(name) local plugin = plugins[name] if not plugin then return nil end local text = "" if ...
gpl-2.0
JackS9/iot
Config_AP_STA.lua
1
5788
neopixel=4 red=string.char(0,255,0) green=string.char(255,0,0) blue=string.char(0,0,255) white=string.char(50,50,50) ws2812.writergb(neopixel, red) -- put module in STATION AP mode wifi.setmode(wifi.STATIONAP) print("ESP8266 mode is: " .. wifi.getmode()) -- Uncomment the following to use non-default SSID (and ...
gpl-2.0
moeart/moeart-kwf
ma_core.lua
1
3578
--[[ Copyright (C) 2017 MoeArt Development Team. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish,...
mit
derickd/moaigui
textbox.lua
2
5097
--[[ Demo for a basic GUI system This demonstrates creating various widgets programmatically. ]] require "gui/support/class" local gui = require "gui/gui" local resources = require "gui/support/resources" local filesystem = require "gui/support/filesystem" local inputconstants = require "gui/support/inputconstant...
mit
deepmind/meltingpot
examples/tutorial/harvest/levels/harvest_finished/components.lua
1
3203
--[[ Copyright 2020 DeepMind Technologies Limited. 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 https://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in...
apache-2.0
Turttle/darkstar
scripts/globals/items/hard-boiled_egg.lua
35
1195
----------------------------------------- -- ID: 4409 -- Item: hard-boiled_egg -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 10 -- Magic 10 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c4483989.lua
2
2055
--モンスターBOX function c4483989.initial_effect(c) --activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_BATTLE_START) e1:SetTarget(c4483989.atktg1) e1:SetOperation(c4483989.atkop) c:RegisterEffect(e1) --dice local e2=Effect.CreateEffect...
gpl-2.0
dickeyf/darkstar
scripts/zones/Cape_Teriggan/npcs/Orukeke_WW.lua
13
3309
----------------------------------- -- Area: Cape Teriggan -- NPC: Orukeke, W.W. -- Type: Border Conquest Guards -- @pos 119 0 282 113 ----------------------------------- package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require("scri...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c60530944.lua
5
1729
--異種闘争 function c60530944.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_TOGRAVE) e1:SetProperty(EFFECT_FLAG_IGNORE_IMMUNE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,0x1c0) e1:SetCondition(c60530944.condition) e1:SetOperation(c6053094...
gpl-2.0
dickeyf/darkstar
scripts/zones/Sea_Serpent_Grotto/TextIDs.lua
15
2312
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory FULL_INVENTORY_AFTER_TRADE = 6383; -- You cannot obtain the <item>. Try trading again after sorting your inventory ITEM_OBTAINED = 638...
gpl-3.0
Turttle/darkstar
scripts/zones/Jugner_Forest_[S]/npcs/qm8.lua
30
1802
----------------------------------- -- Area: Jugner Forest (S) -- NPC: ??? -- Type: Quest NPC -- @pos -6 0 -295 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Jugner_Forest_[S]/TextIDs"); require("scri...
gpl-3.0
dickeyf/darkstar
scripts/zones/FeiYin/npcs/qm1.lua
13
1501
----------------------------------- -- Area: FeiYin -- NPC: qm1 (???) -- Involved In Quest: Pieuje's Decision -- @pos -55 -16 69 204 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globa...
gpl-3.0
dickeyf/darkstar
scripts/zones/Lower_Jeuno/npcs/Chululu.lua
3
5518
----------------------------------- -- Area: Lower Jeuno -- NPC: Chululu -- Starts and Finishes Quests: Collect Tarut Cards, Rubbish Day -- Optional Cutscene at end of Quest: Searching for the Right Words -- @pos -13 -6 -42 245 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = n...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c5183693.lua
4
2493
--下克上の首飾り function c5183693.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(c5183693.target) e1:SetOperation(c5183693.operation) c:RegisterEffect(e1) -...
gpl-2.0
fatedier/studies
codis-2.0.13/extern/redis-2.8.21/deps/lua/test/life.lua
888
2635
-- life.lua -- original by Dave Bollinger <DBollinger@compuserve.com> posted to lua-l -- modified to use ANSI terminal escape sequences -- modified to use for instead of while local write=io.write ALIVE="¥" DEAD="þ" ALIVE="O" DEAD="-" function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary for i=1,10000 do...
gpl-3.0
fgenesis/Aquaria_experimental
game_scripts/scripts/entities/_unused/schoolfish1.lua
6
3874
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0
dickeyf/darkstar
scripts/zones/Port_Windurst/npcs/Milma-Hapilma_WW.lua
13
5592
----------------------------------- -- Area: Port Windurst -- NPC: Milma-Hapilma, W.W. -- X Grant Signet -- X Recharge Emperor Band, Empress Band, or Chariot Band -- X Accepts traded Crystals to fill up the Rank bar to open new Missions. -- X Sells items in exchange for Conquest Points -- X Start Supply Run Mis...
gpl-3.0
SalvationDevelopment/Salvation-Scripts-TCG
c93211810.lua
5
4133
--超音速波 function c93211810.initial_effect(c) --atkup local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetCondition(c93211810.cond...
gpl-2.0
Turttle/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/LaisavieXBerlends1.lua
36
1080
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Laisavie X Berlends -- @zone 80 -- @pos 26 2 6 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); -----------------------...
gpl-3.0
fgenesis/Aquaria_experimental
game_scripts/scripts/entities/_unused/childsharan.lua
6
3400
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria is free software; you can redistribute it and/or -- modify it under the terms of the GNU General Public License -- as published by the Free Software Foundation; either version 2 -- of the License, or (at your option) any later vers...
gpl-2.0