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 |
|---|---|---|---|---|---|
UnfortunateFruit/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/LaisavieXBerlends1.lua | 36 | 1080 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Laisavie X Berlends
-- @zone 80
-- @pos 26 2 6
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
-----------------------... | gpl-3.0 |
Badboy30/badboy30 | plugins/groupmanager.lua | 166 | 11272 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if not is_admin(msg) then
return "You're not admin!"
end
local group_creator = msg.from.print_name
create_group_chat (group_cr... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Northern_San_dOria/npcs/HomePoint#2.lua | 27 | 1277 | -----------------------------------
-- Area: Northern San dOria
-- NPC: HomePoint#2
-- @pos 10 -0.2 95 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Northern_San_dOria/TextIDs");
require("scripts/g... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Selbina/npcs/Dohdjuma.lua | 34 | 1424 | -----------------------------------
-- Area: Selbina
-- NPC: Dohdjuma
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/shop");
----------... | gpl-3.0 |
NezzKryptic/Wire-Extras | lua/weapons/gmod_tool/stools/wire_magnet.lua | 3 | 6892 | TOOL.Category = "Wire Extras/Physics/Force"
TOOL.Name = "Wire Magnet"
TOOL.Command = nil
TOOL.ConfigName = nil
TOOL.Tab = "Wire"
if ( CLIENT ) then
language.Add( "Tool.wire_magnet.name", "Wired Magnet Tool" )
language.Add( "Tool.wire_magnet.desc", "Spawns a realistic magnet for use with the wire... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Northern_San_dOria/npcs/Morunaude.lua | 36 | 1428 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Morunaude
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quest... | gpl-3.0 |
Mashape/kong | kong/db/schema/entities/upstreams.lua | 1 | 7354 | local Schema = require "kong.db.schema"
local typedefs = require "kong.db.schema.typedefs"
local utils = require "kong.tools.utils"
local null = ngx.null
local validate_name = function(name)
local p = utils.normalize_ip(name)
if not p then
return nil, "Invalid name; must be a valid hostname"
end
if p.type... | apache-2.0 |
Lordlotter/AdvanSource | plugins/all.lua | 32 | 4484 | do
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_print_name(user)..' ['..user_id..']'
return u... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/globals/items/noble_lady.lua | 17 | 1392 | -----------------------------------------
-- ID: 4485
-- Item: noble_lady
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-- Charisma 3
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Cloister_of_Flames/bcnms/sugar-coated_directive.lua | 27 | 1824 | ----------------------------------------
-- Area: Cloister of Flames
-- BCNM: Sugar Coated Directive (ASA-4)
-- @pos -721 0 -598 207
----------------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
----------------------------------------
require("scripts/globals/keyitems");
r... | gpl-3.0 |
microbang/luasocket | etc/qp.lua | 59 | 1025 | -----------------------------------------------------------------------------
-- Little program to convert to and from Quoted-Printable
-- LuaSocket sample files
-- Author: Diego Nehab
-- RCS ID: $Id: qp.lua,v 1.5 2004/06/17 21:46:22 diego Exp $
--------------------------------------------------------------------------... | mit |
malortie/gmod-addons | th_weapons/lua/weapons/weapon_th_chainsaw/shared.lua | 1 | 24122 | -- 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 = 'Chainsaw (Cut)'
SWEP.Author = 'Marc-Antoine (malortie) Lortie'
SWEP.Contact = ''
SWEP.Pu... | gpl-3.0 |
Mashape/kong | spec/02-integration/03-db/03-plugins_spec.lua | 1 | 9140 | local helpers = require "spec.helpers"
assert:set_parameter("TableFormatLevel", 10)
local UUID_PATTERN = "%x%x%x%x%x%x%x%x%-%x%x%x%x%-%x%x%x%x%-%x%x%x%x%-%x%x%x%x%x%x%x%x%x%x%x%x"
for _, strategy in helpers.each_strategy() do
describe("kong.db [#" .. strategy .. "]", function()
local db, bp, service, route
... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/power_slash.lua | 30 | 1662 | -----------------------------------
-- Power Slash
-- Great Sword weapon skill
-- Skill level: 30
-- Delivers a single-hit attack. params.crit varies with TP.
-- Modifiers: STR:60% ; VIT:60%
-- 100%TP 200%TP 300%TP
-- 1.0 1.0 1.0
-----------------------------------
require("scripts/globals/status");
requ... | gpl-3.0 |
DavisDev/OneInstaller | system/engine.lua | 1 | 69299 | --files.encrypt("system/libs/lib_wave.lua")
--files.desencrypt("system/configs/hosting.ini")
-- ## Recursos A Cargar ##
icon = {
-- ## Logos ##
one = kernel.loadimage("system/theme/one_ico.png"),
-- ## Barra Superior ##
wifi = image.load("system/theme/wifi.png",14,11),
ms = kernel.loadimage("system/theme/m... | cc0-1.0 |
mahdib9/9 | plugins/inrealm.lua | 14 | 25561 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
ruisebastiao/nodemcu-firmware | lua_modules/hdc1000/HDC1000.lua | 79 | 2703 | -------------------------------------------------------
-- This library was written for the Texas Instruments
-- HDC1000 temperature and humidity sensor.
-- It should work for the HDC1008 too.
-- Written by Francesco Truzzi (francesco@truzzi.me)
-- Released under GNU GPL v2.0 license.
------------------------------... | mit |
UnfortunateFruit/darkstar | scripts/zones/San_dOria-Jeuno_Airship/Zone.lua | 28 | 1461 | -----------------------------------
--
-- Zone: San_dOria-Jeuno_Airship
--
-----------------------------------
-----------------------------------
-- onInitialize
-----------------------------------
function onInitialize(zone)
end;
-----------------------------------
-- onZoneIn
---------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Bastok_Markets/npcs/Rothais.lua | 36 | 1061 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Rothais
-- Involved in Quest: Gourmet
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
----------------------------... | gpl-3.0 |
Mashape/kong | kong/plugins/basic-auth/daos.lua | 1 | 1169 | local typedefs = require "kong.db.schema.typedefs"
local crypto = require "kong.plugins.basic-auth.crypto"
return {
basicauth_credentials = {
name = "basicauth_credentials",
primary_key = { "id" },
cache_key = { "username" },
endpoint_key = "username",
-- Passwords are hashed, so the exported pa... | apache-2.0 |
bowlofstew/Macaroni | Main/App/Source/test/lua/Macaroni/Model/ContextTests.lua | 2 | 3033 | --------------------------------------------------------------------------------
-- Copyright 2011 Tim Simpson
--
-- 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.a... | apache-2.0 |
nesstea/darkstar | scripts/zones/Gusgen_Mines/npcs/_5gd.lua | 13 | 1343 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5gd (Lever F)
-- @pos 44 -20.56 143.802 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
---------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/abilities/wind_maneuver.lua | 35 | 1604 | -----------------------------------
-- Ability: Wind Maneuver
-- Enhances the effect of wind attachments. Must have animator equipped.
-- Obtained: Puppetmaster level 1
-- Recast Time: 10 seconds (shared with all maneuvers)
-- Duration: 1 minute
-----------------------------------
require("scripts/globals/status");
re... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/kohlrouladen.lua | 35 | 1287 | -----------------------------------------
-- ID: 5760
-- Item: kohlrouladen
-- Food Effect: 1hour?, All Races
-----------------------------------------
-- Strength 3
-- Agility 3
-- Intelligence -5
-----------------------------------------
require("scripts/globals/status");
-------------------------------... | gpl-3.0 |
malortie/gmod-addons | th_weapons/lua/weapons/weapon_th_base/shared.lua | 1 | 22291 | -- Only enable this addon if HL:S is mounted.
if !IsHL1Mounted() then return end
SWEP.PrintName = "They Hunger Base SWEP"
SWEP.Author = ""
SWEP.Contact = ""
SWEP.Purpose = ""
SWEP.Instructions = ""
SWEP.ViewModelFOV = 90
SWEP.ViewModelFlip = false
SWEP.ViewModel = "models/weapons/v_pistol.mdl"
SWEP.WorldModel ... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Talwahn.lua | 34 | 1032 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Talwahn
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
----------... | gpl-3.0 |
johnmccabe/dockercraft | world/Plugins/APIDump/APIDesc.lua | 6 | 260530 | -- APIDesc.lua
-- Contains the API objects' descriptions
g_APIDesc =
{
Classes =
{
--[[
-- What the APIDump plugin understands / how to document stuff:
ExampleClassName =
{
Desc = "Description, exported as the first paragraph of the class page. Usually enclosed within double brackets."
Functions =... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Kazham/npcs/Roropp.lua | 19 | 6177 | -----------------------------------
-- Area: Kazham
-- NPC: Roropp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
require("scripts/globals/pathfind");
local path = {
16.031977, -8.000000, -106.132980,... | gpl-3.0 |
Spartan322/finalfrontier | gamemode/sgui/doorcontrol.lua | 3 | 2227 | -- Copyright (c) 2014 James King [metapyziks@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 Lic... | lgpl-3.0 |
ShaTelTeam/MegaZs | plugins/idfrom.lua | 3 | 1229 | do
local function get_message_callback_id(extra, success, result)
vardump(result)
if result.to.peer_type == 'channel' then
local chat = 'channel#id'..result.to.peer_id
send_large_msg(chat, result.from.peer_id)
else
return 'Use This in Your Groups'
end
end
local function get_mess... | gpl-2.0 |
Atcold/torch7 | random.lua | 72 | 1364 | local wrap = require 'cwrap'
require 'torchcwrap'
local interface = wrap.CInterface.new()
interface:print(
[[
#include "luaT.h"
#include "TH.h"
extern void torch_Generator_init(lua_State *L);
extern void torch_Generator_new(lua_State *L);
]])
for _,name in ipairs({"seed", "initialSeed"}) do
interface:wrap... | bsd-3-clause |
nesstea/darkstar | scripts/zones/Temple_of_Uggalepih/TextIDs.lua | 13 | 2342 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/QuBia_Arena/mobs/Rojgnoj_s_Left_Hand.lua | 10 | 1232 | -----------------------------------
-- Area: QuBia_Arena
-- Mission 9-2 SANDO
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/missions");
require("scripts/zones/QuBia_Arena/TextIDs");
-----------------------------------
-- onMobSpawn A... | gpl-3.0 |
jj918160/cocos2d-x-samples | samples/KillBug/src/cocos/extension/ExtensionConstants.lua | 62 | 2000 | if nil == cc.Control then
return
end
cc.CONTROL_STATE_NORMAL = 1
cc.CONTROL_STATE_HIGH_LIGHTED = 2
cc.CONTROL_STATE_DISABLED = 4
cc.CONTROL_STATE_SELECTED = 8
cc.CONTROL_STEPPER_PART_MINUS = 0
cc.CONTROL_STEPPER_PART_PLUS = 1
cc.CONTROL_STEPPER_PART_NONE = 2
cc.TABLEVIEW_FILL_TOPDOWN = 0
cc.TABLEVIEW_FILL_BOTTOM... | mit |
nesstea/darkstar | scripts/commands/changesjob.lua | 2 | 1078 | ---------------------------------------------------------------------------------------------------
-- func: changesjob
-- desc: Changes the players current subjob.
---------------------------------------------------------------------------------------------------
require("scripts/globals/status");
cmdprops =
{
p... | gpl-3.0 |
MuhammadWang/MCServer | MCServer/Plugins/InfoDump.lua | 2 | 20705 | #!/usr/bin/lua
-- InfoDump.lua
--[[
Loads plugins' Info.lua and dumps its g_PluginInfo into various text formats
This is used for generating plugin documentation for the forum and for GitHub's INFO.md files
This script can be used in two ways:
Executing "lua InfoDump.lua" will go through all subfolders and dump each... | apache-2.0 |
nesstea/darkstar | scripts/globals/effects/sanction.lua | 32 | 1714 | -----------------------------------
--
-- EFFECT_SANCTION
--
-----------------------------------
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
local power = effect:getPower(); -- 1 = regen, 2 = refresh, 3 = food.
local subPo... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/death_scythe_+1.lua | 41 | 1069 | -----------------------------------------
-- ID: 16791
-- Item: Death Scythe +1
-- Additional Effect: Drains HP
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-------------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_Windurst/npcs/Tohopka.lua | 13 | 1047 | -----------------------------------
-- Area: Port Windurst
-- NPC: Tohopka
-- Type: Standard NPC
-- @zone: 240
-- @pos -105.723 -10 83.813
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------... | gpl-3.0 |
vonflynee/opencomputersserver | world/opencomputers/689b9f29-1d36-4106-bf0e-c06a2ebfb1ef/bin/lua.lua | 13 | 4399 | local component = require("component")
local package = require("package")
local term = require("term")
local serialization = require("serialization")
local shell = require("shell")
local args, options = shell.parse(...)
local env = setmetatable({}, {__index = _ENV})
if #args > 0 then
local script, reason = loadfile... | mit |
UnfortunateFruit/darkstar | scripts/globals/spells/kurayami_ichi.lua | 11 | 1059 | -----------------------------------------
-- Spell: Kurayami:Ichi
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(c... | gpl-3.0 |
p00ria/Signal | plugins/owners.lua | 1467 | 12478 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
zuzuf/TA3D | src/ta3d/mods/ta3d/scripts/corgol.lua | 2 | 6604 | -- CORGOL
createUnitScript("corgol")
__this:piece( "base", "body", "turret1", "sleeve1", "barrel1", "firepoint1", "turret2", "sleeve2", "barrel2", "firepoint2",
"tracks1", "tracks2", "tracks3", "wheels1", "wheels2", "wheels3", "wheels4", "wheels5", "wheels6" )
__this.moving = false
__this.once ... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Empyreal_Paradox/mobs/Promathia_2.lua | 8 | 2578 | -----------------------------------
-- Area: Empyreal Paradox
-- MOB: Promathia (phase 2)
-----------------------------------
package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Empyreal_Paradox/TextIDs");
require("scripts/globals/status");
require... | gpl-3.0 |
akdor1154/awesome | lib/wibox/layout/mirror.lua | 1 | 3648 | ---------------------------------------------------------------------------
-- @author dodo
-- @copyright 2012 dodo
-- @release @AWESOME_VERSION@
-- @classmod wibox.layout.mirror
---------------------------------------------------------------------------
local type = type
local error = error
local pairs = pairs
local ... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Batallia_Downs_[S]/mobs/Gnole.lua | 13 | 1676 | -----------------------------------
-- Area: Batillia Downs S
-- MOB: Gnole
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:setLocalVar("transformTime", os.time())
end;
---------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/serving_of_flounder_meuniere_+1.lua | 35 | 1657 | -----------------------------------------
-- ID: 4345
-- Item: serving_of_flounder_meuniere_+1
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Dexterity 6
-- Vitality 1
-- Mind -1
-- Ranged ACC 15
-- Ranged ATT % 14
-- Ranged ATT Cap 30
-- Enmity -3
---------------------------... | gpl-3.0 |
garyjs/Newfiesautodialer | lua/libs/constant.lua | 3 | 1634 | --
-- Newfies-Dialer License
-- http://www.newfies-dialer.org
--
-- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
-- You can obtain one at http://mozilla.org/MPL/2.0/.
--
-- Copyright (C) 2011-2013 Star2Billing S.L.
--
--... | mpl-2.0 |
nesstea/darkstar | scripts/zones/Quicksand_Caves/npcs/qm4.lua | 27 | 1185 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: ??? (qm4)
-- Involved in Mission: Bastok 8.1 "The Chains That Bind Us"
-- @pos
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions")... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/melon_pie.lua | 17 | 1251 | -----------------------------------------
-- ID: 4421
-- Item: melon_pie
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 25
-- Agility -1
-- Intelligence 4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
kirangonella/torch7 | CmdLine.lua | 62 | 7104 | local CmdLine = torch.class('torch.CmdLine')
local function strip(str)
return string.match(str, '%-*(.*)')
end
local function pad(str, sz)
return str .. string.rep(' ', sz-#str)
end
function CmdLine:error(msg)
print('')
io.stderr:write(msg)
print('')
self:help()
os.exit(1)
end
function CmdLine:... | bsd-3-clause |
nesstea/darkstar | scripts/zones/Metalworks/npcs/Ayame.lua | 12 | 2954 | -----------------------------------
-- Area: Metalworks
-- NPC: Ayame
-- Involved in Missions
-- Starts and Finishes Quest: True Strength
-- @pos 133 -19 34 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/set... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_San_dOria/npcs/Ceraulian.lua | 11 | 5366 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Ceraulian
-- Involved in Quest: The Holy Crest
-- @pos 0 -8 -122 232
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scri... | gpl-3.0 |
NezzKryptic/Wire-Extras | lua/entities/gmod_wire_hud_indicator_2/expressions/expr_stack.lua | 3 | 1462 | EXPR_Stack = {}
function EXPR_Stack:new()
local obj = {}
setmetatable( obj, {__index = EXPR_Stack} )
obj.elements = {}
return obj
end
function EXPR_Stack:push( element )
if( element ~= nil ) then
table.insert( self.elements, element )
else
--Silently die, for now!
end
end
function EXPR_Stack:pop( _type )... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/cure_vi.lua | 13 | 3520 | -----------------------------------------
-- Spell: Cure VI
-- Restores target's HP.
-- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Baya_Hiramayuh.lua | 24 | 1486 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Baya Hiramayuh
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
---... | gpl-3.0 |
Mashape/kong | kong/plugins/jwt/handler.lua | 1 | 7830 | local constants = require "kong.constants"
local jwt_decoder = require "kong.plugins.jwt.jwt_parser"
local fmt = string.format
local kong = kong
local type = type
local ipairs = ipairs
local tostring = tostring
local re_gmatch = ngx.re.gmatch
local JwtHandler = {}
JwtHandler.PRIORITY = 1005
JwtHandler.VERSION = "... | apache-2.0 |
johnmccabe/dockercraft | world/Plugins/APIDump/Classes/Plugins.lua | 11 | 23137 | return
{
cPlugin =
{
Desc = [[cPlugin describes a Lua plugin. This page is dedicated to new-style plugins and contain their functions. Each plugin has its own Plugin object.
]],
Functions =
{
GetDirectory = { Return = "string", Notes = "<b>OBSOLETE</b>, use GetFolderName() instead!" },
GetFolderName = { P... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/globals/items/ear_of_grilled_corn.lua | 35 | 1298 | -----------------------------------------
-- ID: 4334
-- Item: ear_of_grilled_corn
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 10
-- Vitality 4
-- Health Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Beaucedine_Glacier/mobs/Calcabrina.lua | 7 | 1944 | -----------------------------------
-- Area: Beaucedine Glacier
-- NM: Calcabrina
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-----------------------------------
-- onMobInitialize
-----------------------------------
f... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Horlais_Peak/npcs/Burning_Circle.lua | 13 | 2033 | -----------------------------------
-- Area: Horlais Peak
-- NPC: Burning Circle
-- Horlais Peak Burning Circle
-- @pos -509 158 -211 139
-------------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("sc... | gpl-3.0 |
nesstea/darkstar | scripts/zones/QuBia_Arena/mobs/Rojgnoj_s_Left_Hand.lua | 7 | 1148 | -----------------------------------
-- Area: QuBia_Arena
-- Mission 9-2 SANDO
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:setLocalVar("2HGO",math.random(40,80));
end;
-------------------------------... | gpl-3.0 |
Mashape/kong | kong/cmd/stop.lua | 6 | 1085 | local nginx_signals = require "kong.cmd.utils.nginx_signals"
local conf_loader = require "kong.conf_loader"
local pl_path = require "pl.path"
local log = require "kong.cmd.utils.log"
local function execute(args, opts)
opts = opts or {}
log.disable()
-- only to retrieve the default prefix or use given one
loca... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Beadeaux/npcs/Treasure_Chest.lua | 12 | 2555 | -----------------------------------
-- Area: Beadeaux
-- NPC: Treasure Chest
-- @zone 147
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/treasure");
require("scripts/zones/Bea... | gpl-3.0 |
malortie/gmod-addons | th_weapons/lua/entities/ent_weapon_th_taurus/init.lua | 1 | 1177 | -- Only enable this addon if HL:S is mounted.
if !IsHL1Mounted() then return end
-------------------------------------
-- Weapon 357 spawning.
-------------------------------------
AddCSLuaFile('cl_init.lua')
AddCSLuaFile('shared.lua')
include('shared.lua')
-- Define a global variable to ease calling base class meth... | gpl-3.0 |
nesstea/darkstar | scripts/zones/RuLude_Gardens/npcs/Radeivepart.lua | 26 | 2944 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Radeivepart
-- Starts and Finishes Quest: Northward
-- Involved in Quests: Save the Clock Tower
-- @zone 243
-- @pos 5 9 -39
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
---------------------------... | gpl-3.0 |
ennis/autograph-pipelines | resources/scripts/pl/permute.lua | 51 | 1574 | --- Permutation operations.
--
-- Dependencies: `pl.utils`, `pl.tablex`
-- @module pl.permute
local tablex = require 'pl.tablex'
local utils = require 'pl.utils'
local copy = tablex.deepcopy
local append = table.insert
local coroutine = coroutine
local resume = coroutine.resume
local assert_arg = utils.assert_arg
loc... | mit |
UnfortunateFruit/darkstar | scripts/globals/items/danceshroom.lua | 35 | 1208 | -----------------------------------------
-- ID: 4375
-- Item: danceshroom
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -5
-- Dexterity 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters/npcs/Chamama.lua | 23 | 5974 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Chamama
-- Involved In Quest: Inspector's Gadget
-- Starts Quest: In a Pickle
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/q... | gpl-3.0 |
garyjs/Newfiesautodialer | lua/libs/dbh_light.lua | 3 | 2647 | --
-- Newfies-Dialer License
-- http://www.newfies-dialer.org
--
-- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this file,
-- You can obtain one at http://mozilla.org/MPL/2.0/.
--
-- Copyright (C) 2011-2013 Star2Billing S.L.
--
--... | mpl-2.0 |
nesstea/darkstar | scripts/zones/Beaucedine_Glacier/npcs/Iron_Grate.lua | 13 | 2805 | -----------------------------------
-- Area: Beaucedine Glacier
-- NPC: Iron Grate
-- Type: Door
-- @pos 241.000 5.000 -20.000 111 : J-8
-- @pos 60.000 5.000 -359.000 111 : H-10
-- @pos 100.000 -15.000 159.000 111 : I-7
-- @pos -199.000 -35.000 -220.000 111 : G-9
-- @pos -20.000 -55.000 -41.000 111 : H-8
-... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Tombstone_Prototype.lua | 17 | 1245 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Tombstone Prototype
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("s... | gpl-3.0 |
MuhammadWang/MCServer | MCServer/Plugins/APIDump/Hooks/OnExecuteCommand.lua | 3 | 1440 | return
{
HOOK_EXECUTE_COMMAND =
{
CalledWhen = "A player executes an in-game command, or the admin issues a console command. Note that built-in console commands are exempt to this hook - they are always performed and the hook is not called.",
DefaultFnName = "OnExecuteCommand", -- also used as pagename
Desc = ... | apache-2.0 |
FailcoderAddons/supervillain-ui | SVUI_Skins/components/addons/Bugsack.lua | 2 | 1449 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.selec... | mit |
smarttang/sosrp | app-security-worker/sec.security.waf/resty/redis.lua | 3 | 9227 | -- Copyright (C) Yichun Zhang (agentzh)
local sub = string.sub
local byte = string.byte
local tcp = ngx.socket.tcp
local null = ngx.null
local type = type
local pairs = pairs
local unpack = unpack
local setmetatable = setmetatable
local tonumber = tonumber
local tostring = tostring
local rawget = rawget
--local error... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Caedarva_Mire/npcs/Jazaraat_s_Headstone.lua | 16 | 2063 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Jazaraat's Headstone
-- Involved in mission: The Lost Kingdom (TOAUM 13)
-- @pos -389 6 -570 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/PsoXja/npcs/_099.lua | 8 | 1669 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _099 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos -330.000 14.074 -261.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pso... | gpl-3.0 |
Irubataru/dotfiles | roles/neovim/config/lua/irubataru/lsp/servers/sumneko_lua.lua | 1 | 2584 | local path = vim.split(package.path, ";")
table.insert(path, "lua/?.lua")
table.insert(path, "lua/?/init.lua")
local function setup_libraries()
local library = {}
local function add(lib)
for _, p in pairs(vim.fn.expand(lib, false, true)) do
p = vim.loop.fs_realpath(p)
library[p] = true
end
en... | mit |
UnfortunateFruit/darkstar | scripts/zones/La_Theine_Plateau/npcs/Equesobillot.lua | 17 | 2303 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Equesobillot
-- Involved in Mission: The Rescue Drill
-- @pos -287 9 284 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Beaucedine_Glacier/TextIDs.lua | 5 | 1124 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6553; -- You cannot obtain the item. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6554; -- You cannot obtain the #. Try trading again after sorting your inventory.
ITEM_OBTAINED = 6555; -- Obtained:... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Woods/npcs/Nanaa_Mihgo.lua | 17 | 10399 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Nanaa Mihgo
-- Starts and Finishes Quest: Mihgo's Amigo (R), The Tenshodo Showdown (start), Rock Racketeer (start, listed as ROCK_RACKETTER in quests.lua)
-- Involved In Quest: Crying Over Onions
-- Involved in Mission 2-1
-- @pos 62 -4 240 241
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/serving_of_black_pudding.lua | 36 | 1520 | -----------------------------------------
-- ID: 5552
-- Item: Serving of Black Pudding
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP +8
-- MP +5% Cap 25
-- Intelligence +4
-- HP Recovered while healing +1
-- MP Recovered while healing +1
------------------------... | gpl-3.0 |
Samanj5/Assassin | bot/seedbot.lua | 1 | 8709 | 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 |
UnfortunateFruit/darkstar | scripts/globals/items/cotton_candy.lua | 39 | 1205 | -----------------------------------------
-- ID: 5708
-- Item: Cotton Candy
-- Food Effect: 5 Min, All Races
-----------------------------------------
-- MP % 10 Cap 200
-- MP Healing 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Mamook/mobs/Colibri.lua | 16 | 1620 | -----------------------------------
-- Area: Mamook
-- MOB: Colibri
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobFight Action
-----------------------------------
function onMobFight(mob, target)
local delay =... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Rakh_Mhappyoh.lua | 38 | 1051 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Rakh Mhappyoh
-- Type: Standard NPC
-- @zone: 94
-- @pos -55.989 -4.5 48.365
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Gusgen_Mines/npcs/Mining_Point.lua | 13 | 1057 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Gusgen_Mines/TextIDs");
--------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Apollyon/mobs/Troglodyte_Dhalmel.lua | 7 | 1257 | -----------------------------------
-- Area: Apollyon NE
-- NPC: Troglodyte Dhalmel
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
----------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Temenos/mobs/Kindred_Summoner.lua | 7 | 1142 | -----------------------------------
-- Area: Temenos N T
-- NPC: Kindred_Summoner.
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
--------------------------... | gpl-3.0 |
plajjan/snabbswitch | lib/ljsyscall/include/lfs-tests/test.lua | 23 | 6377 | #!/usr/bin/env luajit
-- very slightly modified version of tests from https://github.com/keplerproject/luafilesystem
--[[
Copyright © 2003 Kepler Project.
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 S... | apache-2.0 |
nesstea/darkstar | scripts/globals/mobskills/PW_Groundburst.lua | 37 | 1035 | ---------------------------------------------
-- 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 |
nesstea/darkstar | scripts/globals/mobskills/Dread_Dive.lua | 33 | 1035 | ---------------------------------------------
-- Dread Dive
--
-- Description: Dives into a single target. Additional effect: Knockback + Stun
-- Type: Physical
-- Utsusemi/Blink absorb: 1 shadow
-- Range: Melee
-- Notes: Used instead of Gliding Spike by certain notorious monsters.
-------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Tohka_Telposkha.lua | 34 | 1040 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Tohka Telposkha
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
--... | gpl-3.0 |
Mashape/kong | spec/03-plugins/14-request-termination/01-schema_spec.lua | 2 | 2296 | local schema_def = require "kong.plugins.request-termination.schema"
local v = require("spec.helpers").validate_plugin_config_schema
describe("Plugin: request-termination (schema)", function()
it("should accept a valid status_code", function()
assert(v({status_code = 404}, schema_def))
end)
it("should accept... | apache-2.0 |
nesstea/darkstar | scripts/zones/Davoi/npcs/_45d.lua | 13 | 1583 | -----------------------------------
-- Area: Davoi
-- NPC: Wall of Banishing
-- Used In Quest: Whence Blows the Wind
-- @pos 181 0.1 -218 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
nesstea/darkstar | scripts/zones/North_Gustaberg/MobIDs.lua | 23 | 1385 | -----------------------------------
-- Area: North Gustaberg
-- Comments: -- posX, posY, posZ
--(Taken from 'mob_spawn_points' table)
-----------------------------------
-- Stinging Sophie
Stinging_Sophie=17211561;
Stinging_Sophie_PH={
[17211532] = '1', -- 352.974, -40.359, 472.914
[17211534] = '1', -- 353.313, -... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/ulbuconut.lua | 36 | 1146 | -----------------------------------------
-- ID: 5966
-- Item: Ulbuconut
-- Food Effect: 5 Min, All Races
-----------------------------------------
-- Agility -3
-- Intelligence +1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/regen.lua | 13 | 1625 | -----------------------------------------
-- Spell: Regen
-- Gradually restores target's HP.
-----------------------------------------
-- Cleric's Briault enhances the effect
-- Scale down duration based on level
-- Composure increases duration 3x
-----------------------------------------
require("scripts/globals/stat... | gpl-3.0 |
nesstea/darkstar | scripts/globals/quests.lua | 11 | 37448 | require("scripts/globals/npc_util");
-----------------------------------
--
-- QUESTS ID
--
-----------------------------------
QUEST_AVAILABLE = 0;
QUEST_ACCEPTED = 1;
QUEST_COMPLETED = 2;
-----------------------------------
-- Areas ID
-----------------------------------
SANDORIA = 0;
BASTOK = 1;
WINDUR... | gpl-3.0 |
bocaaust/MindPiano | MindPiano/Libs/RuntimeResources.bundle/tween.lua | 6 | 17270 | -- tween.lua
-- v1.0.1 (2012-02)
-- Based on:
-- Enrique García Cota - enrique.garcia.cota [AT] gmail [DOT] com
-- tweening functions for lua
-- inspired by jquery's animate function
-- Modified for Codea by John Millard 2013-02
-----------------------------------------------------------------------------------------... | apache-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.