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
istr/busted
spec/cl_failing_support.lua
10
4738
describe('bad support functions should fail, sync test', function() describe('bad setup should properly fail a test', function() setup(function() error('failing a setup method') end) before_each(function() end) after_each(function() end) teardown(function() end) it('Tests nothing, s...
mit
greasydeal/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm4.lua
18
1723
----------------------------------- -- Area: The Sanctuary of Zitah -- NPC: ??? -- Finishes Quest: Lovers in the Dusk -- @zone 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require(...
gpl-3.0
greasydeal/darkstar
scripts/zones/Beaucedine_Glacier/mobs/Tundra_Tiger.lua
23
1425
----------------------------------- -- Area: Beaucedine Glacier -- MOB: Tundra Tiger -- Note: PH for Nue, Kirata ----------------------------------- require("scripts/globals/fieldsofvalor"); require("scripts/zones/Beaucedine_Glacier/MobIDs"); ----------------------------------- -- onMobDeath ----...
gpl-3.0
LegionXI/darkstar
scripts/globals/spells/bluemagic/radiant_breath.lua
25
2259
----------------------------------------- -- Spell: Radiant Breath -- Deals light damage to enemies within a fan-shaped area of effect originating from the caster. Additional effect: Slow and Silence. -- Spell cost: 116 MP -- Monster Type: Wyverns -- Spell Type: Magical (Light) -- Blue Magic Points: 4 -- Stat Bonus: CH...
gpl-3.0
ibm2431/darkstar
scripts/globals/spells/poisonga.lua
12
1432
----------------------------------------- -- Spell: Poisonga ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") require("scripts/globals/status") ----------------------------------------- function onMagicCastingCheck(caster, target, spell) return 0 end functi...
gpl-3.0
evrooije/beerarchy
mods/00_bt_nodes/farming/corn.lua
1
3358
--[[ Original textures from GeMinecraft http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/wip-mods/1440575-1-2-5-generation-minecraft-beta-1-2-farming-and ]] local S = farming.intllib -- corn minetest.register_craftitem("farming:corn", { description = S("Corn"), inventory_image = "farming_c...
lgpl-2.1
pokemoncentral/wiki-lua-modules
PokémonInfo-Regionaldex.lua
1
5593
-- Modulo da usare nel template PokémonInfo per determinare -- i dex regionali local rdex = {} -- stylua: ignore start local txt = require('Wikilib-strings') local tab = require('Wikilib-tables') local links = require('Links') local dex = require("Dex-data") local c = require("Colore-data") local sup = require("Sup-d...
cc0-1.0
LegionXI/darkstar
scripts/globals/items/zucchini.lua
12
1268
----------------------------------------- -- ID: 5726 -- Item: Zucchini -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -3 -- Defense -1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCh...
gpl-3.0
greasydeal/darkstar
scripts/zones/Upper_Jeuno/npcs/Paya-Sabya.lua
19
1333
----------------------------------- -- Area: Upper Jeuno -- NPC: Paya-Sabya -- Involved in Mission: Magicite -- @zone 244 -- @pos 9 1 70 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); re...
gpl-3.0
greasydeal/darkstar
scripts/zones/Apollyon/mobs/Thunder_Elemental.lua
119
2423
----------------------------------- -- Area: Apollyon SW -- NPC: elemental ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); --------------------------...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/serving_of_salmon_meuniere.lua
35
1404
----------------------------------------- -- ID: 4583 -- Item: serving_of_salmon_meuniere -- Food Effect: 180Min, All Races ----------------------------------------- -- Dexterity 2 -- Mind -2 -- Ranged ACC % 7 -- Ranged ACC Cap 10 ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
LegionXI/darkstar
scripts/globals/items/dish_of_homemade_carbonara.lua
12
1870
----------------------------------------- -- ID: 5706 -- Item: dish_of_homemade_carbonara -- Food Effect: 30Min, All Races ----------------------------------------- -- CHR +1 -- Accuracy +12% (cap 80) -- Attack +10% (cap 40) -- Ranged Accuracy +12% (cap 80) -- Ranged Attack +10% (cap 40) -------------------------------...
gpl-3.0
greasydeal/darkstar
scripts/zones/Bostaunieux_Oubliette/npcs/Grounds_Tome.lua
34
1160
----------------------------------- -- Area: Bostaunieux Oubliette -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function o...
gpl-3.0
LegionXI/darkstar
scripts/zones/Beadeaux/npcs/The_Mute.lua
14
1296
----------------------------------- -- Area: Beadeaux -- NPC: ??? -- @pos -166.230 -1 -73.685 147 ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Beadeaux/TextIDs"); require("scripts/globals/quests"); require("scrip...
gpl-3.0
greasydeal/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Sahnn_Dhansett.lua
38
1054
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Sahnn Dhansett -- Type: Standard NPC -- @zone: 94 -- @pos 112.820 -3.122 47.857 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ...
gpl-3.0
greasydeal/darkstar
scripts/globals/abilities/pets/burning_strike.lua
25
1274
--------------------------------------------------- -- Burning Strike M = 6? --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/summon"); require("scripts/globals/magic"); require("scripts/globals/monstertpmoves")...
gpl-3.0
HeavenIsLost/ChronusServer
data/actions/scripts/other/food.lua
2
4485
local FOODS = { [2362] = {5, "Crunch."}, -- carrot [2666] = {15, "Munch."}, -- meat [2667] = {12, "Munch."}, -- fish [2668] = {10, "Mmmm."}, -- salmon [2669] = {17, "Munch."}, -- northern pike [2670] = {4, "Gulp."}, -- shrimp [2671] = {30, "Chomp."}, -- ham [2672] = {60, "Chomp."}, -- dragon ham [2673] = {5, "...
gpl-2.0
rigeirani/btg
plugins/anti-flood.lua
281
2422
local NUM_MSG_MAX = 5 -- Max number of messages per TIME_CHECK seconds local TIME_CHECK = 5 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, function (data, success, result) if success ~= 1 then local text = 'I can\'t k...
gpl-2.0
icyxp/kong
spec/03-plugins/17-jwt/03-access_spec.lua
1
23088
local cjson = require "cjson" local helpers = require "spec.helpers" local fixtures = require "spec.03-plugins.17-jwt.fixtures" local jwt_encoder = require "kong.plugins.jwt.jwt_parser" local utils = require "kong.tools.utils" local PAYLOAD = { iss = nil, nbf = os.time(), iat = os.time(), exp = os.time() + 360...
apache-2.0
greasydeal/darkstar
scripts/zones/Al_Zahbi/npcs/Rughadjeen.lua
38
1030
----------------------------------- -- Area: Al Zahbi -- NPC: Rughadjeen -- Type: Skyserpent General -- @zone: 48 -- @pos -74.150 -7 70.656 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; -------------------...
gpl-3.0
LegionXI/darkstar
scripts/zones/Southern_San_dOria/npcs/Endracion.lua
9
6381
----------------------------------- -- Area: Southern San d'Oria -- NPC: Endracion -- @pos -110 1 -34 230 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Southern_San_dOria/TextIDs"); require("scripts/globa...
gpl-3.0
greasydeal/darkstar
scripts/globals/weaponskills/skullbreaker.lua
30
1486
----------------------------------- -- Skullbreaker -- Club weapon skill -- Skill level: 150 -- Lowers enemy's INT. Chance of lowering INT varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Snow Gorget & Aqua Gorget. -- Aligned with the Snow Belt & Aqua Belt. -- Element: None -- Modifiers: ST...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/plate_of_mushroom_paella.lua
36
1409
----------------------------------------- -- ID: 5970 -- Item: Plate of Mushroom Paella -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- HP 40 -- Strength -1 -- Mind 5 -- Magic Accuracy 5 -- Undead Killer 5 ----------------------------------------- require("scripts/globals/status"); -----...
gpl-3.0
bbn1234/uzzbot
plugins/danbooru.lua
616
1750
do local URL = "http://danbooru.donmai.us" local URL_NEW = "/posts.json" local URL_POP = "/explore/posts/popular.json" local scale_day = "?scale=day" local scale_week = "?scale=week" local scale_month = "?scale=month" local function get_post(url) local b, c, h = http.request(url) if c ~= 200 then return nil end ...
gpl-2.0
pleonex/telegram-bot
plugins/danbooru.lua
616
1750
do local URL = "http://danbooru.donmai.us" local URL_NEW = "/posts.json" local URL_POP = "/explore/posts/popular.json" local scale_day = "?scale=day" local scale_week = "?scale=week" local scale_month = "?scale=month" local function get_post(url) local b, c, h = http.request(url) if c ~= 200 then return nil end ...
gpl-2.0
everhopingandwaiting/telegram-bot
plugins/danbooru.lua
616
1750
do local URL = "http://danbooru.donmai.us" local URL_NEW = "/posts.json" local URL_POP = "/explore/posts/popular.json" local scale_day = "?scale=day" local scale_week = "?scale=week" local scale_month = "?scale=month" local function get_post(url) local b, c, h = http.request(url) if c ~= 200 then return nil end ...
gpl-2.0
naclander/tome
game/modules/tome/data/maps/vaults/hostel.lua
3
2066
-- 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/West_Sarutabaruta_[S]/npcs/Sealed_Entrance_2.lua
29
2250
----------------------------------- -- Area: West Sarutabaruta [S] -- NPC: Sealed Entrance (Sealed_Entrance_2) -- @pos 263.600 -6.512 40.000 95 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil; ------------------------------------- require("scripts/globals/quests...
gpl-3.0
lache/RacingKingLee
crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/TMXObjectGroup.lua
18
3248
-------------------------------- -- @module TMXObjectGroup -- @extend Ref -- @parent_module cc -------------------------------- -- Sets the offset position of child objects. <br> -- param offset The offset position of child objects. -- @function [parent=#TMXObjectGroup] setPositionOffset -- @param self -- @param #v...
mit
Igalia/snabbswitch
src/apps/lwaftr/ndp.lua
2
18478
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. -- NDP address resolution (RFC 4861) -- This app uses the neighbor discovery protocol to determine the -- Ethernet address of an IPv6 next-hop. It's a limited -- implementation; if you need to route traffic to multiple IPv6 -- next-hops o...
apache-2.0
bittorf/luci
modules/luci-mod-admin-mini/luasrc/model/cbi/mini/wifi.lua
7
11454
-- 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. -- Data init -- local fs = require "nixio.fs" local sys = require "luci.sys" local uci = require "luci.model.uci".cursor() if not uci:get("network", "wan") ...
apache-2.0
peymankhanas8487/Horror-Avatar
plugins/banhammer.lua
294
10470
local function is_user_whitelisted(id) local hash = 'whitelist:user#id'..id local white = redis:get(hash) or false return white end local function is_chat_whitelisted(id) local hash = 'whitelist:chat#id'..id local white = redis:get(hash) or false return white end local function kick_user(user_id, chat_id)...
gpl-2.0
greasydeal/darkstar
scripts/zones/Windurst_Walls/npcs/Moan-Maon.lua
38
1408
----------------------------------- -- Area: Windurst Walls -- NPC: Moan-Maon -- Type: Standard NPC -- @pos 88.244 -6.32 148.912 239 ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scr...
gpl-3.0
greasydeal/darkstar
scripts/globals/weaponskills/dark_harvest.lua
29
1229
----------------------------------- -- Dark Harvest -- Scythe weapon skill -- Skill Level: 30 -- Delivers a dark elemental attack. Damage varies with TP. -- Aligned with the Aqua Gorget. -- Aligned with the Aqua Belt. -- Element: Dark -- Modifiers: STR:20% ; INT:20% -- 100%TP 200%TP 300%TP -- 1.00 ...
gpl-3.0
naclander/tome
game/modules/tome/data/gfx/particles/megaspeed.lua
3
1409
-- 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
lbthomsen/openwrt-luci
modules/luci-compat/luasrc/model/network.lua
5
42342
-- Copyright 2009-2015 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local type, next, pairs, ipairs, loadfile, table, select = type, next, pairs, ipairs, loadfile, table, select local tonumber, tostring, math = tonumber, tostring, math local pcall, require, setmetatable ...
apache-2.0
LegionXI/darkstar
scripts/zones/Bastok_Mines/npcs/Gregory.lua
14
1045
----------------------------------- -- Area: Bastok Mines -- NPC: Gregory -- Type: ENM -- @zone 234 -- @pos 51.530 -1 -83.940 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/zones/Bastok_...
gpl-3.0
LegionXI/darkstar
scripts/zones/South_Gustaberg/npcs/qm1.lua
14
1424
----------------------------------- -- Area: South Gustaberg -- NPC: qm1 (???) -- Involved in Quest: The Cold Light of Day -- @pos 744 0 -671 107 ----------------------------------- package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/zones/South_Gustabe...
gpl-3.0
ibm2431/darkstar
scripts/zones/Port_San_dOria/npcs/Portaure.lua
9
1160
----------------------------------- -- Area: Port San d'Oria -- NPC: Portaure -- Standard Info NPC ----------------------------------- local ID = require("scripts/zones/Port_San_dOria/IDs"); require("scripts/globals/quests"); ----------------------------------- function onTrade(player,npc,trade) if (player:getQue...
gpl-3.0
greasydeal/darkstar
scripts/zones/Temenos/bcnms/Central_Temenos_Basement.lua
13
1136
----------------------------------- -- Area: Temenos -- Name: ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[C_Temenos_Base]UniqueID",GenerateLimbusKey()); HideArmouryCrates(GetInstanceRegion(1301),TEMENOS); ...
gpl-3.0
LegionXI/darkstar
scripts/zones/RaKaznar_Inner_Court/Zone.lua
33
1290
----------------------------------- -- -- Zone: Ra’Kanzar Inner Court (276) -- ----------------------------------- package.loaded["scripts/zones/RaKaznar_Inner_Court/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/RaKaznar_Inner_Court/TextIDs"); -------...
gpl-3.0
LegionXI/darkstar
scripts/zones/La_Theine_Plateau/mobs/Poison_Funguar.lua
12
1099
----------------------------------- -- Area: La Theine Plateau -- MOB: Poison Funguar ----------------------------------- require("scripts/zones/La_Theine_Plateau/MobIDs"); require("scripts/globals/fieldsofvalor"); ----------------------------------- -- onMobDeath ----------------------------------- function onMobD...
gpl-3.0
siktirmirza/supergp
plugins/Fabanhammer.lua
14
11813
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
greasydeal/darkstar
scripts/globals/spells/bluemagic/battery_charge.lua
10
1155
----------------------------------------- -- Spell: Battery Charge -- Gradually restores MP -- Spell cost: 50 MP -- Monster Type: Arcana -- Spell Type: Magical (Light) -- Blue Magic Points: 3 -- Stat Bonus: MP+10, MND+1 -- Level: 79 -- Casting Time: 5 seconds -- Recast Time: 75 seconds -- Spell Duration: 100...
gpl-3.0
ibm2431/darkstar
scripts/zones/AlTaieu/npcs/_0x2.lua
9
1738
----------------------------------- -- Area: Al'Taieu -- NPC: Rubious Crystal (West Tower) -- !pos -683.709 -6.250 -222.142 33 ----------------------------------- local ID = require("scripts/zones/AlTaieu/IDs"); require("scripts/globals/missions"); ----------------------------------- function onTrade(player,npc,trade...
gpl-3.0
LegionXI/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Travonce.lua
14
1060
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Travonce -- Type: Standard NPC -- @zone 26 -- @pos -89.068 -14.367 -0.030 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----...
gpl-3.0
creationix/nodemcu-firmware
app/cjson/tests/bench.lua
145
3247
#!/usr/bin/env lua -- This benchmark script measures wall clock time and should be -- run on an unloaded system. -- -- Your Mileage May Vary. -- -- Mark Pulford <mark@kyne.com.au> local json_module = os.getenv("JSON_MODULE") or "cjson" require "socket" local json = require(json_module) local util = require "cjson.ut...
mit
Freezerburn/ld29-engine
LuaTest/lua/log.lua
2
3783
local log = { _AUTHOR = "Vincent 'Freezerburn Vinny' Kuyatt", _EMAIL = "vincentk@unlocked-doors.com", _VERSION = "log 0.1", _DESCRIPTION = "Simple logging for Lua", _URL = "None. Maybe Github after Ludum Dare?", _LICENSE = [[ MIT LICENSE Copyright (c) ...
mit
naclander/tome
game/modules/tome/data/zones/norgos-lair/npcs.lua
3
5065
-- 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/Bastok_Mines/npcs/Sodragamm.lua
38
1086
----------------------------------- -- Area: Bastok Mines -- NPC: Sodragamm -- Type: Item Deliverer -- @zone: 234 -- @pos -24.741 -1 -64.944 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scrip...
gpl-3.0
naclander/tome
game/modules/tome/data/general/grids/water.lua
3
10885
-- 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/globals/items/pot_of_honey.lua
35
1143
----------------------------------------- -- ID: 4370 -- Item: pot_of_honey -- Food Effect: 5Min, All Races ----------------------------------------- -- Magic Regen While Healing 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIt...
gpl-3.0
naclander/tome
game/modules/tome/data/general/objects/egos/rings.lua
1
19074
-- 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/globals/abilities/pets/stone_iv.lua
20
1151
--------------------------------------------------- -- Stone 4 --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); ---------------------------------------------...
gpl-3.0
naclander/tome
game/engines/default/engine/interface/ActorTemporaryEffects.lua
1
6387
-- TE4 - T-Engine 4 -- 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 version....
gpl-3.0
ibm2431/darkstar
scripts/commands/takexp.lua
22
1123
--------------------------------------------------------------------------------------------------- -- func: takexp <amount> <player> -- desc: Removes experience points from the target player. --------------------------------------------------------------------------------------------------- cmdprops = { permissio...
gpl-3.0
Geigerkind/DPSMateTBC
DPSMate/libs/LibStub.lua
184
1367
-- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info -- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN REVI...
gpl-3.0
ibm2431/darkstar
scripts/zones/Nashmau/npcs/Fhe_Maksojha.lua
9
1768
----------------------------------- -- Area: Nashmau -- NPC: Fhe Maksojha -- Type: Standard NPC -- !pos 19.084 -7 71.287 53 ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); local ID = require("scripts/zones/Nashmau/IDs"); ----------------------------------- f...
gpl-3.0
greasydeal/darkstar
scripts/globals/spells/Vital_Etude.lua
11
1611
----------------------------------------- -- Spell: Vital Etude -- Static VIT Boost, BRD 70 ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- fun...
gpl-3.0
LegionXI/darkstar
scripts/zones/Windurst_Woods/npcs/HomePoint#1.lua
27
1278
----------------------------------- -- Area: Windurst Woods -- NPC: HomePoint#1 -- @pos -98.588 0.001 -183.416 241 ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Windurst_Woods/TextIDs"); require("scripts/g...
gpl-3.0
LegionXI/darkstar
scripts/globals/items/anthos_xiphos.lua
41
1078
----------------------------------------- -- ID: 17750 -- Item: Anthos Xiphos -- Additional Effect: Water Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -----------------------------...
gpl-3.0
greasydeal/darkstar
scripts/globals/spells/aisha_ichi.lua
11
1595
----------------------------------------- -- Spell: Aisha: Ichi ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,...
gpl-3.0
LegionXI/darkstar
scripts/globals/spells/foe_requiem_iv.lua
26
1631
----------------------------------------- -- Spell: Foe Requiem IV ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target...
gpl-3.0
LegionXI/darkstar
scripts/zones/Port_Bastok/npcs/Tete.lua
17
1303
----------------------------------- -- Area: Port Bastok -- NPC: Tete -- Continues Quest: The Wisdom Of Elders ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ------------------------------------ require("scripts/globals/settings"); require("scripts/globals/quests"); requ...
gpl-3.0
LegionXI/darkstar
scripts/zones/Selbina/npcs/Gabwaleid.lua
14
1534
----------------------------------- -- Area: Selbina -- NPC: Gabwaleid -- Involved in Quest: Riding on the Clouds -- @pos -17 -7 11 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scrip...
gpl-3.0
LegionXI/darkstar
scripts/globals/abyssea.lua
17
10151
----------------------------------- -- Abyssea functions, vars, tables -- DO NOT mess with the order -- or change things to "elseif"! ----------------------------------- require("scripts/globals/keyitems"); -- weaponskills for red weakness local red_weakness = { --light 37, 161, 149, 180, --dark 22, 1...
gpl-3.0
LegionXI/darkstar
scripts/globals/mobskills/Sweeping_Flail.lua
39
1067
--------------------------------------------------- -- Sweeping Flail -- Family: Bahamut -- Description: Spins around to deal physical damage to enemies behind user. Additional effect: Knockback -- Type: Physical -- Utsusemi/Blink absorb: 2-3 shadows -- Range: 20' cone -- Notes: Used when someone pulls hate from...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/tiny_goldfish.lua
17
1322
----------------------------------------- -- ID: 4310 -- Item: tiny_goldfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
LegionXI/darkstar
scripts/zones/Abyssea-Misareaux/npcs/qm13.lua
14
1548
----------------------------------- -- Zone: Abyssea-Misareaux -- NPC: qm13 (???) -- Spawns Cirein-Croin -- @pos ? ? ? 216 ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); ----------------------------------- -- onTrigger Action -------------------------------...
gpl-3.0
LegionXI/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Thierride.lua
14
3302
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Thierride -- @zone 80 -- @pos -124 -2 14 ----------------------------------- require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("scripts/globals/quests"); ----------------------------------- -- Item 1019 = Lufet Salt -- Had to u...
gpl-3.0
ricker75/Global-Server
data/npc/scripts/Imbul.lua
2
2004
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
SIfoxDevTeam/wireshark
test/lua/pcre_sets.lua
35
6911
-- See Copyright Notice in the file lrexlib.h local luatest = require "luatest" local N = luatest.NT local function norm(a) return a==nil and N or a end local function fill (n, m) local t = {} for i = n, m, -1 do table.insert (t, i) end return t end local function set_named_subpatterns (lib, flg) return { ...
gpl-2.0
LegionXI/darkstar
scripts/zones/Western_Adoulin/npcs/Marjoirelle.lua
14
1308
----------------------------------- -- Area: Western Adoulin -- NPC: Majoirelle -- Type: Standard NPC and Quest NPC -- Involved With Quest: 'Order Up' -- @zone 256 -- @pos 127 4 -81 ----------------------------------- require("scripts/globals/quests"); ----------------------------------- -- onTrade Action -------...
gpl-3.0
ibm2431/darkstar
scripts/zones/West_Sarutabaruta_[S]/IDs.lua
9
1556
----------------------------------- -- Area: West_Sarutabaruta_[S] ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.WEST_SARUTABARUTA_S] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <...
gpl-3.0
greasydeal/darkstar
scripts/zones/Dynamis-Bastok/npcs/qm1.lua
19
1256
----------------------------------- -- Area: Dynamis Bastok -- NPC: qm1 (???) -- Notes: Spawns when Megaboss is defeated ----------------------------------- package.loaded["scripts/zones/Dynamis-Bastok/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/D...
gpl-3.0
ibm2431/darkstar
scripts/zones/Apollyon/mobs/Dark_Elemental.lua
9
2103
----------------------------------- -- Area: Apollyon SW -- Mob: Dark Elemental ----------------------------------- require("scripts/globals/limbus"); ----------------------------------- function onMobDeath(mob, player, isKiller) end; function onMobDespawn(mob) local mobID = mob:getID(); print(mobID); local m...
gpl-3.0
moteus/lua-spylog
src/config/filters/rdp-nxlog.lua
1
1364
-- When use NTLM auth event 4625 has no IP address -- so we should use different event but this event can not -- be forwarded by SNMP so we have to use some external tool. -- -- Forward eventlogs using nxlog (http://nxlog.co) -- -- <Input eventlog> -- Module im_msvistalog -- SavePos TRUE -- ReadFromLa...
mit
greasydeal/darkstar
scripts/globals/items/dish_of_spaghetti_nero_di_seppia_+1.lua
36
1731
----------------------------------------- -- ID: 5202 -- Item: Dish of Spaghetti Nero Di Seppia +1 -- Food Effect: 60 Mins, All Races ----------------------------------------- -- HP % 17 (cap 140) -- Dexterity 3 -- Vitality 2 -- Agility -1 -- Mind -2 -- Charisma -1 -- Double Attack 1 -- Store TP 6 ---------------------...
gpl-3.0
Igalia/snabbswitch
lib/pflua/src/pf/selection.lua
11
18901
-- This module implements an "instruction selection" pass over the -- SSA IR and produces pseudo-instructions for register allocation -- and code generation. -- -- This uses a greed matching algorithm over the tree. -- -- This generates an array of pseudo-instructions like this: -- -- { { "load", "r1", 12, 2 } } -- ...
apache-2.0
pokemoncentral/wiki-lua-modules
EffTipi-6.lua
1
8351
-- Calcolo efficacia tipi, ad uso esclusivamente interno local et = {} local tab = require('Wikilib-tables') --[[ Tabella contenente i valori di efficacia. Il livello esterno è il tipo attaccante, il livello interno il difensore. Ad esempio, normale.fuoco è l'efficacia di un attacco di tipo normale che colpisce un ...
cc0-1.0
atheurer/MoonGen
examples/pcap/pcap-test.lua
2
2375
--! @file pcap-test.lua --! @brief This is a simple test for MoonGen's pcap import and export functionality local mg = require "dpdk" local memory = require "memory" local device = require "device" local log = require "log" local ts = require "timestamping" local pcap = require "pcap" function master(source, sin...
mit
chanko08/KillerLibrarian2
lib/tiny.lua
3
23223
--[[ Copyright (c) 2015 Calvin Rose 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, s...
mit
LegionXI/darkstar
scripts/zones/Port_Windurst/npcs/Kumama.lua
17
1712
----------------------------------- -- Area: Port Windurst -- NPC: Kumama -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs"); ----...
gpl-3.0
LegionXI/darkstar
scripts/zones/Sea_Serpent_Grotto/npcs/_4w3.lua
14
2876
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: Mythril Beastcoin Door -- @zone 176 -- @pos 40 8.6 20.012 ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scri...
gpl-3.0
greasydeal/darkstar
scripts/zones/Temenos/bcnms/Central_Temenos_4th_Floor.lua
13
1399
----------------------------------- -- Area: Temenos -- Name: ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function onBcnmRegister(player,instance) SetServerVariable("[C_Temenos_4th]UniqueID",GenerateLimbusKey()); HideArmouryCrates(GetInstanceRegion(1306),TEMENOS); ...
gpl-3.0
greasydeal/darkstar
scripts/zones/Caedarva_Mire/npcs/Nahshib.lua
12
1969
----------------------------------- -- Area: Caedarva Mire -- NPC: Nahshib -- Type: Assault -- @pos -274.334 -9.287 -64.255 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/...
gpl-3.0
LegionXI/darkstar
scripts/globals/mobskills/Crystal_Weapon.lua
37
1031
--------------------------------------------- -- Crystal Weapon -- -- Description: Invokes the power of a crystal to deal magical damage of a random element to a single target. -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown -- Notes: Can be Fire, Earth, Wind, or Water element. Funct...
gpl-3.0
LegionXI/darkstar
scripts/zones/Western_Altepa_Desert/TextIDs.lua
7
1562
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6383; -- You cannot obtain the <item>. Try trading again after sorting your inventory. ITEM_OBTAINED = 6384; ...
gpl-3.0
greasydeal/darkstar
scripts/zones/Port_Windurst/npcs/Erabu-Fumulubu.lua
53
1835
----------------------------------- -- Area: Port Windurst -- NPC: Erabu-Fumulubu -- Type: Fishing Synthesis Image Support -- @pos -178.900 -2.789 76.200 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/st...
gpl-3.0
greasydeal/darkstar
scripts/zones/Temenos/mobs/Airi.lua
17
1277
----------------------------------- -- Area: Temenos Central 1floor -- NPC: Airi ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ----------------------...
gpl-3.0
naclander/tome
game/modules/tome/data/chats/ring-of-blood-win.lua
3
1160
-- 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/Korroloka_Tunnel/MobIDs.lua
65
1094
----------------------------------- -- Area: Korroloka Tunnel (173) -- Comments: -- posX, posY, posZ -- (Taken from 'mob_spawn_points' table) ----------------------------------- -- Cargo_Crab_Colin Cargo_Crab_Colin=17485980; Cargo_Crab_Colin_PH={ [17486002] = '1', -- -30.384, 1.000, -33.277 [17486095] = '1' ...
gpl-3.0
LegionXI/darkstar
scripts/zones/Yhoator_Jungle/npcs/qm3.lua
14
1845
----------------------------------- -- Area: Davoi -- NPC: ??? (qm3) -- Involved in Quest: True will -- @pos 203 0.1 82 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/global...
gpl-3.0
naclander/tome
game/modules/tome/data/texts/message-last-hope.lua
3
2327
-- 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/Beadeaux/npcs/_43b.lua
11
1312
----------------------------------- -- Area: Beadeaux -- NPC: Jail Door -- Involved in Quests: The Rescue -- !pos 56 0.1 -23 147 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/globals/keyitems"); local ID = require("scripts/zones/Beadeaux/ID...
gpl-3.0
greasydeal/darkstar
scripts/zones/Jugner_Forest_[S]/Zone.lua
17
1510
----------------------------------- -- -- Zone: Jugner_Forest_[S] (82) -- ----------------------------------- package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Jugner_Forest_[S]/TextIDs"); -------...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/skewer_of_m&p_chicken.lua
36
1336
----------------------------------------- -- ID: 5639 -- Item: Skewer of M&P Chicken -- Food Effect: 3Min, All Races ----------------------------------------- -- Strength 5 -- Intelligence -5 -- Attack % 25 -- Attack Cap 154 ----------------------------------------- require("scripts/globals/status"); ----------------...
gpl-3.0
ibm2431/darkstar
scripts/zones/Port_San_dOria/npcs/Vounebariont.lua
11
1647
----------------------------------- -- Area: Port San d'Oria -- NPC: Vounebariont -- Starts and Finishes Quest: Thick Shells ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/quests"); local ID = require("scripts/zones/Port_San_dOria/ID...
gpl-3.0
lbthomsen/openwrt-luci
applications/luci-app-coovachilli/luasrc/model/cbi/coovachilli_network.lua
79
1459
-- 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. local sys = require"luci.sys" local ip = require "luci.ip" m = Map("coovachilli") -- tun s1 = m:section(TypedSection, "tun") s1.anonymous = true s1:option(...
apache-2.0
greasydeal/darkstar
scripts/zones/Castle_Oztroja/npcs/_47x.lua
17
1245
----------------------------------- -- Area: Castle Oztroja -- NPC: _47x (Handle) -- Notes: Opens door _477 -- @pos -99 -71 -41 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Castle_Oztroja/TextI...
gpl-3.0