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 |
|---|---|---|---|---|---|
DarkstarProject/darkstar | scripts/globals/abilities/scholars_roll.lua | 12 | 2513 | -----------------------------------
-- Ability: Scholar's Roll
-- Enhances Conserve MP effect for party members within area of effect
-- Optimal Job: Scholar
-- Lucky Number: 2
-- Unlucky Number: 6
-- Level: 64
-- Phantom Roll +1 Value: 1
--
-- Data unknown
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Tavnazian_Safehold/npcs/_0q1.lua | 9 | 1437 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: _0q1 (Sewer Entrance)
-- !pos 28 -12 44 26
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
-----------------------------------
function onTrade(player,npc,trade)
end;
function onTrigg... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Buburimu_Peninsula/Zone.lua | 15 | 4493 | -----------------------------------
--
-- Zone: Buburimu_Peninsula (118)
--
-----------------------------------
package.loaded[ "scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Buburimu_Peninsula/TextI... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Hall_of_Transference/npcs/_0e1.lua | 32 | 1340 | -----------------------------------
-- Area: Hall of Transference
-- NPC: Cermet Gate - Dem
-- @pos -220 -46 -279 14
-----------------------------------
package.loaded["scripts/zones/Hall_of_Transference/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/H... | gpl-3.0 |
oTibia/UnderLight-AK47 | data/actions/scripts/liquids/strong_mana.lua | 2 | 1328 | local MIN = 110
local MAX = 190
local EMPTY_POTION = 7634
local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_MANADRAIN)
setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE)
setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true)
setCombatParam(combat, COMBAT_PARAM... | gpl-2.0 |
gdewald/Sputter | dev/premake/premake/src/base/help.lua | 26 | 1220 | --
-- help.lua
-- User help, displayed on /help option.
-- Copyright (c) 2002-2008 Jason Perkins and the Premake project
--
function premake.showhelp()
-- display the basic usage
printf("Premake %s, a build script generator", _PREMAKE_VERSION)
printf(_PREMAKE_COPYRIGHT)
printf("%s %s", _VERSION, _COPYRIGHT... | mit |
DarkstarProject/darkstar | scripts/zones/East_Ronfaure_[S]/Zone.lua | 11 | 1245 | -----------------------------------
--
-- Zone: East_Ronfaure_[S] (81)
--
-----------------------------------
local ID = require("scripts/zones/East_Ronfaure_[S]/IDs")
require("scripts/globals/missions")
require("scripts/globals/helm")
require("scripts/globals/zone")
-----------------------------------
function onInit... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Norg/npcs/Ryoma.lua | 9 | 4100 | -----------------------------------
-- Area: Norg
-- NPC: Ryoma
-- Start and Finish Quest: 20 in Pirate Years, I'll Take the Big Box, True Will, Bugi Soden
-- Involved in Quest: Ayame and Kaede
-- !pos -23 0 -9 252
-----------------------------------
local ID = require("scripts/zones/Norg/IDs")
require("scripts/global... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/items/b.e.w._pitaru.lua | 11 | 1039 | -----------------------------------------
-- ID: 5892
-- Item: b.e.w._pitaru
-- Food Effect: 30 Min, All Races
-----------------------------------------
-- MP +9% (cap 130)
-- Increases rate of magic skill gains by 80%
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Chateau_dOraguille/npcs/_6h1.lua | 13 | 2327 | -----------------------------------
-- Area: Chateau d'Oraguille
-- Door: Prince Regent's Rm
-- Starts and Finishes Quest: Prelude of Black and White (Start), Pieuje's Decision (Start)
-- @pos -37 -3 31 233
-----------------------------------
package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil;
-----------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/items/woozyshroom.lua | 18 | 1170 | -----------------------------------------
-- ID: 4373
-- Item: woozyshroom
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -4
-- Mind 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----------... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/items/plate_of_tuna_sushi.lua | 11 | 1452 | -----------------------------------------
-- ID: 5150
-- Item: plate_of_tuna_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 20
-- Dexterity 3
-- Charisma 5
-- Accuracy % 15 (cap 72)
-- Ranged ACC % 15 (cap 72)
-- Sleep Resist 1
-----------------------------------------
requir... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Temenos/mobs/Proto-Ultima.lua | 9 | 1458 | -----------------------------------
-- Area: Temenos
-- Mob: Proto-Ultima
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/limbus");
-----------------------------------
function onMobSpawn(mob)
mob:SetMagicCastingEnabled(false);
end;
function onMobFight(mob,target)
... | gpl-3.0 |
ungarscool1/HL2RP | hl2rp/gamemode/modules/fadmin/fadmin/playeractions/voicemute/cl_init.lua | 4 | 2589 | hook.Add("PlayerBindPress", "FAdmin_voicemuted", function(ply, bind, pressed)
if ply:FAdmin_GetGlobal("FAdmin_voicemuted") and string.find(string.lower(bind), "voicerecord") then return true end
-- The voice muting is not done clientside, this is just so people know they can't talk
end)
FAdmin.StartHooks["Voic... | agpl-3.0 |
asdofindia/prosody-modules | mod_roster_command/mod_roster_command.lua | 31 | 5484 | -----------------------------------------------------------
-- mod_roster_command: Manage rosters through prosodyctl
-- version 0.02
-----------------------------------------------------------
-- Copyright (C) 2011 Matthew Wild
-- Copyright (C) 2011 Adam Nielsen
--
-- This project is MIT/X11 licensed. Please see the
--... | mit |
eugeneia/snabbswitch | src/lib/numa.lua | 3 | 5394 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(...,package.seeall)
-- Call bind_to_cpu(1) to bind the current Snabb process to CPU 1 (for
-- example), to bind its memory to the corresponding NUMA node, to
-- migrate mapped pages to that NUMA node, and to arrange to warn if
-- yo... | apache-2.0 |
Fenix-XI/Fenix | scripts/zones/Provenance/npcs/Tier42.lua | 1 | 1307 | -----------------------------------
-- Area: Prov
-- NPC: tier4
-- Guild Merchant NPC: Tier4 rewards
-- @pos 0 0 0 0 zone
-----------------------------------
package.loaded["scripts/zones/Provenance/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/sho... | gpl-3.0 |
eugeneia/snabbswitch | src/program/snabbvmx/check/check.lua | 9 | 1666 | module(..., package.seeall)
local config = require("core.config")
local lib = require("core.lib")
local util = require("program.lwaftr.check.util")
local counters = require("program.lwaftr.counters")
local setup = require("program.snabbvmx.lwaftr.setup")
local function show_usage(code)
print(require("program.snabb... | apache-2.0 |
abasshacker/abbasend | bot/utils.lua | 646 | 23489 | URL = require "socket.url"
http = require "socket.http"
https = require "ssl.https"
ltn12 = require "ltn12"
serpent = require "serpent"
feedparser = require "feedparser"
json = (loadfile "./libs/JSON.lua")()
mimetype = (loadfile "./libs/mimetype.lua")()
redis = (loadfile "./libs/redis.lua")()
JSON = (loadfile "./libs/... | gpl-2.0 |
Giorox/AngelionOT-Repo | data/npc/scripts/bank.lua | 1 | 12321 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
local Topic, count, transferTo_name = {}, {}, {}
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid)... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Southern_San_dOria/npcs/Endracion.lua | 9 | 6588 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Endracion
-- !pos -110 1 -34 230
-----------------------------------
local ID = require("scripts/zones/Southern_San_dOria/IDs");
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/missions");
------... | gpl-3.0 |
MartinFrancu/BETS | chili_clone/controls/progressbar_clone.lua | 3 | 3524 | --//=============================================================================
--- Progressbar module
--- Progressbar fields.
-- Inherits from Control.
-- @see control.Control
-- @table Progressbar
-- @int[opt=0] min minimum value of the Progressbar
-- @int[opt=100] max maximum value of the Progressbar
-... | mit |
ungarscool1/HL2RP | hl2rp/gamemode/modules/positions/sv_spawnpos.lua | 10 | 1587 | local function SetSpawnPos(ply, args)
local pos = ply:GetPos()
local t
for k,v in pairs(RPExtraTeams) do
if args == v.command then
t = k
DarkRP.notify(ply, 0, 4, DarkRP.getPhrase("created_spawnpos", v.name))
end
end
if t then
DarkRP.storeTeamSpawnPos... | agpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Windurst_Woods/npcs/Apururu.lua | 12 | 7966 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Apururu
-- Involved in Quests: The Kind Cardian, Can Cardians Cry?
-- @zone 241
-- @pos -11 -2 13
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
package.loaded["scripts/globals/missions"] = nil;
packa... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Ordelles_Caves/npcs/Grounds_Tome.lua | 30 | 1098 | -----------------------------------
-- Area: Ordelle's Caves
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Tavnazian_Safehold/npcs/Enaremand.lua | 13 | 1062 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Enaremand
-- Type: Standard NPC
-- @zone: 26
-- @pos 95.962 -42.003 51.613
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
--... | gpl-3.0 |
ndbeals/Clip_Tool | lua/weapons/gmod_tool/stools/visual.lua | 1 | 8106 | /*
Visual Clip Tool
by TGiFallen
*/
TOOL.Category = "Construction"
TOOL.Name = "#Visual Clip"
TOOL.Command = nil
TOOL.ConfigName = ""
TOOL.ClientConVar["distance"] = "1"
TOOL.ClientConVar["p"] = "0"
TOOL.ClientConVar["y"] = "0"
TOOL.ClientConVar["r"] = "0"
if CLIENT then
language.Add( "Tool.visual.name", "Vi... | gpl-2.0 |
Fenix-XI/Fenix | scripts/zones/Davoi/npcs/Disused_Well.lua | 13 | 1333 | -----------------------------------
-- Area: Davoi
-- NPC: Disused Well
-- Involved in Quest: A Knight's Test
-- @pos -221 2 -293 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Temenos/bcnms/temenos_eastern_tower.lua | 9 | 1847 | -----------------------------------
-- Area: Temenos
-- Name: Temenos Eastern Tower
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/battlefield")
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBattlefieldTick(battle... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Ifrits_Cauldron/Zone.lua | 13 | 2695 | -----------------------------------
--
-- Zone: Ifrits_Cauldron (205)
--
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Ifrits_Cauldron/Te... | gpl-3.0 |
AbolDalton/kia | plugins/abjad.lua | 13 | 4026 | local numbers = {}
numbers['ا'] = 1
numbers['ب'] = 2
numbers['ج'] = 3
numbers['د'] = 4
numbers['ه'] = 5
numbers['و'] = 6
numbers['ز'] = 7
numbers['ح'] = 8
numbers['ط'] = 9
numbers['ی'] = 10
numbers['ک'] = 20
numbers['ل'] = 30
numbers['م'] = 40
numbers['ن'] = 50
numbers['س'] = 60
numbers['ع'] = 70
numbers['ف'] = 80
numb... | gpl-2.0 |
GameDevStudios/MrBallGuy2 | assets/libs/loveframes/objects/base.lua | 5 | 26989 | --[[------------------------------------------------
-- Love Frames - A GUI library for LOVE --
-- Copyright (c) 2013 Kenny Shields --
--]]------------------------------------------------
-- base object
local newobject = loveframes.NewObject("base", "loveframes_object_base")
--[[------------------------------------... | gpl-3.0 |
emender/emender | test/TestGitRepo.lua | 1 | 1232 | -- TestGitRepo.lua - check for basic Emender functionality
-- Copyright (C) 2016 Pavel Tisnovsky
--
-- This file is part of Emender.
--
-- Emender 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 3 of... | gpl-3.0 |
dualface/killpests | src/framework/cc/Registry.lua | 23 | 1841 |
local Registry = class("Registry")
Registry.classes_ = {}
Registry.objects_ = {}
function Registry.add(cls, name)
assert(type(cls) == "table" and cls.__cname ~= nil, "Registry.add() - invalid class")
if not name then name = cls.__cname end
assert(Registry.classes_[name] == nil, string.format("Registry.ad... | mit |
Fenix-XI/Fenix | scripts/zones/Sea_Serpent_Grotto/npcs/_4w4.lua | 13 | 2793 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Gold Beastcoin Door
-- @zone 176
-- @pos 60 8.55 -80
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/z... | gpl-3.0 |
crunchuser/prosody-modules | mod_register_web/mod_register_web.lua | 27 | 5718 | local captcha_options = module:get_option("captcha_options", {});
local nodeprep = require "util.encodings".stringprep.nodeprep;
local usermanager = require "core.usermanager";
local http = require "net.http";
local path_sep = package.config:sub(1,1);
module:depends"http";
local extra_fields = {
nick = true; name = ... | mit |
devFRIND/TAEMNEW | plugins/getfial.lua | 2 | 1034 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY TAEMNEW ▀▄ ▄▀
▀▄ ▄▀ BY TAEMNEW () ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY TAEMNEW ▀▄ ▄▀
▀▄ ▄▀ get file : جلب ملف ▀▄ ▄▀
▀▄▀▀▄▄▀... | gpl-2.0 |
eugeneia/snabbswitch | lib/ljsyscall/syscall/linux/ioctl.lua | 5 | 10292 | -- ioctls, filling in as needed
-- note there are some architecture dependent values
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcal... | apache-2.0 |
DarkstarProject/darkstar | scripts/globals/mobskills/pw_acheron_flame.lua | 11 | 1631 | ---------------------------------------------
-- Acheron Flame
--
-- Description: Deals severe Fire damage to enemies within an area of effect. Additional effect: Burn
-- Type: Magical
--
--
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 20' radial
-- Notes: Only used when a cerberus's health is 25% or lower (may n... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Windurst_Waters_[S]/npcs/Kolin-Olin.lua | 13 | 1062 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kolin-Olin
-- Type: Standard NPC
-- @zone: 94
-- @pos 9.981 -2.478 33.786
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
--... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Arrapago_Reef/npcs/_jic.lua | 27 | 3547 | -----------------------------------
-- Area: Arrapago Reef
-- Door: Runic Seal
-- @pos 36 -10 620 54
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
require("s... | gpl-3.0 |
sprcpu/F80-V3.0 | QrCode.lua | 1 | 1271 | local function get_hex(str)
local colors = {
red = "r",
blue = "b",
green = "g",
yellow = "y",
purple = "f0f",
white = "w",
black = "b",
gray = "g"
}
for color, value in pairs(colors) do
if color == str then
return value
end
end
return str
end
local function qr... | gpl-2.0 |
Fenix-XI/Fenix | scripts/zones/Port_Windurst/npcs/Odilia.lua | 13 | 1044 | -----------------------------------
-- Area: Port Windurst
-- NPC: Odilia
-- Type: Standard NPC
-- @zone: 240
-- @pos 78.801 -6 118.653
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
--------------------... | gpl-3.0 |
Jezza/Lava | src/test/resources/speed/nbody.lua | 1 | 3468 | -- The Great Computer Language Shootout
-- http://shootout.alioth.debian.org/
-- contributed by Isaac Gouy, tuned by Mike Pall
local sqrt = math.sqrt
local PI = 3.141592653589793
local SOLAR_MASS = 4 * PI * PI
local DAYS_PER_YEAR = 365.24
local Jupiter = {
x = 4.84143144246472090e+00
,y = -1.16032004402742839e+... | lgpl-3.0 |
andreynovikov/maptrek | app/src/main/jni/libtess2/premake4.lua | 6 | 1111 |
local action = _ACTION or ""
solution "libtess2"
location ( "Build" )
configurations { "Debug", "Release" }
platforms {"native", "x64", "x32"}
configuration "Debug"
defines { "DEBUG" }
flags { "Symbols", "ExtraWarnings"}
configuration "Release"
defines { "NDEBUG" }
flags { "Optimize", "ExtraWarnings"... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Windurst_Waters/npcs/HomePoint#3.lua | 13 | 1270 | -----------------------------------
-- Area: Windurst Waters
-- NPC: HomePoint#3
-- @pos: 4 -4 -174 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Waters/TextIDs");
require("scripts/globals/ho... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Windurst_Waters/npcs/Ness_Rugetomal.lua | 12 | 1686 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Ness Rugetomal
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/events/harvest_festivals")
require("scripts/globals/shop");
package.loaded["scripts/zones/Windurst_Waters/TextI... | gpl-3.0 |
Giorox/AngelionOT-Repo | data/npc/scripts/cityguard.lua | 6 | 2144 | local target = 0
local prevTarget = 0
local maxChaseDistance = 20
local origPos = 0
local lastAttack = 0
local followTimeout = 10
local function isSkulled(cid)
if(getCreatureSkullType(cid) >= SKULL_WHITE and isPlayerPzLocked(cid)) then
return true
end
return false
end
local function goToOrigPos()
target = 0
l... | gpl-3.0 |
kashif/optim | polyinterp.lua | 13 | 6321 | local function isreal(x)
return x == x
end
local function isnan(x)
return not x == x
end
local function roots(c)
local tol=1e-12
c[torch.lt(torch.abs(c),tol)]=0
local nonzero = torch.ne(c,0)
if nonzero:max() == 0 then
return 0
end
-- first non-zero
local _,pos = torch.max(nonzero,1)... | bsd-3-clause |
Fenix-XI/Fenix | scripts/zones/Port_San_dOria/npcs/_6g7.lua | 13 | 1116 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Door: Arrivals Entrance
-- @zone 232
-- @pos -24 -8 15
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Dynamis-Windurst/mobs/Xoo_Kaza_the_Solemn.lua | 7 | 1032 | -----------------------------------
-- Area: Dynamis Windurst
-- NPC: Xoo Kaza the Solemn
-- Boss Trigger for RDM NM
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------------------------------
-- o... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Bastok_Mines/npcs/Tami.lua | 12 | 2870 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Tami
-- Starts & Finishes Repeatable Quest: Groceries
-- Note: Repeatable until proper completion
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Northern_San_dOria/npcs/Coullene.lua | 13 | 1581 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Coullene
-- Type: Involved in Quest (Flyers for Regine)
-- @zone: 231
-- @pos 146.420 0.000 127.601
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Al_Zahbi/npcs/Gaweesh.lua | 13 | 1044 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Gaweesh
-- Type: Najelith's Attendant
-- @zone: 48
-- @pos -64.537 -8 37.928
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
--------------------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Riverne-Site_A01/npcs/HomePoint#1.lua | 27 | 1258 | -----------------------------------
-- Area: Riverne-Site A01
-- NPC: HomePoint#1
-- @pos
-----------------------------------
package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Riverne-Site_A01/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Arrapago_Reef/npcs/Runic_Portal.lua | 9 | 1302 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: Runic Portal
-- Arrapago Reef Teleporter Back to Aht Urgan Whitegate
-- !pos 15 -7 627 54
-----------------------------------
local ID = require("scripts/zones/Arrapago_Reef/IDs")
-----------------------------------
require("scripts/globals/besieged")
... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/items/serving_of_karni_yarik.lua | 11 | 1362 | -----------------------------------------
-- ID: 5588
-- Item: serving_of_karni_yarik
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Agility 3
-- Vitality -1
-- Attack % 20 (cap 65)
-- Ranged Attack % 20 (cap 65)
-- Evasion +6
-----------------------------------------
require("scripts/glo... | gpl-3.0 |
grilofw/grilo-plugins | src/lua-factory/sources/grl-spotify-cover.lua | 3 | 2524 | --[[
* Copyright (C) 2015 Bastien Nocera.
*
* Contact: Bastien Nocera <hadess@hadess.net>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public License
* as published by the Free Software Foundation; version 2.1 of
* the License, or (at yo... | lgpl-2.1 |
devFRIND/TAEMNEW | plugins/help4.lua | 2 | 1866 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY TAEMNEW ▀▄ ▄▀
▀▄ ▄▀ BY TAEMNEW (@illOlli) ▀▄ ▄▀
▀▄ ▄▀ JUST WRITED BY TAEMNEW ▀▄ ▄▀
▀▄ ▄▀ مساعدة4 ▀▄ ▄▀
▀▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄▄▀▄▄▀▀▄▄▀▀▄... | gpl-2.0 |
DarkstarProject/darkstar | scripts/zones/Port_Jeuno/npcs/Zuah_Lepahnyu.lua | 12 | 4213 | -----------------------------------
-- Area: Port Jeuno
-- NPC: ZuahLepahnyu
-- Title Change NPC
-- !pos 0 0 8 246
-----------------------------------
require("scripts/globals/titles")
-----------------------------------
local eventId = 330
local titleInfo =
{
{
cost = 200,
title =
{
... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/items/meatloaf_+1.lua | 11 | 1092 | -----------------------------------------
-- ID: 5690
-- Item: Meatloaf +1
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- Strength 6
-- Agility 2
-- Intelligence -3
-- Attack 18% Cap 95
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/ms... | gpl-3.0 |
kalkin/prosody-playbook | files/mod_smacks.lua | 2 | 13412 | local st = require "util.stanza";
local uuid_generate = require "util.uuid".generate;
local t_insert, t_remove = table.insert, table.remove;
local math_min = math.min;
local os_time = os.time;
local tonumber, tostring = tonumber, tostring;
local add_filter = require "util.filters".add_filter;
local timer = require "ut... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Apollyon/mobs/Proto-Omega.lua | 8 | 3205 | -----------------------------------
-- Area: Apollyon (Central)
-- MOB: Proto-Omega
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
require("scripts/globals/titl... | gpl-3.0 |
marcel-sch/luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/network.lua | 20 | 2738 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("Network Plugin Configuration"),
translate(
"The network plugin provides network based communication between " ..
"different collectd instances. Coll... | apache-2.0 |
LazyShpee/discord-egobot | libs/bitwise_ops/log2.lua | 1 | 3337 | --- Operations dealing with binary logarithms.
--
-- 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, mer... | mit |
Giorox/AngelionOT-Repo | data/npc/scripts/Sigurd.lua | 7 | 9472 | 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 onCre... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/spells/foe_requiem_iv.lua | 26 | 1631 | -----------------------------------------
-- Spell: Foe Requiem IV
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target... | gpl-3.0 |
franko/gsl-shell | data/demo-init.lua | 1 | 1273 |
local demo_list = {}
local function load_demo(name)
local record = require('demos.' .. name)
local group, info = record[1], record[2]
local section = demo_list[group]
if not section then
section = {}
demo_list[group] = section
end
local i = #section
for k, v in ipairs(info) do
s... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Bastok_Mines/npcs/Explorer_Moogle.lua | 13 | 1711 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Explorer Moogle
--
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/teleports");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,t... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Tavnazian_Safehold/npcs/Mazuro-Oozuro.lua | 13 | 1256 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Mazuro-Oozuro
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
-------------------... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Metalworks/npcs/Mighty_Fist.lua | 9 | 2275 | -----------------------------------
-- Area: Metalworks
-- NPC: Mighty Fist
-- Starts & Finishes Quest: The Darksmith (R)
-- Involved in Quest: Dark Legacy
-- !pos -47 2 -30 237
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/shop")... | gpl-3.0 |
Giorox/AngelionOT-Repo | data/globalevents/scripts/raidSystem.lua | 1 | 4556 | --Unannounced Boss Raid Sytem
--Script by Giorox
raidTable = {
{boss = "Fernfang", pos = {x=32851,y=32339,z=6}},
{boss = "Captain Jones", pos = {x=33276,y=32215,z=7}},
{boss = "Rukor Zad", pos = {x=32602,y=32383,z=10}},
{boss = "Yaga The Crone", pos = {x=32716,y=32009,z=11}},
{boss = "Zarabustor", pos = {x=32509,... | gpl-3.0 |
DarkstarProject/darkstar | scripts/zones/Middle_Delkfutts_Tower/npcs/qm1.lua | 9 | 1277 | -----------------------------------
-- Area: Middle Delfutt's Tower
-- NPC: ??? (qm1)
-- Involved In Quest: Blade of Evil
-- !pos 84 -79 77 157
-----------------------------------
local ID = require("scripts/zones/Middle_Delkfutts_Tower/IDs")
require("scripts/globals/npc_util")
require("scripts/globals/quests")
------... | gpl-3.0 |
ehsan/wesnoth | data/campaigns/Legend_of_Wesmere/lua/replace_map.lua | 8 | 1074 | --! #textdomain wesnoth-low
local replace_map = wesnoth.wml_actions.replace_map
function wesnoth.wml_actions.replace_map(cfg)
if not cfg.x and not cfg.y then
return replace_map(cfg)
end
local x1,x2 = string.match(cfg.x, "(%d+)-(%d+)")
local y1,y2 = string.match(cfg.y, "(%d+)-(%d+)")
local h... | gpl-2.0 |
Fenix-XI/Fenix | scripts/zones/Ilrusi_Atoll/npcs/Excaliace.lua | 30 | 4512 | -----------------------------------
-- Area: Periqia
-- NPC: Excaliace
-----------------------------------
require("scripts/zones/Periqia/IDs");
require("scripts/globals/pathfind");
local start = {-322,-16.5,380};
local startToChoice1 = {
-320.349548, -16.046591, 379.684570
-318.312317, -16.046591, 379.5798... | gpl-3.0 |
tcatm/luci | modules/luci-base/luasrc/dispatcher.lua | 31 | 19783 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local fs = require "nixio.fs"
local sys = require "luci.sys"
local util = require "luci.util"
local http = require "luci.http"
local nixio = require "nixio", require "nixio.util"
module("luci.dispatcher", packa... | apache-2.0 |
Fenix-XI/Fenix | scripts/globals/items/meat_chiefkabob.lua | 18 | 1449 | -----------------------------------------
-- ID: 4574
-- Item: meat_chiefkabob
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Attack % 22
-- Attack Cap 65
-----------------------------------------
require("scripts/globals/status");
---------... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Navukgo_Execution_Chamber/Zone.lua | 20 | 1305 | -----------------------------------
--
-- Zone: Navukgo_Execution_Chamber (64)
--
-----------------------------------
package.loaded["scripts/zones/Navukgo_Execution_Chamber/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Navukgo_Execution_Chamber/TextID... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/spells/bluemagic/spiral_spin.lua | 31 | 2001 | -----------------------------------------
-- Spell: Spiral Spin
-- Chance of effect varies with TP. Additional Effect: Accuracy Down
-- Spell cost: 39 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Slashing)
-- Blue Magic Points: 3
-- Stat Bonus: STR+1 HP+5
-- Level: 60
-- Casting Time: 4 seconds
-- Recast Time: 4... | gpl-3.0 |
8devices/carambola2-luci | modules/admin-full/luasrc/model/cbi/admin_system/startup.lua | 67 | 2805 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2010-2012 Jo-Philipp Wich <xm@subsignal.org>
Copyright 2010 Manuel Munz <freifunk at somakoma dot de>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with t... | apache-2.0 |
facebokiii/ghosto | plugins/urbandictionary.lua | 11 | 1055 | local doc = [[
/urbandictionary <query>
Returns a definition from Urban Dictionary.
]]
local triggers = {
'^/u[rban]*d[ictionary]*[@'..bot.username..']*',
'^/urban[@'..bot.username..']*'
}
local action = function(msg)
local input = msg.text:input()
if not input then
if msg.reply_to_message and msg.reply_to_m... | gpl-2.0 |
Jezza/Lava | src/test/resources/MultiTask.lua | 1 | 1900 | -- $Header: //info.ravenbrook.com/project/jili/version/1.1/test/mnj/lua/MultiTask.lua#1 $
-- Copyright (c) 2006 Nokia Corporation and/or its subsidiary(-ies).
-- All rights reserved.
--
-- Permission is hereby granted, free of charge, to any person obtaining
-- a copy of this software and associated documentation file... | lgpl-3.0 |
marcel-sch/luci | modules/luci-base/luasrc/model/uci.lua | 49 | 4995 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local os = require "os"
local uci = require "uci"
local util = require "luci.util"
local table = require "table"
local setmetatable, rawget, rawset = setmetatable, rawget, rawset
local require, getmetata... | apache-2.0 |
DarkstarProject/darkstar | scripts/globals/mobskills/pw_groundburst.lua | 11 | 1089 | ---------------------------------------------
-- Groundburst
--
-- Description: Expels a fireball on targets in an area of effect.
-- Type: Physical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: Unknown radial
-- Notes: Only used by notorious monsters, and from any Mamool Ja in besieged.
---------------------------... | gpl-3.0 |
br101/packages | utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/wifi.lua | 25 | 1527 | local ubus = require "ubus"
local iwinfo = require "iwinfo"
local function scrape()
local metric_wifi_network_quality = metric("wifi_network_quality","gauge")
local metric_wifi_network_bitrate = metric("wifi_network_bitrate","gauge")
local metric_wifi_network_noise = metric("wifi_network_noise_dbm","gauge")
lo... | gpl-2.0 |
Fenix-XI/Fenix | scripts/zones/Selbina/npcs/Yulon-Polon.lua | 13 | 3958 | -----------------------------------
-- Area: Selbina
-- NPC: Yulon-Polon
-- Type: Title Change NPC
-- @pos 45.998 -16.273 15.739 248
-----------------------------------
require("scripts/globals/titles");
local title2 = { CORDON_BLEU_FISHER , ECOLOGIST , LIL_CUPID , ACE_ANGLER , GOLD_HOOK , MYTHRIL_HOOK , SILVER_... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Apollyon/npcs/Radiant_Aureole.lua | 12 | 6386 | -----------------------------------
-- Area: Appolyon
-- NPC: Radiant_Aureole
-- @pos
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/items/piece_of_witch_nougat.lua | 18 | 1272 | -----------------------------------------
-- ID: 5645
-- Item: piece_of_witch_nougat
-- Food Effect: 1hour, All Races
-----------------------------------------
-- HP 50
-- Intelligence 3
-- Agility -3
-----------------------------------------
require("scripts/globals/status");
----------------------------------------... | gpl-3.0 |
DarkstarProject/darkstar | scripts/globals/items/aileens_delight.lua | 11 | 1521 | -----------------------------------------
-- ID: 5674
-- Item: Aileen's Delight
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- HP +50
-- MP +50
-- STR +4
-- DEX +4
-- VIT +4
-- AGI +4
-- INT +4
-- MND +4
-- CHR +4
-- MP recovered while healing +2
-----------------------------------------... | gpl-3.0 |
Oarcinae/FactorioScenarioMultiplayerSpawn | lib/player_list.lua | 1 | 1749 | -- oarc_player_list.lua
-- Mar 2019
--------------------------------------------------------------------------------
-- Player List GUI - My own version
--------------------------------------------------------------------------------
function CreatePlayerListGuiTab(tab_container, player)
local scrollFrame = tab_co... | mit |
soheildiscover/soheil | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
punisherbot/- | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
DarkstarProject/darkstar | scripts/globals/abilities/pets/arcuballista.lua | 12 | 1169 | ---------------------------------------------------
-- Arcuballista
---------------------------------------------------
require("scripts/globals/status")
require("scripts/globals/settings")
require("scripts/globals/automatonweaponskills")
---------------------------------------------------
function onMobSkillCheck(ta... | gpl-3.0 |
Fenix-XI/Fenix | scripts/zones/Ifrits_Cauldron/npcs/Treasure_Coffer.lua | 13 | 5076 | -----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: Treasure Coffer
-- @zone 205
-- @pos 188 0 -28
-----------------------------------
package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyi... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/mobskills/Dark_Wave.lua | 33 | 1185 | ---------------------------------------------
-- Dark Wave
--
-- Description: A wave of dark energy washes over targets in an area of effect. Additional effect: Bio
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 10' radial
-- Notes: Severity of Bio effect varies by time of day, from 8/tic at... | gpl-3.0 |
Fenix-XI/Fenix | scripts/globals/abilities/drain_samba_ii.lua | 25 | 1434 | -----------------------------------
-- Ability: Drain Samba II
-- Inflicts the next target you strike with Drain Daze, allowing all those engaged in battle with it to drain its HP.
-- Obtained: Dancer Level 35
-- TP Required: 25%
-- Recast Time: 1:00
-- Duration: 1:30
-----------------------------------
require("scri... | gpl-3.0 |
marcel-sch/luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi_add.lua | 50 | 4887 | -- Copyright 2009 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local fs = require "nixio.fs"
local nw = require "luci.model.network"
local fw = require "luci.model.firewall"
local uci = require "luci.model.uci".cursor()
local http = require "luci.http"
local iw = lu... | apache-2.0 |
Fenix-XI/Fenix | scripts/globals/abilities/warlocks_roll.lua | 5 | 2594 | -----------------------------------
-- Ability: Warlock's Roll
-- Enhances magic accuracy for party members within area of effect
-- Optimal Job: Red Mage
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 46
--
-- Die Roll |No RDM |With RDM
-- -------- -------- -----------
-- 1 |+2 |+7
-- 2 ... | gpl-3.0 |
tcatm/luci | applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua | 141 | 1031 | --[[
smap_devinfo - SIP Device Information
(c) 2009 Daniel Dickinson
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
$Id$
]]--
require("luci.i18n")
re... | apache-2.0 |
Fenix-XI/Fenix | scripts/zones/Dangruf_Wadi/npcs/qm3.lua | 13 | 1989 | -----------------------------------
-- NPC: ??? (QM3)
-- Type: Saltvix dice roll game part 2
-- @zone: 191
-- Involved in quest "As Thick As Thieves"
-----------------------------------
package.loaded["scripts/zones/Dangruf_Wadi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests")... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.