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 |
|---|---|---|---|---|---|
Vivitarut/darkstar | scripts/zones/Southern_San_dOria/npcs/Phillone.lua | 34 | 1434 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Phillone
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quest... | gpl-3.0 |
ld-test/vanilla | resty/lua-resty-shcache-0.1.0/shcache.lua | 3 | 15258 | -- Copyright (C) 2013 Matthieu Tourne
-- @author Matthieu Tourne <matthieu@cloudflare.com>
-- small overlay over shdict, smart cache load mechanism
-- TODO (rdsharma): remove this line once we have tracked down bugs
jit.off(true, true)
local _M = {}
local resty_lock = require("resty.lock")
local conf = require("con... | mit |
Gwynthell/FFDB | scripts/zones/Aht_Urhgan_Whitegate/npcs/Runic_Portal.lua | 1 | 2811 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Runic Portal
-- Aht Urhgan Teleporter to Other Areas
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/besieged");
require("scrip... | gpl-3.0 |
OldDragon2A/EmptyEpsilon | scripts/factionInfo.lua | 2 | 7034 | neutral = FactionInfo():setName("Independent")
neutral:setGMColor(128, 128, 128)
neutral:setDescription([[Despite appearing as a faction, independents are distinguished primarily by having no strong affiliation with any faction at all. Most traders consider themselves independent, though certain voices have started to ... | gpl-2.0 |
xxdamage/xxdamagebot | plugins/comandos.lua | 1 | 1730 | local triggers = {
'^[!#/][Cc]omandos'
}
local action = function(msg, blocks, ln)
api.sendReply(msg, '*Comandos basicos de admin*\n\n🔨 *Comandos de Ban y Kick*\n\n/ban- expulsa al miembro permanentemente\n/kick- expulsa con opcion a volver\n/unban- quita el ban a ese user\n\n_Los comandos de ban, usarlos pre... | gpl-2.0 |
bamdadsepehr/khar | plugins/lock_eng.lua | 4 | 1305 |
antienglish = {}-- An empty table for solving multiple kicking problem
do
local function run(msg, matches)
if msg.to.type == 'chat' then
if is_momod(msg) then -- Ignore mods,owner,admins
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)]['settings']['lock_english'] the... | gpl-2.0 |
mandla99/the_king1 | data/config.lua | 1 | 8016 | do local _ = {
about_text = "Teleseed v4\nAn advanced administration bot based on TG-CLI written in Lua\n\nhttps://github.com/SEEDTEAM/TeleSeed\n\nAdmins\n@iwals [Founder]\n@imandaneshi [Developer]\n@POTUS [Developer]\n@seyedan25 [Manager]\n@aRandomStranger [Admin]\n\nSpecial thanks to\nawkward_potato\nSiyanew\ntopke... | gpl-2.0 |
UPenn-RoboCup/UPennalizers | Player/Config/Camera/Config_NaoV4_Camera_Buckman_USOpen2016_Apr21_5pm.lua | 1 | 1699 | module(..., package.seeall);
require('vector')
-- Camera Parameters
camera = {};
camera.ncamera = 2;
camera.device = {'/dev/video0', '/dev/video1'}
camera.switchFreq = 5;
camera.x_center = 320;
camera.y_center = 240;
camera.width = {640, 320};
camera.height = {480, 240};
camera.focal_length = 545.6; -- in pixels
c... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Xarcabard/npcs/qm1.lua | 9 | 1407 | -----------------------------------
-- Area: Xarcabard
-- NPC: qm1 (???)
-- Involved in Quests: The Three Magi (for Boreal Hound)
-- @pos -331 -29 -49 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/bowl_of_emerald_soup.lua | 35 | 1393 | -----------------------------------------
-- ID: 4327
-- Item: Bowl of Emerald Soup
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Agility 2
-- Vitality -1
-- Health Regen While Healing 3
-- Ranged ACC 6
-----------------------------------------
require("scripts/globals/statu... | gpl-3.0 |
sammyt291/wire | lua/entities/gmod_wire_egp/lib/objects/wedge.lua | 6 | 1924 | -- Author: Divran
local Obj = EGP:NewObject( "Wedge" )
Obj.angle = 0
Obj.size = 45
Obj.fidelity = 180
local rad, cos, sin = math.rad, math.cos, math.sin
Obj.Draw = function( self )
if self.a>0 and self.w > 0 and self.h > 0 and self.size ~= 360 then
if EGP:CacheNeedsUpdate(self, {"x", "y", "w", "h", "angle", "fidelit... | apache-2.0 |
rpufky/trafficserver | plugins/experimental/ts_lua/example/test_post.lua | 17 | 1483 | -- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); y... | apache-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Mhaura/npcs/Phoochuchu.lua | 19 | 1441 | -----------------------------------
-- Area: Mhaura
-- NPC: Phoochuchu
-- Involved in Quest: A Thief in Norg!?
-- @pos -4 -4 69 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Mh... | gpl-3.0 |
zogot/sipml5 | asterisk/etc/extensions.lua | 317 | 5827 |
CONSOLE = "Console/dsp" -- Console interface for demo
--CONSOLE = "DAHDI/1"
--CONSOLE = "Phone/phone0"
IAXINFO = "guest" -- IAXtel username/password
--IAXINFO = "myuser:mypass"
TRUNK = "DAHDI/G2"
TRUNKMSD = 1
-- TRUNK = "IAX2/user:pass@provider"
--
-- Extensions are expected to be defined in a global table ... | bsd-3-clause |
Vivitarut/darkstar | scripts/globals/weaponskills/mistral_axe.lua | 6 | 1425 | -----------------------------------
-- Mistral Axe
-- Axe weapon skill
-- Skill level: 225 (Beastmasters and Warriors only.)
-- Delivers a single-hit ranged attack at a maximum distance of 15.7'. Damage varies with TP.
-- Despite being able to be used from a distance it is considered a melee attack and can be... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/abilities/curing_waltz_iii.lua | 1 | 1211 | -----------------------------------
-- Ability: Curing Waltz III
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(player,target,ability)
if (tar... | gpl-3.0 |
stanlee321/CBEffects | gadgets/retroizer.lua | 2 | 2474 | --------------------------------------------------------------------------------
--[[
Gadget: Retroizer
Collects a vent data table and converts it into 8-bit retro style.
Usage:
---------------
local CBE = require("CBE.Library")
local retroizer = require("retroizer")
local myVentParams = { -- Vent parameters, not ... | mit |
norefle/arenero | src/main.lua | 1 | 1065 | local Engine = require "core"
local Queue = require "core.queue"
local boundingbox = {
left = 0, right = love.graphics.getWidth(),
top = 0, bottom = love.graphics.getHeight()
}
function love.load()
love.keyboard.setKeyRepeat(true)
Engine = Engine()
Engine:subscribe("keypress", true, "main", funct... | mit |
Vivitarut/darkstar | scripts/zones/Northern_San_dOria/npcs/Pulloie.lua | 36 | 1055 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pulloie
-- Quest NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
-----------------------------------
-- onTrade Action
----... | gpl-3.0 |
ufopleds/DengueME | src/release/Models/transmission/tme_seir_basic_model/tme_seir_basic_model_input.lua | 2 | 1898 | -- DengueME Models Library
-- @id tme_seir_basic_model
-- @name SEIR Basic Model
-- @version 1.0
-- @interpreter TerraME 2.0-RC-4
-- @example A Susceptible-Exposed-Infectious-Recovered (SEIR) basic model
-- @authors Fellipe Prado, Tiago Lima
-- @description For a description of such model, please visit http://en.wikipe... | bsd-2-clause |
Windower/Resources | resources_data/buffs.lua | 1 | 66227 | -- Automatically generated file: Buffs
return {
[0] = {id=0,en="KO",ja="戦闘不能",enl="KO'd",jal="戦闘不能"},
[1] = {id=1,en="weakness",ja="衰弱",enl="weakened",jal="衰弱"},
[2] = {id=2,en="sleep",ja="睡眠",enl="asleep",jal="睡眠"},
[3] = {id=3,en="poison",ja="毒",enl="poisoned",jal="毒"},
[4] = {id=4,en="par... | bsd-3-clause |
Gwynthell/FFDB | scripts/zones/Cape_Teriggan/Zone.lua | 1 | 1887 | -----------------------------------
--
-- Zone: Cape_Teriggan (113)
--
-----------------------------------
package.loaded[ "scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Cape_Teriggan/TextIDs");
require("scripts/globals/icanheararainbow");
require("scripts/glob... | gpl-3.0 |
BurmistrovJ/prosody-modules | mod_auth_ccert/mod_auth_ccert.lua | 32 | 2651 | -- Copyright (C) 2013 Kim Alvefur
--
-- This file is MIT/X11 licensed.
local jid_compare = require "util.jid".compare;
local jid_split = require "util.jid".prepped_split;
local new_sasl = require "util.sasl".new;
local now = os.time;
local log = module._log;
local subject_alternative_name = "2.5.29.17";
local id_on_x... | mit |
rpufky/trafficserver | lib/luajit/src/jit/dump.lua | 84 | 19509 | ----------------------------------------------------------------------------
-- LuaJIT compiler dump module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
--
-... | apache-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Chamber_of_Oracles/npcs/Shimmering_Circle.lua | 12 | 1737 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Shimmering Circle
-- @pos -220 0 12 168
-------------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globa... | gpl-3.0 |
olax/prosody-modules | mod_manifesto/mod_manifesto.lua | 32 | 6828 | -- mod_manifesto
local timer = require "util.timer";
local jid_split = require "util.jid".split;
local st = require "util.stanza";
local dm = require "util.datamanager";
local dataforms_new = require "util.dataforms".new;
local adhoc_initial = require "util.adhoc".new_initial_data_form;
local mm_reload = require "modu... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/globals/abilities/evokers_roll.lua | 11 | 2272 | -----------------------------------
-- Ability: Evoker's Roll
-- Gradually restores MP for party members within area of effect
-- Optimal Job: Summoner
-- Lucky Number: 5
-- Unlucky Number: 9
-- Level: 40
--
-- Die Roll |No SMN |With SMN
-- -------- ------- -----------
-- 1 |+1 |+2
-- ... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Shajaf.lua | 34 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Shajaf
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/serving_of_emperor_roe.lua | 35 | 1354 | -----------------------------------------
-- ID: 4275
-- Item: serving_of_emperor_roe
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 8
-- Magic 8
-- Dexterity 4
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Davoi/npcs/_45d.lua | 18 | 1498 | -----------------------------------
-- Area: Davoi
-- NPC: Wall of Banishing
-- Used In Quest: Whence Blows the Wind
-- @pos 181 0.1 -218 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
aminsa2000/nod32 | plugins/bot_manager.lua | 89 | 6427 | local function set_bot_photo(msg, success, result)
local receiver = get_receiver(msg)
if success then
local file = 'data/photos/bot.jpg'
print('File downloaded to:', result)
os.rename(result, file)
print('File moved to:', file)
set_profile_photo(file, ok_cb, false)
send_large_msg(receiver, '... | gpl-2.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/prominence_axe.lua | 16 | 1409 | -----------------------------------------
-- ID: 18220
-- Item: Prominence Axe
-- Additional Effect: Fire Damage
-- Enchantment: Enfire
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Upper_Delkfutts_Tower/npcs/HomePoint#1.lua | 12 | 1223 | -----------------------------------
-- Area: Upper Delkfutt's Tower
-- NPC: HomePoint#1
-- @pos -365 -176.5 -36 158
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Upper_Delkfutts_Tower/TextIDs");
req... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/abilities/rogues_roll.lua | 4 | 1380 | -----------------------------------
-- Ability: Choral Roll
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- OnUseAbility
-----------------------------------
function OnAbilityCheck(player,target,ability)
local effectI... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Batallia_Downs/mobs/Weeping_Willow.lua | 4 | 1212 | -----------------------------------
-- Area: Batallia Downs
-- NPC: Weeping Willow
-----------------------------------
require("scripts/globals/titles");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function OnMobSpawn(mob)
end;
-----------------------------------
--... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Gusgen_Mines/npcs/_5gf.lua | 4 | 1290 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5gf (Lever C)
-- @pos 44 -40.561 -54.199 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
--------------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/mobskills/Trinary_Tap.lua | 10 | 2015 | ---------------------------------------------------
-- Trinary Tap
-- Attempts to absorb three buffs from a single target, or otherwise steals HP.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any ... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/mobskills/Trinary_Tap.lua | 10 | 2015 | ---------------------------------------------------
-- Trinary Tap
-- Attempts to absorb three buffs from a single target, or otherwise steals HP.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores Shadows
-- Range: Melee
-- Notes: Can be any (positive) buff, including food. Will drain about 100HP if it can't take any ... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Yuhtunga_Jungle/npcs/Uphra-Kophra_WW.lua | 30 | 3061 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Uphra-Kophra, W.W.
-- Outpost Conquest Guards
-- @pos -242.487 -1 -402.772 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/mobskills/Miasma.lua | 25 | 1143 | ---------------------------------------------
-- Miasma
--
-- Description: Releases a toxic cloud on nearby targets. Additional effects: Slow + Poison + Plague
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows?
-- Range: Less than or equal to 10.0
-- Notes: Only used by Gulool Ja Ja.
--------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Cloister_of_Flames/Zone.lua | 1 | 1289 | -----------------------------------
--
-- Zone: Cloister_of_Flames (207)
--
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Cloister_of_Flames/TextIDs");
--------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Toraimarai_Canal/npcs/qm9.lua | 23 | 1404 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: ???
-- Involved In Quest: Wild Card
-- @zone 169 // not accurate
-- @pos 220 16 -50 // not accurate
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
Vivitarut/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 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Metalworks/npcs/Lutia.lua | 38 | 1034 | -----------------------------------
-- Area: Metalworks
-- NPC: Lutia
-- Type: Standard NPC
-- @zone: 237
-- @pos 24.076 -17 -33.060
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scripts/zones/M... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Misareaux_Coast/npcs/qm1.lua | 8 | 1322 | -----------------------------------
-- Area: Misareaux_Coast
-- NPC: ??? (Spawn Gration)
-- @pos 113.563 -16.302 38.912 25
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Misareaux_Coast/TextIDs");
... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Manaclipper/Zone.lua | 1 | 1220 | -----------------------------------
--
-- Zone: Manaclipper
--
-----------------------------------
package.loaded["scripts/zones/Manaclipper/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Manaclipper/TextIDs");
-----------------------------------
-- ... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Norg/TextIDs.lua | 5 | 2341 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6393; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6396; -- Obtained: <item>.
GIL_OBTAINED = 6397; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6399; -- Obtai... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Spire_of_Dem/npcs/_0j2.lua | 8 | 1251 | -----------------------------------
-- Area: Spire_of_Dem
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Dem/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Dem/TextIDs");
-------------------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Jugner_Forest/npcs/Cavernous_Maw.lua | 2 | 1399 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Cavernous Maw
-- Teleports Players to Jugner Forest [S]
-- @pos -118 -8 -518 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
cryptotoad/prosody-modules | mod_compat_muc_admin/mod_compat_muc_admin.lua | 32 | 11261 | local st = require "util.stanza";
local jid_split = require "util.jid".split;
local jid_bare = require "util.jid".bare;
local jid_prep = require "util.jid".prep;
local log = require "util.logger".init("mod_muc");
local muc_host = module:get_host();
if not hosts[muc_host].modules.muc then -- Not a MUC host
module:log(... | mit |
Joeyjohjjo/Johjjodarkfork | 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 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/sprig_of_cibol.lua | 35 | 1209 | -----------------------------------------
-- ID: 5234
-- Item: sprig_of_cibol
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
sammyt291/wire | lua/wire/gates/selection.lua | 18 | 3682 | --[[
Selection Gates
]]
GateActions("Selection")
GateActions["min"] = {
name = "Minimum (Smallest)",
inputs = { "A", "B", "C", "D", "E", "F", "G", "H" },
compact_inputs = 2,
output = function(gate, ...)
return math.min(unpack({...}))
end,
label = function(Out, ...)
local txt = "min("
for k,v in ipairs({... | apache-2.0 |
Gwynthell/FFDB | scripts/zones/Monastic_Cavern/Zone.lua | 1 | 1277 | -----------------------------------
--
-- Zone: Monastic_Cavern (150)
--
-----------------------------------
package.loaded["scripts/zones/Monastic_Cavern/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Monastic_Cavern/TextIDs");
-----------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Lower_Jeuno/npcs/Yin_Pocanakhu.lua | 19 | 1368 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Yin Pocanakhu
-- Involved in Quest: Borghertz's Hands (1st quest only)
-- @zone 245
-- @pos 35 4 -43
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Valkurm_Dunes/npcs/Prunilla_RK.lua | 8 | 2940 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Prunilla, R.K.
-- Type: Border Conquest Guards
-- @pos 908.245 -1.171 -411.504 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/items/bowl_of_pebble_soup.lua | 36 | 1103 | -----------------------------------------
-- ID: 4455
-- Item: Bowl of Pebble Soup
-- Food Effect: 3 Hr, All Races
-----------------------------------------
-- MP Recovered while healing 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Upper_Delkfutts_Tower/npcs/qm3.lua | 34 | 1069 | -----------------------------------
-- Area: Upper Delkfutt's Tower
-- NPC: ???
-- Notes: Teleports you to the 10th floor.
-- @pos 261 19 20 158
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/player.lua | 2 | 7050 | -----------------------------------
--
--
--
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/globals/shop");
require("scripts/globals/status");
require("scripts/globals... | gpl-3.0 |
jdhk94/DarkRP | gamemode/libraries/sh_cami.lua | 15 | 13591 | --[[
CAMI - Common Admin Mod Interface.
Makes admin mods intercompatible and provides an abstract privilege interface
for third party addons.
IMPORTANT: This is a draft script. It is very much WIP.
Follows the specification on this page:
https://docs.google.com/document/d/1QIRVcAgZfAYf1aBl_dNV_ewR6P25wze2KmUVzlbFgMI
... | mit |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Throne_Room/mobs/Zeid2.lua | 7 | 1635 | -----------------------------------
-- Area: Throne Room
-- NPC: Zeidpart2
-- Mission 9-2 BASTOK BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/settings");
require("scripts/globals/monstertpmoves");
------------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/spells/absorb-chr.lua | 11 | 1194 | --------------------------------------
-- Spell: Absorb-CHR
-- Steals an enemy's Charism.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
------------... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/spells/bluemagic/exuviation.lua | 1 | 1199 | -----------------------------------------
-- Spell: Exuviation
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
funct... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/The_Boyahda_Tree/npcs/Grounds_Tome.lua | 34 | 1137 | -----------------------------------
-- Area: The Boyahda Tree
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrad... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Garlaige_Citadel/npcs/qm15.lua | 2 | 1408 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm15 (???)
-- Involved in Quest: Hitting the Marquisate (THF AF3)
-- @pos 19.893 -5.500 325.767 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/East_Ronfaure_[S]/Zone.lua | 2 | 1282 | -----------------------------------
--
-- Zone: East_Ronfaure_[S] (81)
--
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/East_Ronfaure_[S]/TextIDs");
------------------... | gpl-3.0 |
shkan/telebot5 | 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 |
wizardbottttt/Unknown8765 | 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 |
PierrotLC/torch7 | FFI.lua | 69 | 6117 | local ok, ffi = pcall(require, 'ffi')
local function checkArgument(condition, fn, ud, msg, level)
local level = level or 3
if not condition then
error("bad argument #" .. ud .. " to '" .. fn .. "' (" .. msg .. ")", level)
end
end
local function checkArgumentType(expected, actual, fn, ud, level)
loca... | bsd-3-clause |
czanyou/node.lua | core/lua/http/codec.lua | 1 | 11566 | --[[
Copyright 2014-2015 The Luvit Authors. All Rights Reserved.
Copyright 2016-2020 The Node.lua Authors. All Rights Reserved.
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.apach... | apache-2.0 |
wetfish/denice | lua/remember.lua | 2 | 2336 | function remember_callback(event, origin, params)
if event == "!remember" then
--remember(params[2], origin, params[1])
remember(params[2], origin, origin)
elseif event == "!forget" then
--forget(params[2], origin, params[1])
forget(params[2], origin, origin)
end
end
register_command("remember", "remember_ca... | mit |
Joeyjohjjo/Johjjodarkfork | 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 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/spells/bluemagic/helldive.lua | 27 | 1699 | -----------------------------------------
-- Spell: Helldive
-- Damage varies with TP
-- Spell cost: 16 MP
-- Monster Type: Birds
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 2
-- Stat Bonus: CHR+1, HP+5
-- Level: 16
-- Casting Time: 0.5 seconds
-- Recast Time: 11.25 seconds
-- Skillchain Property: ... | gpl-3.0 |
crazyhamedboy/crazyboyboy | 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 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cc.lua | 34 | 1074 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cc (Gate of Ice)
-- @pos -228 0 99 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextIDs");... | gpl-3.0 |
Vivitarut/darkstar | scripts/globals/spells/bluemagic/hydro_shot.lua | 6 | 1066 | require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,target,spell)
return 0;
end;
function onSpellCast(caster,target,sp... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/piece_of_raisin_bread.lua | 3 | 1168 | -----------------------------------------
-- ID: 4546
-- Item: piece_of_raisin_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 20
-- Dexterity -1
-- Vitality 4
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/commands/delfewell.lua | 4 | 1476 | ---------------------------------------------------------------------------------------------------
-- func: @delfewell <amount> <FewellType> <player>
-- auth: Forgottenandlost
-- desc: Removes specified amount and type of Synergy Fewell from player
-- 0 = Fire, 1 = Ice, 2 = Wind, 3 = Earth,
-- 4 = Lig... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Horlais_Peak/bcnms/dropping_like_flies.lua | 6 | 1703 | -----------------------------------
-- Area: Horlias peak
-- Name: Dropping Like Flies
-- BCNM30
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Horlais_Peak/TextIDs");
-----------------------------------
-- EXA... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/serving_of_flounder_meuniere_+1.lua | 3 | 1533 | -----------------------------------------
-- ID: 4345
-- Item: serving_of_flounder_meuniere_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity 6
-- Vitality 1
-- Mind -1
-- Ranged ACC 15
-- Ranged ATT % 14
-- Ranged ATT Cap 30
-- Enmity -3
---------------------------------------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/spells/bluemagic/diamondhide.lua | 6 | 1153 | -----------------------------------------
-- Spell: Diamondhide
-- Gives party members within area of effect the effect of "Stoneskin"
-- Spell cost: 99 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+1
-- Level: 67
-- Casting Time: 7 seconds
-- Recast Ti... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Windurst_Woods/npcs/Nokkhi_Jinjahl.lua | 1 | 9811 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Nokkhi Jinjahl
-- Type: Traveling Merchant NPC
-- @zone: 241
-- @pos 3.306 0.84 -41.601
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil... | gpl-3.0 |
Gwynthell/FFDB | scripts/zones/Kazham-Jeuno_Airship/Zone.lua | 4 | 1267 | -----------------------------------
--
-- Zone: Kazham-Jeuno_Airship
--
-----------------------------------
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(zone)
end;
-----------------------------------
-- onZoneIn
-----------------------------------
... | gpl-3.0 |
mohammadlua/darkplustm | bot/utils.lua | 2 | 16236 | --Begin Utils.lua @darkplustm :)
function serialize_to_file(data, file, uglify)
file = io.open(file, 'w+')
local serialized
if not uglify then
serialized = serpent.block(data, {
comment = false,
name = '_'
})
else
serialized = serpent.dump(data)
end
file:write(serialized)
fi... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/items/red_hot_cracker.lua | 35 | 1341 | -----------------------------------------
-- ID: 4281
-- Item: red_hot_cracker
-- Food Effect: 3Min, All Races
-----------------------------------------
-- HP Recovered While Healing 9
-- Beast Killer 5
-- Resist Sleep 5
-----------------------------------------
require("scripts/globals/status");
--------... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Windurst_Waters_[S]/npcs/Ragyaya.lua | 38 | 1043 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ragyaya
-- Type: Standard NPC
-- @zone: 94
-- @pos -95.376 -3 60.795
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
------... | gpl-3.0 |
jessarcher/dotfiles | nvim/lua/user/plugins/bufferline.lua | 1 | 2172 | require('bufferline').setup({
options = {
indicator = {
icon = ' ',
},
show_close_icon = false,
tab_size = 0,
max_name_length = 25,
offsets = {
{
filetype = 'NvimTree',
text = ' Files',
highlight = 'StatusLine',
text_align = 'left',
},
},... | mit |
Vivitarut/darkstar | scripts/zones/Sauromugue_Champaign/npcs/Stone_Monument.lua | 32 | 1305 | -----------------------------------
-- Area: Sauromugue Champaign
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos 77.544 -2.746 -184.803 120
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Selbina/Zone.lua | 2 | 2479 | -----------------------------------
--
-- Zone: Selbina (248)
--
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/shop");
require("scripts/globals/quests");
require("sc... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Windurst_Waters/npcs/Ajen-Myoojen.lua | 38 | 1044 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ajen-Myoojen
-- Type: Standard NPC
-- @zone: 238
-- @pos -44.542 -5.999 238.996
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----... | gpl-3.0 |
MattiasBuelens/mcnet | lib/telnet/Client.lua | 1 | 3147 | --[[
MCNet Telnet
Client
]]--
local EventEmitter = require "event.EventEmitter"
local EventLoop = require "event.EventLoop"
local Command = require "telnet.Command"
-- Constants
local TELNET_PORT = 23
local Client = EventEmitter:subclass("telnet.Client")
function Client:initialize(transport, serverAddress, ser... | mit |
Gwynthell/FFDB | scripts/zones/Waughroon_Shrine/bcnms/on_my_way.lua | 6 | 1878 | -----------------------------------
-- Area: Waughroon Shrine
-- Name: Mission Rank 7-2 (Bastok)
-- @pos -345 104 -260 144
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/global... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/keyitems.lua | 2 | 117854 | ---------------------------------------------
--
-- KEYITEMS IDS
--
---------------------------------------------
ZERUHN_REPORT = 1;
PALBOROUGH_MINES_LOGS = 2;
BLUE_ACIDITY_TESTER = 3;
RED_ACIDITY_TESTER = 4;
LETTER_TO_THE_CONSUL... | gpl-3.0 |
knu/hammerspoon | extensions/osascript/test_applescript.lua | 10 | 1653 | hs.osascript = require("hs.osascript")
function testAppleScriptParseError()
local as = "2 +"
local status, object, descriptor = hs.osascript.applescript(as)
assertFalse(status)
assertIsEqual(descriptor.OSAScriptErrorBriefMessageKey, "Expected expression but found end of script.")
return success()
end
functi... | mit |
crazyhamedboy/crazyboyboy | 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 |
Joeyjohjjo/Johjjodarkfork | scripts/globals/spells/bluemagic/uppercut.lua | 28 | 1859 | -----------------------------------------
-- Spell: Uppercut
-- Damage varies with TP
-- Spell cost: 31 MP
-- Monster Type: Plantoids
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: STR+2, DEX+1
-- Level: 38
-- Casting Time: 0.5 seconds
-- Recast Time: 17.75 seconds
-- Skillchain Eleme... | gpl-3.0 |
Gwynthell/FFDB | scripts/globals/items/watermelon.lua | 3 | 1088 | -----------------------------------------
-- ID: 4491
-- Item: watermelon
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -6
-- Intelligence 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----... | gpl-3.0 |
Vivitarut/darkstar | scripts/zones/Castle_Oztroja/npcs/_47y.lua | 17 | 1384 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47y (Torch Stand)
-- Notes: Opens door _474
-- @pos -57.575 24.218 -67.651 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Ca... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Port_Bastok/npcs/Rosswald.lua | 36 | 1683 | -----------------------------------
-- Area: Port Bastok
-- NPC: Rosswald
-- Only sells when Bastok controlls Zulkheim Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port_Bastok... | gpl-3.0 |
Joeyjohjjo/Johjjodarkfork | scripts/zones/Eastern_Altepa_Desert/npcs/Daborn_IM.lua | 30 | 3062 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Daborn, I.M.
-- Border Conquest Guards
-- @pos 226.493 -12.231 260.194 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.