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 |
|---|---|---|---|---|---|
ibm2431/darkstar | scripts/zones/Lower_Jeuno/npcs/Yoskolo.lua | 12 | 1247 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Yoskolo
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Lower_Jeuno/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
local stock =
{
... | gpl-3.0 |
ricker75/Global-Server | data/spells/scripts/attack/curse.lua | 27 | 1206 | local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_SMALLCLOUDS)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_DEATH)
local condition = createConditionObject(CONDITION_CURSED)
setConditionParam(condition,... | gpl-2.0 |
naclander/tome | game/modules/tome/data/maps/tutorial/tutorial1.lua | 3 | 4920 | -- 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/Aht_Urhgan_Whitegate/npcs/Shahau.lua | 12 | 1159 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Shahau
-- Type: Alchemy Image Support
-- !pos -10.470 -6.25 -141.700 241
-----------------------------------
local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs")
require("scripts/globals/status")
require("scripts/globals/crafting")
-----... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Abyssea-Attohwa/npcs/qm4.lua | 9 | 1341 | -----------------------------------
-- Zone: Abyssea-Attohwa
-- NPC: qm4 (???)
-- Spawns Kharon
-- @pos ? ? ? 215
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
--[[
... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/weaponskills/knights_of_round.lua | 10 | 1784 | -----------------------------------
-- Knights Of Round
-- Sword Weapon Skill
-- Skill Level: N/A
-- Caliburn/Excalibur: Additional Effect: Regen.
-- Regen 10HP/Tick, duration varies with TP.
-- Available only when equipped with the Relic Weapons Caliburn (Dynamis use only) or Excalibur.
-- Also available without after... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Temple_of_Uggalepih/IDs.lua | 9 | 4614 | -----------------------------------
-- Area: Temple_of_Uggalepih
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.TEMPLE_OF_UGGALEPIH] =
{
text =
{
NOTHING_HAPPENS = 119, -- Nothing happens...
... | gpl-3.0 |
naclander/tome | game/modules/example_realtime/class/Actor.lua | 3 | 8501 | -- ToME - Tales of Middle-Earth
-- 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 la... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Port_Jeuno/npcs/Challoux.lua | 17 | 1132 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Challoux
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade A... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/felicifruit.lua | 36 | 1158 | -----------------------------------------
-- ID: 5964
-- Item: Felicifruit
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -7
-- Intelligence 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Temenos/mobs/Goblin_Slaughterman.lua | 23 | 1065 | -----------------------------------
-- Area: Temenos N T
-- NPC: Goblin_Slaughterman
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Port_San_dOria/npcs/_6g7.lua | 20 | 1144 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Door: Arrivals Entrance
-- @zone 232
-- @pos -24 -8 15
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Port_Windurst/npcs/Sattsuh_Ahkanpari.lua | 17 | 1565 | -----------------------------------
-- Area: Port Windurst
-- NPC: Sattsuh Ahkanpari
-- Regional Marchant NPC
-- Only sells when Windurst controlls Elshimo Uplands
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loa... | gpl-3.0 |
naclander/tome | game/modules/tome/data/texts/tutorial/stats-calc/calc5.lua | 3 | 1092 | -- 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 |
naclander/tome | game/modules/tome/data/chats/arena-start.lua | 3 | 6688 | -- 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/Aht_Urhgan_Whitegate/npcs/Isdebaaq.lua | 11 | 2577 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Isdebaaq
-- Type: Assault Mission Giver
-- !pos 127.565 0.161 -43.846 50
-----------------------------------
require("scripts/globals/keyitems")
local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs")
require("scripts/globals/besieged")
req... | gpl-3.0 |
aginor/wesnoth | data/ai/micro_ais/cas/ca_fast_combat.lua | 6 | 5874 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local FAU = wesnoth.require "ai/micro_ais/cas/ca_fast_attack_utils.lua"
local LS = wesnoth.require "lua/location_set.lua"
local ca_fast_combat = {}
function ca_fast_combat:evaluation(ai, cfg, self)
self.data.move_cache = ... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Metalworks/npcs/Hugues.lua | 24 | 1864 | -----------------------------------
-- Area: Metalworks
-- NPC: Hugues
-- Type: Smithing Synthesis Image Support
-- @pos -106.336 2.000 26.117 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status"... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/serving_of_royal_jelly.lua | 12 | 1140 | -----------------------------------------
-- ID: 4508
-- Item: Serving of Royal Jelly
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- MP Recovery while healing 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
icyxp/kong | kong/plugins/ldap-auth/asn1.lua | 6 | 8467 | require "lua_pack"
local bpack = string.pack
local bunpack = string.unpack
local math = math
local bit = bit
local setmetatable = setmetatable
local table = table
local string_reverse = string.reverse
local string_char = string.char
local _M = {}
_M.BERCLASS = {
Universal = 0,
Application = 64,
ContextSpecific... | apache-2.0 |
ibm2431/darkstar | scripts/globals/items/galette_des_rois.lua | 11 | 1198 | -----------------------------------------
-- ID: 5875
-- Item: Galette Des Rois
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- HP +8
-- MP +3% (cap13)
-- Intelligence +2
-- Random Jewel
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/... | gpl-3.0 |
ibm2431/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 |
greasydeal/darkstar | scripts/zones/Nashmau/npcs/Yohj_Dukonlhy.lua | 24 | 1449 | -----------------------------------
-- Area: Nashmau
-- NPC: Yohj Dukonlhy
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
-----------------------------------
-- onT... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Port_Windurst/npcs/Panja-Nanja.lua | 12 | 1374 | -----------------------------------
-- Area: Port Windurst
-- NPC: Panja-Nanja
-- Type: Fishing Adv. Image Support
-- !pos -194.499 -3 58.692 240
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/crafting");
local ID = require("scripts/zones/Port_Windurst/IDs");
----------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Ifrits_Cauldron/npcs/qm1.lua | 14 | 1346 | -----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: qm1 (???)
-- Notes: Used to spawn Tarasque
-- @pos 126 18 166 0
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Ifrits_Cauldron/TextIDs")... | gpl-3.0 |
ricker75/Global-Server | data/npc/scripts/Morgan.lua | 2 | 4683 | 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) ... | gpl-2.0 |
mhmjhamyargroup44233/hamyargroup63635567 | plugins/img_google.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 |
ibm2431/darkstar | scripts/zones/The_Shrine_of_RuAvitau/Zone.lua | 9 | 4797 | -----------------------------------
--
-- Zone: The_Shrine_of_RuAvitau (178)
--
-----------------------------------
local ID = require("scripts/zones/The_Shrine_of_RuAvitau/IDs");
require("scripts/globals/conquest");
require("scripts/globals/settings");
require("scripts/globals/missions");
require("scripts/globals/keyi... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/hypno_staff.lua | 12 | 1059 | -----------------------------------------
-- ID: 17117
-- Item: Hypno Staff
-- Additional Effect: Sleep
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
function onAdditionalEffect(player,targ... | gpl-3.0 |
aginor/wesnoth | data/ai/micro_ais/cas/ca_healer_move.lua | 26 | 5637 | local H = wesnoth.require "lua/helper.lua"
local LS = wesnoth.require "lua/location_set.lua"
local AH = wesnoth.require "ai/lua/ai_helper.lua"
local BC = wesnoth.require "ai/lua/battle_calcs.lua"
local ca_healer_move = {}
function ca_healer_move:evaluation(ai, cfg, self)
-- Should happen with higher priority than... | gpl-2.0 |
LegionXI/darkstar | scripts/zones/Xarcabard/Zone.lua | 11 | 2954 | -----------------------------------
--
-- Zone: Xarcabard (112)
--
-----------------------------------
package.loaded[ "scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Xarcabard/TextIDs");
require("scripts/globals/icanheararainbow");
require("scripts/globals/keyitems... | gpl-3.0 |
peymankhanas8487/Horror-Avatar | plugins/domaintools.lua | 359 | 1494 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function check(name)
local api = "https://domainsearch.p.mashape.com/index.php?"... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Wazyih.lua | 34 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Wazyih
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
Igalia/snabbswitch | lib/ljsyscall/syscall/libc.lua | 24 | 2992 | -- things that are libc only, not syscalls
-- this file will not be included if not running with libc eg for rump
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs,... | apache-2.0 |
pokemoncentral/wiki-lua-modules | Learnlist-entry8.lua | 1 | 6982 | --[[
Learnlist entries for 8th gen.
Below are described parameters of each kind of entry.
NOTE: STAB is autocomputed if empty. If you want to force an empty value (eg.
because autocompting is wrong) you should use the special value "no". To
autocompute the stab the Pokémon name is taken as ROOTPAGENAME, so outside of... | cc0-1.0 |
LegionXI/darkstar | scripts/globals/effects/aftermath.lua | 30 | 2749 | -----------------------------------
--
-- EFFECT_AFTERMATH
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
local power = effect:getPower();
if (effect:g... | gpl-3.0 |
rigeirani/btg | plugins/webshot.lua | 919 | 1473 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
greasydeal/darkstar | scripts/zones/Caedarva_Mire/npcs/Jazaraat_s_Headstone.lua | 4 | 1889 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Jazaraat's Headstone
-- Involved in mission: The Lost Kingdom (TOAUM 13)
-- @pos -389 6 -570 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
require("scripts/zones/Caedarva_Mire/TextIDs");
--------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Temenos/mobs/Fire_Elemental.lua | 28 | 1740 | -----------------------------------
-- Area: Temenos E T
-- NPC: Fire_Elemental
-----------------------------------
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/lore/iron-throne.lua | 1 | 12097 | -- 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 |
everhopingandwaiting/telegram-bot | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
fegimanam/sa | plugins/time.lua | 771 | 2865 | -- Implement a command !time [area] which uses
-- 2 Google APIs to get the desired result:
-- 1. Geocoding to get from area to a lat/long pair
-- 2. Timezone to get the local time in that lat/long location
-- Globals
-- If you have a google api key for the geocoding/timezone api
api_key = nil
base_api = "https://m... | gpl-2.0 |
LegionXI/darkstar | scripts/zones/RuLude_Gardens/npcs/Rainhard.lua | 14 | 1050 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Rainhard
-- Type: Standard NPC
-- @zone 243
-- @pos -2.397 -5.999 68.749
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
--------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Davoi/npcs/Bernal.lua | 14 | 1152 | -----------------------------------
-- Area: Davoi
-- NPC: Bernal
-- @pos 177 -3 -127 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/zones/Davoi/... | gpl-3.0 |
raymond-w-ko/moonscheme | tests/run_tests.lua | 1 | 2924 | package.path = './?.lua;./?/init.lua'
require('tests.strict')
local util = require('moonscheme.util')
local moonscheme = require('moonscheme')
local InputStringPort = moonscheme.InputStringPort
local OutputStringPort = moonscheme.OutputStringPort
local port = InputStringPort.new('')
assert(port:read_char() == moonsch... | mit |
greasydeal/darkstar | scripts/globals/items/demonic_sword.lua | 16 | 1039 | -----------------------------------------
-- ID: 16936
-- Item: Demonic Sword
-- Additional Effect: Darkness Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
--------------------------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Bastok_Mines/npcs/Echo_Hawk.lua | 14 | 1624 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Echo Hawk
-- Standard Info NPC
-- Involved in Quest: The Siren's Tear
-- @pos -0.965 5.999 -15.567 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
Wargus/wargus | scripts/lib/classes.lua | 2 | 1087 | function class(base, init)
local c = {} -- a new class instance
if not init and type(base) == 'function' then
init = base
base = nil
elseif type(base) == 'table' then
-- our new class is a shallow copy of the base class!
for i,v in pairs(base) do
c[i] = v
end
c._ba... | gpl-2.0 |
LegionXI/darkstar | scripts/globals/items/roast_carp.lua | 12 | 1370 | -----------------------------------------
-- ID: 4537
-- Item: roast_carp
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 1
-- Mind -1
-- Ranged ATT % 14 (cap 40)
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Horlais_Peak/npcs/Hot_springs.lua | 17 | 1948 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Hot Springs
-- @Zone: 139
-- @pos 444 -37 -18
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globa... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Bastok_Markets/npcs/Pavel.lua | 9 | 1198 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Pavel
-- Involved in Quest: Stamp Hunt
-- !pos -349.798 -10.002 -181.296 235
-----------------------------------
require("scripts/globals/quests");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigger(player... | gpl-3.0 |
Wargus/wargus | scripts/missiles.lua | 1 | 10667 | -- _________ __ __
-- / _____// |_____________ _/ |______ ____ __ __ ______
-- \_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
-- / \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
-- /_______ /|__| |__| (____ /__| (____ /\___ /|____//... | gpl-2.0 |
pleonex/telegram-bot | plugins/rae.lua | 616 | 1312 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connection"
end
dulcinea = json:decode(b)
... | gpl-2.0 |
ibm2431/darkstar | scripts/zones/Vunkerl_Inlet_[S]/npcs/qm7.lua | 9 | 1940 | -----------------------------------
-- Area: Vunkerl Inlet (S) (H-6)
-- NPC: ???
-- Involved in Quests
-- !pos -26 -31 364
-----------------------------------
local ID = require("scripts/zones/Vunkerl_Inlet_[S]/IDs");
require("scripts/globals/quests");
-----------------------------------
function onTrade(player,npc,t... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Sorrowful_Sage.lua | 14 | 2481 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Sorrowful Sage
-- Type: Assault Mission Giver
-- @pos 134.096 0.161 -30.401 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Apollyon/mobs/Thunder_Elemental.lua | 9 | 2119 | -----------------------------------
-- Area: Apollyon SW
-- Mob: Thunder Elemental
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
function onMobDeath(mob, player, isKiller)
end;
function onMobDespawn(mob)
local mobID = mob:getID();
-- print(mobID);
... | gpl-3.0 |
GENRALVS/GENRAL-VS | data/config.lua | 1 | 1612 | do local _ = {
about_text = "Welcome to DevPoint For more information Subscribe to the channel @DevPointTeam",
enabled_plugins = {
"admin",
"onservice",
"inrealm",
"ingroup",
"inpm",
"banhammer",
"stats",
"anti_spam",
"owners",
"arabic_lock",
"set",
"get",
"broadc... | gpl-2.0 |
gwlim/luci | contrib/luadoc/lua/luadoc/taglet/standard/tags.lua | 93 | 5221 | -------------------------------------------------------------------------------
-- Handlers for several tags
-- @release $Id: tags.lua,v 1.8 2007/09/05 12:39:09 tomas Exp $
-------------------------------------------------------------------------------
local luadoc = require "luadoc"
local util = require "luadoc.util"... | apache-2.0 |
ashkanpj/sajad | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
Igalia/snabbswitch | src/lib/lpm/lpm4_poptrie.lua | 9 | 6227 | module(..., package.seeall)
local ffi = require("ffi")
local C = ffi.C
local bit = require("bit")
local lpm4_trie = require("lib.lpm.lpm4_trie").LPM4_trie
local bor, band, lshift, rshift, bnot = bit.bor, bit.band, bit.lshift, bit.rshift, bit.bnot
local tohex = bit.tohex
local ip4 = require("lib.lpm.ip4")
local masked ... | apache-2.0 |
naclander/tome | game/modules/tome/data/rooms/forest_clearing.lua | 3 | 3897 | -- 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/Castle_Oztroja/npcs/_47j.lua | 14 | 1628 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47j (Torch Stand)
-- Notes: Opens door _472 near password #1
-- @pos -62.533 -1.859 -30.634 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
lache/RacingKingLee | crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ParticleSpiral.lua | 11 | 1380 |
--------------------------------
-- @module ParticleSpiral
-- @extend ParticleSystemQuad
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ParticleSpiral] init
-- @param self
-- @return bool#bool ret (return value: bool)
--------------------------------
--
-- @function [parent... | mit |
naclander/tome | game/modules/tome/data/gfx/particles/earth_beam.lua | 3 | 1915 | -- 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 |
mohammad25253/teamstar | plugins/Location.lua | 185 | 1565 | -- Implement a command !loc [area] which uses
-- the static map API to get a location image
-- Not sure if this is the proper way
-- Intent: get_latlong is in time.lua, we need it here
-- loadfile "time.lua"
-- Globals
-- If you have a google api key for the geocoding/timezone api
do
local api_key = nil
local base_... | gpl-2.0 |
naclander/tome | game/modules/tome/data/zones/trollmire/objects.lua | 3 | 1255 | -- 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/Selbina/TextIDs.lua | 7 | 1895 | -- 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 |
ibm2431/darkstar | scripts/globals/effects/auspice.lua | 12 | 1611 | --------------------------------------
--
-- dsp.effect.AUSPICE
--
-- Power: Used for Enspell Effect
-- SubPower: Tracks Subtle Blow Bonus
-- Tier: Used for Enspell Calculation
--
--------------------------------------
function onEffectGain(target,effect)
--Auspice Reduces TP via adding to your Subtle Blow Mod
... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Port_San_dOria/npcs/Deguerendars.lua | 17 | 2163 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Deguerendars
-- Only sells when San d'Oria contrls Tavnazian Archipelago
-- Only available to those with CoP Ch. 4.1 or higher
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Castle_Oztroja/npcs/_m75.lua | 17 | 2229 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _m75 (Torch Stand)
-- Notes: Opens door _477 when _m72 to _m75 are lit
-- @pos -139.643 -72.113 -62.682 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
CuteOne/meta | meta/lists/runeforge.lua | 1 | 4561 | -- Required to access other files.
local meta = ...
-- Legendaries based on https://wow.tools/dbc/?dbc=runeforgelegendaryability
-- mapping bonus id to legendary power id
local runeforge = {}
runeforge.bonusToPowerId = {
[6823] = 2,
[6828] = 3,
[6829] = 4,
[6830] = 5,
... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/effects/magic_shield.lua | 12 | 1748 | -----------------------------------
--
-- Magic Shield BLOCKS all magic attacks
--
-----------------------------------
require("scripts/globals/status")
function onEffectGain(target,effect)
if effect:getPower() == 3 then -- arcane stomp
target:addMod(dsp.mod.FIRE_ABSORB, 100)
target:addMod(dsp.mod... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/items/sazanbaligi.lua | 11 | 1050 | -----------------------------------------
-- ID: 5459
-- Item: Sazanbaligi
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/msg")
------------------------------------... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Valkurm_Dunes/Zone.lua | 6 | 4998 | -----------------------------------
--
-- Zone: Valkurm_Dunes (103)
--
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Valkurm_Dunes/TextIDs");
... | gpl-3.0 |
Disslove-bot/D.J-BOT | 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 |
ibm2431/darkstar | scripts/globals/mobskills/hydro_canon.lua | 11 | 1388 | ---------------------------------------------------
-- Hydro_Canon
-- Description:
-- Type: Magical
-- additional effect : 40hp/tick Poison
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
-----------... | gpl-3.0 |
LegionXI/darkstar | scripts/zones/Kazham/npcs/Thali_Mhobrum.lua | 15 | 1659 | -----------------------------------
-- Area: Kazham
-- NPC: Thali Mhobrum
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
local path = {
55.816410, -11.000000, -43.992680,
54.761787, -11.000000, -44.046181,
51.8058... | gpl-3.0 |
naclander/tome | game/modules/tome/data/gfx/particles/bolt_acid.lua | 3 | 1650 | -- 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/HomePoint#1.lua | 27 | 1255 | -----------------------------------
-- Area: Western_Adoulin
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Western_Adoulin/TextIDs");
require("scripts/globals/homepoint");
--... | gpl-3.0 |
naclander/tome | game/modules/example/load.lua | 3 | 2608 | -- ToME - Tales of Middle-Earth
-- 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 la... | gpl-3.0 |
greasydeal/darkstar | scripts/globals/items/serving_of_leadafry.lua | 35 | 1203 | -----------------------------------------
-- ID: 5161
-- Item: serving_of_leadafry
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Agility 5
-- Vitality 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
DarkRedemption/GUnit | lua/gunit/main/generators/sv_fakeplayer.lua | 1 | 3257 | --[[
Creates a fake player class. Generally for database testing purposes.
Currently only makes fake SteamIds since that's the way you tend to look them up in a database,
as well as generating player roles for TTT.
Features and configurations to be added as requested/personally needed.
]]
local fakePlayer = {}
fakePla... | mit |
ibm2431/darkstar | scripts/globals/weaponskills/burning_blade.lua | 10 | 1308 | -----------------------------------
-- Burning Blade
-- Sword weapon skill
-- Skill Level: 30
-- Desription: Deals Fire elemental damage to enemy. Damage varies with TP.
-- Aligned with the Flame Gorget.
-- Aligned with the Flame Belt.
-- Element: Fire
-- Modifiers: STR:20% INT:20%
-- 100%TP 200%TP 300%TP
-- 1.0... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/angler_stewpot.lua | 12 | 1879 | -----------------------------------------
-- ID: 5611
-- Item: Angler's Stewpot
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10% (cap 200)
-- MP +10
-- HP Recoverd while healing 5
-- MP Recovered while healing 1
-- Accuracy +15% Cap 15
-- Ranged Accuracy 15% Ca... | gpl-3.0 |
bittorf/luci | protocols/luci-proto-qmi/luasrc/model/cbi/admin_network/proto_qmi.lua | 17 | 1270 | -- Copyright 2016 David Thornley <david.thornley@touchstargroup.com>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local device, apn, pincode, username, password
local auth, ipv6
device = section:taboption("general", Value, "device", translate("Modem device"))
device.rmempty ... | apache-2.0 |
LegionXI/darkstar | scripts/zones/Sacrarium/npcs/Treasure_Chest.lua | 17 | 2934 | -----------------------------------
-- Area: Sacrarium
-- NPC: Treasure Chest
-- @zone 28
-----------------------------------
package.loaded["scripts/zones/Sacrarium/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
require("scripts/zones/Sa... | gpl-3.0 |
atheurer/MoonGen | lua/include/proto/ah.lua | 5 | 8699 | ------------------------------------------------------------------------
--- @file ah.lua
--- @brief AH utility.
--- Utility functions for the ah_header structs
--- defined in \ref headers.lua . \n
--- Includes:
--- - AH constants
--- - IPsec ICV
--- - AH header utility
--- - Definition of AH packets
-----------------... | mit |
lbthomsen/openwrt-luci | applications/luci-app-dockerman/luasrc/model/cbi/dockerman/images.lua | 3 | 7928 | --[[
LuCI - Lua Configuration Interface
Copyright 2019 lisaac <https://github.com/lisaac/luci-app-dockerman>
]]--
local docker = require "luci.model.docker"
local dk = docker.new()
local containers, images, res
local m, s, o
res = dk.images:list()
if res.code < 300 then
images = res.body
else
return
end
res = dk.... | apache-2.0 |
greasydeal/darkstar | scripts/zones/Oldton_Movalpolos/Zone.lua | 13 | 2426 | -----------------------------------
--
-- Zone: Oldton_Movalpolos (11)
--
-----------------------------------
package.loaded["scripts/zones/Oldton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/conquest");
require("scripts/zones/O... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Temenos/npcs/Matter_Diffusion_Module.lua | 19 | 6043 | -----------------------------------
-- Area: temenos
-- NPC: Matter diffusion module
-- @pos
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
require("scripts/zones/Te... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Newton_Movalpolos/IDs.lua | 11 | 1844 | -----------------------------------
-- Area: Newton_Movalpolos
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.NEWTON_MOVALPOLOS] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Com... | gpl-3.0 |
LegionXI/darkstar | scripts/globals/items/jar_of_ground_wasabi.lua | 12 | 1589 | -----------------------------------------
-- ID: 5164
-- Item: jar_of_ground_wasabi
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -1
-- Dexterity -1
-- Agility -1
-- Vitality -1
-- Intelligence -1
-- Mind -1
-- Charisma -1
-----------------------------------------
require("scrip... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Saluhwa.lua | 34 | 1475 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Saluhwa
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Aht_Urh... | gpl-3.0 |
ibm2431/darkstar | scripts/zones/Inner_Horutoto_Ruins/IDs.lua | 9 | 2622 | -----------------------------------
-- Area: Inner Horutoto Ruins (192)
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.INNER_HORUTOTO_RUINS] =
{
text =
{
PORTAL_SEALED_BY_3_MAGIC = 8, -- The Sealed Portal ... | gpl-3.0 |
ibm2431/darkstar | scripts/globals/spells/aisha_ichi.lua | 12 | 1837 | -----------------------------------------
-- Spell: Aisha: Ichi
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
end
funct... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/Castle_Oztroja/mobs/Tzee_Xicu_the_Manifest.lua | 27 | 1224 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Tzee Xicu the Manifest
-----------------------------------
require("scripts/globals/titles");
require("scripts/zones/Castle_Oztroja/TextIDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
... | gpl-3.0 |
greasydeal/darkstar | scripts/zones/QuBia_Arena/npcs/Burning_Circle.lua | 12 | 2528 | -----------------------------------
-- Area: Qu'Bia Arena
-- NPC: Burning Circle
-- @pos -221 -24 19 206
-------------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missions");... | gpl-3.0 |
icyxp/kong | kong/plugins/datadog/migrations/postgres.lua | 5 | 2444 | return {
{
name = "2017-06-09-160000_datadog_schema_changes",
up = function(_, _, dao)
local plugins, err = dao.plugins:find_all { name = "datadog" }
if err then
return err
end
local default_metrics = {
request_count = {
name = "request_count",
... | apache-2.0 |
Igalia/snabbswitch | lib/luajit/testsuite/test/lang/meta/newindex.lua | 6 | 1479 | do --- table 1
local t=setmetatable({}, {__newindex=function(t,k,v)
rawset(t, k, 100-v)
end})
for i=1,100 do t[i] = i end
for i=1,100 do assert(t[i] == 100-i) end
for i=1,100 do t[i] = i end
for i=1,100 do assert(t[i] == i) end
for i=1,100 do t[i] = nil end
for i=1,100 do t[i] = i end
for i=1,1... | apache-2.0 |
peymankhanas8487/Horror-Avatar | plugins/minecraft.lua | 624 | 2605 | local usage = {
"!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565",
"!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.",
}
local ltn12 = require "ltn12"
local function mineSearch(ip, port, receiver) --25565
local responseText = ""
l... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.