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
Deadwing888/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/Cannau.lua
13
1053
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Cannau -- Type: Escort NPC -- @pos 419.838 -56.999 -114.870 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldie...
gpl-3.0
Kong/kong
spec/01-unit/08-router_spec.lua
1
158999
local Router local atc_compat = require "kong.router.compat" local path_handling_tests = require "spec.fixtures.router_path_handling_tests" local uuid = require("kong.tools.utils").uuid local function reload_router(flavor) _G.kong = { configuration = { router_flavor = flavor, }, } package.loaded["...
apache-2.0
ffxijuggalo/darkstar
scripts/globals/abilities/charm.lua
12
1315
----------------------------------- -- Ability: Charm a monster -- Tames a monster to fight by your side. -- Obtained: Beastmaster Level 1 -- Recast Time: 0:15 -- Duration: Varies -- Check |Duration -- ---------------- |-------------- -- Too Weak |30 Minutes -- Easy Prey |20 Minutes -- Decent ...
gpl-3.0
ryangmor/seheed
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
Kong/kong
kong/plugins/statsd/statsd_logger.lua
1
4323
local ngx_socket_udp = ngx.socket.udp local ngx_socket_tcp = ngx.socket.tcp local ngx_log = ngx.log local NGX_ERR = ngx.ERR local NGX_WARN = ngx.WARN local NGX_DEBUG = ngx.DEBUG local setmetatable = setmetatable local tostring = tostring local fmt = string.format local table_...
apache-2.0
destdev/ygopro-scripts
c79094383.lua
3
2093
--光波異邦臣 function c79094383.initial_effect(c) --material local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(79094383,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) e1:SetRange(LOCATION_GRAVE+LOCATION_HAND) e1:SetCountLimit(1,79094383) e1:SetTarget(c79094383.mattg) e1:Se...
gpl-2.0
RwNigma/darkstar
scripts/zones/Abyssea-Uleguerand/npcs/qm15.lua
17
1531
----------------------------------- -- Zone: Abyssea-Ullegrand -- NPC: ??? -- Spawns: Pantokrator ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger...
gpl-3.0
destdev/ygopro-scripts
c21772453.lua
2
2293
--花札衛-紅葉に鹿- function c21772453.initial_effect(c) c:EnableReviveLimit() --special summon rule local e1=Effect.CreateEffect(c) e1:SetProperty(EFFECT_FLAG_UNCOPYABLE+EFFECT_FLAG_CANNOT_DISABLE) e1:SetType(EFFECT_TYPE_FIELD) e1:SetRange(LOCATION_HAND) e1:SetCode(EFFECT_SPSUMMON_PROC) e1:SetCondition(c21772453.hspco...
gpl-2.0
RwNigma/darkstar
scripts/zones/Rabao/npcs/Scamplix.lua
37
1459
----------------------------------- -- Area: Rabao -- NPC: Scamplix -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Rabao/TextIDs"] = nil; require("scripts/zones/Rabao/TextIDs"); ----------------------------------- -- onTrade Actio...
gpl-3.0
destdev/ygopro-scripts
c62709239.lua
4
4096
--幻影騎士団ブレイクソード function c62709239.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,3,2) c:EnableReviveLimit() --Destroy local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(62709239,0)) e1:SetCategory(CATEGORY_DESTROY) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetProperty(EFFECT_FLAG_CARD_TARGET) ...
gpl-2.0
ffxijuggalo/darkstar
scripts/zones/Port_San_dOria/npcs/Comittie.lua
9
1074
----------------------------------- -- Area: Port San d'Oria -- NPC: Comittie -- !pos -6.570 -9.8 -147.952 232 ----------------------------------- local ID = require("scripts/zones/Port_San_dOria/IDs") require("scripts/globals/npc_util") require("scripts/globals/quests") ----------------------------------- function o...
gpl-3.0
Deadwing888/darkstar
scripts/globals/moghouse.lua
29
4979
-- -- Mog House related functions -- require("scripts/globals/status") ------------------------------------ -- Mog Locker constants ------------------------------------ MOGLOCKER_START_TS = 1009810800 -- unix timestamp for 2001/12/31 15:00 MOGLOCKER_ALZAHBI_VALID_DAYS = 7 MOGLOCKER_ALLAREAS_VALID_DAYS = 5 MOGLOCKER_A...
gpl-3.0
Deadwing888/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
your-gatsby/skynet
service/sharedatad.lua
16
2745
local skynet = require "skynet" local sharedata = require "sharedata.corelib" local table = table local NORET = {} local pool = {} local pool_count = {} local objmap = {} local function newobj(name, tbl) assert(pool[name] == nil) local cobj = sharedata.host.new(tbl) sharedata.host.incref(cobj) local v = { value =...
mit
domoticz/domoticz
scripts/dzVents/examples/plant watering notification.lua
17
3461
--[[ This script can be used to get notification message when plant sensor exceed specified tresholds. It is specifically build to be used with the Xiaomi Mi Flora (https://www.domoticz.com/wiki/Mi_Flora_Bluetooth_LE), but can also be used with similar sensors For the script to work correctly it is recomme...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/mobskills/trembling.lua
11
1168
--------------------------------------------- -- Trembling -- -- Description: Deals physical damage to enemies within an area of effect. Additional effect: Dispel -- Type: Physical -- Wipes Shadows -- Range: 10' radial --------------------------------------------- require("scripts/globals/settings") require("scrip...
gpl-3.0
maikerumine/grieftest
mods/wieldview/init.lua
4
2004
local time = 0 local update_time = tonumber(minetest.setting_get("wieldview_update_time")) if not update_time then update_time = 2 minetest.setting_set("wieldview_update_time", tostring(update_time)) end local node_tiles = minetest.setting_getbool("wieldview_node_tiles") if not node_tiles then node_tiles = false mi...
lgpl-2.1
destdev/ygopro-scripts
c72648810.lua
1
1254
--揺るがぬ絆 function c72648810.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_NEGATE+CATEGORY_REMOVE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_CHAINING) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP+EFFECT_FLAG_DAMAGE_CAL) e1:SetCondition(c72648810.condition) e1:SetTarget(c72...
gpl-2.0
Deadwing888/darkstar
scripts/globals/effects/agi_down.lua
18
1110
----------------------------------- -- -- EFFECT_AGI_DOWN -- ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) if ((target:getStat(MOD_AGI) - effect:ge...
gpl-3.0
RwNigma/darkstar
scripts/globals/items/nosteau_herring.lua
18
1325
----------------------------------------- -- ID: 4482 -- Item: nosteau_herring -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnI...
gpl-3.0
Deadwing888/darkstar
scripts/zones/Southern_San_dOria/npcs/Hanaa_Punaa.lua
11
6750
----------------------------------- -- Area: Southern San d'Oria -- NPC: Hanaa Punaa -- Starts and Finishes: A Squire's Test, A Squire's Test II, A Knight's Test -- @zone 230 -- @pos ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; -------------------------------...
gpl-3.0
grondo/flux-sched
rdl/RDL/serialize.lua
5
2481
--/***************************************************************************\ -- Copyright (c) 2014 Lawrence Livermore National Security, LLC. Produced at -- the Lawrence Livermore National Laboratory (cf, AUTHORS, DISCLAIMER.LLNS). -- LLNL-CODE-658032 All rights reserved. -- -- This file is part of the Flux res...
gpl-2.0
nikai3d/naev
dat/factions/spawn/nasin.lua
11
3035
--more of a dummy file to help avoid errors. Nasin should not actually spawn. scom = {} -- @brief Calculates when next spawn should occur scom.calcNextSpawn = function( cur, new, max ) if cur == 0 then return rnd.rnd(0, 10) end -- Kickstart spawning. local stddelay = 10 -- seconds local maxdelay = 6...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/North_Gustaberg_[S]/IDs.lua
9
1535
----------------------------------- -- Area: North_Gustaberg_[S] ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.NORTH_GUSTABERG_S] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. C...
gpl-3.0
destdev/ygopro-scripts
c83027236.lua
2
1199
--ライト・オブ・デストラクション function c83027236.initial_effect(c) local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) c:RegisterEffect(e1) --discard deck local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(83027236,0)) e2:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F)...
gpl-2.0
moses1984/aafmt
book_chapters_LaTeX_original/pgf_3.0.1.tds/tex/generic/pgf/graphdrawing/lua/pgf/gd/doc/ogdf/layered/CoffmanGrahamRanking.lua
3
1376
-- Copyright 2013 by Till Tantau -- -- This file may be distributed an/or modified -- -- 1. under the LaTeX Project Public License and/or -- 2. under the GNU Public License -- -- See the file doc/generic/pgf/licenses/LICENSE for more information -- @release $Header: /cvsroot/pgf/pgf/generic/pgf/graphdrawing/lua/pgf/gd...
gpl-2.0
simonfork/aquaria
game_scripts/scripts/entities/creatorsunkencity.lua
6
1885
-- 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
destdev/ygopro-scripts
c44584775.lua
1
2980
--ダメージ=レプトル function c44584775.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetProperty(EFFECT_FLAG_DAMAGE_STEP) e1:SetHintTiming(TIMING_DAMAGE) e1:SetCondition(c44584775.condition1) e1:SetTarget(c44584775.target1) e1:SetOperation...
gpl-2.0
destdev/ygopro-scripts
c4904633.lua
1
2435
--影依の原核 function c4904633.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:SetTarget(c4904633.target) e1:SetOperation(c4904633.activate) c:RegisterEffect(e1)...
gpl-2.0
RwNigma/darkstar
scripts/zones/Riverne-Site_B01/npcs/qm1.lua
2
1336
----------------------------------- -- Area: Riverne Site #B01 -- NPC: Unstable Displacement ----------------------------------- package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Riverne-Site_B01/Text...
gpl-3.0
RwNigma/darkstar
scripts/globals/spells/bluemagic/digest.lua
18
1846
----------------------------------------- -- Spell: Digest -- Steals an enemy's HP. Ineffective against undead -- Spell cost: 20 MP -- Monster Type: Amorphs -- Spell Type: Magical (Dark) -- Blue Magic Points: 2 -- Stat Bonus: HP-5, MP+5 -- Level: 36 -- Casting Time: 4 seconds -- Recast Time: 90 seconds -- Ma...
gpl-3.0
destdev/ygopro-scripts
c51011872.lua
4
2159
--トリックスター・ブラッディマリー function c51011872.initial_effect(c) --link summon aux.AddLinkProcedure(c,aux.FilterBoolFunction(Card.IsLinkSetCard,0xfb),2,2) c:EnableReviveLimit() --recover local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_CONTINUOUS) e1:SetCode(EVENT_SUMMON_SUCCESS) e1:SetRange(LOCA...
gpl-2.0
destdev/ygopro-scripts
c88671720.lua
2
1700
--ブラック・ボンバー function c88671720.initial_effect(c) --summon success local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(88671720,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:S...
gpl-2.0
destdev/ygopro-scripts
c16909657.lua
2
1515
--レプティレス・スキュラ function c16909657.initial_effect(c) --special summon local e2=Effect.CreateEffect(c) e2:SetDescription(aux.Stringid(16909657,0)) e2:SetCategory(CATEGORY_SPECIAL_SUMMON) e2:SetCode(EVENT_BATTLE_DESTROYING) e2:SetType(EFFECT_TYPE_SINGLE+EFFECT_TYPE_TRIGGER_O) e2:SetCondition(c16909657.spcon) e2:Set...
gpl-2.0
dani-sj/mahan02
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
destdev/ygopro-scripts
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
Deadwing888/darkstar
scripts/zones/Southern_San_dOria/npcs/Fulchia.lua
13
1034
----------------------------------- -- Area: Southern San d'Oria -- NPC: Fulchia -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Southern_Sa...
gpl-3.0
Kong/kong
spec/01-unit/09-balancer/01-generic_spec.lua
1
53820
local client -- forward declaration local dns_utils = require "kong.resty.dns.utils" local helpers = require "spec.helpers.dns" local dnsSRV = function(...) return helpers.dnsSRV(client, ...) end local dnsA = function(...) return helpers.dnsA(client, ...) end local dnsExpire = helpers.dnsExpire local mocker = require...
apache-2.0
destdev/ygopro-scripts
c20579538.lua
2
2705
--森羅の姫芽君 スプラウト function c20579538.initial_effect(c) --deck check local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(20579538,0)) e1:SetCategory(CATEGORY_DECKDES) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCATION_MZONE) e1:SetCountLimit(1,20579538) e1:SetCost(c20579538.cost) e1:SetTarget(c205795...
gpl-2.0
kosicki123/forgottenserver
data/global.lua
3
14167
dofile('data/compat.lua') TRUE = true FALSE = false LUA_ERROR = false LUA_NO_ERROR = true THING_TYPE_PLAYER = 1 THING_TYPE_MONSTER = 2 THING_TYPE_NPC = 3 GUILDLEVEL_MEMBER = 1 GUILDLEVEL_VICE = 2 GUILDLEVEL_LEADER = 3 STACKPOS_GROUND = 0 STACKPOS_FIRST_ITEM_ABOVE_GROUNDTILE = 1 STACKPOS_SECOND_ITEM_ABOVE_GROUNDTIL...
gpl-2.0
JetBoom/fretta13
gamemodes/fretta13/gamemode/cl_deathnotice.lua
1
2908
/* Start of the death message stuff. */ include( 'vgui/vgui_gamenotice.lua' ) local function CreateDeathNotify() local x, y = ScrW(), ScrH() g_DeathNotify = vgui.Create( "DNotify" ) g_DeathNotify:SetPos( 0, 25 ) g_DeathNotify:SetSize( x - ( 25 ), y ) g_DeathNotify:SetAlignment( 9 ) g_DeathNotify:SetSkin( G...
unlicense
Deadwing888/darkstar
scripts/globals/items/hobgoblin_pie.lua
18
1618
----------------------------------------- -- ID: 4325 -- Item: hobgoblin_pie -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 15 -- Magic 15 -- Agility 4 -- Charisma -7 -- Health Regen While Healing 2 -- Defense % 11 -- Defense Cap 60 ----------------------------------------- requir...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/North_Gustaberg/npcs/qm1.lua
9
2184
----------------------------------- -- Area: North Gustaberg -- NPC: qm1 (???) -- Involved in Quest "The Siren's Tear" ----------------------------------- local ID = require("scripts/zones/North_Gustaberg/IDs") require("scripts/globals/quests") require("scripts/globals/status") ----------------------------------- loc...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/Arrapago_Remnants/mobs/Archaic_Rampart_3.lua
9
2027
----------------------------------- -- Area: Arrapago Remnants -- Mob: Archaic Rampart ----------------------------------- mixins = {require("scripts/mixins/families/rampart")} local ID = require("scripts/zones/Arrapago_Remnants/IDs") require("scripts/globals/instance") require("scripts/globals/status") --------------...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/Port_Jeuno/npcs/qm1.lua
9
1981
----------------------------------- -- Area: Port Jeuno -- NPC: ??? -- Finish Quest: Borghertz's Hands (AF Hands, Many job) -- !pos -51 8 -4 246 ----------------------------------- local ID = require("scripts/zones/Port_Jeuno/IDs"); require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scr...
gpl-3.0
ffxijuggalo/darkstar
scripts/zones/Mhaura/Zone.lua
9
2933
----------------------------------- -- -- Zone: Mhaura (249) -- ----------------------------------- local ID = require("scripts/zones/Mhaura/IDs") require("scripts/globals/conquest") require("scripts/globals/keyitems") require("scripts/globals/missions") require("scripts/globals/settings") require("scripts/globals/zone...
gpl-3.0
maikerumine/grieftest
mods/weather2/rain.lua
1
2337
rain_sounds = {} rain_inside = {} local function find_glass(pos) for i=1,12 do if minetest.get_node({x=pos.x, y=pos.y+i, z=pos.z}).name ~= "air" then return true end end return false end -- Rain minetest.register_globalstep(function(dtime) if weather ~= "rain" then for _, player in ipairs(minetest.get_co...
lgpl-2.1
ffxijuggalo/darkstar
scripts/zones/Port_San_dOria/npcs/Apstaule.lua
9
1333
----------------------------------- -- Area: Port San d'Oria -- NPC: Apstaule -- Not used cutscenes: 541 ----------------------------------- local ID = require("scripts/zones/Port_San_dOria/IDs"); require("scripts/globals/quests"); require("scripts/globals/shop"); ----------------------------------- function onTrade(...
gpl-3.0
destdev/ygopro-scripts
c27207573.lua
2
1850
--侵略の手段 function c27207573.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetProperty(EFFECT_FLAG_CARD_TARGET+EFFECT_FLAG_DAMAGE_STEP) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(TIMING_DAMAGE_STEP) e1:SetCondition(c27207573....
gpl-2.0
Jokler/JC2MP-Scripts
Racing/server/sSettings.lua
2
1667
debug = {} -- Helps with testing starting grids. -- debug.alwaysMaxPlayers = true -- debug.dontRemoveIfOutOfVehicle = true -- debug.oneLap = true settings = {} settings.tempDLC = false settings.forceCourse = "" settings.debugLevel = 1 settings.name = "JC2-MP-Racing" settings.version = "0.7.5" if settings.debugLeve...
mit
Deadwing888/darkstar
scripts/zones/Port_San_dOria/npcs/Crilde.lua
13
1354
----------------------------------- -- Area: Port San d'Oria -- NPC: Crilde -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/TextIDs"); ---...
gpl-3.0
destdev/ygopro-scripts
c88789641.lua
2
1228
--ホーリーライフバリアー function c88789641.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetCost(c88789641.cost) e1:SetOperation(c88789641.activate) c:RegisterEffect(e1) end function c88789641.cost(e,tp,eg,ep,ev,re,r,rp,chk) if chk==0 then re...
gpl-2.0
ffxijuggalo/darkstar
scripts/zones/PsoXja/npcs/_i99.lua
9
3356
----------------------------------- -- Area: Pso'Xja -- NPC: Stone Gate ----------------------------------- require("scripts/globals/missions"); local ID = require("scripts/zones/PsoXja/IDs"); require("scripts/globals/keyitems"); ----------------------------------- function onTrade(player,npc,trade) end; function on...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/items/hamsi.lua
11
1044
----------------------------------------- -- ID: 5449 -- Item: Hamsi -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 1 -- Mind -3 ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------------- ...
gpl-3.0
simonfork/aquaria
game_scripts/scripts/entities/collectiblestonehead.lua
6
1320
-- 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
destdev/ygopro-scripts
c47805931.lua
2
1091
--No.20 蟻岩土ブリリアント function c47805931.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,3,2) c:EnableReviveLimit() --attack up local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_ATKCHANGE) e1:SetDescription(aux.Stringid(47805931,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCountLimit(1) e1:SetRange(L...
gpl-2.0
mogaal/libquvi-scripts
share/media/dorkly.lua
1
2920
-- libquvi-scripts v0.9.20131130 -- Copyright (C) 2013 Toni Gundogdu <legatvs@gmail.com> -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This program is free software: you can redistribute it and/or -- modify it under the terms of the GNU Affero General Public -- License as published b...
agpl-3.0
destdev/ygopro-scripts
c33909817.lua
4
3101
--森羅の姫芽宮 function c33909817.initial_effect(c) --xyz summon aux.AddXyzProcedure(c,nil,1,2) c:EnableReviveLimit() --tohand local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(33909817,0)) e1:SetCategory(CATEGORY_TOHAND+CATEGORY_SEARCH+CATEGORY_DECKDES) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetRange(LOCA...
gpl-2.0
RwNigma/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
kennyledet/Algorithm-Implementations
Bogobogosort/Lua/Yonaba/bogobogosort.lua
27
1330
-- Bogobogosort description -- See : http://www.dangermouse.net/esoteric/bogobogosort.html -- A custom array shuffle implementation -- This is not part of the Bogobogosort algorithm local function shuffle(list, s, e) local n = #list for i = s + 1, e do local j, k = math.random(s, e), math.random(s, e) list[j], ...
mit
simonfork/aquaria
game_scripts/scripts/maps/_unused/node_whaleorbholder.lua
6
1029
-- 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
ffxijuggalo/darkstar
scripts/globals/items/black_curry_bun_+1.lua
11
1785
----------------------------------------- -- ID: 5764 -- Item: black_curry_bun+1 -- Food Effect: 60 min, All Races ----------------------------------------- -- TODO: Group effects -- Dexterity +4 -- Vitality +6 -- Intelligence +3 -- Mind +1 -- Accuracy +7 -- Ranged Accuracy +7 -- Evasion +7 -- Defense +25% (cap 200) --...
gpl-3.0
RwNigma/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
fodinabor/Polycode
bindings/lua/Polycode/TouchInfo.lua
1
1255
class "TouchInfo" TouchInfo.TYPEBASE = 0x500 TouchInfo.TYPE_TOUCH = TouchInfo.TYPEBASE + 0 TouchInfo.TYPE_PEN = TouchInfo.TYPEBASE + 1 function TouchInfo:__getvar(name) if name == "id" then return Polycode.TouchInfo_get_id(self.__ptr) elseif name == "position" then local retVal = Polycode.TouchInfo_get_position...
mit
destdev/ygopro-scripts
c71971554.lua
2
1065
--ロード・シンクロン function c71971554.initial_effect(c) --summon success local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(71971554,0)) e1:SetType(EFFECT_TYPE_FIELD+EFFECT_TYPE_TRIGGER_F) e1:SetRange(LOCATION_MZONE) e1:SetCode(EVENT_DAMAGE_STEP_END) e1:SetCondition(c71971554.lvcon) e1:SetOperation(c719715...
gpl-2.0
RwNigma/darkstar
scripts/zones/RuAun_Gardens/npcs/HomePoint#2.lua
17
1250
----------------------------------- -- Area: RuAun_Gardens -- NPC: HomePoint#2 -- @pos -499 -42 167 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/RuAun_Gardens/TextIDs"); require("scripts/glob...
gpl-3.0
destdev/ygopro-scripts
c3429238.lua
1
3638
--ドリル・ウォリアー function c3429238.initial_effect(c) --synchro summon aux.AddSynchroProcedure(c,c3429238.tfilter,aux.NonTuner(nil),1) c:EnableReviveLimit() --direct attack local e1=Effect.CreateEffect(c) e1:SetDescription(aux.Stringid(3429238,0)) e1:SetType(EFFECT_TYPE_IGNITION) e1:SetCountLimit(1) e1:SetRange(LOCA...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Davoi/npcs/Treasure_Chest.lua
13
2935
----------------------------------- -- Area: Davoi -- NPC: Treasure Chest -- @zone 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/treasure"); require("scripts/zones/Davoi/Tex...
gpl-3.0
ffxijuggalo/darkstar
scripts/globals/items/royal_omelette.lua
11
2855
----------------------------------------- -- ID: 4564 -- Item: royal_omelette -- Food Effect: 180Min, All Races ----------------------------------------- -- Strength 5 -- Dexterity 2 -- Intelligence -3 -- Mind 4 -- Attack % 20 (cap 65) -- Ranged Attack % 20 (cap 65) ----------------------------------------- -- IF ELVAA...
gpl-3.0
Fractal-Architect/Lua-Scripts
Factory Scripts/makeRandom/Brokat3D.lua
1
7539
require("Utils") --[[ JWildfire - an image and animation processor written in Java Copyright (C) 1995-2011 Andreas Maschke Copyright (C) 2014 Steve Brodhead Sr. (translated from Java to Lua) This is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Lic...
gpl-2.0
Deadwing888/darkstar
scripts/zones/Monarch_Linn/npcs/Spatial_Displacement.lua
13
2635
----------------------------------- -- Area: Monarch_Linn -- NPC: Spatial Displacement -- @pos -35 -1 -539 31 ----------------------------------- package.loaded["scripts/zones/Monarch_LinnTextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/globals/quests"); require("...
gpl-3.0
destdev/ygopro-scripts
c85967160.lua
4
1304
--アロマージ-ベルガモット function c85967160.initial_effect(c) --pierce local e1=Effect.CreateEffect(c) e1:SetType(EFFECT_TYPE_FIELD) e1:SetCode(EFFECT_PIERCE) e1:SetRange(LOCATION_MZONE) e1:SetTargetRange(LOCATION_MZONE,0) e1:SetCondition(c85967160.pccon) e1:SetTarget(aux.TargetBoolFunction(Card.IsRace,RACE_PLANT)) c:Re...
gpl-2.0
TrevorEdwards/GmodLabyrinth
gamemodes/labyrinth/entities/entities/trap_crusher/shared.lua
1
1963
ENT.PrintName = "Crusher Trap" ENT.Author = "TB002" if SERVER then AddCSLuaFile("shared.lua") end if CLIENT then end ENT.Type = "anim" ENT.open = false ENT.size = 1 ENT.thinktime = 5 function ENT:Initialize() self:SetModel( "models/hunter/plates/plate"..self.size.."x"..self.size..".mdl" ) self:SetM...
mit
phamelin/ardupilot
libraries/AP_Scripting/examples/ahrs-source.lua
19
10311
-- switches between AHRS/EKF sources based on the pilot's source selection switch or using an automatic source selection algorithm -- this script is intended to help vehicles move between GPS and Non-GPS environments -- -- setup RCx_OPTION = 90 (EKF Pos Source) to select the source (low=primary, middle=secondary, high=...
gpl-3.0
Deadwing888/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
destdev/ygopro-scripts
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
Deadwing888/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
destdev/ygopro-scripts
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
sina021/specialtg
plugins/MAP.lua
87
1499
-- Implement a command !loc [area] which uses -- the static map API to get a location image -- Not sure if this is the proper way -- Intent: get_latlong is in time.lua, we need it here -- loadfile "time.lua" -- Globals -- If you have a google api key for the geocoding/timezone api do local api_key = nil local base_...
gpl-2.0
destdev/ygopro-scripts
c81223446.lua
1
2879
--死魂融合 function c81223446.initial_effect(c) --Activate local e1=Effect.CreateEffect(c) e1:SetCategory(CATEGORY_REMOVE+CATEGORY_SPECIAL_SUMMON+CATEGORY_FUSION_SUMMON) e1:SetType(EFFECT_TYPE_ACTIVATE) e1:SetCode(EVENT_FREE_CHAIN) e1:SetHintTiming(0,TIMING_END_PHASE) e1:SetTarget(c81223446.target) e1:SetOperation(...
gpl-2.0
Deadwing888/darkstar
scripts/zones/PsoXja/npcs/Treasure_Chest.lua
13
3445
----------------------------------- -- Area: Pso'Xja -- NPC: Treasure Chest -- @zone 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/treasu...
gpl-3.0
mehrpouya81/tele_gold
plugins/Fake.lua
45
6690
local function kick_user(user_id, chat_id) local chat = 'chat#id'..chat_id local user = 'user#id'..user_id chat_del_user(chat, user, ok_cb, true) end local function ban_user(user_id, chat_id) -- Save to redis local hash = 'banned:'..chat_id..':'..user_id redis:set(hash, true) -- Kick from chat kick_us...
gpl-2.0
yuin/gopher-lua
_glua-tests/issues.lua
2
8122
-- issue #10 local function inspect(options) options = options or {} return type(options) end assert(inspect(nil) == "table") local function inspect(options) options = options or setmetatable({}, {__mode = "test"}) return type(options) end assert(inspect(nil) == "table") -- issue #16 local ok, msg = ...
mit
BSpike/MOOSE
Moose Development/Moose/Wrapper/Static.lua
1
3342
--- **Wrapper** -- STATIC wraps the DCS StaticObject class. -- -- ==== -- -- ### Author: **Sven Van de Velde (FlightControl)** -- -- ### Contributions: -- -- ==== -- -- @module Static --- @type STATIC -- @extends Wrapper.Positionable#POSITIONABLE --- # STATIC class, extends @{Positionable#POSITIONABLE} -- -- ...
gpl-3.0
ArcherSys/ArcherSys
Lua/lua/loop/collection/PriorityQueue.lua
12
3250
-------------------------------------------------------------------------------- ---------------------- ## ##### ##### ###### ----------------------- ---------------------- ## ## ## ## ## ## ## ----------------------- ---------------------- ## ## ## ## ## ###### --------------------...
mit
medoo313m/bmo-bot2
libs/feedparser.lua
543
11955
local LOM = assert(require("lxp.lom"), "LuaExpat doesn't seem to be installed. feedparser kind of needs it to work...") local XMLElement = (loadfile "./libs/XMLElement.lua")() local dateparser = (loadfile "./libs/dateparser.lua")() local URL = (loadfile "./libs/url.lua")() local tinsert, tremove, tconcat = table.insert...
gpl-2.0
jyggen/lua-parser
tests/Fixtures/2c/98/0b/8fdb4901f05722f8da1e1bcbc7c3bc19e25560879246d75aeaf6264042.lua
1
12176
Overachiever_CharVars = { ["Version"] = "0.83", } Overachiever_CharVars_Consumed = { ["PandaEats2"] = { [74649] = 0, [74651] = 0, [74653] = 0, [74655] = 0, [86069] = 0, [75037] = 0, [74636] = 0, [74642] = 0, [74644] = 0, [74646] = 0, [74648] = 0, [74650] = 0, [74652] = 0, [75026] = 0, [...
mit
ArcherSys/ArcherSys
Lua/lua/ilua.lua
1
10930
-- ilua.lua -- A more friendly Lua interactive prompt -- doesn't need '=', and will try to print out tables recursively. -- On Unix, will use readline.so if available. -- Steve Donovan, 2007 -- local usage = [[ilua -lLtTvsq (lua files) -l load a library -L load a library and bring into global namespace -t <...
mit
jaak-s/torch7
random.lua
72
1364
local wrap = require 'cwrap' require 'torchcwrap' local interface = wrap.CInterface.new() interface:print( [[ #include "luaT.h" #include "TH.h" extern void torch_Generator_init(lua_State *L); extern void torch_Generator_new(lua_State *L); ]]) for _,name in ipairs({"seed", "initialSeed"}) do interface:wrap...
bsd-3-clause
shingenko/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Enaremand.lua
38
1047
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Enaremand -- Type: Standard NPC -- @zone: 26 -- @pos 95.962 -42.003 51.613 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; --...
gpl-3.0
shingenko/darkstar
scripts/globals/items/walnut.lua
36
1072
----------------------------------------- -- ID: 5661 -- Item: Walnut -- Food Effect: 5Min, All Races ----------------------------------------- -- HP 30 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------------------------------...
gpl-3.0
AleksCore/Mr.Green-MTA-Resources
resources/[gameplay]/messages/server.lua
3
1385
function outputGameMessage(text, triggerFor, size, r, g, b, priority, chat, floating) if priority == nil then priority = false end if chat == nil then chat = true end if floating == nil then floating = true end if (r == nil) and (g == nil) and (b == nil) then r = 255 g = 255 b = 255 end triggerClientEvent(...
mit
shingenko/darkstar
scripts/zones/Bastok_Markets/npcs/Umberto.lua
38
1073
----------------------------------- -- Area: Bastok Markets -- NPC: Umberto -- Type: Quest NPC -- @zone: 235 -- @pos -56.896 -5 -134.267 -- -- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextID...
gpl-3.0
shingenko/darkstar
scripts/zones/Open_sea_route_to_Al_Zahbi/Zone.lua
34
1632
----------------------------------- -- -- Zone: Open_sea_route_to_Al_Zahbi (46) -- ----------------------------------- package.loaded["scripts/zones/Open_sea_route_to_Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Open_sea_route_to_Al_Zahbi/TextIDs"); ----------------...
gpl-3.0
shingenko/darkstar
scripts/globals/spells/sleep.lua
18
1054
----------------------------------------- -- Spell: Sleep I ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,targ...
gpl-3.0
shingenko/darkstar
scripts/zones/Cloister_of_Frost/Zone.lua
32
1658
----------------------------------- -- -- Zone: Cloister_of_Frost (203) -- ----------------------------------- package.loaded["scripts/zones/Cloister_of_Frost/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Cloister_of_Frost/TextIDs"); ------...
gpl-3.0
TheAncientGoat/GodheadLips
data/godhead/scripts/client/views/help.lua
1
4195
Views.Help = Class(Widgets.Frame) Views.Help.class_name = "Views.Help" Views.Help.index = {} -- Load the manual pages. for k,v in pairs(File:scan_directory("scripts/client/help")) do require("client/help/" .. string.gsub(v, "([^.]*).*", "%1")) end --- Initializes the help UI. -- @param self Help view class. -- @retu...
gpl-3.0
simon-wh/PAYDAY-2-BeardLib
Classes/Managers/PackageManager.lua
1
14548
BeardLibPackageManager = BeardLibPackageManager or BeardLib:ManagerClass("Package") Global.cmp = Global.cmp or {custom_loaded_packages = {}} local Managers = BeardLib.Managers function BeardLibPackageManager:init() self.custom_packages = {} self.unload_on_restart = {} self.unload_on_restart_packages = {} ...
mit
wagonrepairer/Zero-K
LuaUI/Widgets/chili/Controls/tabbar.lua
34
1898
--//============================================================================= TabBar = LayoutPanel:Inherit{ classname = "tabbar", orientation = "horizontal", resizeItems = false, centerItems = false, padding = {0, 0, 0, 0}, itemPadding = {0, 0, 0, 0}, itemMargin = {0, 0, 0, 0}, minIte...
gpl-2.0
shadobaker/TeleBeyond
plugins/owners.lua
1467
12478
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0