repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
crunchuser/prosody-modules | mod_http_index/mod_http_index.lua | 31 | 3606 | local st = require "util.stanza";
local url = require"socket.url";
module:depends"http";
-- local dump = require"util.serialization".new"dump".serialize;
local function template(data)
--[[ DOC
Like util.template, but deals with plain text
Returns a closure that is called with a table of values
{name} is substitu... | mit |
marcosbontempo/inatelos | layers/meta-openembedded/meta-gnome/recipes-gnome/devilspie/files/default.lua | 40 | 1194 | -- Copyright (c) 2012 Andreas Müller <schnitzeltony@googlemail.com>
--
-- this is an example
-- * undecorating all windows opened maximized
-- * maximizing and undecorating all appplication's windows in apps_list
-- for further information see
-- http://www.gusnan.se/devilspie2/manual.php
wnd_type = get_window_type()... | mit |
moto-timo/meta-openembedded | meta-gnome/recipes-gnome/devilspie/files/default.lua | 40 | 1194 | -- Copyright (c) 2012 Andreas Müller <schnitzeltony@googlemail.com>
--
-- this is an example
-- * undecorating all windows opened maximized
-- * maximizing and undecorating all appplication's windows in apps_list
-- for further information see
-- http://www.gusnan.se/devilspie2/manual.php
wnd_type = get_window_type()... | mit |
jkprg/prosody-modules | mod_auth_http_async/mod_auth_http_async.lua | 16 | 1862 | -- Prosody IM
-- Copyright (C) 2008-2013 Matthew Wild
-- Copyright (C) 2008-2013 Waqas Hussain
-- Copyright (C) 2014 Kim Alvefur
--
-- This project is MIT/X11 licensed. Please see the
-- COPYING file in the source package for more information.
--
local usermanager = require "core.usermanager";
local new_sasl = require... | mit |
Fenix-XI/Fenix | scripts/globals/items/red_terrapin.lua | 18 | 1319 | -----------------------------------------
-- ID: 4402
-- Item: red_terrapin
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Empyreal_Paradox/Zone.lua | 13 | 2121 | -----------------------------------
--
-- Zone: Empyreal_Paradox
--
-----------------------------------
package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Empyreal_Paradox/TextIDs");
------------------------... | gpl-3.0 |
jeiboor/nod32bot | plugins/media.lua | 376 | 1679 | do
local function run(msg, matches)
local receiver = get_receiver(msg)
local url = matches[1]
local ext = matches[2]
local file = download_to_file(url)
local cb_extra = {file_path=file}
local mime_type = mimetype.get_content_type_no_sub(ext)
if ext == 'gif' then
print('send_file')
send_docum... | gpl-2.0 |
gdewald/Sputter | dev/premake/premake/tests/actions/vstudio/vc2010/test_files.lua | 31 | 1551 | --
-- tests/actions/vstudio/vc2010/test_files.lua
-- Validate generation of files block in Visual Studio 2010 C/C++ projects.
-- Copyright (c) 2011 Jason Perkins and the Premake project
--
T.vstudio_vs2010_files = { }
local suite = T.vstudio_vs2010_files
local vc2010 = premake.vstudio.vc2010
--
-- Setup
--
loc... | mit |
arfett/packages | net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/interfaceconfig.lua | 74 | 7228 | -- ------ extra functions ------ --
function interfaceCheck()
metricValue = ut.trim(sys.exec("uci -p /var/state get network." .. arg[1] .. ".metric"))
if metricValue == "" then -- no metric
errorNoMetric = 1
else -- if metric exists create list of interface metrics to compare against for duplicates
uci.cursor()... | gpl-2.0 |
Fenix-XI/Fenix | scripts/zones/Beaucedine_Glacier/npcs/Rattling_Rain_IM.lua | 13 | 3344 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Rattling Rain, I.M.
-- Type: Border Conquest Guards
-- @pos -227.956 -81.475 260.442 111
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/abilities/healers_roll.lua | 12 | 3027 | -----------------------------------
-- Ability: Healer's Roll
-- Increases potency of "Cure" effect received for party members within area of effect
-- Optimal Job: White Mage
-- Lucky Number: 3
-- Unlucky Number: 7
-- Level: 20
-- Phantom Roll +1 Value: 3
--
-- Die Roll |No WHM |With WHM
-- -------- ------- --... | gpl-3.0 |
8devices/carambola2-luci | libs/nixio/docsrc/nixio.File.lua | 173 | 4457 | --- Large File Object.
-- Large file operations are supported up to 52 bits if the Lua number type is
-- double (default).
-- @cstyle instance
module "nixio.File"
--- Write to the file descriptor.
-- @class function
-- @name File.write
-- @usage <strong>Warning:</strong> It is not guaranteed that all data
-- in the bu... | apache-2.0 |
tcatm/luci | libs/luci-lib-nixio/docsrc/nixio.File.lua | 173 | 4457 | --- Large File Object.
-- Large file operations are supported up to 52 bits if the Lua number type is
-- double (default).
-- @cstyle instance
module "nixio.File"
--- Write to the file descriptor.
-- @class function
-- @name File.write
-- @usage <strong>Warning:</strong> It is not guaranteed that all data
-- in the bu... | apache-2.0 |
sina021/bottg | plugins/ingroup.lua | 371 | 44212 | 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 |
Fenix-XI/Fenix | scripts/zones/Jugner_Forest_[S]/Zone.lua | 1 | 1781 | -----------------------------------
--
-- Zone: Jugner_Forest_[S] (82)
--
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Jugner_Forest_[S]/TextIDs");
------------------... | gpl-3.0 |
Unit158/OpenRA | lua/scriptwrapper.lua | 56 | 1094 | environment = {}
-- Reset package path
package.path = GameDir .. "/lua/?.lua"
-- Note: sandbox has been customized to remove math.random
local sandbox = require('sandbox')
local stp = require('stacktraceplus')
local PrintStackTrace = function(msg)
return stp.stacktrace("", 2) .. "\nError message\n===============\n"... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Windurst_Woods/npcs/Nya_Labiccio.lua | 16 | 1489 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Nya Labiccio
-- Only sells when Windurst controlls Gustaberg Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Windurst_... | gpl-3.0 |
EdJoPaTo/LinuxScripts | configs/neovim/lua/packer-config.lua | 1 | 2216 | -- clean install with
-- rm -rf ~/.cache/nvim ~/.local/share/nvim ~/.local/state/nvim ~/.config/nvim/plugin
local ensure_packer = function()
local fn = vim.fn
local install_path = fn.stdpath("data") .. "/site/pack/packer/start/packer.nvim"
if fn.empty(fn.glob(install_path)) > 0 then
fn.system({
... | mit |
jbp4444/PuzzleGame | scripts/ToggleScreen.lua | 1 | 3257 | --
-- Copyright 2013-2014 John Pormann
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable l... | apache-2.0 |
Fenix-XI/Fenix | scripts/zones/Dynamis-Xarcabard/mobs/Icon_Prototype.lua | 1 | 1387 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Icon Prototype
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scripts/zones/D... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Bhaflau_Thickets/npcs/Harvesting_Point.lua | 13 | 1086 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/Bhaflau_Thickets/TextIDs");
... | gpl-3.0 |
franko/gsl-shell | data/graph-init.lua | 1 | 8498 |
local bit = require 'bit'
local floor, pi = math.floor, math.pi
local bor, band, lshift, rshift = bit.bor, bit.band, bit.lshift, bit.rshift
local n_sampling_max = 8192
local n_sampling_default = 256
local function check_sampling(n)
if n then
if n <= 1 then
error('sampling points should be > 1')
... | gpl-3.0 |
marcel-sch/luci | applications/luci-app-ocserv/luasrc/controller/ocserv.lua | 11 | 1838 | -- Copyright 2014 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.ocserv", package.seeall)
function index()
if not nixio.fs.access("/etc/config/ocserv") then
return
end
local page
page = entry({"admin", "services", "ocserv... | apache-2.0 |
DarkstarProject/darkstar | scripts/globals/spells/bluemagic/sprout_smack.lua | 4 | 1707 | -----------------------------------------
-- Spell: Sprout Smack
-- Additional effect: Slow. Duration of effect varies with TP
-- Spell cost: 6 MP
-- Monster Type: Plantoids
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 2
-- Stat Bonus: MND+1
-- Level: 4
-- Casting Time: 0.5 seconds
-- Recast Time: 7.25 seconds... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Sacrarium/IDs.lua | 9 | 3245 | -----------------------------------
-- Area: Sacrarium
-----------------------------------
require("scripts/globals/status")
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.SACRARIUM] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot ob... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Norg/npcs/Parlemaille.lua | 14 | 1495 | -----------------------------------
-- Area: Norg
-- NPC: Parlemaille
-- Standard Info NPC
-----------------------------------
require("scripts/globals/pathfind");
-----------------------------------
local path =
{
-20.369047, 1.097733, -24.847025,
-20.327482, 1.097733, -25.914215,
-20.272402, 1.097733, -... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Rabao/npcs/Rahi_Fohlatti.lua | 7 | 3132 | -----------------------------------
-- Area: Rabao
-- NPC: Rahi Fohlatti
-- Starts Quest: Trial Size Trial by Wind
-- @pos -17 7 -10 247
-----------------------------------
package.loaded["scripts/zones/Rabao/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/glob... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/abilities/pets/hydro_breath.lua | 29 | 1337 | ---------------------------------------------------
-- Hydro Breath
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/ability");
-----------------------------------------------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Windurst_Waters_[S]/npcs/Ragyaya.lua | 13 | 1058 | -----------------------------------
-- 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 |
DarkstarProject/darkstar | scripts/globals/weaponskills/expiacion.lua | 10 | 1747 | -----------------------------------
-- Expiacion
-- Sword weapon skill
-- Skill Level: N/A
-- Delivers a Twofold attack. Damage varies with TP. Tizona: Aftermath effect varies with TP.
-- Available only after completing the Unlocking a Myth (Blue Mage) quest.
-- Aligned with the Aqua Gorget, Snow Gorget & Soil Gorget.
... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Norg/npcs/HomePoint#1.lua | 27 | 1247 | -----------------------------------
-- Area: Norg
-- NPC: HomePoint#1
-- @pos -26.910 0.296 -47.164 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Norg/TextIDs");
require("scripts/globals/homepoint");
----------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Spire_of_Mea/npcs/_0l1.lua | 39 | 1330 | -----------------------------------
-- Area: Spire_of_Mea
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Mea/TextIDs");
-------------------------... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/weaponskills/geirskogul.lua | 10 | 1730 | -----------------------------------
-- Geirskogul
-- Polearm weapon skill
-- Skill Level: N/A
-- Gae Assail/Gungnir: Shock Spikes.
-- This weapon skill is only available with the stage 5 relic Polearm Gungnir, within Dynamis with the stage 4 Gae Assail, or by activating the latent effect on the Skogul Lance.
-- Aligned... | gpl-3.0 |
jkprg/prosody-modules | mod_carbons_adhoc/mod_carbons_adhoc.lua | 32 | 1256 | -- Implement a Adhoc command which will show a user
-- the status of carbons generation in regard to his clients
--
-- Copyright (C) 2012 Michael Holzt
--
-- This file is MIT/X11 licensed.
local st = require "util.stanza";
local jid_bare = require "util.jid".bare;
local adhoc_new = module:require "adhoc".new;
local xm... | mit |
asdofindia/prosody-modules | mod_carbons_adhoc/mod_carbons_adhoc.lua | 32 | 1256 | -- Implement a Adhoc command which will show a user
-- the status of carbons generation in regard to his clients
--
-- Copyright (C) 2012 Michael Holzt
--
-- This file is MIT/X11 licensed.
local st = require "util.stanza";
local jid_bare = require "util.jid".bare;
local adhoc_new = module:require "adhoc".new;
local xm... | mit |
DarkstarProject/darkstar | scripts/zones/Port_Bastok/npcs/Kaede.lua | 9 | 2066 | -----------------------------------
-- Area: Port Bastok
-- NPC: Kaede
-- Start Quest: Ayame and Kaede
-- Involved in Quests: Riding on the Clouds
-- !pos 48 -6 67 236
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
local ... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/items/dish_of_spaghetti_ortolana.lua | 11 | 1257 | -----------------------------------------
-- ID: 5658
-- Item: Dish of Spafhetti Ortolana
-- Food Effect: 30 Mins, All Races
-----------------------------------------
-- Agility 2
-- Vitality 2
-- HP +30% Cap 70
-- StoreTP +6
-- Resist Blind +10
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
Whit3Tig3R/botontelegram | plugins/anti_bot.lua | 65 | 3192 |
local function isBotAllowed (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
local banned = redis:get(hash)
return banned
end
local function allowBot (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
redis:set(hash, true)
end
local function disallowBot (userId, ch... | gpl-2.0 |
ungarscool1/HL2RP | hl2rp/gamemode/modules/f1menu/cl_chatcommandlabel.lua | 13 | 1205 | local PANEL = {}
local green = Color(0, 150, 0)
local red = Color(160, 20, 20)
function PANEL:Init()
self:SetFont("DarkRPHUD2")
self:SetColor(green)
self:DockMargin(0, 5, 0, 0)
end
function PANEL:setChatCommand(command)
self.chatCommand = command
local text = string.format("%s%s - %s", GAMEMODE.C... | agpl-3.0 |
Fenix-XI/Fenix | scripts/globals/spells/bluemagic/mind_blast.lua | 26 | 1989 | -----------------------------------------
-- Spell: Mind Blast
-- Deals lightning damage to an enemy. Additional effect: Paralysis
-- Spell cost: 82 MP
-- Monster Type: Demons
-- Spell Type: Magical (Lightning)
-- Blue Magic Points: 4
-- Stat Bonus: MP+5 MND+1
-- Level: 73
-- Casting Time: 3 seconds
-- Recast Time: 30 ... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/items/bowl_of_loach_soup.lua | 11 | 1528 | -----------------------------------------
-- ID: 5671
-- Item: Bowl of Loach Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- Dexterity 4
-- Agility 4
-- Accuracy 7% Cap 50
-- Ranged Accuracy 7% Cap 50
-- HP 7% Cap 50
-- Evasion 5
-----------------------------------------
require("scri... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Rabao/npcs/Agado-Pugado.lua | 9 | 5371 | -----------------------------------
-- Area: Rabao
-- NPC: Agado-Pugado
-- Starts and Finishes Quest: Trial by Wind
-- !pos -17 7 -10 247
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/shop");
require("scripts/globals/quests");
loc... | gpl-3.0 |
DarkstarProject/darkstar | scripts/commands/addallmaps.lua | 22 | 1774 | ---------------------------------------------------------------------------------------------------
-- func: addallmaps
-- desc: Adds all maps to the given player.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = "s"
}... | gpl-3.0 |
eugeneia/snabbswitch | src/apps/ipv6/echo.lua | 3 | 4628 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
-- ICMPv6 echo request ("ping") responder (RFC 4443)
module(..., package.seeall)
local bit = require("bit")
local ffi = require("ffi")
local lib = require("core.lib")
local packet = require("core.packet")
local co... | apache-2.0 |
DarkstarProject/darkstar | scripts/globals/abilities/pets/tail_whip.lua | 11 | 1358 | ---------------------------------------------------
-- Tail Whip M=5
---------------------------------------------------
require("scripts/globals/settings")
require("scripts/globals/status")
require("scripts/globals/monstertpmoves")
require("scripts/globals/summon")
---------------------------------------------------
... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/spells/drown.lua | 17 | 1841 | -----------------------------------------
-- Spell: Drown
-- Deals water damage that lowers an enemy's strength and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
----------------------------... | gpl-3.0 |
Giorox/AngelionOT-Repo | data/npc/scripts/bone.lua | 1 | 5045 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local talkState = {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCrea... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Apollyon/mobs/Barometz.lua | 7 | 1266 | -----------------------------------
-- Area: Apollyon NE
-- NPC: Barometz
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
---------------------------------... | gpl-3.0 |
Giorox/AngelionOT-Repo | data/spells/lib/spells.lua | 2 | 2788 | -- Waves
AREA_WAVE4 = {
{1, 1, 1, 1, 1},
{0, 1, 1, 1, 0},
{0, 1, 1, 1, 0},
{0, 0, 3, 0, 0}
}
AREA_SQUAREWAVE5 = {
{1, 1, 1},
{1, 1, 1},
{1, 1, 1},
{0, 1, 0},
{0, 3, 0}
}
AREA_WAVE5 = {
{0, 1, 1, 1, 0},
{1, 1, 1, 1, 1},
{0, 1, 1, 1, 0},
{0, 0, 1, 0, 0},
{0, 0, 3, 0, 0}
}
-- Diagonal waves
AREADIAGONAL_W... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Riverne-Site_B01/Zone.lua | 13 | 1784 | -----------------------------------
--
-- Zone: Riverne-Site_B01
--
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Riverne-Site_B01/TextIDs");
require("scripts/globals/status");
require("scripts/globals/se... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/mobskills/throat_stab.lua | 11 | 1190 | ---------------------------------------------
-- Throat Stab
--
-- Description: Deals damage to a single target reducing their HP to 5%. Resets enmity.
-- Type: Physical
-- Utsusemi/Blink absorb: No
-- Range: Single Target
-- Notes: Very short range, easily evaded by walking away from it.
------------------------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Windurst_Woods/npcs/Mushuhi-Metahi.lua | 59 | 1052 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Mushuhi-Metahi
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Windurst_Woods/T... | gpl-3.0 |
ungarscool1/HL2RP | hl2rp/gamemode/modules/fpp/pp/server/defaultblockedmodels.lua | 9 | 2488 | /*
DEFAULT BLOCKED MODELS
THIS FILE WILL ONLY BE RUN ONCE, WHICH IS THE FIRST TIME YOU INSTALL FPP, OR AFTER THE SQLITE DATABASE IS RESET
DO NOT EDIT THIS FILE AS IT IS USELESS
GO TO Q>UTILITIES>FPP ADMIN SETTINGS > BLOCKED MODEL OPTIONS TO ADD OR REMOVE BLOCKED MODELS
*/
FPP = FPP or {}
local defaultblocked = {
"mo... | agpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Heavens_Tower/npcs/_6q2.lua | 13 | 3627 | -----------------------------------
-- Area: Heaven's Tower
-- NPC: Vestal Chamber (chamber of the Star Sibyl)
-- @pos 0.1 -49 37 242
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/abilities/choral_roll.lua | 12 | 2951 | -----------------------------------
-- 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
-- Phantom Roll +1 Value: 4
--
-- Die Roll |No BRD |With BRD
-- -------- -------- -------
-- 1... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/mobskills/Hellsnap.lua | 31 | 1162 | ---------------------------------------------------
-- Hellsnap
--
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onMobSkillCheck(target,m... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Selbina/npcs/Romeo.lua | 13 | 2504 | -----------------------------------
-- Area: Selbina
-- NPC: Romeo
-- Starts and Finishes Quest: Donate to Recycling
-- @zone 248
-- @pos -11 -11 -6
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Castle_Oztroja_[S]/mobs/Suu_Xicu_the_Cantabile.lua | 9 | 2324 | -----------------------------------
-- Area: Castle Oztroja [S]
-- NM: Suu Xicu the Cantabile
-- TODO:
-- Summoning of pets should be tied to Soul Voice usage.
-- Gains a hidden regen from Army's Paeon V. Even if it is dispelled, it will gain several HP%.
-----------------------------------
mixins = {require("scrip... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/weaponskills/catastrophe.lua | 1 | 2090 | -----------------------------------
-- Catastrophe
-- Scythe weapon skill
-- Skill Level: N/A
-- Drain target's HP. Bec de Faucon/Apocalypse: Additional effect: Haste
-- This weapon skill is available with the stage 5 relic Scythe Apocalypse or within Dynamis with the stage 4 Bec de Faucon.
-- Also available without Af... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Caedarva_Mire/npcs/Kwadaaf.lua | 13 | 1419 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Kwadaaf
-- Type: Entry to Alzadaal Undersea Ruins
-- @pos -639.000 12.323 -260.000 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitem... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Garlaige_Citadel_[S]/npcs/Randecque.lua | 29 | 1746 | -----------------------------------
-- Area: Garlaige Citadel [S]
-- NPC: Randecque
-- @pos 61 -6 137 164
-- Notes: Gives Red Letter required to start "Steamed Rams"
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel_[S]/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Norg/npcs/Washu.lua | 9 | 3108 | -----------------------------------
-- Area: Norg
-- NPC: Washu
-- Involved in Quest: Yomi Okuri
-- Starts and finishes Quest: Stop Your Whining
-- !pos 49 -6 15 252
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/npc_util");
require("scripts/globals/quests");
require(... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Bibiki_Bay/npcs/Toh_Zonikki.lua | 9 | 4702 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Toh Zonikki
-- Type: Clamming NPC
-- !pos -371 -1 -421 4
-----------------------------------
local ID = require("scripts/zones/Bibiki_Bay/IDs");
require("scripts/globals/keyitems");
-----------------------------------
-- Local Variables
------------------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Kamihr_Drifts/npcs/LiseranDoorEntrance.lua | 27 | 1210 | -----------------------------------
-- Area: Kamihr Drifts
-- NPC: Liseran Door Entrance
-- Zones to Outer Ra'Kaznar (zone 274)
-- @zone 274
-- @pos -34.549 -181.334 -20.031
-----------------------------------
package.loaded["scripts/zones/Kamihr_Drifts/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
gdewald/Sputter | dev/premake/premake/tests/actions/codeblocks/codeblocks_files.lua | 21 | 1664 | --
-- tests/actions/codeblocks/codeblocks_files.lua
-- Validate generation of files block in CodeLite C/C++ projects.
-- Copyright (c) 2011 Jason Perkins and the Premake project
--
T.codeblocks_files = { }
local suite = T.codeblocks_files
local codeblocks = premake.codeblocks
--
-- Setup
--
local sln, prj
f... | mit |
eugeneia/snabbswitch | lib/ljsyscall/test/bsd.lua | 18 | 16048 | -- General BSD tests
local function init(S)
local helpers = require "syscall.helpers"
local types = S.types
local c = S.c
local abi = S.abi
local bit = require "syscall.bit"
local ffi = require "ffi"
local t, pt, s = types.t, types.pt, types.s
local assert = helpers.assert
local function fork_assert(cond, err, ..... | apache-2.0 |
Fenix-XI/Fenix | scripts/globals/mobskills/Mow.lua | 32 | 1069 | ---------------------------------------------
-- Mow
--
-- Description: Deals damage in an area of effect. Additional effect: Poison
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown radial
-- Notes: Poison can take around 10HP/tick
---------------------------------------------
require("sc... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Yughott_Grotto/npcs/Treasure_Chest.lua | 13 | 2930 | -----------------------------------
-- Area: Yughott Grotto
-- NPC: Treasure Chest
-- @zone 142
-----------------------------------
package.loaded["scripts/zones/Yughott_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
require("scrip... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Ilrusi_Atoll/instances/extermination.lua | 12 | 2057 | -----------------------------------
--
-- Assault: Extermination
--
-----------------------------------
local ID = require("scripts/zones/Ilrusi_Atoll/IDs")
require("scripts/globals/instance")
-----------------------------------
function afterInstanceRegister(player)
local instance = player:getInstance()
... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Lower_Jeuno/npcs/Yin_Pocanakhu.lua | 13 | 1365 | -----------------------------------
-- 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("scripts/zone... | gpl-3.0 |
MB4life/NeyBot | plugins/inpm.lua | 1114 | 3008 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
emender/emender | test/TestRequires1.lua | 1 | 1522 | -- TestRequires1.lua - check if all required tools are available.
-- This test contains 'requires' metadata with three basic tools
-- that are checked for its existence: 'ls', 'true' and 'cp'.
--
-- Copyright (C) 2014, 2015 Pavel Tisnovsky
--
-- This file is part of Emender.
--
-- Emender is free software: you can redi... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/RoMaeve/npcs/qm2.lua | 13 | 2069 | -----------------------------------
-- Area: Ro'Maeve
-- NPC: qm2 (???)
-- Involved in Mission: Bastok 7-1
-- @pos 102 -4 -114 122 and <many pos>
-----------------------------------
package.loaded["scripts/zones/RoMaeve/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Port_Jeuno/npcs/_6u4.lua | 13 | 1407 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Door: Departures Exit (for San D'Oria)
-- @zone 246
-- @pos -76 8 54
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/g... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/abilities/pets/string_shredder.lua | 14 | 1162 | ---------------------------------------------------
-- String Shredder
---------------------------------------------------
require("scripts/globals/status")
require("scripts/globals/settings")
require("scripts/globals/automatonweaponskills")
---------------------------------------------------
function onMobSkillCheck... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Spire_of_Vahzl/npcs/_0n0.lua | 13 | 1514 | -----------------------------------
-- Area: Spire of Vahzl
-- NPC: Web of Recollection
-----------------------------------
package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globals/mis... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/items/slice_of_marinara_pizza_+1.lua | 11 | 1300 | -----------------------------------------
-- ID: 6212
-- Item: slice of marinara pizza +1
-- Food Effect: 60 minutes, all Races
-----------------------------------------
-- HP +25
-- Accuracy+11% (Max. 58)
-- Attack+21% (Max. 55)
-- "Undead Killer"+5
-----------------------------------------
require("scripts/globals/st... | gpl-3.0 |
marcel-sch/luci | modules/luci-mod-admin-mini/luasrc/model/cbi/mini/luci.lua | 76 | 1122 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
require "luci.config"
local fs = require "nixio.fs"
m = Map("luci", translate("Web <abbr title=\"User Interface\">UI</abbr>"), translate("Here you can customi... | apache-2.0 |
Fenix-XI/Fenix | scripts/zones/Port_Bastok/npcs/Styi_Palneh.lua | 27 | 4322 | -----------------------------------
-- Area: Port Bastok
-- NPC: Styi Palneh
-- Title Change NPC
-- @pos 28 4 -15 236
-----------------------------------
require("scripts/globals/titles");
local title2 = { NEW_ADVENTURER , BASTOK_WELCOMING_COMMITTEE , BUCKET_FISHER , PURSUER_OF_THE_PAST , MOMMYS_HELPER , HOT_DOG ,
... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Arrapago_Reef/npcs/qm6.lua | 30 | 1138 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: ??? (corsair job flag quest)
--
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Arrapago_Reef/TextIDs");
-----------------------------------
... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Norg/npcs/Chiyo.lua | 13 | 1299 | -----------------------------------
-- Area: Norg
-- NPC: Chiyo
-- Type: Tenshodo Merchant
-- @pos 5.801 0.020 -18.739 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop")... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Bastok_Markets/npcs/Ellard.lua | 11 | 2249 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Ellard
-- Type: Guildworker's Union Representative
-- !pos -214.355 -7.814 -63.809 235
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/crafting");
local ID = require("scripts/zones/Bastok_Markets/IDs")... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Heavens_Tower/npcs/Zubaba.lua | 8 | 2978 | -----------------------------------
-- Area: Heavens Tower
-- NPC: Zubaba
-- Involved in Mission 3-2
-- !pos 15 -27 18 242
-----------------------------------
local ID = require("scripts/zones/Heavens_Tower/IDs")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
----------------------------------... | gpl-3.0 |
dios-game/dios | templates/lua_cocos/resources/src/cocos/framework/init.lua | 9 | 2729 | --[[
Copyright (c) 2011-2015 chukong-incc.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, di... | mit |
DarkstarProject/darkstar | scripts/globals/mobskills/tail_swing.lua | 11 | 1029 | ---------------------------------------------
-- Tail Swing
--
-- Description: Deals damage to a single target. Additional effect: Bind
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/settings")
require("scripts/... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Lower_Jeuno/npcs/_l01.lua | 13 | 1557 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -101.010 0 -144.080
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/sett... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Temenos/mobs/Water_Elemental.lua | 9 | 1382 | -----------------------------------
-- Area: Temenos E T
-- Mob: Water Elemental
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
function onMobEngaged(mob,target)
end;
function onMobDeath(mob, player, isKiller)
local mobID = mob:getID();
local mobX = ... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Western_Adoulin/npcs/Flapano.lua | 9 | 3552 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Flapno
-- Type: Standard NPC, Quest NPC, and Shop NPC
-- Starts, Involved with, and Finishes Quest: 'Exotic Delicacies'
-- Involved with Quest: 'All the Way to the Bank'
-- !pos 70 0 -13 256
-----------------------------------
local ID = require... | gpl-3.0 |
trap000d/lain | widget/temp.lua | 2 | 1257 | --[[
Licensed under GNU General Public License v2
* (c) 2013, Luca CPZ
--]]
local helpers = require("lain.helpers")
local wibox = require("wibox")
local tonumber = tonumber
-- {thermal,core} temperature info
-- lain.widget.temp
local function factory(args)
args = args or {}
local ... | gpl-2.0 |
Fenix-XI/Fenix | scripts/zones/Horlais_Peak/bcnms/double_dragonian.lua | 30 | 1807 | -----------------------------------
-- Area: Horlias peak
-- Name: double_dragonian
-- KSNM30
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/quests");
require("scripts/zones/... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Abyssea-Tahrongi/npcs/qm13.lua | 51 | 1857 | -----------------------------------
-- Zone: Abyssea-Konschtat
-- NPC: ???
-- Spawns: Chloris
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(pla... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/mobskills/condemnation.lua | 11 | 1073 | ---------------------------------------------------
-- Condemnation
-- Deals damage in a threefold attack to enemies within a fan-shaped area of effect.
---------------------------------------------
require("scripts/globals/monstertpmoves")
require("scripts/globals/settings")
require("scripts/globals/status")
---------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Port_San_dOria/npcs/Teilsa.lua | 13 | 1814 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Teilsa
-- Adventurer's Assistant
-- Only recieving Adv.Coupon and simple talk event are scrited
-- This NPC participates in Quests and Missions
-------------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"]... | gpl-3.0 |
ungarscool1/HL2RP | hl2rp/gamemode/modules/deathpov/cl_init.lua | 11 | 1171 | local view = {
origin = Vector(0, 0, 0),
angles = Angle(0, 0, 0),
fov = 90,
znear = 1
}
hook.Add("CalcView", "rp_deathPOV", function(ply, origin, angles, fov)
-- Entity:Alive() is being slow as hell, we might actually see ourselves from third person for frame or two
if not GAMEMODE.Config.death... | agpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Pashhow_Marshlands_[S]/npcs/Indescript_Markings.lua | 11 | 4668 | -----------------------------------
-- Area: Pashhow Marshlands [S]
-- NPC: Indescript Markings
-- NOTE: There are 3 Indescript Markings
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pashhow_Marshlan... | gpl-3.0 |
trap000d/lain | util/markup.lua | 7 | 2240 | --[[
Licensed under MIT License
* (c) 2013, Luca CPZ
* (c) 2009, Uli Schlachter
* (c) 2009, Majic
--]]
local format = string.format
local setmetatable = setmetatable
-- Lain markup util submodule
-- lain.util.markup
local markup = { fg = {}, bg = {} }
-- Convenience tags
function markup.bold... | gpl-2.0 |
Fenix-XI/Fenix | scripts/zones/Kazham/npcs/Pofhu_Tendelicon.lua | 15 | 1056 | -----------------------------------
-- Area: Kazham
-- NPC: Pofhu Tendelicon
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Temple_of_Uggalepih/npcs/Tome_of_Magic.lua | 13 | 1134 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Tome of Magic
-- Involved In Windurst Mission 7-2 (Optional Dialogue)
-- @pos 346 0 343 159 <many>
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
RockySeven3161/P_O_W_E_R_B_O_T | plugins/google.lua | 722 | 1037 | local function googlethat(query)
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&"
local parameters = "q=".. (URL.escape(query) or "")
-- Do the request
local res, code = https.request(api..parameters)
if code ~=200 then return nil end
local data = json:decode(res)
local r... | gpl-2.0 |
DarkstarProject/darkstar | scripts/zones/Upper_Jeuno/npcs/Monberaux.lua | 9 | 5690 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Monberaux
-- Starts and Finishes Quest: The Lost Cardian (finish), The kind cardian (start)
-- Involved in Quests: Save the Clock Tower
-- !pos -43 0 -1 244
-----------------------------------
local ID = require("scripts/zones/Upper_Jeuno/IDs");
require(... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.