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
cochrane/OpenTomb
scripts/strings/english/generic.lua
5
3151
-- OPENTOMB GENERIC STRINGS - ENGLISH LANGUAGE -- by Lwmte, Jan 2015 -------------------------------------------------------------------------------- -- This set of strings is used globally in all engine versions for various -- menu entries, notify pop-ups, inventory entries etc. --------------------------------------...
lgpl-3.0
Crazy-Duck/junglenational
game/dota_addons/junglenational/scripts/vscripts/libraries/containers.lua
1
88874
CONTAINERS_VERSION = "0.80" require('libraries/timers') require('libraries/playertables') local ID_BASE = "cont_" FORCE_NIL = false CONTAINERS_DEBUG = IsInToolsMode() -- Should we print debugging prints for containers --[[ Containers API Calls Containers:AddItemToUnit(unit, item) Containers:CreateContai...
mit
amirquick/quick1
plugins/banhammer.lua
214
11956
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('Checking invited user '..user_id) local banned ...
gpl-2.0
SlimSaber/android_external_skia
tools/lua/scrape_dashing.lua
160
2495
function tostr(t) local str = "" for k, v in next, t do if #str > 0 then str = str .. ", " end if type(k) == "number" then str = str .. "[" .. k .. "] = " else str = str .. tostring(k) .. " = " end if type(v) == "table" then ...
bsd-3-clause
topkecleon/otouto
otouto/plugins/admin/hammer.lua
1
2189
--[[ hammer.lua Copyright 2018 topkecleon <drew@otou.to> This code is licensed under the GNU AGPLv3. See /LICENSE for details. ]]-- local anise = require('anise') local bindings = require('extern.bindings') local utilities = require('otouto.utilities') local autils = require('otouto.autils') local P = {} ...
agpl-3.0
otland/forgottenserver
data/scripts/actions/others/dolls.lua
7
4316
local dollsTable = { [5080] = {"Hug me!"}, [5669] = { "It's not winning that matters, but winning in style.", "Today's your lucky day. Probably.", "Do not meddle in the affairs of dragons, for you are crunchy and taste good with ketchup.", "That is one stupid question.", "You'll need more rum for that.", ...
gpl-2.0
qweru/Moon
plugins/inrealm.lua
850
25085
-- data saved to moderation.json -- check moderation plugin do local function create_group(msg) -- superuser and admins only (because sudo are always has privilege) if is_sudo(msg) or is_realm(msg) and is_admin(msg) then local group_creator = msg.from.print_name create_g...
gpl-2.0
osgcc/ryzom
ryzom/common/data_common/r2/r2_ui.lua
3
2906
-- In this file we define functions that serves as an interface between the framework of the -- editor (C++ code), and the ui. Ideally the C++ should never manipulate the ui directly. -- It should rather call functions in this interface to do the job. -- This allow for easy customisation, because users can replace any ...
agpl-3.0
ferstar/openwrt-dreambox
feeds/luci/luci/luci/applications/luci-mmc-over-gpio/luasrc/model/cbi/mmc_over_gpio.lua
12
1057
--[[ LuCI mmc_over_gpio (c) 2008 Yanira <forum-2008@email.de> 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: mmc_over_gpio.lua 5448 2009-1...
gpl-2.0
naclander/tome
game/modules/tome/data/quests/temple-of-creation.lua
3
4420
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ...
gpl-3.0
LegionXI/darkstar
scripts/zones/Western_Adoulin/npcs/Tevigogo.lua
14
1239
----------------------------------- -- Area: Western Adoulin -- NPC: Tevigogo -- Type: Shop NPC -- @zone 256 -- @pos -151 3 -36 256 ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("script...
gpl-3.0
ibm2431/darkstar
scripts/commands/addquest.lua
11
1570
--------------------------------------------------------------------------------------------------- -- func: addquest <logID> <questID> <player> -- desc: Adds a quest to the given targets log. --------------------------------------------------------------------------------------------------- require("scripts/globals/q...
gpl-3.0
LegionXI/darkstar
scripts/globals/mobskills/Rime_Spray.lua
33
1448
--------------------------------------------- -- Rime Spray -- -- Description: Deals Ice damage to enemies within a fan-shaped area, inflicting them with Frost and All statuses down. -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: ----------------------------------------...
gpl-3.0
lache/RacingKingLee
crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/EaseCircleActionIn.lua
9
1386
-------------------------------- -- @module EaseCircleActionIn -- @extend ActionEase -- @parent_module cc -------------------------------- -- brief Create the action with the inner action.<br> -- param action The pointer of the inner action.<br> -- return A pointer of EaseCircleActionIn action. If creation failed, re...
mit
shadog/mdo_th_boos
plugins/plugins/azan.lua
1
3272
--[[ # # @DevPointCH # @MasterTeamCH # ]] do function run_bash(str) local cmd = io.popen(str) local result = cmd:read('*all') return result end local api_key = nil local base_api = "https://maps.googleapis.com/maps/api" function get_latlong(area) local api = base_api .. "/geocode/json?"...
gpl-2.0
ibm2431/darkstar
scripts/zones/Southern_San_dOria/npcs/Deraquien.lua
9
1846
----------------------------------- -- Area: Southern San d'Oria -- NPC: Deraquien -- Involved in Quest: Lure of the Wildcat (San d'Oria) -- !pos -98 -2 31 230 ------------------------------------- require("scripts/globals/quests"); local ID = require("scripts/zones/Southern_San_dOria/IDs"); --------------------------...
gpl-3.0
LegionXI/darkstar
scripts/zones/Rala_Waterways_U/Zone.lua
17
1103
----------------------------------- -- -- Zone: Rala Waterways U -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Rala_Waterways_U/TextIDs"] = nil; require("scripts/zones/Rala_Waterways_U/TextIDs"); ----------------------------------- -- onInitialize -------...
gpl-3.0
LegionXI/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Gevarg.lua
14
1065
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Gevarg -- Type: Past Event Watcher -- @zone 94 -- @pos -46.448 -6.312 212.384 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;...
gpl-3.0
greasydeal/darkstar
scripts/globals/spells/bluemagic/power_attack.lua
28
1761
----------------------------------------- -- Spell: Power Attack -- Deals critical damage. Chance of critical hit varies with TP -- Spell cost: 5 MP -- Monster Type: Vermin -- Spell Type: Physical (Blunt) -- Blue Magic Points: 1 -- Stat Bonus: MND+1 -- Level: 4 -- Casting Time: 0.5 seconds -- Recast Time: 7.2...
gpl-3.0
bittorf/luci
applications/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua
56
3828
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008-2011 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("upnpd", luci.util.pcdata(translate("Universal Plug & Play")), translate("UPnP allows clients in the local network to automatically configure the...
apache-2.0
ibm2431/darkstar
scripts/globals/spells/bluemagic/foot_kick.lua
8
1490
----------------------------------------- -- Spell: Foot Kick -- Deals critical damage. Chance of critical hit varies with TP -- Spell cost: 5 MP -- Monster Type: Beasts -- Spell Type: Physical (Slashing) -- Blue Magic Points: 2 -- Stat Bonus: AGI+1 -- Level: 1 -- Casting Time: 0.5 seconds -- Recast Time: 6.5 seconds -...
gpl-3.0
greasydeal/darkstar
scripts/zones/Temenos/mobs/Enhanced_Tiger.lua
12
1044
----------------------------------- -- Area: Temenos W T -- NPC: Enhanced_Tiger ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); -----------------------...
gpl-3.0
lbthomsen/openwrt-luci
applications/luci-app-openvpn/luasrc/model/cbi/openvpn-file.lua
1
2346
-- Licensed to the public under the Apache License 2.0. local ip = require("luci.ip") local fs = require("nixio.fs") local util = require("luci.util") local uci = require("luci.model.uci").cursor() local cfg_file = uci:get("openvpn", arg[1], "config") local auth_file = cfg_file:match("(.+)%.....
apache-2.0
ibm2431/darkstar
scripts/zones/Rolanberry_Fields_[S]/IDs.lua
9
1100
----------------------------------- -- Area: Rolanberry_Fields_[S] ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.ROLANBERRY_FIELDS_S] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item...
gpl-3.0
LegionXI/darkstar
scripts/zones/Upper_Delkfutts_Tower/Zone.lua
12
2557
----------------------------------- -- -- Zone: Upper_Delkfutts_Tower (158) -- ----------------------------------- package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/globals/common"); require("scripts/globals/zone"); require("scripts/globals/settin...
gpl-3.0
ibm2431/darkstar
scripts/zones/Cloister_of_Flames/npcs/Fire_Protocrystal.lua
9
1333
----------------------------------- -- Area: Cloister of Flames -- NPC: Fire Protocrystal -- Involved in Quests: Trial by Fire, Trial Size Trial by Fire -- !pos -721 0 -598 207 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/bcnm"); local ID = require("scripts/zones/C...
gpl-3.0
lxndr/gswatcher
src/protocols/ase.lua
1
2602
local DataReader = require "lib/DataReader" local concat_tables = require "lib/concat_tables" protocol = { id = "ase", name = "All-Seeing Eye", feature = "query", transport = "udp", } local info_map = { game_name = "game", game_version = "version", game_mode = "game_type", server_name = "name",...
gpl-2.0
LegionXI/darkstar
scripts/zones/Spire_of_Dem/Zone.lua
30
1399
----------------------------------- -- -- Zone: Spire_of_Dem (19) -- ----------------------------------- package.loaded["scripts/zones/Spire_of_Dem/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Spire_of_Dem/TextIDs"); ---------------------------------...
gpl-3.0
ibm2431/darkstar
scripts/globals/items/anchovy_pizza.lua
11
1250
----------------------------------------- -- ID: 5699 -- Item: anchovy_pizza -- Food Effect: 3 hours, all Races ----------------------------------------- -- HP +30 -- DEX +1 -- Accuracy +9% (Cap 15) -- Attack +10% (Cap 20) ----------------------------------------- require("scripts/globals/status") require("scripts/glob...
gpl-3.0
ibm2431/darkstar
scripts/globals/mobskills/light_blade.lua
11
1409
--------------------------------------------- -- Light Blade -- Description: Deals very high physical damage to a single player. -- Type: Ranged -- Damage decreases the farther away the target is from him. --------------------------------------------- require("scripts/globals/settings") require("scripts/globals/sta...
gpl-3.0
GENRALVS/GENRAL-VS
plugins/tag_english.lua
1
3514
--[[ ▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ BY xx_hetler_xx ▀▄ ▄▀ ▀▄ ▄▀ BY hetler (hetler_ip) ▀▄ ▄▀ ▀▄ ▄▀ JUST WRITED BY hetler ▀▄ ▄▀ ▀▄ ▄▀ ▀▄ ▄▀ ▀▄▀▀...
gpl-2.0
Igalia/snabbswitch
lib/ljsyscall/syscall/rump/ffirump.lua
24
1893
-- ffi type and function definitions for rump kernel functions local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string...
apache-2.0
ibm2431/darkstar
scripts/globals/spells/flood.lua
12
1039
----------------------------------------- -- Spell: Flood -- Deals water damage to an enemy and lowers its resistance against lightning. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") ----------------------------------------- function onMagicCastingCheck(ca...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/burning_cesti.lua
16
1030
----------------------------------------- -- ID: 16398 -- Item: Burning Cesti -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ------------------------------...
gpl-3.0
greasydeal/darkstar
scripts/zones/Al_Zahbi/npcs/Eumoa-Tajimoa.lua
38
1026
----------------------------------- -- Area: Al Zahbi -- NPC: Eumoa-Tajimoa -- Type: Standard NPC -- @zone: 48 -- @pos 19.275 -1 55.182 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -----------------------...
gpl-3.0
greasydeal/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Dkhaaya.lua
17
2378
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Dkhaaya -- Type: Standard NPC -- @pos -73.212 -1 -5.842 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitem...
gpl-3.0
evrooije/beerarchy
mods/00_bt_mobs/fishing/crafting.lua
1
9058
----------------------------------------------------------------------------------------------- -- Fishing - crabman77 version -- Rewrited from original Fishing - Mossmanikin's version - Recipes 0.0.8 ----------------------------------------------------------------------------------------------- -- License (code & text...
lgpl-2.1
greasydeal/darkstar
scripts/globals/items/bowl_of_yayla_corbasi.lua
35
1482
----------------------------------------- -- ID: 5579 -- Item: bowl_of_yayla_corbasi -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP 20 -- Dexterity -1 -- Vitality 2 -- HP Recovered While Healing 3 -- MP Recovered While Healing 1 ----------------------------------------- req...
gpl-3.0
greasydeal/darkstar
scripts/zones/Southern_San_dOria/npcs/Chanpau.lua
19
2054
----------------------------------- -- Area: Southern San d'Oria -- NPC: Chanpau -- Optional Involvement in Quest: A Squire's Test II -- @zone 230 -- @pos -152 -2 55 ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- re...
gpl-3.0
greasydeal/darkstar
scripts/globals/weaponskills/steel_cyclone.lua
30
1578
----------------------------------- -- Steel Cyclone -- Great Axe weapon skill -- Skill level: 240 -- Delivers a single-hit attack. Damage varies with TP. -- In order to obtain Steel Cyclone, the quest The Weight of Your Limits must be completed. -- Will stack with Sneak Attack. -- Aligned with the Breeze Gorget...
gpl-3.0
ricker75/Global-Server
data/npc/scripts/Harlow.lua
1
2260
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-2.0
ibm2431/darkstar
scripts/globals/items/dish_of_hydra_kofte_+1.lua
11
1613
----------------------------------------- -- ID: 5603 -- Item: dish_of_hydra_kofte_+1 -- Food Effect: 240Min, All Races ----------------------------------------- -- Strength 8 -- Intelligence -4 -- Attack % 20 -- Attack Cap 160 -- Defense % 25 -- Defense Cap 75 -- Ranged ATT % 20 -- Ranged ATT Cap 160 -- Poison Resist ...
gpl-3.0
greasydeal/darkstar
scripts/globals/mobskills/Foxfire.lua
7
1177
--------------------------------------------- -- Foxfire -- -- Description: Damage varies with TP. Additional effect: "Stun." -- Type: Physical (Blunt) -- RDM, THF, PLD, BST, BRD, RNG, NIN, and COR fomors). -- --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals...
gpl-3.0
ibm2431/darkstar
scripts/globals/monstertpmoves.lua
10
23809
require("scripts/globals/magicburst") require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/utils") require("scripts/globals/msg"); -- Foreword: A lot of this is good estimating since the FFXI playerbase has not found all of info for individual moves. -- What is known...
gpl-3.0
LegionXI/darkstar
scripts/zones/Lower_Jeuno/npcs/_l07.lua
7
1574
----------------------------------- -- Area: Lower Jeuno -- NPC: Streetlamp -- Involved in Quests: Community Service -- @zone 245 -- @pos -45.148 0 -47.279 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settin...
gpl-3.0
ChaoticMind/OpenRA
mods/cnc/maps/nod06b/nod06b.lua
25
7008
NodUnitsVehicle1 = { 'bggy', 'bggy', 'bike', 'bike', 'bike' } NodUnitsVehicle2 = { 'ltnk', 'ltnk', 'ltnk' } NodUnitsGunner = { 'e1', 'e1', 'e1', 'e1', 'e1', 'e1' } NodUnitsRocket = { 'e3', 'e3', 'e3', 'e3', 'e3', 'e3' } Gdi1Units = { 'e1', 'e1', 'e2', 'e2', 'e2' } HuntCellTriggerActivator = { CPos.New(61,34), CPos.New...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/naval_rice_ball.lua
21
1526
----------------------------------------- -- ID: 4605 -- Item: Naval Rice Ball -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +26 -- Dex +3 -- Vit +4 -- hHP +2 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Atk +40 -- Def +40 -- Arc...
gpl-3.0
LegionXI/darkstar
scripts/zones/RuLude_Gardens/npcs/Trail_Markings.lua
7
2902
----------------------------------- -- Area: Rulude Gardens -- NPC: Trail Markings -- Dynamis-Jeuno Enter -- @pos 35 9 -51 243 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/glo...
gpl-3.0
icyxp/kong
spec/03-plugins/01-tcp-log/01-tcp-log_spec.lua
2
2102
local cjson = require "cjson" local helpers = require "spec.helpers" local TCP_PORT = 35001 describe("Plugin: tcp-log (log)", function() local client setup(function() helpers.run_migrations() local api1 = assert(helpers.dao.apis:insert { name = "api-1", hosts = { "tcp_logging....
apache-2.0
greasydeal/darkstar
scripts/zones/Dynamis-Qufim/Zone.lua
15
2350
----------------------------------- -- -- Zone: Dynamis-Qufim -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Dynamis-Qufim/TextIDs"] = nil; require("scripts/zones/Dynamis-Qufim/TextIDs"); ----------------------------------- -- onInitialize ----...
gpl-3.0
greasydeal/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Wahraga.lua
19
1177
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Wahraga -- Guild Merchant: Alchemist Guild -- @pos -76.836 -6.000 140.331 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/global...
gpl-3.0
LegionXI/darkstar
scripts/zones/Port_San_dOria/npcs/Rielle.lua
17
1399
----------------------------------- -- Area: Port San d'Oria -- NPC: Rielle -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"); require("scripts/globals/quests"); ----...
gpl-3.0
greasydeal/darkstar
scripts/zones/RaKaznar_Turris/Zone.lua
29
1324
----------------------------------- -- -- Zone: Ra’Kanzar Turris (277) -- ----------------------------------- package.loaded["scripts/zones/RaKaznar_Turris/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/RaKaznar_Turris/TextIDs"); -----------...
gpl-3.0
ibm2431/darkstar
scripts/zones/Rolanberry_Fields/npcs/Cavernous_Maw.lua
3
2787
----------------------------------- -- Area: Rolanberry Fields -- NPC: Cavernous Maw -- !pos -198 8 361 110 -- Teleports Players to Rolanberry Fields [S] ----------------------------------- local ID = require("scripts/zones/Rolanberry_Fields/IDs") require("scripts/globals/teleports") require("scripts/globals/campaign"...
gpl-3.0
greasydeal/darkstar
scripts/zones/Lufaise_Meadows/mobs/Padfoot.lua
18
2228
----------------------------------- -- Area: Lufaise Meadows -- Mob: Padfoot -- @pos 260.445 -1.761 -27.862 24 (True Copy) 16875578 -- @pos 412.447 -0.057 -200.161 24 (Fake Copies) 16875615 -- @pos -378.950 -15.742 144.215 24 || 16875703 -- @pos -43.689 0.487 -328.028 24 || 16875552 -- @pos -1...
gpl-3.0
ibm2431/darkstar
scripts/globals/spells/kurayami_ichi.lua
12
1358
----------------------------------------- -- Spell: Kurayami:Ichi ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end fun...
gpl-3.0
LegionXI/darkstar
scripts/zones/Carpenters_Landing/npcs/relic.lua
14
1880
----------------------------------- -- Area: Carpenter's Landing -- NPC: <this space intentionally left blank> -- @pos -99 -0 -514 2 ----------------------------------- package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Carpenters_Landing/TextI...
gpl-3.0
greasydeal/darkstar
scripts/zones/Southern_San_dOria/npcs/Endracion.lua
13
6012
----------------------------------- -- Area: Northern San d'Oria -- NPC: Endracion -- @pos -110 1 -34 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/key...
gpl-3.0
naclander/tome
game/modules/tome/data/chats/angolwen-leader.lua
3
3109
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ...
gpl-3.0
ibm2431/darkstar
scripts/zones/Caedarva_Mire/mobs/Experimental_Lamia.lua
9
1334
----------------------------------- -- Area: Caedarva Mire (79) -- ZNM: Experimental Lamia -- !pos -773.369 -11.824 322.298 79 ----------------------------------- local ID = require("scripts/zones/Caedarva_Mire/IDs") require("scripts/globals/status") ----------------------------------- local function spawnMinions(mob...
gpl-3.0
ricker75/Global-Server
data/npc/scripts/Angelina.lua
2
1753
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-2.0
greasydeal/darkstar
scripts/zones/Port_Windurst/npcs/Jack_of_Clubs.lua
35
1236
----------------------------------- -- Area: Port Windurst -- NPC: Jack of Clubs -- Adventurer's Assistant -- Working 100% ------------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs"); ...
gpl-3.0
LegionXI/darkstar
scripts/globals/items/strip_of_buffalo_jerky.lua
12
1393
----------------------------------------- -- ID: 5196 -- Item: strip_of_buffalo_jerky -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 4 -- Mind -2 -- Attack % 18 -- Attack Cap 65 ----------------------------------------- require("scripts/globals/status"); -----------------------...
gpl-3.0
ricker75/Global-Server
data/actions/scripts/tools/skinning.lua
2
6981
function skinMonster(cid,item,skin) local random = math.random(1,15) if(random < 4) then doPlayerAddItem(cid,skin,1) doSendMagicEffect(getThingPos(item.uid), CONST_ME_MAGIC_GREEN) else doSendMagicEffect(getThingPos(item.uid), CONST_ME_BLOCKHIT) end...
gpl-2.0
naclander/tome
game/modules/tome/data/chats/alchemist-derth.lua
3
23490
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ...
gpl-3.0
LegionXI/darkstar
scripts/globals/effects/sigil.lua
32
3008
----------------------------------- -- -- EFFECT_SIGIL -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) local power = effect:getPower(); -- Tracks which bonus effects are in use. local sub...
gpl-3.0
caidongyun/Dato-Core
src/unity/python/graphlab/lua/pl/config.lua
21
6527
--- Reads configuration files into a Lua table. -- Understands INI files, classic Unix config files, and simple -- delimited columns of values. See @{06-data.md.Reading_Configuration_Files|the Guide} -- -- # test.config -- # Read timeout in seconds -- read.timeout=10 -- # Write timeout in seconds -- wri...
agpl-3.0
lbthomsen/openwrt-luci
modules/luci-mod-rpc/luasrc/controller/rpc.lua
10
6510
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. module("luci.controller.rpc", package.seeall) function session_retrieve(sid, allowed_users) local util = require "luci.util" local sdat = util.ubus("sessio...
apache-2.0
LegionXI/darkstar
scripts/zones/Kazham/npcs/Mitti_Haplihza.lua
17
1072
----------------------------------- -- Area: Kazham -- NPC: Mitti Haplihza -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- ...
gpl-3.0
greasydeal/darkstar
scripts/zones/San_dOria-Jeuno_Airship/npcs/Nigel.lua
12
2054
----------------------------------- -- Area: San d'Oria-Jeuno Airship -- NPC: Nigel -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/San_dOria-Jeuno_Airship/TextIDs"] = nil; require("scripts/zones/San_dOria-Jeuno_Airship/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/bowl_of_loach_gruel.lua
36
1567
----------------------------------------- -- ID: 5670 -- Item: Bowl of Loach Gruel -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Make Group Effect -- Dexterity 2 -- Agility 2 -- Accuracy 7% Cap 30 -- HP 7% Cap 30 -- Evasion 4 ----------------------------------------- require("scri...
gpl-3.0
LegionXI/darkstar
scripts/zones/Port_Bastok/npcs/Klaus.lua
14
1029
----------------------------------- -- Area: Port Bastok -- NPC: Klaus -- Type: Standard NPC -- @pos -89.355 -3.611 -15.256 236 ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_Bastok/TextIDs"); ---------...
gpl-3.0
srijan/ntopng
scripts/lua/iface_flows_sankey.lua
1
4518
-- -- (C) 2013 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" sendHTTPHeader('application/json') tracked_host = _GET["host"] interface.find(ifname) peers = interface.getFlowPeers() max_num_links = 32 max_num_hosts = 8 local ...
gpl-3.0
LegionXI/darkstar
scripts/zones/Lower_Delkfutts_Tower/npcs/_545.lua
17
1574
----------------------------------- -- Area: Lower Delkfutt's Tower -- NPC: Cermet Door -- Notes: Involved in Missions: THREE_PATHS ----------------------------------- package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); requir...
gpl-3.0
naclander/tome
game/modules/tome/data/zones/town-last-hope/npcs.lua
3
3162
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ...
gpl-3.0
LegionXI/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Hieroglyphics.lua
7
2462
----------------------------------- -- Area: Tavnazian_Safehold -- NPC: Hieroglyphics -- Notes: Dynamis Tavnazia Enter -- @pos 3.674 -7.278 -27.856 26 ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/globals/se...
gpl-3.0
gilzoide/hell
src/lua/utils.lua
1
9001
--- @file hellutils.lua -- Auxiliary functions for hell users. This will be `require`d in the -- modules where needed, so it will reside somewhere in the 'package.path'. -- Enjoy the various facilities we're providing xD --[[ -- Copyright (C) 2015 Gil Barbosa Reis -- This file is part of Hell. -- -- Hell is free softw...
gpl-3.0
greasydeal/darkstar
scripts/zones/Ghelsba_Outpost/bcnms/save_the_children.lua
13
1962
----------------------------------- -- Area: Ghelsba Outpost -- Name: San d'Oria Mission 1-3 Save the children -- @pos -162 -11 78 140 ----------------------------------- package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scri...
gpl-3.0
LegionXI/darkstar
scripts/zones/Northern_San_dOria/npcs/Morunaude.lua
17
1453
----------------------------------- -- Area: Northern San d'Oria -- NPC: Morunaude -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Northern_San_dOria/TextIDs"); require("scripts/globals...
gpl-3.0
naclander/tome
game/modules/tome/data/chats/corruptor-quest.lua
3
3119
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- This program is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (at your option) any later ...
gpl-3.0
greasydeal/darkstar
scripts/zones/Windurst_Walls/npcs/Zayhi-Bauhi.lua
19
5249
----------------------------------- -- Area: Windurst Walls -- Location: X:-91 Y:-9 Z:109 -- NPC: Zayhi-Bauhi -- Working 100% -- Starts and Finishes Quest: To Bee or Not to Bee? ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; -------------------------------...
gpl-3.0
ibm2431/darkstar
scripts/globals/spells/sword_madrigal.lua
10
1567
----------------------------------------- -- Spell: Sword Madrigal -- Gives party members accuracy ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end fun...
gpl-3.0
ricker75/Global-Server
data/actions/scripts/the ancient tombs quest/OasisTombLeverDoor.lua
3
1593
function onUse(cid, item, fromPosition, itemEx, toPosition) if(item.itemid == 1945) then if(math.random(1, 3) == 1) then local carrotpos = {x = toPosition.x - 1, y = toPosition.y, z = toPosition.z} Position(carrotpos):sendMagicEffect(CONST_ME_TELEPORT) Game.createItem(2684, 1, Position(carrotpos)) Player...
gpl-2.0
Geigerkind/DPSMateTBC
DPSMate_Auras/DPSMate_AurasGained.lua
1
3895
-- Global Variables DPSMate.Modules.AurasGained = {} DPSMate.Modules.AurasGained.Hist = "Auras" DPSMate.Options.Options[1]["args"]["aurasgained"] = { order = 230, type = 'toggle', name = DPSMate.L["aurasgained"], desc = DPSMate.L["show"].." "..DPSMate.L["aurasgained"]..".", get = function() return DPSMateSettings[...
gpl-3.0
lache/RacingKingLee
crazyclient/frameworks/cocos2d-x/external/lua/luasocket/script/socket/tp.lua
31
3627
----------------------------------------------------------------------------- -- Unified SMTP/FTP subsystem -- LuaSocket toolkit. -- Author: Diego Nehab ----------------------------------------------------------------------------- ----------------------------------------------------------------------------- -- Declare...
mit
LegionXI/darkstar
scripts/zones/Escha_ZiTah/Zone.lua
34
1440
----------------------------------- -- -- Zone: Escha - Zi'Tah (288) -- ----------------------------------- package.loaded["scripts/zones/Escha_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Escha_ZiTah/TextIDs"); require("scripts/globals/settings"); require("scripts/globals/zone"); ...
gpl-3.0
LegionXI/darkstar
scripts/globals/common.lua
35
2855
----------------------------------- -- -- ----------------------------------- ----------------------------------- -- switch ----------------------------------- function switch(c) local swtbl = { casevar = c, caseof = function (self,code) local f if (self.casevar) then f = cod...
gpl-3.0
LegionXI/darkstar
scripts/zones/Metalworks/npcs/Baldric.lua
14
1770
----------------------------------- -- Area: Metalworks -- NPC: Baldric -- Type: Quest Giver -- @zone 237 -- @pos -50.858 1.777 -31.141 ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings") require("scri...
gpl-3.0
LegionXI/darkstar
scripts/globals/weaponskills/atonement.lua
9
4322
----------------------------------- -- Atonement -- TODO: This needs to be reworked, as this weapon skill does damage based on current enmity, not based on stat modifiers. http://wiki.ffxiclopedia.org/wiki/Atonement http://www.bg-wiki.com/bg/Atonement -- Sword weapon skill -- Skill Level: N/A -- Delivers a Twofold a...
gpl-3.0
LegionXI/darkstar
scripts/zones/Attohwa_Chasm/mobs/Sekhmet.lua
14
1780
----------------------------------- -- Area: Attohwa Chasm -- NM: Sekhmet ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onMobInitialize Action ----------------------------------- fun...
gpl-3.0
softer/prosody-modules
mod_tcpproxy/mod_tcpproxy.lua
31
3923
local st = require "util.stanza"; local xmlns_ibb = "http://jabber.org/protocol/ibb"; local xmlns_tcp = "http://prosody.im/protocol/tcpproxy"; local host_attr, port_attr = xmlns_tcp.."\1host", xmlns_tcp.."\1port"; local base64 = require "util.encodings".base64; local b64, unb64 = base64.encode, base64.decode; local...
mit
LegionXI/darkstar
scripts/zones/Qufim_Island/TextIDs.lua
3
1335
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obtained...
gpl-3.0
atheurer/MoonGen
lua/include/lock.lua
4
1759
--------------------------------- --- @file lock.lua --- @brief Lock ... --- @todo TODO docu --------------------------------- local mod = {} local ffi = require "ffi" local stp = require "StackTracePlus" local log = require "log" ffi.cdef [[ struct lock { }; struct lock* make_lock(); void lock_lock(struct lock*...
mit
Igalia/snabbswitch
lib/luajit/testsuite/test/computations.lua
6
2071
do --- ack local function Ack(m, n) if m == 0 then return n+1 end if n == 0 then return Ack(m-1, 1) end return Ack(m-1, (Ack(m, n-1))) -- The parentheses are deliberate. end assert(Ack(3,5) == 253) end do --- ack notail local function Ack(m, n) if m == 0 then return n+1 end if n == 0 the...
apache-2.0
alerque/sile
packages/svg/init.lua
1
4472
local base = require("packages.base") local package = pl.class(base) package._name = "svg" local svg = require("svg") local otparser = require("core.opentype-parser") local _drawSVG = function (svgdata, width, height, density, drop) local svgfigure, svgwidth, svgheight = svg.svg_to_ps(svgdata, density) SU.debug(...
mit
greasydeal/darkstar
scripts/globals/spells/hunters_prelude.lua
13
1489
----------------------------------------- -- Spell: Hunter's Prelude -- Gives party members ranged attack accuracy ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingChe...
gpl-3.0
LegionXI/darkstar
scripts/globals/summon.lua
13
11172
require("scripts/globals/common"); require("scripts/globals/status"); SUMMONING_MAGIC_SKILL = 38 MSG_NONE = 0; -- display nothing MSG_NO_EFFECT = 189; MSG_DAMAGE = 185; -- player uses, target takes 10 damage. DEFAULT MSG_MISS = 188; MSG_RESIST = 85; function AvatarPhysicalMove(avatar,target,skill,numberofhits,accmo...
gpl-3.0
LegionXI/darkstar
scripts/zones/Valkurm_Dunes/mobs/Damselfly.lua
14
1115
----------------------------------- -- Area: Valkurm Dunes -- MOB: Damselfly -- Note: Place holder Valkurm Emperor ----------------------------------- require("scripts/zones/Valkurm_Dunes/MobIDs"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onMobDeath ---------------------------...
gpl-3.0
LegionXI/darkstar
scripts/zones/Al_Zahbi/npcs/Allard.lua
17
1180
----------------------------------- -- Area: Al Zahbi -- NPC: Allard -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; require("scripts/zones/Al_Zahbi/TextIDs"); ----------------------------------- -- onTrade Action --...
gpl-3.0
icyxp/kong
kong/core/balancer.lua
2
10899
local pl_tablex = require "pl.tablex" local responses = require "kong.tools.responses" local singletons = require "kong.singletons" local dns_client = require "resty.dns.client" -- due to startup/require order, cannot use the one from 'singletons' here local ring_balancer = require "resty.dns.balancer" local toip = d...
apache-2.0