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
h3r2tic/rendertoy
tools/tundra/scripts/tundra/test/t_path.lua
28
2760
module(..., package.seeall) local path = require "tundra.path" local native = require "tundra.native" local function check_path(t, p, expected) p = p:gsub('\\', '/') t:check_equal(p, expected) end unit_test('path.normalize', function (t) check_path(t, path.normalize("foo"), "foo") check_path(t, path.normaliz...
mit
AbolDalton/kia
plugins/warn.lua
5
7684
local function warn_by_username(extra, success, result) -- /warn <@username> if success == 1 then local msg = result local target = extra.target local receiver = extra.receiver local hash = 'warn:'..target local value = redis:hget(hash, msg.id) local text = '' local name = '' if msg.first_name then...
gpl-2.0
8devices/carambola2-luci
modules/rpc/luasrc/jsonrpcbind/uci.lua
81
1914
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at ht...
apache-2.0
maikerumine/extreme_survival_mini
mods/es/farming.lua
1
2035
local function register_plant(name, min, max, spawnby, num) minetest.register_decoration({ deco_type = "simple", place_on = {"es:strange_grass","es:aiden_grass"}, sidelen = 16, noise_params = { offset = 0, scale = 0.006, spread = {x = 60, y = 60, z = 60}, seed = 329, octaves = 3, persist = 0...
lgpl-2.1
Fenix-XI/Fenix
scripts/zones/Castle_Zvahl_Baileys/TextIDs.lua
22
1092
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item>. come back after sorting your inventory. ITEM_OBTAINED = 6543; -- Obtained: <item>. GIL_OBTAINED = 6544; -- Obtained <number> gil. KEYITEM_OBTAINED = 6546; -- Obtained...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/The_Shrine_of_RuAvitau/mobs/Kirin.lua
11
2223
----------------------------------- -- Area: The Shrine of Ru'Avitau -- NM: Kirin ----------------------------------- local ID = require("scripts/zones/The_Shrine_of_RuAvitau/IDs"); mixins = {require("scripts/mixins/job_special")}; require("scripts/globals/titles"); require("scripts/globals/mobs") -------------------...
gpl-3.0
jmachuca77/ardupilot
libraries/AP_Scripting/examples/lidar_control.lua
5
1125
-- enable use of Lidar on quadplanes only for landing, by changing RNGFN_LANDING -- bind a parameter to a variable function bind_param(name) local p = Parameter() assert(p:init(name), string.format('could not find %s parameter', name)) return p end local RNGFND_LANDING = bind_param("RNGFND_LANDING") MODE_QL...
gpl-3.0
mozilla-services/data-pipeline
hindsight/io_modules/derived_stream/tsv.lua
5
1274
-- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this -- file, You can obtain one at http://mozilla.org/MPL/2.0/. local M = {} local ipairs = ipairs local tostring = tostring local type = type local read_message = re...
mpl-2.0
Fenix-XI/Fenix
scripts/zones/Meriphataud_Mountains/npcs/Buliame_RK.lua
13
3350
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Buliame, R.K. -- Type: Border Conquest Guards -- @pos -120.393 -25.822 -592.604 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
tcatm/luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk-mod-app.lua
137
15546
cbimap = Map("asterisk", "asterisk", "") module = cbimap:section(TypedSection, "module", "Modules", "") module.anonymous = true app_alarmreceiver = module:option(ListValue, "app_alarmreceiver", "Alarm Receiver Application", "") app_alarmreceiver:value("yes", "Load") app_alarmreceiver:value("no", "Do Not Load") app_al...
apache-2.0
DarkstarProject/darkstar
scripts/zones/Upper_Jeuno/npcs/Collet.lua
9
1707
----------------------------------- -- Area: Upper Jeuno -- NPC: Collet -- Involved in Quests: A Clock Most Delicate, Save the Clock Tower -- !pos -44 0 107 244 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop"); require("scripts/globals/quests"); -----------------...
gpl-3.0
Giorox/AngelionOT-Repo
data/actions/scripts/other/ab.lua
1
1231
local tilepos = {x=32627, y=31699, z=10, stackpos=0} local tilepos2 = {x=32627, y=31699, z=10, stackpos=1} local tilepos3 = {x=32628, y=31699, z=10, stackpos=0} local tilepos4 = {x=32629, y=31699, z=10, stackpos=0} local tilepos5 = {x=32629, y=31699, z=10, stackpos=1} function onUse(cid, item, frompos, item2, topos) ...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Empyreal_Paradox/mobs/Promathia.lua
8
1999
----------------------------------- -- Area: Empyreal Paradox -- Mob: Promathia -- Note: Phase 1 ----------------------------------- local ID = require("scripts/zones/Empyreal_Paradox/IDs") require("scripts/globals/status") require("scripts/globals/titles") ----------------------------------- function onMobInitialize...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Mhaura/npcs/Willah_Maratahya.lua
13
3834
----------------------------------- -- Area: Mhaura -- NPC: Willah Maratahya -- Title Change NPC -- @pos 23 -8 63 249 ----------------------------------- require("scripts/globals/titles"); local title2 = { PURVEYOR_IN_TRAINING , ONESTAR_PURVEYOR , TWOSTAR_PURVEYOR , THREESTAR_PURVEYOR , 0 , 0 , 0 , 0 , 0 , ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Cloister_of_Storms/Zone.lua
30
1738
----------------------------------- -- -- Zone: Cloister_of_Storms (202) -- ----------------------------------- package.loaded["scripts/zones/Cloister_of_Storms/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Cloister_of_Storms/TextIDs"); --------------...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/spells/dia_ii.lua
26
2226
----------------------------------------- -- Spell: Dia II -- Lowers an enemy's defense and gradually deals light elemental damage. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); --------------------------------------...
gpl-3.0
Benyaminat/black-wolf
bot/utils.lua
473
24167
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
elapuestojoe/survive
build_temp/deployments/default/android/release/arm/intermediate_files/assets/quicklua/QScene.lua
3
5078
--[[/* * (C) 2012-2013 Marmalade. * * 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
DarkstarProject/darkstar
scripts/zones/Upper_Delkfutts_Tower/Zone.lua
9
1578
----------------------------------- -- -- Zone: Upper_Delkfutts_Tower (158) -- ----------------------------------- local ID = require("scripts/zones/Upper_Delkfutts_Tower/IDs") require("scripts/globals/conquest") require("scripts/globals/treasure") ----------------------------------- function onInitialize(zone) zo...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Norg/npcs/Paleille.lua
13
1031
---------------------------------- -- Area: Norg -- NPC: Paleille -- Type: Item Deliverer -- @zone: 252 -- @pos -82.667 -5.414 52.421 -- ----------------------------------- package.loaded["scripts/zones/Norg/TextIDs"] = nil; require("scripts/zones/Norg/TextIDs"); ----------------------------------- -- onTr...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/items/irmik_helvasi_+1.lua
11
1329
----------------------------------------- -- ID: 5573 -- Item: irmik_helvasi_+1 -- Food Effect: 4 hours, All Races ----------------------------------------- -- HP +10% (cap 100) -- MP +3% (cap 15) -- INT +2 -- hHP +1 -- hMP +1 ----------------------------------------- require("scripts/globals/status") require("scripts/...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/West_Ronfaure/npcs/Palcomondau.lua
9
12838
----------------------------------- -- Area: West Ronfaure -- NPC: Palcomondau -- Type: Patrol -- !pos -349.796 -45.345 344.733 100 ----------------------------------- local ID = require("scripts/zones/West_Ronfaure/IDs") require("scripts/globals/pathfind") ----------------------------------- local path = { -373....
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Bastok_Mines/npcs/Arva.lua
13
1290
----------------------------------- -- Area: Bastok Mines -- NPC: Arva -- Adventurer's Assistant -- Working 100% ------------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_Mines/TextIDs"); -----------...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Norg/npcs/Ranemaud.lua
9
3367
----------------------------------- -- Area: Norg -- NPC: Ranemaud -- Involved in Quest: Forge Your Destiny, The Sacred Katana -- !pos 15 0 23 252 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); local ID = require("scripts/zones/Norg/IDs"); ------------------...
gpl-3.0
MartinFrancu/BETS
chili_clone/controls/editbox_clone.lua
1
10165
--//============================================================================= --- EditBox module --- EditBox fields. -- Inherits from Control. -- @see control.Control -- @table EditBox -- @tparam {r,g,b,a} cursorColor cursor color, (default {0,0,1,0.7}) -- @tparam {r,g,b,a} selectionColor selection color...
mit
crunchuser/prosody-modules
mod_compat_muc_admin/mod_compat_muc_admin.lua
32
11261
local st = require "util.stanza"; local jid_split = require "util.jid".split; local jid_bare = require "util.jid".bare; local jid_prep = require "util.jid".prep; local log = require "util.logger".init("mod_muc"); local muc_host = module:get_host(); if not hosts[muc_host].modules.muc then -- Not a MUC host module:log(...
mit
Fenix-XI/Fenix
scripts/zones/Metalworks/npcs/Topuru-Kuperu.lua
13
1059
----------------------------------- -- Area: Metalworks -- NPC: Topuru-Kuperu -- Type: Standard NPC -- @zone: 237 -- @pos 28.284 -17.39 42.269 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; require("scrip...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Port_Windurst/npcs/Gold_Skull.lua
13
2432
----------------------------------- -- Area: Port Windurst -- NPC: Gold Skull -- Mission NPC ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("...
gpl-3.0
knl/mjolnir.winter
winter.lua
1
16030
--- === winter === --- --- A module for moving/resizing windows using a fluent interface (see Usage below). --- --- The name winter is a portmanteu of **win**dow mas**ter**. --- --- Usage: --- --- local wintermod = require "winter" --- local winter = wintermod.new() --- --- local cmdalt = {"cmd", "alt"} --...
bsd-2-clause
ai-maker/aima
src/uniform_cost_search.lua
1
1584
---------------------------------------------------------------------- -- File : uniform_cost_search.lua -- Created : 12-Feb-2015 -- By : Alexandre Trilla <alex@atrilla.net> -- -- AIMA - Artificial Intelligence, A Maker's Approach -- -- Copyright (C) 2015 A.I. Maker ---------------------------------------------...
mit
Fenix-XI/Fenix
scripts/zones/Abyssea-Misareaux/npcs/qm18.lua
17
1692
----------------------------------- -- Zone: Abyssea-Misereaux -- NPC: ??? -- Spawns: Amhuluk ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(pla...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/spells/esuna.lua
12
4287
----------------------------------------- -- Spell: Esuna -- ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end function...
gpl-3.0
slachiewicz/wrk
deps/luajit/src/jit/dis_ppc.lua
88
20319
---------------------------------------------------------------------------- -- LuaJIT PPC disassembler module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT/X license. See Copyright Notice in luajit.h ----------------------------------------------------------------------------...
apache-2.0
crunchuser/prosody-modules
mod_s2s_auth_fingerprint/mod_s2s_auth_fingerprint.lua
31
1380
-- Copyright (C) 2013-2014 Kim Alvefur -- This file is MIT/X11 licensed. module:set_global(); local digest_algo = module:get_option_string(module:get_name().."_digest", "sha1"); local fingerprints = {}; local function hashprep(h) return tostring(h):gsub(":",""):lower(); end local function hashfmt(h) return h:gsu...
mit
Fenix-XI/Fenix
scripts/globals/items/lizard_egg.lua
18
1161
----------------------------------------- -- ID: 4362 -- Item: lizard_egg -- Food Effect: 5Min, All Races ----------------------------------------- -- Health 5 -- Magic 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -------------...
gpl-3.0
abasshacker/abbasend
plugins/img.lua
660
3196
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0
plivo/sharq
sharq/scripts/lua/enqueue.lua
1
3282
-- script to enqueue a job into sharq. -- input: -- KEYS[1] - <key_prefix> -- KEYS[2] - <queue_type> -- -- ARGV[1] - <current_timestamp> -- ARGV[2] - <queue_id> -- ARGV[3] - <job_id> -- ARGV[4] - <serialized_payload> -- ARGV[5] - <interval> -- ARGV[6] - <requeue_limit> -- output: -- ...
mit
Fenix-XI/Fenix
scripts/zones/Dynamis-Jeuno/mobs/Goblin_Replica.lua
1
1818
----------------------------------- -- Area: Dynamis Jeuno -- MOB: Goblin Replica -- Map1 Position: http://images3.wikia.nocookie.net/__cb20090312005127/ffxi/images/b/bb/Jeu1.jpg -- Map2 Position: http://images4.wikia.nocookie.net/__cb20090312005155/ffxi/images/3/31/Jeu2.jpg -- Vanguard Position: http://faranim.livejo...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/LaLoff_Amphitheater/npcs/qm1_4.lua
13
2440
----------------------------------- -- Area: LaLoff_Amphitheater -- NPC: Shimmering Circle (BCNM Entrances) ------------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; package.loaded["scripts/globals/bcnm"] = nil; ------------------------------------- require("scripts/glob...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Castle_Oztroja/Zone.lua
19
1745
----------------------------------- -- -- Zone: Castle_Oztroja (151) -- ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/Castle_Oztroja/TextI...
gpl-3.0
SkzKatsushiro/OpenRA
mods/cnc/maps/nod06a/nod06a.lua
25
7746
NodStartUnitsRight = { 'ltnk', 'bike', 'e1', 'e1', 'e3', 'e3' } NodStartUnitsLeft = { 'ltnk', 'ltnk', 'bggy', 'e1', 'e1', 'e1', 'e1', 'e3', 'e3', 'e3', 'e3' } Chn1Units = { 'e1', 'e1', 'e1', 'e1', 'e1' } Chn2Units = { 'e2', 'e2', 'e2', 'e2', 'e2' } Obj2Units = { 'ltnk', 'bike', 'e1', 'e1', 'e1' } Chn3CellTriggerActiva...
gpl-3.0
Oarcinae/FactorioScenarioMultiplayerSpawn
lib/rocket_launch.lua
1
3201
-- rocket_launch.lua -- May 2019 -- This is meant to extract out any rocket launch related logic to support my oarc scenario designs. require("lib/oarc_utils") require("config") -------------------------------------------------------------------------------- -- Rocket Launch Event Code -- Controls the "win condition...
mit
mrrigealijan/nnso
bot/permissions.lua
8
1312
local sudos = { "plugins", "rank_admin", "bot", "lang_install", "set_lang", "tosupergroup", "gban_installer" } local admins = { "rank_mod", "gban", "ungban", "setrules", "setphoto", "creategroup", "setname", "addbots", "setlink", "rank_guest", "description", "export_...
gpl-2.0
8devices/carambola2-luci
applications/luci-watchcat/luasrc/model/cbi/watchcat/watchcat.lua
30
2105
--[[ LuCI - Lua Configuration Interface Copyright 2012 Christian Gagneraud <chris@techworks.ie> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]...
apache-2.0
DarkstarProject/darkstar
scripts/zones/Mount_Zhayolm/mobs/Sarameya.lua
11
2571
----------------------------------- -- Area: Mount Zhayolm -- NM: Sarameya -- !pos 322 -14 -581 61 -- Spawned with Buffalo Corpse: !additem 2583 -- Wiki: http://ffxiclopedia.wikia.com/wiki/Sarameya -- TODO: PostAIRewrite: Code the Howl effect and gradual resists. ----------------------------------- mixins = {require(...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Jade_Sepulcher/Zone.lua
32
1271
----------------------------------- -- -- Zone: Jade_Sepulcher (67) -- ----------------------------------- package.loaded["scripts/zones/Jade_Sepulcher/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Jade_Sepulcher/TextIDs"); ---------------------------...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Ranguemont_Pass/npcs/Perchond.lua
9
1205
----------------------------------- -- Area: Ranguemont Pass -- NPC: Perchond -- !pos -182.844 4 -164.948 166 ----------------------------------- local ID = require("scripts/zones/Ranguemont_Pass/IDs") require("scripts/globals/keyitems") ----------------------------------- function onTrade(player,npc,trade) if (...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Yhoator_Jungle/npcs/qm3.lua
6
1078
----------------------------------- -- Area: Yhoator Jungle -- NPC: ??? (qm3) -- Involved in Quest: True will -- !pos 203 0.1 82 124 ----------------------------------- local ID = require("scripts/zones/Yhoator_Jungle/IDs") require("scripts/globals/keyitems") require("scripts/globals/npc_util") require("scripts/global...
gpl-3.0
Giorox/AngelionOT-Repo
data/npc/scripts/Pydar.lua
1
1610
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg)...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Port_Jeuno/npcs/Leyla.lua
13
1496
----------------------------------- -- Area: Port Jeuno -- NPC: Leyla -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; require("scripts/zones/Port_Jeuno/TextIDs"); ----------------------------------- -- onTrade Acti...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Norg/npcs/Edal-Tahdal.lua
9
4243
----------------------------------- -- Area: Norg -- NPC: Edal-Tahdal -- Starts and Finishes Quest: Trial by Water -- !pos -13 1 -20 252 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("scripts/globals/shop"); requ...
gpl-3.0
SamuelePilleri/sysdig
userspace/sysdig/chisels/v_spy_syslog.lua
3
2003
--[[ Copyright (C) 2013-2015 Draios inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without ...
gpl-2.0
Fenix-XI/Fenix
scripts/zones/Windurst_Waters_[S]/npcs/Ampiro-Mapiro.lua
13
1068
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Ampiro-Mapiro -- Type: Standard NPC -- @zone: 94 -- @pos 131.380 -6.75 174.169 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/bowl_of_humpty_soup.lua
18
1385
----------------------------------------- -- ID: 4521 -- Item: Bowl of Humpty Soup -- Food Effect: 240Min, All Races ----------------------------------------- -- Health % 6 -- Health Cap 35 -- Magic 5 -- Health Regen While Healing 5 ----------------------------------------- require("scripts/globals/status"); --------...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/mobskills/geotic_breath.lua
11
1287
--------------------------------------------- -- Geotic Breath -- -- Description: Deals Earth damage to enemies within a fan-shaped area. -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: Used only by Ouryu --------------------------------------------- require("scripts/glo...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/plate_of_mushroom_paella_+1.lua
18
1378
----------------------------------------- -- ID: 5971 -- Item: Plate of Mushroom Paella +1 -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- HP 43 -- Mind 6 -- Magic Accuracy 6 -- Undead Killer 6 ----------------------------------------- require("scripts/globals/status"); -----------------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Windurst_Waters/npcs/Ohbiru-Dohbiru.lua
28
12066
----------------------------------- -- Area: Windurst Waters -- NPC: Ohbiru-Dohbiru -- Involved in quest: Food For Thought, Say It with Flowers -- Starts and finishes quest: Toraimarai Turmoil ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/globa...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/spells/sinewy_etude.lua
27
1843
----------------------------------------- -- Spell: Sinewy Etude -- Static STR Boost, BRD 24 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMag...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/The_Garden_of_RuHmet/npcs/_0z0.lua
9
1306
----------------------------------- -- Area: The_Garden_of_RuHmet -- NPC: _0z0 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/missions"); require("scripts/globals/keyitems"); require("scripts/globals/bcnm"); function onTrade(player,npc,trade) if (TradeBCNM(...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Yhoator_Jungle/Zone.lua
17
4099
----------------------------------- -- -- Zone: Yhoator_Jungle (124) -- ----------------------------------- package.loaded[ "scripts/zones/Yhoator_Jungle/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Yhoator_Jungle/TextIDs"); requir...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Abyssea-Altepa/Zone.lua
33
1470
----------------------------------- -- -- Zone: Abyssea - Altepa -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Altepa/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Abyssea-Altepa/TextIDs...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Upper_Jeuno/npcs/Deadly_Minnow.lua
9
1232
----------------------------------- -- Area: Upper Jeuno -- NPC: Deadly Minnow -- Standard Merchant NPC -- Involved in Quest: Borghertz's Hands (1st quest only) -- !pos -5 1 48 244 ----------------------------------- local ID = require("scripts/zones/Upper_Jeuno/IDs") require("scripts/globals/shop") function onTrade(...
gpl-3.0
emender/emender
test/TestRequires6.lua
1
1440
-- TestRequires6.lua - check if all required tools are available. -- This test contains 'requires' metadata which has wrong type. -- -- Copyright (C) 2014, 2015 Pavel Tisnovsky -- -- This file is part of Emender. -- -- Emender is free software: you can redistribute it and/or modify -- it under the terms of the GNU Gene...
gpl-3.0
ZACTELEGRAM1/-EMAM-ALI-1
plugins/id.lua
355
2795
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, resu...
gpl-2.0
Giorox/AngelionOT-Repo
data/npc/scripts/Bruce.lua
1
1771
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function ...
gpl-3.0
jkprg/prosody-modules
mod_firewall/conditions.lib.lua
31
6103
local condition_handlers = {}; local jid = require "util.jid"; -- Return a code string for a condition that checks whether the contents -- of variable with the name 'name' matches any of the values in the -- comma/space/pipe delimited list 'values'. local function compile_comparison_list(name, values) local conditio...
mit
Fenix-XI/Fenix
scripts/globals/mobskills/Spike_Flail.lua
33
1247
--------------------------------------------------- -- Spike Flail -- Deals extreme damage in a threefold attack to targets behind the user. --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); ----------...
gpl-3.0
eugeneia/snabbswitch
src/lib/ptree/worker.lua
3
3489
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(...,package.seeall) local S = require("syscall") local engine = require("core.app") local app_graph = require("core.config") local counter = require("core.counter") local histogram = require('core.histogr...
apache-2.0
Fenix-XI/Fenix
scripts/zones/Mamook/npcs/qm2.lua
30
1323
----------------------------------- -- Area: Mamook -- NPC: ??? (Spawn Iriri Samariri(ZNM T2)) -- @pos -118 7 -80 65 ----------------------------------- package.loaded["scripts/zones/Mamook/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mamook/TextIDs"); require("scripts/globals/status"); ...
gpl-3.0
8devices/carambola2-luci
applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua
141
1038
--[[ smap_devinfo - SIP Device Information (c) 2009 Daniel Dickinson Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- require("luci.i18n") re...
apache-2.0
Fenix-XI/Fenix
scripts/zones/Xarcabard/TextIDs.lua
13
1203
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6392; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6397; -- Obtained: <item>. GIL_OBTAINED = 6398; -- Obtained <number> gil. KEYITEM_OBTAINED = 6400; -- Obtained...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/The_Garden_of_RuHmet/npcs/Ebon_Panel.lua
9
3451
----------------------------------- -- Area: The Garden of RuHmet -- NPC: Ebon_Panel -- !pos 100.000 -5.180 -337.661 35 | Mithra Tower -- !pos 740.000 -5.180 -342.352 35 | Elvaan Tower -- !pos 257.650 -5.180 -699.999 35 | Tarutaru Tower -- !pos 577.648 -5.180 -700.000 35 | Galka Tower ---------------------------------...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Eastern_Altepa_Desert/npcs/Field_Manual.lua
29
1067
----------------------------------- -- Field Manual -- Area: Eastern Altepa Desert ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onTrigger Action ----------------------------...
gpl-3.0
emender/emender
test/TestRequiresD.lua
1
1538
-- TestRequiresD.lua - check if all required tools are available. -- This test contains 'requires' metadata which has wrong type. -- -- Copyright (C) 2014, 2015 Pavel Tisnovsky -- -- This file is part of Emender. -- -- Emender is free software: you can redistribute it and/or modify -- it under the terms of the GNU Gene...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Rabao/TextIDs.lua
15
2028
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6401; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6406; -- Obtained: <item> GIL_OBTAINED = 6407; -- Obtained <number> gil KEYITEM_OBTAINED = 6409; -- Obt...
gpl-3.0
punisherbot/-
plugins/id.lua
226
4260
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, result) local re...
gpl-2.0
eugeneia/snabbswitch
lib/ljsyscall/syscall/linux/errors.lua
24
5242
-- Linux error messages return { PERM = "Operation not permitted", NOENT = "No such file or directory", SRCH = "No such process", INTR = "Interrupted system call", IO = "Input/output error", NXIO = "No such device or address", ["2BIG"] = "Argument list too long", NOEXEC = "Exec format error", BADF = ...
apache-2.0
Fenix-XI/Fenix
scripts/zones/QuBia_Arena/mobs/Maat.lua
1
1206
----------------------------------- -- Area: Qu'Bia Arena -- MOB: Maat -- Genkai 5 Fight ----------------------------------- package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil; ----------------------------------- require("scripts/zones/QuBia_Arena/TextIDs"); ----------------------------------- -- onMobSpawn A...
gpl-3.0
SkzKatsushiro/OpenRA
mods/d2k/maps/atreides-03a/atreides03a.lua
13
5114
OrdosBase = { OBarracks, OWindTrap1, OWindTrap2, OWindTrap3, OWindTrap4, OLightFactory, OOutpost, OConyard, ORefinery, OSilo1, OSilo2, OSilo3, OSilo4 } OrdosReinforcements = { Easy = { { "light_inf", "raider", "trooper" }, { "light_inf", "raider", "quad" }, { "light_inf", "light_inf", "trooper", "raider", "rai...
gpl-3.0
MartinFrancu/BETS
BtCreator/role_manager.lua
1
12812
--[[READ ME: Role manager is used in BtCreator for displaying window for attaching categories to roles and possibly definition of new categories. System is that function showing window is called with a parameter of return function which is then called once user did his thing. Function of particular importance: roleMa...
mit
Fenix-XI/Fenix
scripts/commands/addmission.lua
1
1143
--------------------------------------------------------------------------------------------------- -- func: @addmission <logID> <missionID> <player> -- desc: Adds a mission to the GM or target players log. --------------------------------------------------------------------------------------------------- cmdprops = {...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/items/piece_of_cascade_candy.lua
18
1175
----------------------------------------- -- ID: 5942 -- Item: Piece of Cascade Candy -- Food Effect: 30Min, All Races ----------------------------------------- -- Mind +4 -- Charisma +4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/PsoXja/npcs/_09c.lua
13
2831
----------------------------------- -- Area: Pso'Xja -- NPC: _09c (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- @pos 290.000 -1.925 -18.400 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/PsoXja/TextIDs...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/items/broiled_carp.lua
11
1070
----------------------------------------- -- ID: 4586 -- Item: Broiled Carp -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 2 -- Mind -1 -- Ranged ATT % 14 (cap 45) ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") --------...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/items/death_scythe.lua
12
1066
----------------------------------------- -- ID: 16777 -- Item: Death Scythe -- Additional Effect: Drains HP ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------- function onAdditionalEffect(player...
gpl-3.0
Giorox/AngelionOT-Repo
data/npc/scripts/Jack Fate Goroma.lua
3
1799
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) -- OTServ event handling functions start function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function ...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Orias.lua
5
1296
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Marquis Orias ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEngag...
gpl-3.0
SamuelePilleri/sysdig
userspace/sysdig/chisels/v_kubernetes_controllers.lua
6
3094
--[[ Copyright (C) 2013-2014 Draios inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without...
gpl-2.0
MartinFrancu/BETS
chili_clone/controls/trackbar_clone.lua
3
4217
--//============================================================================= --- Trackbar module --- Trackbar fields. -- Inherits from Control. -- @see control.Control -- @table Trackbar -- @int[opt=0] min minimum value of the Trackbar -- @int[opt=100] max maximum value of the Trackbar -- @int[opt=50] ...
mit
MT-Axinite/staff_tools
tools.lua
1
3438
-- tools.lua: Tool definitions -- Copyright (c) 2015 Calinou -- CC0 1.0 Universal minetest.register_tool("staff_tools:tool", { description = "Staff tool", inventory_image = "staff_tool.png", range = 15, tool_capabilities = { full_punch_interval = 0.0, max_drop_level = 3, groupcaps = { cracky = {times = {[...
cc0-1.0
Fenix-XI/Fenix
scripts/globals/spells/cure_vi.lua
26
3921
----------------------------------------- -- Spell: Cure VI -- Restores target's HP. -- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic")...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/Upper_Jeuno/npcs/Mailloquetat.lua
13
1398
----------------------------------- -- Area: Upper Jeuno -- NPC: Mailloquetat -- Involved in Quests: Save my Sister -- @zone 244 -- @pos -31 -1 8 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requi...
gpl-3.0
LazyShpee/discord-egobot
libs/png_encode.lua
1
9735
--- A PNG encoder. -- -- 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, -- distribute, ...
mit
DarkstarProject/darkstar
scripts/zones/Grauberg_[S]/npcs/Indescript_Markings.lua
9
1504
---------------------------------- -- Area: Grauberg [S] -- NPC: Indescript Markings -- Type: Quest ----------------------------------- local ID = require("scripts/zones/Grauberg_[S]/IDs"); require("scripts/globals/keyitems"); require("scripts/globals/npc_util"); require("scripts/globals/status"); --------------------...
gpl-3.0
DarkstarProject/darkstar
scripts/zones/Windurst_Waters/npcs/Chamama.lua
9
6288
----------------------------------- -- Area: Windurst Waters -- NPC: Chamama -- Involved In Quest: Inspector's Gadget -- Starts Quest: In a Pickle ----------------------------------- local ID = require("scripts/zones/Windurst_Waters/IDs"); require("scripts/globals/quests"); require("scripts/globals/keyitems"); require...
gpl-3.0
Fenix-XI/Fenix
scripts/globals/effects/healing.lua
10
1837
----------------------------------- -- -- EFFECT_HEALING -- -- Activated through the /heal command ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:...
gpl-3.0
br101/packages
utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/bmx7.lua
76
2091
#!/usr/bin/lua local json = require "cjson" local function interpret_suffix(rate) if rate ~= nil then local value = string.sub(rate, 1, -2) local suffix = string.sub(rate, -1) if suffix == "K" then return tonumber(value) * 10^3 end if suffix == "M" then return tonumber(value) * 10^6 end if suffi...
gpl-2.0
Fenix-XI/Fenix
scripts/zones/The_Garden_of_RuHmet/bcnms/when_angels_fall.lua
30
2268
----------------------------------- -- Area: The_Garden_of_RuHmet -- Name: when_angels_fall ----------------------------------- package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("script...
gpl-3.0
Fenix-XI/Fenix
scripts/zones/South_Gustaberg/mobs/Rock_Lizard.lua
6
1374
----------------------------------- -- Area: South Gustaberg -- MOB: Rock Lizard -- Note: Place holder Leaping Lizzy ----------------------------------- require("scripts/zones/South_Gustaberg/MobIDs"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onMobDeath -----------------------...
gpl-3.0
DarkstarProject/darkstar
scripts/globals/items/bowl_of_oceanfin_soup.lua
11
1615
----------------------------------------- -- ID: 6070 -- Item: Bowl of Oceanfin Soup -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- Accuracy % 15 Cap 95 -- Ranged Accuracy % 15 Cap 95 -- Attack % 19 Cap 85 -- Ranged Attack % 19 Cap 85 -- Amorph Killer 6 -----------------------------------...
gpl-3.0