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 |
|---|---|---|---|---|---|
AlexandreCA/update | scripts/zones/Upper_Jeuno/npcs/Paya-Sabya.lua | 17 | 1335 | -----------------------------------
-- 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 |
AlexandreCA/update | scripts/zones/Tavnazian_Safehold/Zone.lua | 19 | 3150 | -----------------------------------
--
-- Zone: Tavnazian_Safehold (26)
--
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
require("scripts/zones/Tavnazian... | gpl-3.0 |
jstewart-amd/premake-core | modules/d/tools/dmd.lua | 7 | 8729 | --
-- d/tools/dmd.lua
-- Provides dmd-specific configuration strings.
-- Copyright (c) 2013-2015 Andrew Gough, Manu Evans, and the Premake project
--
local tdmd = {}
local project = premake.project
local config = premake.config
local d = premake.modules.d
--
-- Set default tools
--
tdmd.gcc = {}
tdmd.gcc.dc... | bsd-3-clause |
AlexandreCA/update | scripts/globals/items/ulbukan_lobster.lua | 18 | 1342 | -----------------------------------------
-- ID: 5960
-- Item: Ulbukan Lobster
-- Food Effect: 5 Min, Mithra only
-----------------------------------------
-- Dexterity -3
-- Vitality 1
-- Defense +9%
-----------------------------------------
require("scripts/globals/status");
----------------------------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/qm8.lua | 57 | 2181 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: qm8 (??? - Ancient Papyrus Shreds)
-- Involved in Quest: In Defiant Challenge
-- @pos 105.275 -32 92.551 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
incinirate/Riko4 | scripts/usr/bin/edit.lua | 1 | 5615 | --HELP: \b6Usage: \b16edit \b7<\b16file\b7> \n
-- \b6Description: \b7Opens \b16file \b7in a code editor
local args = {...}
if #args < 1 then
if shell then
print("Syntax: edit <file> [line]\n", 9)
return
else
error("Syntax: edit <file> [line]", 2)
end
end
local running = true
local myPath = fs.getLa... | mit |
AlexandreCA/darkstar | scripts/zones/Kazham/npcs/Balih_Chavizaai.lua | 15 | 1055 | -----------------------------------
-- Area: Kazham
-- NPC: Balih Chavizaai
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/sleep_bolt.lua | 4 | 1214 | -----------------------------------------
-- ID: 18149
-- Item: Sleep Bolt
-- Additional Effect: Sleep
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
------------------------------... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/chocolate_cake.lua | 36 | 1186 | -----------------------------------------
-- ID: 5633
-- Item: Chocolate Cake
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- MP +3%
-- MP Recovered while healing +6
-----------------------------------------
require("scripts/globals/status");
-----------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Attohwa_Chasm/npcs/qm1.lua | 13 | 1613 | -----------------------------------
-- Area: Attohwa Chasm
-- NPC: ??? (qm1)
-- @pos -402.574 3.999 -202.750 7
-----------------------------------
package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Attohwa_Chasm/TextIDs");
--------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Port_San_dOria/npcs/HomePoint#1.lua | 17 | 1263 | -----------------------------------
-- Area: Port San dOria
-- NPC: HomePoint#1
-- @pos -67.963 -4.000 -105.023 232
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Port_San_dOria/TextIDs");
require... | gpl-3.0 |
lucgagnon/ntopng | scripts/lua/get_user_info.lua | 8 | 5905 | --
-- (C) 2014-15-15 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
require "flow_utils"
sendHTTPHeader('text/html; charset=iso-8859-1')
ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/header.inc")
page = _GET["page"]
if(page ... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/weaponskills/uriel_blade.lua | 11 | 1417 | -----------------------------------
-- Uriel Blade
-- Sword weapon skill
-- Skill Level: N/A
-- Description: Delivers an area attack that deals light elemental damage. Damage varies with TP. Additional effect Flash.
-- AoE range ??.
-- Only available during Campaign Battle while wielding a Griffinclaw.
-- Aligned with ... | gpl-3.0 |
dani-sj/evillbot | plugins/stats.lua | 168 | 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 |
AlexandreCA/darkstar | scripts/commands/additem.lua | 11 | 1309 | ---------------------------------------------------------------------------------------------------
-- func: @additem <itemId> <quantity> <aug1> <v1> <aug2> <v2> <aug3> <v3> <aug4> <v4> <trial>
-- desc: Adds an item to the GMs inventory.
----------------------------------------------------------------------------------... | gpl-3.0 |
AlexandreCA/update | scripts/globals/spells/hunters_prelude.lua | 18 | 1490 | -----------------------------------------
-- Spell: Hunter's Prelude
-- Gives party members ranged attack accuracy
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingChe... | gpl-3.0 |
lucgagnon/ntopng | scripts/lua/get_alerts_data.lua | 10 | 1870 | --
-- (C) 2013-15 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
sendHTTPHeader('text/html; charset=iso-8859-1')
currentPage = _GET["currentPage"]
perPage = _GET["perPage"]
if(currentPage == nil) then
currentPage = 1
el... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Yuhtunga_Jungle/TextIDs.lua | 15 | 1884 | -- 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 |
AlexandreCA/update | scripts/zones/Northern_San_dOria/npcs/Miageau.lua | 17 | 2459 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Miageau
-- Type: Quest Giver NPC
-- @zone: 231
-- @pos 115 0 108
--
-- Starts and Finishes: Waters of Cheval
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
---------------------... | gpl-3.0 |
focusworld/ffocus | plugins/ingroup.lua | 527 | 44020 | do
-- Check Member
local function check_member_autorealm(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostr... | gpl-2.0 |
samihacker/xx | libs/redis.lua | 566 | 1214 | local Redis = require 'redis'
local FakeRedis = require 'fakeredis'
local params = {
host = os.getenv('REDIS_HOST') or '127.0.0.1',
port = tonumber(os.getenv('REDIS_PORT') or 6379)
}
local database = os.getenv('REDIS_DB')
local password = os.getenv('REDIS_PASSWORD')
-- Overwrite HGETALL
Redis.commands.hgetall = ... | gpl-2.0 |
we20/sss | libs/redis.lua | 566 | 1214 | local Redis = require 'redis'
local FakeRedis = require 'fakeredis'
local params = {
host = os.getenv('REDIS_HOST') or '127.0.0.1',
port = tonumber(os.getenv('REDIS_PORT') or 6379)
}
local database = os.getenv('REDIS_DB')
local password = os.getenv('REDIS_PASSWORD')
-- Overwrite HGETALL
Redis.commands.hgetall = ... | gpl-2.0 |
Maxsteam/mer | libs/redis.lua | 566 | 1214 | local Redis = require 'redis'
local FakeRedis = require 'fakeredis'
local params = {
host = os.getenv('REDIS_HOST') or '127.0.0.1',
port = tonumber(os.getenv('REDIS_PORT') or 6379)
}
local database = os.getenv('REDIS_DB')
local password = os.getenv('REDIS_PASSWORD')
-- Overwrite HGETALL
Redis.commands.hgetall = ... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/Toraimarai_Canal/TextIDs.lua | 15 | 1157 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6425; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6430; -- Obtained: <item>.
GIL_OBTAINED = 6431; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6433; -- Obtained... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Castle_Oztroja/npcs/_47f.lua | 17 | 1240 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47f (Handle)
-- Notes: Opens door _471
-- @pos -182 -15 -19 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/Te... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Chateau_dOraguille/npcs/Mistaravant.lua | 13 | 1064 | -----------------------------------
-- Area: Chateau d'Oraguille
-- NPC: Mistaravant
-- Type: Standard NPC
-- @zone: 233
-- @pos 7.097 -3.999 67.988
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Kuftal_Tunnel/TextIDs.lua | 15 | 1264 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Cloister_of_Tides/npcs/Water_Protocrystal.lua | 13 | 1940 | -----------------------------------
-- Area: Cloister of Tides
-- NPC: Water Protocrystal
-- Involved in Quests: Trial by Water, Trial Size Trial by Water
-- @pos 560 36 560 211
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil;
-------------------------------------
r... | gpl-3.0 |
dani-sj/evillbot | plugins/google.lua | 336 | 1323 | do
local function googlethat(query)
local url = 'http://ajax.googleapis.com/ajax/services/search/web?v=1.0&safe=active&&rsz=5&'
local parameters = 'q='..(URL.escape(query) or '')
-- Do the request
local res, code = https.request(url..parameters)
if code ~=200 then return nil end
loca... | gpl-2.0 |
AlexandreCA/update | scripts/zones/AlTaieu/mobs/Jailer_of_Justice.lua | 23 | 1460 | -----------------------------------
-- Area: Al'Taieu
-- NM: Jailer of Justice
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize
-----------------------------------
function onMobInitialize(mob... | gpl-3.0 |
exercism/xlua | exercises/practice/list-ops/list-ops_spec.lua | 2 | 2972 | local map = require('list-ops').map
local reduce = require('list-ops').reduce
local filter = require('list-ops').filter
describe('list-ops', function()
local function should_not_be_called() error('unexpected call') end
describe('map', function()
local function identity(x) return x end
local function squar... | mit |
AlexandreCA/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Romaa_Mihgo.lua | 13 | 1062 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Romaa Mihgo
-- Type: Standard NPC
-- @zone: 94
-- @pos -1.967 -3 -26.337
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
--... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/serving_of_golden_royale.lua | 18 | 1474 | -----------------------------------------
-- ID: 5558
-- Item: Serving of Golden Royale
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +10
-- MP +10
-- Intelligence +2
-- HP Recoverd while healing 2
-- MP Recovered while healing 2
---------------------------------... | gpl-3.0 |
martolini/Vana | scripts/npcs/NLC_HairVip.lua | 1 | 3528 | --[[
Copyright (C) 2008-2015 Vana Development Team
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; version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHO... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/Bhaflau_Thickets/npcs/Daswil.lua | 18 | 2118 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: Daswil
-- Type: Assault
-- @pos -208.720 -12.889 -779.713 52
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bhaflau_Thickets/TextIDs");
r... | gpl-3.0 |
AlexandreCA/update | scripts/zones/The_Shrouded_Maw/bcnms/darkness_named.lua | 17 | 2518 | -----------------------------------
-- Area: The_Shrouded_Maw
-- Name: darkness_named
-----------------------------------
package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/zones/Th... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/Grounds_Tome.lua | 30 | 1109 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,n... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Dynamis-Valkurm/bcnms/dynamis_Valkurm.lua | 22 | 2129 | -----------------------------------
-- Area: dynamis_Valkurm
-- Name: dynamis_Valkurm
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaValkurm]UniqueID",player:getDynamisUniqueID(1286));
SetServerV... | gpl-3.0 |
martolini/Vana | scripts/instances/kerningToCbdTrip.lua | 1 | 1142 | --[[
Copyright (C) 2008-2015 Vana Development Team
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; version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHO... | gpl-2.0 |
AlexandreCA/update | scripts/zones/East_Sarutabaruta/npcs/Heih_Porhiaap.lua | 34 | 1064 | -----------------------------------
-- Area: East Sarutabaruta
-- NPC: Heih Porhiaap
-- @pos -118.876 -4.088 -515.731 116
-----------------------------------
package.loaded["scripts/zones/East_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/East_Sarutabaruta/TextIDs")... | gpl-3.0 |
paly2/minetest-minetestforfun-server | mods/lavatemple/nodes.lua | 10 | 1326 |
minetest.register_node("lavatemple:brick", {
description = "Darkbrick",
tiles = {"lavatemple_brick.png"},
groups = {dark=1},
sounds = default.node_sound_stone_defaults(),
})
stairs.register_stair_and_slab(
"lavatemple_brick",
"lavatemple:brick",
{dark=1},
{"lavatemple_brick.png"},
"Darkbrick Stair",
"Darkbr... | unlicense |
AlexandreCA/update | scripts/zones/Lower_Jeuno/npcs/Shashan-Mishan.lua | 59 | 1043 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Shashan-Mishan
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Lower_Jeuno/TextIDs");... | gpl-3.0 |
AlexandreCA/update | scripts/zones/The_Garden_of_RuHmet/mobs/Aw_aern.lua | 13 | 2386 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NPC: Aw_aern PH (Ix'Aern DRK and DRG)
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Garden_of_RuHmet/TextIDs");
require("scri... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Riverne-Site_B01/npcs/_0t2.lua | 13 | 1348 | -----------------------------------
-- Area: Riverne Site #B01
-- NPC: Unstable Displacement
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_B01/TextIDs");
... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/magic.lua | 2 | 45757 | require("scripts/globals/magicburst");
require("scripts/globals/status");
require("scripts/globals/weather");
require("scripts/globals/utils");
require("scripts/globals/settings");
MMSG_BUFF_FAIL = 75;
DIVINE_MAGIC_SKILL = 32;
HEALING_MAGIC_SKILL = 33;
ENHANCING_MAGIC_SKILL = 34;
ENFEEBLIN... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Phomiuna_Aqueducts/npcs/_0rs.lua | 17 | 1623 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/galette_des_rois.lua | 18 | 1349 | -----------------------------------------
-- ID: 5875
-- Item: Galette Des Rois
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- MP % 1
-- Intelligence +2
-- Random Jewel
-----------------------------------------
require("scripts/globals/status");
require("scripts/zones/Bastok_Mines/Text... | gpl-3.0 |
paly2/minetest-minetestforfun-server | minetestforfun_game/mods/farming/compatibility.lua | 4 | 4773 | -- is Ethereal mod installed?
local eth = minetest.get_modpath("ethereal") or nil
-- Banana
if eth then
minetest.register_alias("farming_plus:banana_sapling", "ethereal:banana_tree_sapling")
minetest.register_alias("farming_plus:banana_leaves", "ethereal:bananaleaves")
minetest.register_alias("farming_plus:banana",... | unlicense |
jstewart-amd/premake-core | tests/actions/vstudio/vc2010/test_manifest.lua | 6 | 1122 | --
-- tests/actions/vstudio/vc2010/test_manifest.lua
-- Validate generation of Manifest block in Visual Studio 201x C/C++ projects.
-- Copyright (c) 2009-2013 Jason Perkins and the Premake project
--
local suite = test.declare("vs2010_manifest")
local vc2010 = premake.vstudio.vc2010
local project = premake.... | bsd-3-clause |
AlexandreCA/darkstar | scripts/zones/Riverne-Site_A01/npcs/_0u4.lua | 13 | 1348 | -----------------------------------
-- Area: Riverne Site #A01
-- NPC: Unstable Displacement
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_A01/TextIDs");
... | gpl-3.0 |
lucgagnon/ntopng | scripts/lua/examples/debug.lua | 13 | 3427 | --
-- (C) 2013 - ntop.org
--
-- debug lua example
-- Set package.path information to be able to require lua module
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
-- Here you can choose the type of your HTTP message {'text/html','application/j... | gpl-3.0 |
jstewart-amd/premake-core | src/base/semver.lua | 22 | 6948 | local semver = {
_VERSION = '1.2.1',
_DESCRIPTION = 'semver for Lua',
_URL = 'https://github.com/kikito/semver.lua',
_LICENSE = [[
MIT LICENSE
Copyright (c) 2015 Enrique García Cota
Permission is hereby granted, free of charge, to any person obtaining a
copy of tother software ... | bsd-3-clause |
AlexandreCA/darkstar | scripts/zones/Selbina/npcs/Quelpia.lua | 13 | 1782 | -----------------------------------
-- Area: Selbina
-- NPC: Quelpia
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/shop");
----------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Dragons_Aery/npcs/relic.lua | 38 | 1837 | -----------------------------------
-- Area: Dragon's Aery
-- NPC: <this space intentionally left blank>
-- @pos -20 -2 61 154
-----------------------------------
package.loaded["scripts/zones/Dragons_Aery/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Dragons_Aery/TextIDs");
-----------... | gpl-3.0 |
JiessieDawn/skynet | lualib/http/internal.lua | 3 | 4777 | local table = table
local type = type
local sockethelper = require "http.sockethelper"
local M = {}
local LIMIT = 8192
local function chunksize(readbytes, body)
while true do
local f,e = body:find("\r\n",1,true)
if f then
return tonumber(body:sub(1,f-1),16), body:sub(e+1)
end
if #body > 128 then
-- pe... | mit |
AlexandreCA/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rw.lua | 13 | 1295 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: _0rw (Oil Lamp)
-- Notes: Opens south door at J-9 from inside.
-- @pos 103.703 -26.180 83.000 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
elfinlazz/melia | system/scripts/npc/dungeon/id_catacomb_01.lua | 1 | 3196 | addnpc(45132, "QUEST_LV_0200_20150317_000504", "id_catacomb_01", -243, 955, -3206, 18, "npc_dummy")
addnpc(45132, "QUEST_LV_0200_20150317_000504", "id_catacomb_01", -125, 935, -2422, 18, "npc_dummy")
addnpc(45132, "QUEST_LV_0200_20150317_000504", "id_catacomb_01", -188, 935, -1148, 18, "npc_dummy")
addnpc(45132, "QUEST... | gpl-3.0 |
samboy/Oblige | attic/v4_walls.lua | 1 | 15565 | ----------------------------------------------------------------
-- V4 WALL Layouting
----------------------------------------------------------------
--
-- Oblige Level Maker
--
-- Copyright (C) 2006-2011 Andrew Apted
--
-- This program is free software; you can redistribute it and/or
-- modify it under the terms... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/Southern_San_dOria/npcs/Luthiaque.lua | 13 | 1426 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Luthiaque
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests"... | gpl-3.0 |
LuaDist2/gimlet-cocktail | gimlet/init.lua | 2 | 2819 | local dispatch
do
local _obj_0 = require("gimlet.dispatcher")
dispatch = _obj_0.dispatch
end
local gimlet_cache = { }
local runner
runner = function(gimlet_cls)
local gimlet = gimlet_cache[gimlet_cls]
if not (gimlet) then
if type(gimlet_cls) == "string" then
gimlet = require(gimlet_cls)()
elseif g... | mit |
jstewart-amd/premake-core | tests/api/test_containers.lua | 16 | 1895 | --
-- tests/api/test_containers.lua
-- Tests the API's workspace() and project() container definitions.
-- Copyright (c) 2013-2014 Jason Perkins and the Premake project
--
local suite = test.declare("api_containers")
local api = premake.api
--
-- Setup and teardown
--
local wks
function suite.setup()
wks = w... | bsd-3-clause |
AlexandreCA/update | scripts/globals/mobskills/Gregale_Wing.lua | 18 | 1239 | ---------------------------------------------
-- Gregale Wing
--
-- Description: An icy wind deals Ice damage to enemies within a very wide area of effect. Additional effect: Paralyze
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only by Jormungand and Isgebi... | gpl-3.0 |
techtonik/wesnoth | data/ai/micro_ais/cas/ca_recruit_random.lua | 26 | 4781 | local H = wesnoth.require "lua/helper.lua"
local AH = wesnoth.require("ai/lua/ai_helper.lua")
local LS = wesnoth.dofile "lua/location_set.lua"
local recruit_type
local ca_recruit_random = {}
function ca_recruit_random:evaluation(ai, cfg)
-- Random recruiting from all the units the side has
-- Check if leade... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/King_Zagan.lua | 2 | 1559 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: King Zagan
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngaged(... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Selbina/npcs/Explorer_Moogle.lua | 13 | 1835 | -----------------------------------
-- Area: Selbina
-- NPC: Explorer Moogle
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/teleports"... | gpl-3.0 |
stefano-m/lua-dbus_proxy | tests/proxy_spec.lua | 1 | 21447 | -- Works with the 'busted' framework.
-- http://olivinelabs.com/busted/
local table = table
local os = os
local unpack = unpack or table.unpack -- luacheck: globals unpack
require("busted")
local GLib = require("lgi").GLib
local GVariant = GLib.Variant
local p = require("dbus_proxy")
local Bus = p.Bus
local Proxy = p... | apache-2.0 |
AlexandreCA/update | scripts/zones/Metalworks/npcs/Romero.lua | 24 | 1858 | -----------------------------------
-- Area: Metalworks
-- NPC: Romero
-- 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 |
AlexandreCA/update | scripts/zones/Sealions_Den/mobs/Omega.lua | 16 | 1290 | -----------------------------------
-- Area: Sealions Den
-- NPC: Omega
-----------------------------------
require("scripts/globals/titles");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
end;
-------------------------... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/broiled_trout.lua | 35 | 1292 | -----------------------------------------
-- ID: 4587
-- Item: Broiled Trout
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 4
-- Mind -1
-- Ranged ATT % 14
-----------------------------------------
require("scripts/globals/status");
--------------------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Caedarva_Mire/mobs/Lamia_Idolater.lua | 4 | 1722 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: Lamia Idolator
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
end;
-----------... | gpl-3.0 |
annulen/premake-annulen | src/actions/vstudio/vs2010_vcxproj_filters.lua | 17 | 2473 | --
-- vs2010_vcxproj_filters.lua
-- Generate a Visual Studio 2010 C/C++ filters file.
-- Copyright (c) 2009-2011 Jason Perkins and the Premake project
--
local vc2010 = premake.vstudio.vc2010
local project = premake.project
--
-- The first portion of the filters file assigns unique IDs to each
-- directory or vir... | bsd-3-clause |
AlexandreCA/darkstar | scripts/zones/Port_Bastok/npcs/Jabbar.lua | 13 | 1802 | -----------------------------------
-- Area: Port Bastok
-- NPC: Jabbar
-- Type: Tenshodo Merchant
-- Involved in Quests: Tenshodo Menbership
-- @pos -99.718 -2.299 26.027 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/vulcan_claymore.lua | 42 | 1451 | -----------------------------------------
-- ID: 18379
-- Item: Vulcan Claymore
-- Additional Effect: Fire Damage
-- Enchantment: Enfire
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/slice_of_roast_mutton.lua | 35 | 1397 | -----------------------------------------
-- ID: 4437
-- Item: slice_of_roast_mutton
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 3
-- Intelligence -1
-- Attack % 27
-- Attack Cap 30
-----------------------------------------
require("scripts/globals/status");
--... | gpl-3.0 |
ztesbot/ztesrobot | plugins/Lyrics.lua | 695 | 2113 | do
local BASE_LNM_URL = 'http://api.lyricsnmusic.com/songs'
local LNM_APIKEY = '1f5ea5cf652d9b2ba5a5118a11dba5'
local BASE_LYRICS_URL = 'http://api.chartlyrics.com/apiv1.asmx/SearchLyricDirect'
local function getInfo(query)
print('Getting info of ' .. query)
local url = BASE_LNM_URL..'?api_key='..LNM_APIKEY
... | gpl-2.0 |
samboy/Oblige | scripts/oblige.lua | 1 | 26715 | ------------------------------------------------------------------------
-- OBLIGE : INTERFACE WITH GUI CODE
------------------------------------------------------------------------
--
-- Oblige Level Maker
--
-- Copyright (C) 2006-2017 Andrew Apted
--
-- This program is free software; you can redistribute it and... | gpl-2.0 |
AlexandreCA/update | scripts/globals/abilities/choral_roll.lua | 9 | 2852 | -----------------------------------
-- Ability: Choral Roll
-- Decreases spell interruption rate for party members within area of effect
-- Optimal Job: Bard
-- Lucky Number: 2
-- Unlucky Number: 6
-- Level: 26
--
-- Die Roll |No BRD |With BRD
-- -------- -------- -------
-- 1 |-13 ... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Northern_San_dOria/npcs/Belgidiveau.lua | 25 | 2335 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Belgidiveau
-- Starts and Finishes Quest: Trouble at the Sluice
-- @zone 231
-- @pos -98 0 69
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
nwf/openwrt-luci | libs/luci-lib-nixio/axTLS/samples/lua/axssl.lua | 176 | 19286 | #!/usr/local/bin/lua
--
-- Copyright (c) 2007, Cameron Rich
--
-- All rights reserved.
--
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are met:
--
-- * Redistributions of source code must retain the above copyright notice,
-... | apache-2.0 |
AlexandreCA/update | scripts/zones/Pashhow_Marshlands/npcs/Sharp_Tooth_IM.lua | 30 | 3065 | -----------------------------------
-- Area: Pashhow Marshlands
-- NPC: Sharp Tooth, I.M.
-- Type: Border Conquest Guards
-- @pos 536.291 23.517 694.063 109
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Port_Jeuno/npcs/Karl.lua | 26 | 2503 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Karl
-- Starts and Finishes Quest: Child's Play
-- @pos -60 0.1 -8 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/g... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Bastok_Mines/npcs/Pavvke.lua | 36 | 2173 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Pavvke
-- Starts Quests: Fallen Comrades (100%)
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/sett... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/divine_sword.lua | 42 | 1076 | -----------------------------------------
-- ID: 16549
-- Item: Divine Sword
-- Additional Effect: Light Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
------------------------------... | gpl-3.0 |
FPtje/FProfiler | lua/fprofiler/ui/clientcontrol.lua | 2 | 4281 | local get, update, onUpdate = FProfiler.UI.getModelValue, FProfiler.UI.updateModel, FProfiler.UI.onModelUpdate
--[[-------------------------------------------------------------------------
(Re)start clientside profiling
---------------------------------------------------------------------------]]
local function restar... | lgpl-2.1 |
RebootRevival/FFXI_Test | scripts/zones/Port_Windurst/npcs/Sigismund.lua | 3 | 2357 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Sigismund
-- Starts and Finishes Quest: To Catch a Falling Star
-- !pos -110 -10 82 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_W... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Southern_San_dOria/npcs/Aravoge_TK.lua | 3 | 2889 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Aravoge, T.K.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run Missions ... | gpl-3.0 |
rudolfmleziva/AdministratorTeritorial | cocos2d/cocos/scripting/lua-bindings/auto/api/Skin.lua | 10 | 2198 |
--------------------------------
-- @module Skin
-- @extend Sprite
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#Skin] getBone
-- @param self
-- @return Bone#Bone ret (return value: ccs.Bone)
--------------------------------
--
-- @function [parent=#Skin] getNodeToWorldTr... | gpl-3.0 |
tommo/mock | mock/sqscript/SQNodeMsg.lua | 1 | 2611 | module 'mock'
--------------------------------------------------------------------
CLASS: SQNodeMsg ( SQNode )
:MODEL{
Field 'msg' :string();
Field 'data' :string();
}
function SQNodeMsg:__init()
self.msg = ''
self.data = nil
end
function SQNodeMsg:load( data )
local args = data.args
self.msg = args[1] o... | mit |
RebootRevival/FFXI_Test | scripts/zones/Port_San_dOria/npcs/Portaure.lua | 17 | 1666 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Portaure
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/quests");
--... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/weaponskills/red_lotus_blade.lua | 23 | 1318 | -----------------------------------
-- Red Lotus Blade
-- Sword weapon skill
-- Skill Level: 50
-- Deals fire elemental damage to enemy. Damage varies with TP.
-- Aligned with the Flame Gorget & Breeze Gorget.
-- Aligned with the Flame Belt & Breeze Belt.
-- Element: Fire
-- Modifiers: STR:40% ; INT:40%
-- 100%TP 20... | gpl-3.0 |
Goodzilam/Goodzila-bot_v1.5 | plugins/web_shot.lua | 110 | 1424 | 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 |
RebootRevival/FFXI_Test | scripts/zones/The_Ashu_Talif/Zone.lua | 10 | 1253 | -----------------------------------
--
-- Zone: The_Ashu_Talif
--
-----------------------------------
require("scripts/globals/settings");
local TheAshuTalif = require("scripts/zones/The_Ashu_Talif/IDs");
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(z... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/items/loaf_of_iron_bread.lua | 12 | 1184 | -----------------------------------------
-- ID: 4499
-- Item: loaf_of_iron_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 4
-- Vitality 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/globals/spells/graviga.lua | 1 | 1114 | -----------------------------------------
-- Spell: Gravity
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spel... | gpl-3.0 |
rafradek/wire | lua/entities/gmod_wire_egp/lib/egplib/objectcontrol.lua | 9 | 7301 | --------------------------------------------------------
-- Objects
--------------------------------------------------------
local EGP = EGP
EGP.Objects = {}
EGP.Objects.Names = {}
EGP.Objects.Names_Inverted = {}
-- This object is not used. It's only a base
EGP.Objects.Base = {}
EGP.Objects.Base.ID = 0
EGP.Objects.Ba... | apache-2.0 |
ciufciuf57/nodemcu-firmware | lua_modules/bh1750/bh1750.lua | 89 | 1372 | -- ***************************************************************************
-- BH1750 module for ESP8266 with nodeMCU
-- BH1750 compatible tested 2015-1-22
--
-- Written by xiaohu
--
-- MIT license, http://opensource.org/licenses/MIT
-- ***************************************************************************
loca... | mit |
RebootRevival/FFXI_Test | scripts/globals/spells/raiton_san.lua | 7 | 1452 | -----------------------------------------
-- Spell: Raiton: San
-- Deals lightning damage to an enemy and lowers its resistance against earth.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Kazham/npcs/Vah_Keshura.lua | 17 | 1073 | -----------------------------------
-- Area: Kazham
-- NPC: Vah Keshura
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
fun... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Windurst_Waters/Zone.lua | 24 | 3310 | -----------------------------------
--
-- Zone: Windurst_Waters (238)
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Waters/TextIDs");
require("scripts/globals/events/harvest_festivals");
require("... | gpl-3.0 |
RebootRevival/FFXI_Test | scripts/zones/Quicksand_Caves/npcs/qm2.lua | 3 | 1323 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: qm2
-- Notes: Used to spawn Tribunus VII-I
-- !pos -49.944 -0.891 -139.485 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Quicksand_... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.