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 |
|---|---|---|---|---|---|
nesstea/darkstar | scripts/zones/Bastok_Markets/npcs/Visala.lua | 13 | 1195 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Visala
-- Guild Merchant NPC: Goldsmithing Guild
-- @pos -202.000 -7.814 -56.823 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/se... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Dynamis-San_dOria/mobs/Overlord_s_Tombstone.lua | 6 | 1423 | -----------------------------------
-- Area: Dynamis San d'Oria
-- MOB: Overlord's Tombstone
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/dynamis");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob... | gpl-3.0 |
Mashape/kong | spec/fixtures/mocks/lua-resty-dns/resty/dns/resolver.lua | 2 | 2953 | -- Mock for the underlying 'resty.dns.resolver' library
-- (so NOT the Kong dns client)
-- this file should be in the Kong working direrctory (prefix)
local MOCK_RECORD_FILENAME = "dns_mock_records.json"
local cjson = require "cjson.safe"
-- first thing is to get the original (non-mock) resolver
local resolver
do
... | apache-2.0 |
nesstea/darkstar | scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Earth.lua | 13 | 2385 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Pedestal of Earth
-- Involved in Zilart Mission 7
-- @pos 199 -2 36 168
-------------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles"... | gpl-3.0 |
abhinavmoudgil95/funnybot | src/eval.lua | 16 | 1680 | require 'torch'
require 'nn'
require 'LanguageModel'
require 'util.DataLoader'
local utils = require 'util.utils'
local cmd = torch.CmdLine()
cmd:option('-checkpoint', '')
cmd:option('-split', 'val')
cmd:option('-gpu', 0)
cmd:option('-gpu_backend', 'cuda')
local opt = cmd:parse(arg)
-- Set up GPU stuff
local dty... | mit |
nesstea/darkstar | scripts/zones/Bastok_Mines/npcs/Emaliveulaux.lua | 13 | 1885 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Emaliveulaux
-- Only sells when Bastok controls the Tavnazian Archipelago
-- Only available to those with CoP Ch. 4.1 or higher
-----------------------------------
require("scripts/globals/events/harvest_festivals");
require("script... | gpl-3.0 |
Cyumus/NutScript | gamemode/core/hooks/cl_hooks.lua | 2 | 20590 | local NUT_CVAR_LOWER2 = CreateClientConVar("nut_usealtlower", "0", true)
function GM:ForceDermaSkin()
return "nutscript"
end
function GM:ScoreboardShow()
if (IsValid(nut.gui.score)) then
nut.gui.score:SetVisible(true)
else
vgui.Create("nutScoreboard")
end
gui.EnableScreenClicker(true)
end
function GM:Score... | mit |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Grim_Halo.lua | 7 | 1089 | ---------------------------------------------------
-- Grim Halo
-- Deals damage to a all targets. Additional effect: Knockback
-- Only used by Fomors that wield a two-handed weapon (principally WAR, BLM, DRK, SAM, DRG, and SMN fomors).
---------------------------------------------------
require("scripts/globals/sett... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Garlaige_Citadel/npcs/qm9.lua | 34 | 1385 | -----------------------------------
-- Area: Garlaige Citadel
-- NPC: qm9 (???)
-- Involved in Quest: Hitting the Marquisate (THF AF3)
-- @pos -140.039 -5.500 285.999 200
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Windurst/TextIDs.lua | 8 | 6323 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 10962; -- Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 10966; -- Try trading again after sorting your inventory.
ITEM_OBTAINED = 10967; -- Obtained:
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Impale.lua | 7 | 1210 | ---------------------------------------------
-- Impale
--
-- Description: Deals damage to a single target. Additional effect: Paralysis
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes:
---------------------------------------------
require("scripts/globals/settings");
requi... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Xarcabard/npcs/Cavernous_Maw.lua | 58 | 1897 | -----------------------------------
-- Area: Xarcabard
-- NPC: Cavernous Maw
-- @pos 270 -9 -70
-- Teleports Players to Abyssea - Uleguerand
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
nesstea/darkstar | 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 |
Irubataru/dotfiles | roles/neovim/config/lua/irubataru/plugins/mkdx.lua | 1 | 2024 | vim.g['mkdx#settings'] = {
highlight = { enable = 1 },
enter = { shift = 1 },
map = { enable = 0 },
links = { external = { enable = 1 } },
toc = {
text = 'Table of Contents',
update_on_write = 0,
details = { enable = 0 }
},
fold = {
enable = 1,
components = {'toc', 'fence'}
}
}
vim.... | mit |
nesstea/darkstar | scripts/zones/Horlais_Peak/npcs/Hot_springs.lua | 12 | 1983 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Hot Springs
-- @Zone: 139
-- @pos 444 -37 -18
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems... | gpl-3.0 |
ennis/autograph-pipelines | resources/data/MagicLand.lua | 1 | 123294 | return {
version = "1.1",
luaversion = "5.1",
tiledversion = "0.18.0",
orientation = "orthogonal",
renderorder = "left-down",
width = 460,
height = 75,
tilewidth = 16,
tileheight = 16,
nextobjectid = 378,
properties = {},
tilesets = {
{
name = "magiclanddizzy_tiles",
firstgid = 1... | mit |
eulerreich/torch7 | test/test.lua | 23 | 98116 | --require 'torch'
local mytester
local torchtest = {}
local msize = 100
local precision
-- Lua 5.2 compatibility
local loadstring = loadstring or load
local unpack = unpack or table.unpack
local function maxdiff(x,y)
local d = x-y
if x:type() == 'torch.DoubleTensor' or x:type() == 'torch.FloatTensor' then
... | bsd-3-clause |
UnfortunateFruit/darkstar | scripts/zones/Apollyon/mobs/Air_Elemental.lua | 119 | 2423 | -----------------------------------
-- Area: Apollyon SW
-- NPC: elemental
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
--------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Northern_San_dOria/npcs/Lotine.lua | 13 | 1027 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Lotine
-- Type: Standard Info NPC
-- @zone: 231
-- @pos -137.504 11.999 171.090
--
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tra... | gpl-3.0 |
ld-test/valua | valua.lua | 3 | 6650 | -- Valua 0.2.1
-- Copyright (c) 2014 Etiene Dalcol
-- License: MIT
--
-- Originally bundled with Sailor MVC Web Framework, now released as a separated module.
-- http://sailorproject.org
--
-- This module provides tools for validating values, very useful in forms, but also usable elsewhere.
-- It works in appended chai... | mit |
UnfortunateFruit/darkstar | scripts/zones/Yorcia_Weald_U/Zone.lua | 36 | 1119 | -----------------------------------
--
-- Zone: Yorcia Weald U
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Yorcia_Weald_U/TextIDs"] = nil;
require("scripts/zones/Yorcia_Weald_U/TextIDs");
-----------------------------------
-- onInitialize
-... | gpl-3.0 |
vonflynee/opencomputersserver | world/opencomputers/4f2775bd-9dcb-42e6-8318-1837ede27e76/lib/process.lua | 15 | 3003 | local process = {}
-------------------------------------------------------------------------------
local running = setmetatable({}, {__mode="k"})
local coroutine_create = coroutine.create
local function findProcess(co)
co = co or coroutine.running()
for main, process in pairs(running) do
if main == co then
... | mit |
vonflynee/opencomputersserver | world/opencomputers/c0a0157a-e685-4d05-9dc9-9340cf29f413/lib/process.lua | 15 | 3003 | local process = {}
-------------------------------------------------------------------------------
local running = setmetatable({}, {__mode="k"})
local coroutine_create = coroutine.create
local function findProcess(co)
co = co or coroutine.running()
for main, process in pairs(running) do
if main == co then
... | mit |
nesstea/darkstar | scripts/zones/Port_Windurst/npcs/HomePoint#1.lua | 27 | 1275 | -----------------------------------
-- Area: Port Windurst
-- NPC: HomePoint#1
-- @pos -68.216 -4.000 111.761 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Port_Windurst/TextIDs");
require("scripts/glob... | gpl-3.0 |
Cyumus/NutScript | plugins/vendor/derma/cl_vendor.lua | 4 | 7391 | local PANEL = {}
function PANEL:Init()
self:SetSize(ScrW() * 0.45, ScrH() * 0.65)
self:SetTitle("")
self:MakePopup()
self:Center()
local header = self:Add("DPanel")
header:SetTall(34)
header:Dock(TOP)
self.vendorName = header:Add("DLabel")
self.vendorName:Dock(LEFT)
self.vendorName:SetWide(self:G... | mit |
UnfortunateFruit/darkstar | scripts/globals/spells/break.lua | 11 | 1153 | -----------------------------------------
-- Spell: Breakga
-- Temporarily blinds an enemy, greatly lowering its accuracy.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
---------------------------... | gpl-3.0 |
nesstea/darkstar | 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 |
nesstea/darkstar | scripts/globals/spells/absorb-tp.lua | 25 | 1446 | --------------------------------------
-- Spell: Absorb-TP
-- Steals an enemy's TP.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
------------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/bowl_of_pomodoro_sauce.lua | 18 | 1182 | -----------------------------------------
-- ID: 5194
-- Item: Bowl of Pomodoro Sauce
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Intelligence 2
-- Mind 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCh... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/dish_of_spaghetti_boscaiola_+1.lua | 35 | 1724 | -----------------------------------------
-- ID: 5201
-- Item: dish_of_spaghetti_boscaiola_+1
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health % 18
-- Health Cap 125
-- Magic 40
-- Strength -5
-- Dexterity -2
-- Vitality 2
-- Mind 4
-- Magic Regen While Healing 1
-------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/freezebite.lua | 26 | 1287 | -----------------------------------
-- Freezebite
-- Great Sword weapon skill
-- Skill Level: 100
-- Delivers an ice elemental attack. Damage varies with TP.
-- Aligned with the Snow Gorget & Breeze Gorget.
-- Aligned with the Snow Belt & Breeze Belt.
-- Element: Ice
-- Modifiers: STR:30% ; INT:20%
-- 100%TP ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Abyssea-Altepa/npcs/Cavernous_Maw.lua | 29 | 1099 | -----------------------------------
-- Area: Abyssea Altepa
-- NPC: Cavernous Maw
-- @pos 444.000 -0.500 320.000 218
-- Notes Teleports Players to South Gustaberg
-----------------------------------
package.loaded["scripts/zones/Abyssea-Altepa/TextIDs"] = nil;
-----------------------------------
---------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Rolanberry_Fields/Zone.lua | 10 | 4860 | -----------------------------------
--
-- Zone: Rolanberry_Fields (110)
--
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Rolanberry_Fields/TextIDs");
require("scripts/globals/icanheararainbow");
require("s... | gpl-3.0 |
nesstea/darkstar | scripts/zones/West_Sarutabaruta_[S]/npcs/Sealed_Entrance_2.lua | 29 | 2250 | -----------------------------------
-- Area: West Sarutabaruta [S]
-- NPC: Sealed Entrance (Sealed_Entrance_2)
-- @pos 263.600 -6.512 40.000 95
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta_[S]/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/quests... | gpl-3.0 |
Disslove-bot/Max3-BOT | plugins/banhammer.lua | 294 | 10470 | local function is_user_whitelisted(id)
local hash = 'whitelist:user#id'..id
local white = redis:get(hash) or false
return white
end
local function is_chat_whitelisted(id)
local hash = 'whitelist:chat#id'..id
local white = redis:get(hash) or false
return white
end
local function kick_user(user_id, chat_id)... | gpl-2.0 |
johnmccabe/dockercraft | world/Plugins/Core/portal-worlds.lua | 6 | 1124 | function HandlePortalCommand(Split, Player)
local NumParams = #Split
if (NumParams == 1) then
SendMessage(Player, "You are in world " .. Player:GetWorld():GetName())
return true
elseif (NumParams ~= 2) then
SendMessage(Player, "Usage: " .. Split[1] .. " [world]")
return true
end
if (Player:GetWorl... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Gusgen_Mines/npcs/_5ga.lua | 34 | 1361 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5ga (Lever C)
-- @pos 44 -40.561 -54.199 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
----------------... | gpl-3.0 |
heyuqi/wxFormBuilder | build/premake/4.3/src/tools/dotnet.lua | 40 | 1857 | --
-- dotnet.lua
-- Interface for the C# compilers, all of which are flag compatible.
-- Copyright (c) 2002-2009 Jason Perkins and the Premake project
--
premake.dotnet = { }
premake.dotnet.namestyle = "windows"
--
-- Translation of Premake flags into CSC flags
--
local flags =
{
FatalWarning = "/warnase... | gpl-2.0 |
Spartan322/finalfrontier | gamemode/weapons/thor.lua | 2 | 1319 | -- Copyright (c) 2014 Alex Wlach (nightmarex91@gmail.com)
--
-- This file is part of Final Frontier.
--
-- Final Frontier 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, either version 3 of
-- the L... | lgpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Tachi.lua | 17 | 1476 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Tachi
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functio... | gpl-3.0 |
plajjan/snabbswitch | lib/ljsyscall/examples/epoll.lua | 23 | 3206 | -- simple epoll-based socket example. Serves up http responses, but is of course not a proper server
-- you can test performance with ab -n 100000 -c 100 http://localhost:8000/ although ab may be the limiting factor
local S
if arg[1] == "rump" then
S = require "syscall.rump.init".init{"net", "net.net", "net.local", ... | apache-2.0 |
nesstea/darkstar | scripts/zones/Korroloka_Tunnel/TextIDs.lua | 15 | 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 |
UnfortunateFruit/darkstar | scripts/zones/Palborough_Mines/npcs/_3z9.lua | 19 | 1592 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Refiner Lever
-- Involved In Mission: Journey Abroad
-- @zone 143
-- @pos 180 -32 167
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Mhaura/npcs/Koh_Lenbalalako.lua | 19 | 2170 | -----------------------------------
-- Area: Mhaura
-- NPC: Koh Lenbalalako
-- Type: Standard NPC
-- @pos -64.412 -17 29.213 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/g... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_ActionBars/libs/LibActionButton-1.0/LibButtonGlow-1.0/LibStub/LibStub.lua | 184 | 1367 | -- LibStub is a simple versioning stub meant for use in Libraries. http://www.wowace.com/wiki/LibStub for more info
-- LibStub is hereby placed in the Public Domain Credits: Kaelten, Cladhaire, ckknight, Mikk, Ammo, Nevcairiel, joshborke
local LIBSTUB_MAJOR, LIBSTUB_MINOR = "LibStub", 2 -- NEVER MAKE THIS AN SVN REVI... | mit |
nesstea/darkstar | scripts/zones/LaLoff_Amphitheater/mobs/Ark_Angel_s_Mandragora.lua | 8 | 1252 | -----------------------------------
-- Area: LaLoff Amphitheater
-- MOB: Ark Angel's Mandragora
-----------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
require("scripts/globals/statu... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Davoi/npcs/_45h.lua | 13 | 2264 | -----------------------------------
-- Area: Davoi
-- NPC: Howling Pond
-- Used In Quest: Whence Blows the Wind
-- @pos 21 0.1 -258 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/glo... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Crawlers_Nest/npcs/qm10.lua | 57 | 2127 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: qm10 (??? - Exoray Mold Crumbs)
-- Involved in Quest: In Defiant Challenge
-- @pos -83.391 -8.222 79.065 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Temple_of_Uggalepih/npcs/_4fx.lua | 13 | 2022 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Granite Door
-- @pos 340 0.1 329 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/keyitem... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Khea_Mhyyih.lua | 13 | 1066 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Khea Mhyyih
-- Type: Standard NPC
-- @zone: 94
-- @pos -53.927 -4.499 56.215
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/chocobo_mazurka.lua | 27 | 1162 | -----------------------------------------
-- Spell: Chocobo Mazurka
-- Gives party members enhanced movement
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(cas... | gpl-3.0 |
johnmccabe/dockercraft | world/Plugins/APIDump/Classes/Projectiles.lua | 27 | 6665 | return
{
cArrowEntity =
{
Desc = [[
Represents the arrow when it is shot from the bow. A subclass of the {{cProjectileEntity}}.
]],
Functions =
{
CanPickup = { Params = "{{cPlayer|Player}}", Return = "bool", Notes = "Returns true if the specified player can pick the arrow when it's on the ground" }... | apache-2.0 |
nesstea/darkstar | scripts/globals/items/anthos_xiphos.lua | 41 | 1078 | -----------------------------------------
-- ID: 17750
-- Item: Anthos Xiphos
-- Additional Effect: Water Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------... | gpl-3.0 |
malortie/gmod-addons | th_weapons/lua/entities/ent_th_handgrenade/init.lua | 1 | 11719 | -- Only enable this addon if HL:S is mounted.
if !IsHL1Mounted() then return end
AddCSLuaFile( 'cl_init.lua' )
AddCSLuaFile( 'shared.lua' )
include( 'shared.lua' )
-- The sound to play when bouncing off a wall.
ENT.BounceSound = 'ent_th_handgrenade.grenadebounce'
-------------------------------------
-- Grenade cla... | gpl-3.0 |
MetSystem/skynet | lualib/skynet/manager.lua | 72 | 1923 | local skynet = require "skynet"
local c = require "skynet.core"
function skynet.launch(...)
local addr = c.command("LAUNCH", table.concat({...}," "))
if addr then
return tonumber("0x" .. string.sub(addr , 2))
end
end
function skynet.kill(name)
if type(name) == "number" then
skynet.send(".launcher","lua","REMO... | mit |
nesstea/darkstar | scripts/zones/Castle_Zvahl_Baileys_[S]/Zone.lua | 32 | 1301 | -----------------------------------
--
-- Zone: Castle_Zvahl_Baileys_[S] (138)
--
-----------------------------------
package.loaded["scripts/zones/Castle_Zvahl_Baileys_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Castle_Zvahl_Baileys_[S]/TextIDs"... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/weavers_belt.lua | 18 | 1177 | -----------------------------------------
-- ID: 15447
-- Item: Weaver's Belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Clothcraft Skill +3
-----------------------------------------
require("scripts/... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Northern_San_dOria/npcs/Jeanvirgaud.lua | 18 | 1838 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Jeanvirgaud
-- Outpost Teleporter NPC
-- @pos 45.559 -0.199 26.300 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Northern_San_dOria/npcs/Ailbeche.lua | 12 | 7893 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Ailbeche
-- Starts and Finishes Quest: Father and Son, Sharpening the Sword, A Boy's Dream (start)
-- @zone 231
-- @pos 4 -1 24
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
----------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Castle_Oztroja/npcs/_m72.lua | 17 | 2267 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _m72 (Torch Stand)
-- Notes: Opens door _477 when _m72 to _m75 are lit
-- @pos -60 -72 -139 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("... | gpl-3.0 |
johnmccabe/dockercraft | world/Plugins/ProtectionAreas/HookHandlers.lua | 6 | 3988 |
-- HookHandlers.lua
-- Implements the handlers for individual hooks
--- Registers all the hooks that the plugin needs to know about
function InitializeHooks(a_Plugin)
local PlgMgr = cRoot:Get():GetPluginManager();
cPluginManager.AddHook(cPluginManager.HOOK_PLAYER_DESTROYED, OnPlayerDestroyed);
cPluginManager... | apache-2.0 |
nesstea/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Knuckles.lua | 6 | 1514 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Knuckles
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEn... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/hellsteak.lua | 35 | 1725 | -----------------------------------------
-- ID: 5609
-- Item: hellsteak
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 20
-- Strength 6
-- Intelligence -2
-- Health Regen While Healing 2
-- Attack % 19
-- Ranged ATT % 19
-- Dragon Killer 5
-- Demon Killer 5
---------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/cup_of_healing_tea.lua | 35 | 1373 | -----------------------------------------
-- ID: 4286
-- Item: cup_of_healing_tea
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Magic 10
-- Vitality -1
-- Charisma 3
-- Magic Regen While Healing 2
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Jeuno/npcs/Red_Ghost.lua | 13 | 2080 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Red Ghost
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Jeuno/TextIDs");
require("scripts/globals/quests");
require("scrip... | gpl-3.0 |
nesstea/darkstar | 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 |
nesstea/darkstar | scripts/zones/Toraimarai_Canal/npcs/qm10.lua | 13 | 1607 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: ???
-- Involved In Quest: Wild Card
-- @zone 169 // not accurate
-- @pos 220 16 -50 // not accurate
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_!Core/libs/AceVillain-1.0/widgets/shared/BackgroundWidget.lua | 3 | 7247 | -- Widget is based on the AceGUIWidget-DropDown.lua supplied with AceGUI-3.0
-- Widget created by Yssaril
local AceGUI = LibStub("AceGUI-3.0")
local Media = LibStub("LibSharedMedia-3.0")
local AceVillain = LibStub("AceVillain-1.0")
do
local widgetType = "LSM30_Background"
local widgetVersion = 999999
local conte... | mit |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Nullifying_Dropkick.lua | 58 | 1046 | ---------------------------------------------
-- Nullifying Dropkick
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/zones/Empyreal_Paradox/TextIDs");
-----------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Misareaux_Coast/npcs/Logging_Point.lua | 29 | 1107 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Misareaux_Coast/TextIDs");
... | gpl-3.0 |
nesstea/darkstar | scripts/globals/mobskills/Glacial_Breath.lua | 32 | 1239 | ---------------------------------------------
-- Glacial Breath
--
-- Description: Deals Ice damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes: Used only by Jormungand and Isgebind
---------------------------------------------
req... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Jeuno/npcs/Zona_Shodhun.lua | 34 | 3745 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Zona Shodhun
-- Starts and Finishes Quest: Pretty Little Things
-- @zone 246
-- @pos -175 -5 -4
-----------------------------------
package.loaded["scripts/globals/settings"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
milkmanjack/lama | data/command/who.lua | 1 | 1402 | --[[
lama is a MUD server made in Lua.
Copyright (C) 2013 Curtis Erickson
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 3 of the License, or
(at your option) ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Cape_Teriggan/npcs/Cermet_Headstone.lua | 13 | 4123 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Wind Headstone)
-- @pos -107 -8 450 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("sc... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Jugner_Forest_[S]/Zone.lua | 17 | 1510 | -----------------------------------
--
-- 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 |
Mashape/kong | kong/db/migrations/state.lua | 1 | 9303 | local utils = require "kong.tools.utils"
local log = require "kong.cmd.utils.log"
local Schema = require "kong.db.schema"
local Migration = require "kong.db.schema.others.migrations"
local pl_path = require "pl.path"
local pl_dir = require "pl.dir"
local Errors = require "kong.db.errors"
local MigrationSchema = Schem... | apache-2.0 |
nesstea/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Misseulieu.lua | 13 | 1551 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Misseulieu
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
----------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/bluemagic/uppercut.lua | 35 | 1828 | -----------------------------------------
-- Spell: Uppercut
-- Damage varies with TP
-- Spell cost: 31 MP
-- Monster Type: Plantoids
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: STR+2, DEX+1
-- Level: 38
-- Casting Time: 0.5 seconds
-- Recast Time: 17.75 seconds
-- Skillchain Element(s): Fire... | gpl-3.0 |
MetSystem/skynet | lualib/sharemap.lua | 78 | 1496 | local stm = require "stm"
local sprotoloader = require "sprotoloader"
local sproto = require "sproto"
local setmetatable = setmetatable
local sharemap = {}
function sharemap.register(protofile)
-- use global slot 0 for type define
sprotoloader.register(protofile, 0)
end
local sprotoobj
local function loadsp()
if ... | mit |
UnfortunateFruit/darkstar | scripts/zones/Al_Zahbi/npcs/Zwiyaam.lua | 38 | 1024 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Zwiyaam
-- Type: Standard NPC
-- @zone: 48
-- @pos 14.814 -7.667 41.889
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok_Mines/npcs/Babenn.lua | 12 | 2348 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Babenn
-- Finishes Quest: The Eleventh's Hour
-- Involved in Quests: Riding on the Clouds
-- @zone 234
-- @pos 73 -1 34
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
r... | gpl-3.0 |
Whit3Tig3R/BestSpammbot1 | bot/seedbot.lua | 1 | 8599 | package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua'
..';.luarocks/share/lua/5.2/?/init.lua'
package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so'
require("./bot/utils")
VERSION = '1.0'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
retu... | gpl-2.0 |
nesstea/darkstar | scripts/zones/West_Ronfaure/TextIDs.lua | 15 | 1654 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6401; -- You cannot obtain the item <item> come back again after sorting your inventory.
ITEM_OBTAINED = 6406; -- Obtained: <item>.
GIL_OBTAINED = 6407; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6409; -- Obt... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Dynamis-Xarcabard/TextIDs.lua | 5 | 2195 | -- 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 = 6382; -- Obtained: <item>
GIL_OBTAINED = 6383; -- Obtained <number> gil
KEYITEM_OBTAINED = 6385; -- Obtain... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Jeuno/npcs/Supiroro.lua | 12 | 1388 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Supiroro
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/PsoXja/npcs/_i98.lua | 8 | 1527 | -----------------------------------
-- Area: Pso'Xja
-- NPC: Stone Gate
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/PsoXja/TextIDs");
require("scripts/globals/keyitems... | gpl-3.0 |
VoxelDavid/rbx-lua-dump | source/modules/Data.lua | 1 | 2420 | --[[
This module is used to easily make calls to the data store service.
Usage example:
-- Where this module is located in the game.
local Data = require(game.Workspace.DataModule)
Data:Update("Server", "version", "v0.1.0")
print(Data:Get("Server", "version")) -- "v0.1.0"
Data:Delete("Server... | mit |
nesstea/darkstar | scripts/zones/Apollyon/mobs/Cornu.lua | 7 | 1128 | -----------------------------------
-- Area: Apollyon NE
-- NPC: Sirins
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Bastok_Markets/npcs/Charging_Chocobo.lua | 36 | 1678 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Charging Chocobo
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Three_Steps_IM.lua | 13 | 3350 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Three Steps, I.M.
-- Type: Border Conquest Guards
-- @pos -120.393 -25.822 -592.604 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
MuhammadWang/MCServer | MCServer/Plugins/APIDump/Classes/BlockEntities.lua | 2 | 12426 | return
{
cBlockEntity =
{
Desc = [[
Block entities are simply blocks in the world that have persistent data, such as the text for a sign
or contents of a chest. All block entities are also saved in the chunk data of the chunk they reside in.
The cBlockEntity class acts as a common ancestor for all the indi... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Sauromugue_Champaign_[S]/npcs/Cavernous_Maw.lua | 13 | 1456 | -----------------------------------
-- Area: Sauromugue Champaign [S]
-- NPC: Cavernous Maw
-- @pos 369 8 -227 98
-- Teleports Players to Sauromugue_Champaign
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign_[S]/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_!Core/system/_reports/friends.lua | 2 | 15068 | --[[
##############################################################################
S V U I By: Failcoder
##############################################################################
##########################################################
LOCALIZED LUA FUNCTIONS
#################################################... | mit |
malortie/gmod-addons | th_weapons/lua/weapons/weapon_th_satchel/shared.lua | 1 | 8759 | -- Only enable this addon if HL:S is mounted.
if !IsHL1Mounted() then return end
-- Define a global variable to ease calling base class methods.
DEFINE_BASECLASS( 'weapon_th_base' )
SWEP.Base = 'weapon_th_base'
SWEP.PrintName = "Satchel"
SWEP.Author = ""
SWEP.Contact = ""
SWEP.Purpose = ""
SWEP.Instructions = ... | gpl-3.0 |
ruisebastiao/nodemcu-firmware | app/cjson/lua/cjson/util.lua | 170 | 6837 | local json = require "cjson"
-- Various common routines used by the Lua CJSON package
--
-- Mark Pulford <mark@kyne.com.au>
-- Determine with a Lua table can be treated as an array.
-- Explicitly returns "not an array" for very sparse arrays.
-- Returns:
-- -1 Not an array
-- 0 Empty table
-- >0 Highest index ... | mit |
nesstea/darkstar | scripts/zones/RuLude_Gardens/npcs/Adolie.lua | 13 | 1477 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Adolie
-- @zone 243
-- @pos -35 2 59
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/RuLude_Gardens/TextI... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/sandfish.lua | 17 | 1317 | -----------------------------------------
-- ID: 4291
-- Item: sandfish
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
nesstea/darkstar | scripts/globals/limbus.lua | 14 | 37083 | --------------------------------------
require("scripts/globals/keyitems")
--------------------------------------
APPOLLYON_SE_NE = 1 -- out 557 -1 441 128
APPOLLYON_NW_SW = 2 -- out -561 0 443 242
TEMENOS = 3
-- WHITE_CARD = 349
-- RED_CARD = 350
-- BLACK_CARD = 351
-- COSMOCLEANSE = 734
-- REGION
NW_Apollyon = 1
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Southern_San_dOria/npcs/Machielle.lua | 30 | 2011 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Machielle
-- Only sells when Bastok controls Norvallen Region
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/global... | gpl-3.0 |
vonflynee/opencomputersserver | world/opencomputers/689b9f29-1d36-4106-bf0e-c06a2ebfb1ef/bin/install.lua | 15 | 2650 | local component = require("component")
local computer = require("computer")
local event = require("event")
local filesystem = require("filesystem")
local unicode = require("unicode")
local shell = require("shell")
local args, options = shell.parse(...)
local fromAddress = options.from and component.get(options.from) ... | mit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.