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 |
|---|---|---|---|---|---|
lichtl/darkstar | scripts/globals/items/bowl_of_humpty_soup.lua | 18 | 1385 | -----------------------------------------
-- ID: 4521
-- Item: Bowl of Humpty Soup
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health % 6
-- Health Cap 35
-- Magic 5
-- Health Regen While Healing 5
-----------------------------------------
require("scripts/globals/status");
--------... | gpl-3.0 |
lichtl/darkstar | scripts/globals/mobskills/Damnation_Dive.lua | 18 | 1396 | ---------------------------------------------
-- Damnation Dive
--
-- Description: Dives into a single target. Additional effect: Knockback + Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 3 shadow
-- Range: Melee
-- Notes: Used instead of Gliding Spike by certain notorious monsters.
---------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Port_San_dOria/npcs/Dabbio.lua | 14 | 1049 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Dabbio
-- Type: Standard NPC
-- @zone 232
-- @pos -7.819 -15 -106.990
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
---------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/spells/bluemagic/magnetite_cloud.lua | 12 | 1868 | -----------------------------------------
-- Spell: Magnetite Cloud
-- Deals earth damage to enemies within a fan-shaped area originating from the caster. Additional effect: Weight
-- Spell cost: 86 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+2
-- Level: 46
-- ... | gpl-3.0 |
Benjarobbi/UzzBott | plugins/rae.lua | 616 | 1312 | do
function getDulcinea( text )
-- Powered by https://github.com/javierhonduco/dulcinea
local api = "http://dulcinea.herokuapp.com/api/?query="
local query_url = api..text
local b, code = http.request(query_url)
if code ~= 200 then
return "Error: HTTP Connection"
end
dulcinea = json:decode(b)
... | gpl-2.0 |
OctoEnigma/shiny-octo-system | gamemodes/terrortown/gamemode/lang/english.lua | 1 | 41852 | ---- English language strings
local L = LANG.CreateLanguage("English")
--- General text used in various places
L.traitor = "Traitor"
L.detective = "Detective"
L.innocent = "Innocent"
L.last_words = "Last Words"
L.terrorists = "Terrorists"
L.spectators = "Spectators"
--- Round status messages
L.round_minplayer... | mit |
lichtl/darkstar | scripts/zones/Abyssea-Uleguerand/npcs/qm9.lua | 14 | 1354 | -----------------------------------
-- Zone: Abyssea-Uleguerand
-- NPC: qm9 (???)
-- Spawns Chillwing Hwitti
-- @pos ? ? ? 253
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,t... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Mhaura/npcs/Hagain.lua | 17 | 2279 | -----------------------------------
-- Area: Mhaura
-- NPC: Hagain
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/keyitems");
require("scripts/globals/qu... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Windurst_Woods/npcs/Mokop-Sankop.lua | 14 | 1056 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Mokop-Sankop
-- Type: Conquest Troupe
-- @zone 241
-- @pos 11.542 1.05 -53.217
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
--------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/_0z0.lua | 9 | 1306 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- NPC: _0z0
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/missions");
require("scripts/globals/keyitems");
require("scripts/globals/bcnm");
function onTrade(player,npc,trade)
if (TradeBCNM(... | gpl-3.0 |
TeleDALAD/D1-D2 | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
UB12/powerlife | plugins/stats.lua | 866 | 4001 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
RunAwayDSP/darkstar | scripts/globals/items/pork_cutlet_rice_bowl_+1.lua | 11 | 1785 | -----------------------------------------
-- ID: 6407
-- Item: pork_cutlet_rice_bowl_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- HP +65
-- MP +65
-- STR +8
-- VIT +4
-- AGI +6
-- INT -8
-- Fire resistance +21
-- Attack +24% (cap 130)
-- Ranged Attack +24% (cap 130)
-- Store TP +5
-... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/felicifruit.lua | 18 | 1191 | -----------------------------------------
-- ID: 5964
-- Item: Felicifruit
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -7
-- Intelligence 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
---... | gpl-3.0 |
NiLuJe/koreader | frontend/device/kobo/powerd.lua | 4 | 17418 | local BasePowerD = require("device/generic/powerd")
local Math = require("optmath")
local NickelConf = require("device/kobo/nickel_conf")
local SysfsLight = require ("device/sysfs_light")
local ffiUtil = require("ffi/util")
local RTC = require("ffi/rtc")
-- Here, we only deal with the real hw intensity.
-- Dealing wit... | agpl-3.0 |
KSDaemon/lua-websockets | src/websocket/handshake.lua | 5 | 2961 | local sha1 = require'websocket.tools'.sha1
local base64 = require'websocket.tools'.base64
local tinsert = table.insert
local guid = "258EAFA5-E914-47DA-95CA-C5AB0DC85B11"
local sec_websocket_accept = function(sec_websocket_key)
local a = sec_websocket_key..guid
local sha1 = sha1(a)
assert((#sha1 % 2) == 0)
re... | mit |
lichtl/darkstar | scripts/zones/Upper_Jeuno/npcs/Finnela.lua | 14 | 1040 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Finnela
-- Type: Standard NPC
-- @zone 244
-- @pos -51.880 -1 106.486
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/globals/spells/geohelix.lua | 26 | 1688 | --------------------------------------
-- Spell: Geohelix
-- Deals earth damage that gradually reduces
-- a target's HP. Damage dealt is greatly affected by the weather.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/mag... | gpl-3.0 |
padrinoo/padrino15 | plugins/id.lua | 355 | 2795 | local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name..' '
end
if user.lastname then
text = text..user.last_name
end
return text
end
local function returnids(cb_extra, success, resu... | gpl-2.0 |
lichtl/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Limion_RK.lua | 14 | 3388 | -----------------------------------
-- Area: The Sanctuary of Zi'Tah
-- NPC: Limion, R.K.
-- Border Conquest Guards
-- @pos -252.454 -1.958 624.366 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Dynamis-Qufim/Zone.lua | 7 | 2576 | -----------------------------------
--
-- Zone: Dynamis-Qufim
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Dynamis-Qufim/TextIDs"] = nil;
require("scripts/zones/Dynamis-Qufim/TextIDs");
-----------------------------------
-- onInitialize
----------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Southern_San_dOria/npcs/Leuveret.lua | 17 | 1613 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Leuveret
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/TextIDs");
require("scripts/globals... | gpl-3.0 |
Zverik/omim | 3party/osrm/osrm-backend/profiles/testbot.lua | 69 | 3444 | -- Testbot profile
-- Moves at fixed, well-known speeds, practical for testing speed and travel times:
-- Primary road: 36km/h = 36000m/3600s = 100m/10s
-- Secondary road: 18km/h = 18000m/3600s = 100m/20s
-- Tertiary road: 12km/h = 12000m/3600s = 100m/30s
-- modes:
-- 1: normal
-- 2: route
-- 3: river downstream
... | apache-2.0 |
lichtl/darkstar | scripts/zones/Selbina/npcs/Torapiont.lua | 17 | 1547 | -----------------------------------
-- Area: Selbina
-- NPC: Torapiont
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/shop");
--------------------... | gpl-3.0 |
cracker1375/mr-Error | plugins/boobs.lua | 1 | 1679 | do
-- Recursive function
local function getRandomButts(attempt)
attempt = attempt or 0
attempt = attempt + 1
local res,status = http.request("http://api.obutts.ru/noise/1")
if status ~= 200 then return nil end
local data = json:decode(res)[1]
-- The OpenBoobs API sometimes returns an empty a... | gpl-2.0 |
qenter/vlc-android | vlc/share/lua/playlist/bbc_co_uk.lua | 112 | 1468 | --[[
$Id$
Copyright © 2008 the VideoLAN team
Authors: Dominique Leuenberger <dominique-vlc.suse@leuenberger.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the Licens... | gpl-2.0 |
RunAwayDSP/darkstar | scripts/zones/Apollyon/mobs/Fire_Elemental.lua | 9 | 2116 | -----------------------------------
-- Area: Apollyon SW
-- Mob: Fire Elemental
-----------------------------------
require("scripts/globals/limbus");
-----------------------------------
function onMobDeath(mob, player, isKiller)
end;
function onMobDespawn(mob)
local mobID = mob:getID();
-- print(mobID);
loc... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Port_Bastok/npcs/Styi_Palneh.lua | 9 | 4222 | -----------------------------------
-- Area: Port Bastok
-- NPC: Styi Palneh
-- Title Change NPC
-- !pos 28 4 -15 236
-----------------------------------
require("scripts/globals/titles")
-----------------------------------
local eventId = 200
local titleInfo =
{
{
cost = 200,
title =
{
... | gpl-3.0 |
lichtl/darkstar | scripts/globals/spells/regen_ii.lua | 13 | 1467 | -----------------------------------------
-- Spell: Regen II
-- Gradually restores target's HP.
-----------------------------------------
-- Scale down duration based on level
-- Composure increases duration 3x
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status"... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Northern_San_dOria/npcs/Nouveil.lua | 11 | 1725 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Nouveil
-- Type: General
-- !pos 123 0 106 231
-----------------------------------
local ID = require("scripts/zones/Northern_San_dOria/IDs");
require("scripts/globals/settings");
require("scripts/globals/quests");
------------------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/spells/aisha_ichi.lua | 12 | 1837 | -----------------------------------------
-- Spell: Aisha: Ichi
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------------
function onMagicCastingCheck(caster,target,spell)
return 0
end
funct... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Southern_San_dOria/npcs/Paouala.lua | 11 | 1729 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Paouala
-- Starts and Finishes Quest: Sleepless Nights
-- !pos 158 -6 17 230
-------------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/shop");
require("scripts/globals/q... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/bowl_of_shimmy_soup.lua | 18 | 1362 | -----------------------------------------
-- ID: 5931
-- Item: Bowl of Shimmy Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- MP 32
-- Mind 5
-- HP Recovered While Healing 5
-- Enmity -5
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/items/aspir_knife.lua | 12 | 1125 | -----------------------------------------
-- ID: 16509
-- Item: Aspir Knife
-- Additional effect: MP Drain
-----------------------------------------
require("scripts/globals/status")
require("scripts/globals/magic")
require("scripts/globals/msg")
-----------------------------------
function onAdditionalEffect(player,t... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Western_Altepa_Desert/Zone.lua | 4 | 4527 | -----------------------------------
--
-- Zone: Western_Altepa_Desert (125)
--
-----------------------------------
package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Western_Altepa_Dese... | gpl-3.0 |
Megaf/MegafXPlore2 | mods/beds/beds.lua | 18 | 2586 | -- Fancy shaped bed
beds.register_bed("beds:fancy_bed", {
description = "Fancy Bed",
inventory_image = "beds_bed_fancy.png",
wield_image = "beds_bed_fancy.png",
tiles = {
bottom = {
"beds_bed_top1.png",
"default_wood.png",
"beds_bed_side1.png",
"beds_bed_side1.png^[transformFX",
"default_wood.png"... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/mobskills/numbshroom.lua | 11 | 1215 | ---------------------------------------------------
-- Queasyshroom
-- Additional effect: Fires a mushroom cap, dealing damage to a single target. Additional effect: paralysis.
-- Range is 14.7 yalms.
-- Piercing damage Ranged Attack.
-- Secondary modifiers: INT: 20%.
---------------------------------------------------... | gpl-3.0 |
NiLuJe/koreader | spec/unit/mock_time.lua | 4 | 11171 | require("commonrequire")
local time = require("ui/time")
local ffi = require("ffi")
local dummy = require("ffi/posix_h")
local logger = require("logger")
local util = require("ffi/util")
local C = ffi.C
local MockTime = {
original_os_time = os.time,
original_util_time = nil,
original_tv_realtime = nil,
... | agpl-3.0 |
lc412/skynet | lualib/snax/hotfix.lua | 39 | 2268 | local si = require "snax.interface"
local io = io
local hotfix = {}
local function envid(f)
local i = 1
while true do
local name, value = debug.getupvalue(f, i)
if name == nil then
return
end
if name == "_ENV" then
return debug.upvalueid(f, i)
end
i = i + 1
end
end
local function collect_uv(f , ... | mit |
lichtl/darkstar | scripts/zones/Mount_Zhayolm/mobs/Sarameya.lua | 20 | 3674 | -----------------------------------
-- Area: Mount Zhayolm
-- MOB: Sarameya
-- @pos 322 -14 -581 61
-- Spawned with Buffalo Corpse: @additem 2583
-- Wiki: http://ffxiclopedia.wikia.com/wiki/Sarameya
-- TODO: PostAIRewrite: Code the Howl effect and gradual resists.
-----------------------------------
require("scripts/... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Port_Windurst/npcs/Guruna-Maguruna.lua | 12 | 1084 | -----------------------------------
-- Area: Port Windurst
-- NPC: Guruna-Maguruna
-- Standard Merchant NPC
-----------------------------------
local ID = require("scripts/zones/Port_Windurst/IDs")
require("scripts/globals/shop")
function onTrade(player,npc,trade)
end
function onTrigger(player,npc)
local stock =... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/abilities/pets/tidal_wave.lua | 11 | 1193 | ---------------------------------------------------
-- Tidal Wave
---------------------------------------------------
require("/scripts/globals/settings")
require("/scripts/globals/status")
require("/scripts/globals/monstertpmoves")
require("/scripts/globals/magic")
---------------------------------------------------
... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/entities/weapons/weapon_ak472/shared.lua | 12 | 1121 | AddCSLuaFile()
if CLIENT then
SWEP.PrintName = "AK47"
SWEP.Author = "DarkRP Developers"
SWEP.Slot = 3
SWEP.SlotPos = 0
SWEP.IconLetter = "b"
killicon.AddFont("weapon_ak472", "CSKillIcons", SWEP.IconLetter, Color(255, 80, 0, 255))
end
SWEP.Base = "weapon_cs_base2"
SWEP.Spawnable = true
SWEP.A... | mit |
lichtl/darkstar | scripts/globals/weaponskills/slug_shot.lua | 16 | 1558 | -----------------------------------
-- Slug Shot
-- Marksmanship weapon skill
-- Skill Level: 175
-- Delivers an inparams.accurate attack that deals quintuple damage. params.accuracy varies with TP.
-- Despite the lack of a STR weaponskill mod, STR is still the most potent stat for increasing this weaponskill's damage ... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Cloister_of_Gales/mobs/Ogmios.lua | 23 | 1336 | -----------------------------------
-- Area: Cloister of Gales
-- MOB: Ogmios
-- Involved in Quest: Carbuncle Debacle
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
-----------------------------------
-- OnMobSpawn Action
--------------------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Garlaige_Citadel/IDs.lua | 6 | 3821 | -----------------------------------
-- Area: Garlaige Citadel (200)
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.GARLAIGE_CITADEL] =
{
text =
{
CONQUEST_BASE = 0, -- Tallying conquest result... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Kazham/npcs/Dodmos.lua | 9 | 2692 | -----------------------------------
-- Area: Kazham
-- NPC: Dodmos
-- Starts Quest: Trial Size Trial By Fire
-- !pos 102.647 -14.999 -97.664 250
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/quests");
require("scripts/globals/telep... | gpl-3.0 |
OctoEnigma/shiny-octo-system | addons/darkrpmodification-master/lua/darkrp_modules/tcb_f4menu/cl_panel_custom.lua | 1 | 4110 | /*---------------------------------------------------------------------------
Creator: TheCodingBeast - TheCodingBeast.com
This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
To view a copy of this license, visit http://creativecommons.org/licenses/by-n... | mit |
lichtl/darkstar | scripts/zones/North_Gustaberg_[S]/npcs/qm1.lua | 14 | 1140 | -----------------------------------
-- Area: North Gustaberg (S) (F-8)
-- NPC: ???
-- Involved in Quests
-- @pos -232 41 425
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg_[S]/TextIDs"] = nil;
package.loaded["scripts/globals/quests"] = nil;
-----------------------------------
require... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Apollyon/mobs/Barometz.lua | 17 | 1394 | -----------------------------------
-- Area: Apollyon NE
-- NPC: Barometz
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
---------------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Northern_San_dOria/npcs/Ishwar.lua | 14 | 1035 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Ishwar
-- Type: Standard Dialogue NPC
-- @zone 231
-- @pos -47.103 -1.999 -19.582
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");
-... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Crawlers_Nest_[S]/IDs.lua | 9 | 1081 | -----------------------------------
-- Area: Crawlers_Nest_[S]
-----------------------------------
require("scripts/globals/zone")
-----------------------------------
zones = zones or {}
zones[dsp.zone.CRAWLERS_NEST_S] =
{
text =
{
ITEM_CANNOT_BE_OBTAINED = 6904, -- You cannot obtain the <item>. Come ... | gpl-3.0 |
RunAwayDSP/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 |
lichtl/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/qm9.lua | 57 | 2181 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: qm9 (??? - Ancient Papyrus Shreds)
-- Involved in Quest: In Defiant Challenge
-- @pos 92.272 -32 -64.676 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
----------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Gustav_Tunnel/MobIDs.lua | 28 | 1592 | -----------------------------------
-- Area: Gustav Tunnel (212)
-- Comments: -- posX, posY, posZ
-- (Taken from 'mob_spawn_points' table)
-----------------------------------
Goblinsavior_Heronox = 17645609;
Goblinsavior_Heronox_PH =
{
[17645592] = '1', -- 153.000, -10.000, -53.000
[17645605] = '1', -- 152.325... | gpl-3.0 |
scscgit/scsc_wildstar_addons | BGChron/libs/PixiePlot/XmlDocument.lua | 1 | 6129 | local XmlDocument = {}
local XmlNode = {}
---------------------------------------------------------------------------
-- XmlDocument
---------------------------------------------------------------------------
local CreateNodeFromTable
function XmlDocument.New()
local self = {}
local tRoot = nil
function self:Get... | mit |
brijesh-reddy/dpdk-pktgen-with-nsh | pktgen-nsh-brijesh/app/t/Pktgen.lua | 8 | 7330 | -- Create some short cuts to the real functions.
gsub = string.gsub
gmatch = string.gmatch
strrep = string.rep
strsub = string.sub
strfmt = string.format
strmatch = string.match
strrep = string.rep
strfind = string.find
strlen = string.len
tolower ... | gpl-2.0 |
lichtl/darkstar | scripts/zones/Al_Zahbi/Zone.lua | 4 | 1407 | -----------------------------------
--
-- Zone: Al_Zahbi (48)
--
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Al_Zahbi/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/zone");
-------------... | gpl-3.0 |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/afk/cl_afk.lua | 13 | 1234 | local TextColor = Color(GetConVar("Healthforeground1"):GetFloat(), GetConVar("Healthforeground2"):GetFloat(), GetConVar("Healthforeground3"):GetFloat(), GetConVar("Healthforeground4"):GetFloat())
local function AFKHUDPaint()
if not LocalPlayer():getDarkRPVar("AFK") then return end
draw.DrawNonParsedSimpleText(... | mit |
lichtl/darkstar | scripts/zones/Port_Windurst/npcs/Martin.lua | 30 | 1273 | -----------------------------------
-- Area: Port Windurst
-- NPC: Martin
-- Type: Standard NPC
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/TextIDs");
-----------------------------------
-- onTrade Action
------------------... | gpl-3.0 |
lichtl/darkstar | scripts/globals/spells/bluemagic/amplification.lua | 27 | 1938 | -----------------------------------------
-- Spell: Amplification
-- Enhances magic attack and magic defense
-- Spell cost: 48 MP
-- Monster Type: Amorphs
-- Spell Type: Magical (Water)
-- Blue Magic Points: 3
-- Stat Bonus: HP-5, MP+5
-- Level: 70
-- Casting Time: 7 seconds
-- Recast Time: 120 seconds
-- Duration: 90 ... | gpl-3.0 |
lichtl/darkstar | scripts/globals/weaponskills/camlanns_torment.lua | 26 | 1419 | -----------------------------------
-- Camlann's Torment
-- Polearm weapon skill
-- Skill Level: EMPYREAN
-- Delivers a triple damage attack. DEF ignored varies with TP.
-- Will stack with Sneak Attack.
-- Element: None
-- Modifiers: VIT:60%
-- 100%TP 200%TP 300%TP
-- 3.00 3 3
---------------------... | gpl-3.0 |
OctoEnigma/shiny-octo-system | lua/vgui/dform.lua | 1 | 5197 |
local PANEL = {}
DEFINE_BASECLASS( "DCollapsibleCategory" )
AccessorFunc( PANEL, "m_bSizeToContents", "AutoSize", FORCE_BOOL)
AccessorFunc( PANEL, "m_iSpacing", "Spacing" )
AccessorFunc( PANEL, "m_Padding", "Padding" )
function PANEL:Init()
self.Items = {}
self:SetSpacing( 4 )
self:SetPadding( 10 )
self:... | mit |
lichtl/darkstar | scripts/zones/Port_Jeuno/npcs/Najib.lua | 30 | 1385 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Najib
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
---------------------------------... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Grand_Palace_of_HuXzoi/npcs/_iyq.lua | 9 | 1081 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- NPC: cermet portal
-- !pos 420 0 401 34
-----------------------------------
local ID = require("scripts/zones/Grand_Palace_of_HuXzoi/IDs");
require("scripts/globals/missions");
-----------------------------------
function onTrade(player,npc,trade... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Throne_Room/npcs/_4l1.lua | 9 | 1527 | -----------------------------------
-- Area: Throne Room
-- NPC: Throne Room
-- Type: Door
-- !pos -111 -6 0 165
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/bcnm");
require("scripts/globals/missions");
-- events:
-- 7D00 : BC menu
-- Param 4 is a bi... | gpl-3.0 |
Vultraz/Invasion_from_the_Unknown | lua/gui/character_descriptions_prompt.lua | 1 | 1808 | --#textdomain wesnoth-Invasion_from_the_Unknown
local T = helper.set_wml_tag_metatable {}
function wesnoth.wml_actions.character_descriptions_prompt(cfg)
local _ = wesnoth.textdomain "wesnoth-Invasion_from_the_Unknown"
local main_window = {
maximum_height = 400,
maximum_width = 500,
T.helptip { id="tooltip_l... | gpl-2.0 |
lichtl/darkstar | scripts/zones/Lower_Jeuno/npcs/Naruru.lua | 24 | 3874 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Naruru
-- Starts and Finishes Quests: Cook's Pride
-- @pos -56 0.1 -138 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
Benjarobbi/UzzBott | plugins/help.lua | 2 | 2794 | do
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 |
RunAwayDSP/darkstar | scripts/zones/Lower_Jeuno/npcs/_6tc.lua | 9 | 3742 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Door: "Neptune's Spire"
-- Starts and Finishes Quest: Beat Around the Bushin
-- !pos 35 0 -15 245
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("sc... | gpl-3.0 |
NiLuJe/koreader | plugins/calibre.koplugin/parser.lua | 7 | 2711 | -- A parser for metadata.calibre
local util = require("util")
-- removes leading and closing characters and converts hex-unicodes
local function replaceHexChars(s, n, j)
local l = string.len(s)
if string.sub(s, l, l) == "\"" then
s = string.sub(s, n, string.len(s)-1)
else
s = string.sub(s, ... | agpl-3.0 |
CZ-NIC/turris-updater | tests/lua/uri.lua | 1 | 3489 | --[[
Copyright 2019, CZ.NIC z.s.p.o. (http://www.nic.cz/)
This file is part of the Turris Updater.
Updater is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Port_Bastok/npcs/Juroro.lua | 9 | 5552 | -----------------------------------
-- Area: Port Bastok
-- NPC: Juroro
-- Starts and Finishes Quest: Trial by Earth
-- !pos 32 7 -41 236
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
local ID = require("scripts/zones/Po... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Apollyon/mobs/Air_Elemental.lua | 119 | 2740 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Wajaom_Woodlands/mobs/Zoraal_Ja_s_Pkuucha.lua | 12 | 1662 | -----------------------------------
-- Area: Wajaom Woodlands
-- Mob: Zoraal Ja's Pkuucha
-----------------------------------
require("scripts/zones/Wajaom_Woodlands/MobIDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:setLocalVar("P... | gpl-3.0 |
Benjarobbi/UzzBott | plugins/twitter_send.lua | 627 | 1555 | do
local OAuth = require "OAuth"
local consumer_key = ""
local consumer_secret = ""
local access_token = ""
local access_token_secret = ""
local client = OAuth.new(consumer_key, consumer_secret, {
RequestToken = "https://api.twitter.com/oauth/request_token",
AuthorizeUser = {"https://api.twitter.com/oauth/autho... | gpl-2.0 |
lichtl/darkstar | scripts/zones/Korroloka_Tunnel/TextIDs.lua | 7 | 1276 | -- 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; -- Obt... | gpl-3.0 |
lichtl/darkstar | scripts/globals/spells/sneak.lua | 27 | 1269 | -----------------------------------------
-- Spell: Sneak
-- Lessens chance of being detected by sound
-- Duration is random number between 30 seconds and 5 minutes
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
lichtl/darkstar | 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 |
lichtl/darkstar | scripts/zones/Windurst_Walls/npcs/Seven_of_Diamonds.lua | 14 | 1076 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Seven of Diamonds
-- Type: Standard NPC
-- @pos 6.612 -3.5 278.553 239
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----------------------------------
-----------------------------------
-- onT... | gpl-3.0 |
lichtl/darkstar | scripts/globals/weaponskills/circle_blade.lua | 25 | 1358 | -----------------------------------
-- Circle Blade
-- Sword weapon skill
-- Skill Level: 150
-- Delivers an area of effect attack. Attack radius varies with TP.
-- Aligned with the Aqua Gorget & Thunder Gorget.
-- Aligned with the Aqua Belt & Thunder Belt.
-- Element: None
-- Modifiers: STR:35%
-- 100%TP 200%TP ... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Beadeaux/npcs/_43b.lua | 14 | 1763 | -----------------------------------
-- Area: Beadeaux
-- NPC: Jail Door
-- Involved in Quests: The Rescue
-- @pos 56 0.1 -23 147
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Al_Zahbi/npcs/Gameem.lua | 14 | 1032 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Gameem
-- Type: Standard NPC
-- @zone 48
-- @pos 18.813 -7 11.298
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
--------------------------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Northern_San_dOria/npcs/Guilerme.lua | 14 | 2093 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Guillerme
-- Involved in Quest: Rosel the Armorer
-- @zone 231
-- @pos -4.500 0.000 99.000
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Nhel_Urhahn.lua | 14 | 1064 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Nhel Urhahn
-- Type: Standard NPC
-- @zone 94
-- @pos -47.348 -4.499 47.117
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Ghelsba_Outpost/bcnms/save_the_children.lua | 9 | 1619 | -----------------------------------
-- Save the Children
-- Ghelsba Outpost mission battlefield
-- !pos -162 -11 78 140
-----------------------------------
require("scripts/globals/battlefield")
require("scripts/globals/keyitems")
require("scripts/globals/missions")
require("scripts/globals/npc_util")
require("scripts/... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm20.lua | 14 | 1904 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: ???
-- Spawns Glavoid
-- @pos ? ? ? 45
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/status");
-----------------------------------
-- onTrigger Action
-----------------------------------
function... | gpl-3.0 |
ciarand/luvit.io | libs/mine.lua | 4 | 2888 | -- Hand ported from https://github.com/creationix/mine
local jsonParse = require('json').parse
-- Mine a JavaScript string for require calls and export the module names
-- Extract all require calls using a proper state-machine parser.
return function (js)
js = tostring(js)
local names = {}
local ident
local q... | apache-2.0 |
NiLuJe/koreader | frontend/apps/reader/modules/readergoto.lua | 4 | 6611 | local Event = require("ui/event")
local InputDialog = require("ui/widget/inputdialog")
local SkimToWidget = require("ui/widget/skimtowidget")
local UIManager = require("ui/uimanager")
local WidgetContainer = require("ui/widget/container/widgetcontainer")
local _ = require("gettext")
local T = require("ffi/util").templa... | agpl-3.0 |
lichtl/darkstar | scripts/globals/spells/absorb-chr.lua | 17 | 1367 | --------------------------------------
-- Spell: Absorb-CHR
-- Steals an enemy's Charism.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Valkurm_Dunes/npcs/Hieroglyphics.lua | 7 | 2530 | -----------------------------------
-- Area: Valkurm_Dunes
-- NPC: Hieroglyphics
-- Dynamis Valkurm_Dunes Enter
-- @pos 117 -10 133 172 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require(... | gpl-3.0 |
lichtl/darkstar | scripts/zones/La_Theine_Plateau/npcs/Faurbellant.lua | 14 | 1777 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Faurbellant
-- Type: Quest NPC
-- Involved in Quest: Gates of Paradise
-- @pos 484 24 -89 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Southern_San_dOria/npcs/Ullasa.lua | 17 | 1699 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ullasa
-- General Info NPC
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Southern_San_dOria/TextIDs");
require("scripts/globals/s... | gpl-3.0 |
lichtl/darkstar | scripts/zones/Mhaura/npcs/Porter_Moogle.lua | 14 | 1511 | -----------------------------------
-- Area: Mhaura
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 249
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/zones/Lower_Jeuno/npcs/Derrick.lua | 9 | 4176 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Derrick
-- Involved in Quests and finish : Save the Clock Tower
-- !pos -32 -1 -7 245
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/global... | gpl-3.0 |
lichtl/darkstar | scripts/globals/items/plate_of_sea_spray_risotto.lua | 18 | 1627 | -----------------------------------------
-- ID: 4268
-- Item: plate_of_sea_spray_risotto
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- HP 45
-- Dexterity 6
-- Agility 3
-- Mind -4
-- HP Recovered While Healing 1
-- Accuracy % 6 (cap 20)
-----------------------------------------
require(... | gpl-3.0 |
RunAwayDSP/darkstar | scripts/globals/mobskills/hiden_sokyaku.lua | 11 | 1054 | ---------------------------------------------
-- Hiden Sokyaku
--
-- Description: Deals damage to a single target. Additional effect: Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes: Stun may or may not take dsp.effect.
---------------------------------------------
require("scripts/gl... | gpl-3.0 |
OctoEnigma/shiny-octo-system | lua/includes/modules/markup.lua | 1 | 13414 |
local string = string
local table = table
local surface = surface
local tostring = tostring
local pairs = pairs
local Msg = Msg
local setmetatable = setmetatable
local math = math
local utf8 = utf8
module("markup")
--[[---------------------------------------------------------
Name: Constants used for text alignm... | mit |
raingloom/yaoui | examples/anime/yaoui/UI/mlib/mlib.lua | 22 | 42867 | --[[
A math library made in Lua
copyright (C) 2014 Davis Claiborne
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This p... | mit |
OctoEnigma/shiny-octo-system | gamemodes/darkrp/gamemode/modules/fadmin/fadmin/playeractions/chatmute/sv_init.lua | 10 | 2668 | local function MuteChat(ply, cmd, args)
if not args[1] then return false end
local targets = FAdmin.FindPlayer(args[1]) or {}
if not targets or #targets == 1 and not IsValid(targets[1]) then
FAdmin.Messages.SendMessage(ply, 1, "Player not found")
return false
end
local time = tonum... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.