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/Upper_Jeuno/npcs/Guslam.lua | 19 | 6497 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Guslam
-- Starts Quest: Borghertz's Hands (AF Hands, Many job)
-- @zone 244
-- @pos -5 1 48
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/sidewinder.lua | 30 | 1400 | -----------------------------------
-- Sidewinder
-- Archery weapon skill
-- Skill level: 175
-- Delivers an inparams.accurate attack that deals quintuple damage. params.accuracy varies with TP.
-- Aligned with the Aqua Gorget, Light Gorget & Breeze Gorget.
-- Aligned with the Aqua Belt, Light Belt & Breeze Belt.... | gpl-3.0 |
johnmccabe/dockercraft | world/Plugins/APIDump/Hooks/OnDisconnect.lua | 36 | 1597 | return
{
HOOK_DISCONNECT =
{
CalledWhen = [[
A client has disconnected, either by explicitly sending the disconnect packet (in older protocols) or
their connection was terminated
]],
DefaultFnName = "OnDisconnect", -- also used as pagename
Desc = [[
This hook is called when a client has disconnected... | apache-2.0 |
nesstea/darkstar | scripts/zones/Cloister_of_Tides/Zone.lua | 30 | 1736 | -----------------------------------
--
-- Zone: Cloister_of_Tides (211)
--
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Cloister_of_Tides/TextIDs");
-----------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/slice_of_tavnazian_ram_meat.lua | 18 | 1332 | -----------------------------------------
-- ID: 5208
-- Item: slice_of_tavnazian_ram_meat
-- Food Effect: 5Min, Galka only
-----------------------------------------
-- Strength 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Palborough_Mines/npcs/_3z7.lua | 26 | 1103 | -----------------------------------
-- Elevator in Palborough
-- Notes: Used to operate Elevator @3z0
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/settings");
require("s... | gpl-3.0 |
johnmccabe/dockercraft | world/Plugins/MagicCarpet/plugin.lua | 6 | 1795 | local Carpets = {}
local PLUGIN
function Initialize( Plugin )
Plugin:SetName("MagicCarpet")
Plugin:SetVersion(3)
cPluginManager.AddHook(cPluginManager.HOOK_PLAYER_MOVING, OnPlayerMoving)
cPluginManager.AddHook(cPluginManager.HOOK_PLAYER_DESTROYED, OnPlayerDestroyed)
local PluginManager = cPluginManager:Get(... | apache-2.0 |
nesstea/darkstar | scripts/globals/spells/bluemagic/blood_saber.lua | 21 | 1690 | -----------------------------------------
-- Spell: Blood Saber
-- Steals HP from enemies within range. Ineffective against undead
-- Spell cost: 25 MP
-- Monster Type: Undead
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 2
-- Stat Bonus: HP-5, MP+5
-- Level: 48
-- Casting Time: 4 seconds
-- Recast Time: 90 secon... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_ActionBars/components/totem.lua | 2 | 5886 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.select... | mit |
nesstea/darkstar | scripts/zones/Bastok_Markets/npcs/Fatimah.lua | 53 | 2085 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Fatimah
-- Type: Goldsmithing Adv. Synthesis Image Support
-- @pos -193.849 -7.824 -56.372 235
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
albfan/clink | clink/test/test_merge.lua | 4 | 2852 | --
-- Copyright (c) 2013 Martin Ridgers
--
-- Permission is hereby granted, free of charge, to any person obtaining a copy
-- of this software and associated documentation files (the "Software"), to deal
-- in the Software without restriction, including without limitation the rights
-- to use, copy, modify, merge, publ... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/bluemagic/ice_break.lua | 25 | 1919 | -----------------------------------------
-- Spell: Ice Break
-- Deals ice damage to enemies within range. Additional Effect: "Bind"
-- Spell cost: 142 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Ice)
-- Blue Magic Points: 3
-- Stat Bonus: INT+1
-- Level: 50
-- Casting Time: 5.25 seconds
-- Recast Time: 33.75 se... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Labyrinth_of_Onzozo/mobs/Goblin_Bandit.lua | 6 | 1073 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- MOB: Goblin Bandit
-- Note: Place holder Soulstealer Skullnix
-----------------------------------
require("scripts/globals/groundsofvalor");
require("scripts/zones/Labyrinth_of_Onzozo/MobIDs");
-----------------------------------
-- onMobDeath
-----... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Lower_Jeuno/npcs/Sutarara.lua | 17 | 1649 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Sutarara
-- Involved in Quests: Tenshodo Menbership (before accepting)
-- @pos 30 0.1 -2 245
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Davoi/npcs/qm1.lua | 17 | 1419 | -----------------------------------
-- Area: Davoi
-- NPC: ??? (qm1)
-- Involved in Quest: To Cure a Cough
-- @pos -115.830 -0.427 -184.289 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
re... | gpl-3.0 |
vonflynee/opencomputersserver | world/opencomputers/689b9f29-1d36-4106-bf0e-c06a2ebfb1ef/bin/flash.lua | 15 | 2414 | local component = require("component")
local shell = require("shell")
local fs = require("filesystem")
local args, options = shell.parse(...)
if #args < 1 and not options.l then
io.write("Usage: flash [-qlr] [<bios.lua>] [label]\n")
io.write(" q: quiet mode, don't ask questions.\n")
io.write(" l: print current ... | mit |
vonflynee/opencomputersserver | world/opencomputers/4f2775bd-9dcb-42e6-8318-1837ede27e76/bin/flash.lua | 15 | 2414 | local component = require("component")
local shell = require("shell")
local fs = require("filesystem")
local args, options = shell.parse(...)
if #args < 1 and not options.l then
io.write("Usage: flash [-qlr] [<bios.lua>] [label]\n")
io.write(" q: quiet mode, don't ask questions.\n")
io.write(" l: print current ... | mit |
nesstea/darkstar | scripts/globals/items/kinkobo.lua | 30 | 1043 | -----------------------------------------
-- ID: 17592
-- Item: Kinkobo
-- Enchantment: Subtle Blow
-- Duration: 60 Mins
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/settings");
-----------------------------------------
-- OnItemCheck
--------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Bastok_Mines/npcs/Azima.lua | 24 | 1949 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Azima
-- Alchemy Adv. Synthesis Image Support
-- @pos 123.5 2 1 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require... | gpl-3.0 |
PUMpITapp/instantpizza | src/IOHandler.lua | 1 | 7995 | local ioHandler = {}
--- Set if the program is running on the box or not
local onBox = true
progress = "IOhandler"
--- Change the path system if the app runs on the box comparing to the emulator
if onBox == true then
dir = sys.root_path()
else
sys = {}
sys.root_path = function () return '' end
dir = ""
e... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/bowl_of_homemade_stew.lua | 35 | 1131 | -----------------------------------------
-- ID: 5222
-- Item: Bowl of Homemade Stew
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Vitality 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
dpino/snabbswitch | lib/luajit/src/jit/dis_x86.lua | 49 | 32818 | ----------------------------------------------------------------------------
-- LuaJIT x86/x64 disassembler module.
--
-- Copyright (C) 2005-2017 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
--------------------------------------------------------------------------... | apache-2.0 |
NezzKryptic/Wire-Extras | lua/entities/gmod_wire_realmagnet/shared.lua | 1 | 2162 |
ENT.Type = "anim"
ENT.Base = "base_wire_entity"
ENT.PrintName = "Wire Magnet"
ENT.Author = "cpf"
ENT.Contact = ""
ENT.Purpose = ""
ENT.Instructions = ""
ENT.Spawnable = false
ENT.AdminSpawnable = false
function ENT:SetOn( boolon )
self:SetNetworkedBool( "On", boolon, true )
sel... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/cup_of_chamomile_tea.lua | 35 | 1384 | -----------------------------------------
-- ID: 4603
-- Item: cup_of_chamomile_tea
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Magic 8
-- Vitality -2
-- Charisma 2
-- Magic Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
hadi9090/celassicalteam | dkjson.lua | 3282 | 26558 | -- Module options:
local always_try_using_lpeg = true
local register_global_module_table = false
local global_module_name = 'json'
--[==[
David Kolf's JSON module for Lua 5.1/5.2
========================================
*Version 2.4*
In the default configuration this module writes no global values... | unlicense |
nesstea/darkstar | scripts/zones/Garlaige_Citadel_[S]/Zone.lua | 27 | 1281 | -----------------------------------
--
-- Zone: Garlaige_Citadel_[S] (164)
--
-----------------------------------
package.loaded["scripts/zones/Garlaige_Citadel_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Garlaige_Citadel_[S]/TextIDs");
--------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Seismostomp.lua | 7 | 1152 | ---------------------------------------------
-- Seismostomp
--
-- Description: Damage varies with TP. Additional effect: "Stun."
-- Type: Physical (Blunt)
--
--
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmov... | gpl-3.0 |
plajjan/snabbswitch | lib/ljsyscall/syscall/freebsd/constants.lua | 18 | 31643 | -- tables of constants for NetBSD
local require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string, select =
require, error, assert, tonumber, tostring,
setmetatable, pairs, ipairs, unpack, rawget, rawset,
pcall, type, table, string, select
local abi =... | apache-2.0 |
nesstea/darkstar | scripts/zones/Abyssea-Misareaux/Zone.lua | 33 | 1482 | -----------------------------------
--
-- Zone: Abyssea - Misareaux
--
-----------------------------------
package.loaded["scripts/zones/Abyssea-Misareaux/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones/Abyssea-Misareau... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Upital-Lupital.lua | 38 | 1056 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Upital-Lupital
-- Type: Standard NPC
-- @zone: 94
-- @pos -57.809 -13.339 122.753
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] ... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Leafallia/Zone.lua | 34 | 1267 | -----------------------------------
--
-- Zone: Leafallia
--
-----------------------------------
package.loaded["scripts/zones/Leafallia/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Leafallia/TextIDs");
-----------------------------------
... | gpl-3.0 |
Verdex/min | util.lua | 1 | 2345 |
function d( v )
if type( v ) == "string" then
return '"' .. v .. '"'
elseif type( v ) == "boolean" then
return tostring( v )
elseif type( v ) == "number" then
return "" .. v
elseif type( v ) == "table" then
local t = {}
for k, val in pairs( v ) do
if ... | mit |
UnfortunateFruit/darkstar | scripts/globals/items/bowl_of_dhalmel_stew.lua | 35 | 1749 | -----------------------------------------
-- ID: 4433
-- Item: Bowl of Dhalmel Stew
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength 4
-- Agility 1
-- Vitality 2
-- Intelligence -2
-- Attack % 25
-- Attack Cap 45
-- Ranged ATT % 25
-- Ranged ATT Cap 45
---------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Northern_San_dOria/npcs/Pala_Korin.lua | 36 | 1428 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pala_Korin
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/ques... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/simit_+1.lua | 19 | 1287 | -----------------------------------------
-- ID: 5597
-- Item: simit_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 18
-- Vitality 4
-- Defense 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChe... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/aspir_knife.lua | 15 | 1103 | -----------------------------------------
-- ID: 16509
-- Item: Aspir Knife
-- Additional effect: MP Drain
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------... | gpl-3.0 |
JeffProgrammer/Torque6 | build/scripts/ljpeg.lua | 4 | 2015 | function ljpeg()
project "ljpeg"
location (LIB_PROJECT_DIR)
targetdir (LIB_BUILD_DIR)
targetname "ljpeg"
language "C++"
kind "StaticLib"
includedirs {
SRC_DIR,
}
files {
path.join(LIB_DIR, "ljpeg/**.h"),
path.join... | mit |
UnfortunateFruit/darkstar | scripts/zones/Yhoator_Jungle/npcs/Ghantata_WW.lua | 30 | 3054 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Ghantata, W.W.
-- Border Conquest Guards
-- @pos -84.113 -0.449 224.902 124
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
req... | gpl-3.0 |
ennis/autograph-pipelines | resources/scripts/pl/lapp.lua | 2 | 14382 | --- Simple command-line parsing using human-readable specification.
-- Supports GNU-style parameters.
--
-- lapp = require 'pl.lapp'
-- local args = lapp [[
-- Does some calculations
-- -o,--offset (default 0.0) Offset to add to scaled number
-- -s,--scale (number) Scaling factor
-- ... | mit |
nesstea/darkstar | scripts/zones/La_Theine_Plateau/npcs/qm3.lua | 29 | 2086 | -----------------------------------
-- Area: La Theine Plateau
-- NPC:??? (qm3)
-- Involved in Quest: I Can Hear A Rainbow
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/La_Theine_Plateau/TextIDs");
requir... | gpl-3.0 |
abhinavmoudgil95/funnybot | src/LanguageModel.lua | 9 | 5434 | require 'torch'
require 'nn'
require 'VanillaRNN'
require 'LSTM'
local utils = require 'util.utils'
local LM, parent = torch.class('nn.LanguageModel', 'nn.Module')
function LM:__init(kwargs)
self.idx_to_token = utils.get_kwarg(kwargs, 'idx_to_token')
self.token_to_idx = {}
self.vocab_size = 0
for idx, tok... | mit |
johnmccabe/dockercraft | world/Plugins/Core/main.lua | 5 | 3147 | -- main.lua
-- Implements the main plugin entrypoint
-- Configuration
-- Use prefixes or not.
-- If set to true, messages are prefixed, e. g. "[FATAL]". If false, messages are colored.
g_UsePrefixes = true
-- Global variables
Messages = {}
WorldsSpawnProtect = {}
WorldsWorldLimit = {}
WorldsWorldDifficulty... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/AlTaieu/mobs/Ru_aern.lua | 9 | 2744 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Ru_aern
-----------------------------------
require("scripts/globals/missions");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
end;
-------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Southern_San_dOria/npcs/Phamelise.lua | 12 | 2168 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Phamelise
-- Only sells when San d'Oria controlls Zulkheim Region
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/ev... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Horlais_Peak/npcs/Burning_Circle.lua | 12 | 1985 | -----------------------------------
-- 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");
r... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Elnonde.lua | 13 | 1610 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Elnonde
-- @zone 80
-- @pos 86 2 -0
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
require("scripts/globals/quests");
-----------... | gpl-3.0 |
bowlofstew/Macaroni | Next/Tests/Features/LanguageFeatures/Source/SimpleGenerator.lua | 2 | 9860 | function printMem(blah)
local mem = collectgarbage("count");
print("MEMORY " .. blah .. ":" .. mem);
collectgarbage("collect");
end
printMem("BEGIN");
require "Macaroni.Generator.Output.Path";
require "Macaroni.Model.Member";
require "Macaroni.Model.Node";
require "Macaroni.Model.Context";
requi... | apache-2.0 |
plajjan/snabbswitch | lib/ljsyscall/test/openbsd.lua | 18 | 1414 | -- OpenBSD specific tests
local function init(S)
local helpers = require "syscall.helpers"
local types = S.types
local c = S.c
local abi = S.abi
local bit = require "syscall.bit"
local ffi = require "ffi"
local t, pt, s = types.t, types.pt, types.s
local assert = helpers.assert
local function fork_assert(cond, er... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/globals/items/dish_of_spaghetti_arrabbiata.lua | 35 | 1719 | -----------------------------------------
-- ID: 5211
-- Item: dish_of_spaghetti_arrabbiata
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Strength 5
-- Vitality 2
-- Intelligence -7
-- Attack % 22
-- Attack Cap 120
-- Store TP 5
-----------------------------------------
req... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Apollyon/bcnms/NE_Apollyon.lua | 35 | 1113 | -----------------------------------
-- Area: Appolyon
-- Name: NE_Apollyon
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[NE_Apollyon]... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Beadeaux/npcs/The_Mute.lua | 19 | 1257 | -----------------------------------
-- Area: Beadeaux
-- NPC: ???
-- @pos -166.230 -1 -73.685 147
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Beadeaux/TextIDs");
require("scripts/globals/quests");
require("scrip... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Eastern_Altepa_Desert/TextIDs.lua | 5 | 1060 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6382; -- Obtained: <item>.
GIL_OBTAINED = 6383; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6385; -- Obtained... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/commands/hp.lua | 26 | 1049 | ---------------------------------------------------------------------------------------------------
-- func: !hp <amount> <player>
-- desc: Sets the GM or target players health.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Castle_Oztroja/npcs/relic.lua | 42 | 1845 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: <this space intentionally left blank>
-- @pos -104 -73 85 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/TextIDs");
-----... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Caedarva_Mire/npcs/Runic_Portal.lua | 25 | 2671 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Runic Portal
-- Caedarva Mire Teleporter Back to Aht Urhgan Whitegate
-- @pos -264 -6 -28 79 (Dvucca)
-- @pos 524 -28 -503 79 (Azouph)
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
--------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Gusgen_Mines/npcs/Treasure_Chest.lua | 13 | 3763 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: Treasure Chest
-- Involved In Quest: The Goblin Tailor
-- @zone 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("script... | gpl-3.0 |
nesstea/darkstar | scripts/globals/abilities/divine_waltz.lua | 19 | 2310 | -----------------------------------
-- Ability: Divine Waltz
-- Heals party members within area of effect.
-- Obtained: Dancer Level 25
-- TP Required: 40%
-- Recast Time: 00:13
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
--------------------------------... | gpl-3.0 |
VurtualRuler98/kswep2-NWI | lua/weapons/weapon_kswepi2_m40a1/shared.lua | 1 | 3534 | --[[
Copyright 2015 vurtual
VurtualRuler98@gmail.com
vurtual.org
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm4.lua | 8 | 1196 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- NPC: ??? (Spawn Wulgaru(ZNM T2))
-- @pos -22 -4 204 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_Undersea_Ruins/T... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/cream_puff.lua | 18 | 1265 | -----------------------------------------
-- ID: 5718
-- Item: Cream Puff
-- Food Effect: 30 mintutes, All Races
-----------------------------------------
-- Intelligence +7
-- HP -10
-- Resist Slow
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/garpike.lua | 18 | 1307 | -----------------------------------------
-- ID: 5472
-- Item: Garpike
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_UnitFrames/libs/Plugins/oUF_KungFu/oUF_KungFu.lua | 1 | 8759 | --GLOBAL NAMESPACE
local _G = _G;
--LUA
local unpack = _G.unpack;
local select = _G.select;
local assert = _G.assert;
local error = _G.error;
local print = _G.print;
local pairs = _G.pairs;
local next = _G.next;
local tostring = _G.tostring;
local type = _G.... | mit |
UnfortunateFruit/darkstar | scripts/zones/Northern_San_dOria/npcs/Pellimie.lua | 38 | 1025 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Pellimie
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos 145.459 0.000 131.540
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs");... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Port_San_dOria/npcs/Crilde.lua | 13 | 1354 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Crilde
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextIDs");
---... | gpl-3.0 |
DigiTechs/ROBLOXIRCBot | plugins/version.lua | 1 | 3440 | -- version plugin
-- returns ROBLOX versions on '!versions'
local http = require("http")
local url = "http://setup.%sroblox%s.com/version"
local surl = "http://setup.%sroblox%s.com/versionQTStudio"
local timeout = 60*60 -- every hour
local verfile = "version.txt"
local timefile = "ver-time.txt"
local time do
local f ... | mit |
zuzuf/TA3D | src/ta3d/src/luajit/lib/dis_arm.lua | 2 | 15032 | ----------------------------------------------------------------------------
-- LuaJIT ARM disassembler module.
--
-- Copyright (C) 2005-2010 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------
-... | gpl-2.0 |
dany-sj/Kings_Bot | bot/nod32bot.lua | 1 | 11132 | 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 = '2'
-- This function is called when tg receive a msg
function on_msg_receive (msg)
if not started then
return... | gpl-2.0 |
stewartmiles/flatbuffers | tests/MyGame/Example/Referrable.lua | 12 | 1025 | -- automatically generated by the FlatBuffers compiler, do not modify
-- namespace: Example
local flatbuffers = require('flatbuffers')
local Referrable = {} -- the module
local Referrable_mt = {} -- the class metatable
function Referrable.New()
local o = {}
setmetatable(o, {__index = Referrable_mt})
ret... | apache-2.0 |
bowlofstew/Macaroni | Main/Generators/Cpp/UnitBlockGenerator.lua | 2 | 3090 | require "Cpp/Common"
require "Cpp/FileGenerator"
require "Cpp/NodeInfo"
UnitBlockGenerator =
{
isNested = false,
tabs = 0,
new = function(self)
assert(self.writer ~= nil);
assert(self.node.Element ~= nil);
setmetatable(self, UnitBlockGenerator)
self.block = s... | apache-2.0 |
nesstea/darkstar | scripts/zones/Western_Altepa_Desert/mobs/King_Vinegarroon.lua | 4 | 2205 | -----------------------------------
-- Area: Western Altepa Desert
-- NM: King Vinegarroon
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/titles");
require("scripts/globals/weather");
-----------------------------------
-- onMobInitialize Action
---------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/dolphin_staff.lua | 41 | 1077 | -----------------------------------------
-- ID: 17134
-- Item: Dolphin Staff
-- Additional Effect: Water Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------... | gpl-3.0 |
Xileck/forgottenserver | data/talkactions/scripts/info.lua | 21 | 1561 | function onSay(player, words, param)
if not player:getGroup():getAccess() then
return true
end
local target = Player(param)
if not target then
player:sendCancelMessage("Player not found.")
return false
end
if target:getAccountType() > player:getAccountType() then
player:sendCancelMessage("You can not ge... | gpl-2.0 |
nesstea/darkstar | scripts/globals/abilities/thunder_shot.lua | 16 | 2989 | -----------------------------------
-- Ability: Thunder Shot
-- Consumes a Thunder Card to enhance lightning-based debuffs. Deals lightning-based magic damage
-- Shock Effect: Enhanced DoT and MND-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scri... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/bataquiche.lua | 35 | 1468 | -----------------------------------------
-- ID: 5168
-- Item: Bataquiche
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 8
-- Agility 1
-- Vitality -2
-- Ranged ATT % 7
-- Ranged ATT Cap 15
-----------------------------------------
require("scripts/globals/status");
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/bluemagic/pollen.lua | 10 | 1867 | -----------------------------------------
-- Spell: Pollen
-- Restores HP
-- Spell cost: 8 MP
-- Monster Type: Vermin
-- Spell Type: Magical (Light)
-- Blue Magic Points: 1
-- Stat Bonus: CHR+1, HP+5
-- Level: 1
-- Casting Time: 2 seconds
-- Recast Time: 5 seconds
--
-- Combos: Resist Sleep
--------------... | gpl-3.0 |
rainyear/game-five-eliminate | hello.lua | 10 | 6992 | require "AudioEngine"
-- for CCLuaEngine traceback
function __G__TRACKBACK__(msg)
print("----------------------------------------")
print("LUA ERROR: " .. tostring(msg) .. "\n")
print(debug.traceback())
print("----------------------------------------")
end
local function main()
-- avoid memory le... | apache-2.0 |
zuzuf/TA3D | src/ta3d/mods/ta3d/scripts/corgator.lua | 2 | 4733 | -- CORGATOR
createUnitScript("corgator")
__this:piece( "base", "body", "turret", "sleeve", "barrel", "firepoint",
"tracks1", "tracks2", "tracks3", "tracks4" )
__this.moving = false
__this.once = 0
__this.animCount = 0
local ANIM_SPEED = 0.05
local RESTORE_DELAY = 2.0
local TURRET_TURN_S... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Cimeries.lua | 2 | 1528 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Marquis Cimeries
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEn... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst-Jeuno_Airship/npcs/Gabriele.lua | 30 | 2313 | -----------------------------------
-- Area: Windurst-Jeuno Airship
-- NPC: Gabriele
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Windurst-Jeuno_Airship/TextIDs"] = nil;
require("scripts/zones/Windurst-Jeuno_Airship/TextIDs");
-----------------------------------
-- onTrade ... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/bataquiche_+1.lua | 35 | 1474 | -----------------------------------------
-- ID: 5169
-- Item: Bataquiche +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 10
-- Agility 1
-- Vitality -1
-- Ranged ATT % 7
-- Ranged ATT Cap 20
-----------------------------------------
require("scripts/globals/status");... | gpl-3.0 |
JulioC/telegram-bot | plugins/help.lua | 290 | 1653 | do
-- Returns true if is not empty
local function has_usage_data(dict)
if (dict.usage == nil or dict.usage == '') then
return false
end
return true
end
-- Get commands for that plugin
local function plugin_help(name)
local plugin = plugins[name]
if not plugin then return nil end
local text = ""
if ... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Davoi/npcs/_45i.lua | 13 | 2256 | -----------------------------------
-- Area: Davoi
-- NPC: Wailing Pond
-- Used In Quest: Whence Blows the Wind
-- @pos 380 0.1 -181 149
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/gl... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Leujaoam_Sanctum/IDs.lua | 33 | 3149 | Leujaoam = {
text = {
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6378, -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6381, -- Obtained: <item>
GIL_OBTAINED = 6384, -- Obtained <number> gil
KEYITEM_OBTAINED = 6384, -- Obtain... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Leafallia/npcs/HomePoint#1.lua | 27 | 1260 | -----------------------------------
-- Area: Leafallia
-- NPC: HomePoint#1
-- @pos 5.539 -0.434 8.133 281
-----------------------------------
package.loaded["scripts/zones/Leafallia/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Leafallia/TextIDs");
require("scripts/globals/homepoint");... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_!Core/system/_docklets/garrison.lua | 2 | 12629 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local select = _G.select;
local assert ... | mit |
nesstea/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Kleh_Engyumoh.lua | 13 | 1066 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Kleh Engyumoh
-- Type: Standard NPC
-- @zone: 94
-- @pos -54.962 -4.5 57.701
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Uleguerand_Range/npcs/HomePoint#2.lua | 27 | 1258 | -----------------------------------
-- Area: Uleguerand_Range
-- NPC: HomePoint#2
-- @pos
-----------------------------------
package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Uleguerand_Range/TextIDs");
require("scripts/globals/homepoint");
... | gpl-3.0 |
dpino/snabbswitch | src/apps/keyed_ipv6_tunnel/tunnel.lua | 9 | 10003 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(...,package.seeall)
-- http://tools.ietf.org/html/draft-mkonstan-keyed-ipv6-tunnel-01
-- TODO: generalize
local AF_INET6 = 10
local ffi = require("ffi")
local C = ffi.C
local bit = require("bit")
local app = require("core.app")
l... | apache-2.0 |
akdor1154/awesome | lib/awful/menu.lua | 1 | 21713 | --------------------------------------------------------------------------------
--- A menu for awful
--
-- @author Damien Leone <damien.leone@gmail.com>
-- @author Julien Danjou <julien@danjou.info>
-- @author dodo
-- @copyright 2008, 2011 Damien Leone, Julien Danjou, dodo
-- @release @AWESOME_VERSION@
-- ... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Bastok_Markets/npcs/Olwyn.lua | 13 | 1406 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Olwyn
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/events/harvest_festivals");
require("scripts/globals/shop");
package.loaded["scripts/zones... | gpl-3.0 |
jj918160/cocos2d-x-samples | samples/KillBug/src/cocos/cocos2d/functions.lua | 46 | 17161 | --[[
Copyright (c) 2011-2014 chukong-inc.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | mit |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/fast_blade.lua | 30 | 1345 | -----------------------------------
-- Fast Blade
-- Sword weapon skill
-- Skill Level: 5
-- Delivers a two-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: STR:20% ; DEX:20%
-- 100%TP 200%TP ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Labyrinth_of_Onzozo/npcs/Grounds_Tome.lua | 30 | 1104 | -----------------------------------
-- Area: Labyrinth of Onzozo
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,... | gpl-3.0 |
Mashape/kong | kong/cmd/config.lua | 1 | 4459 | local DB = require "kong.db"
local log = require "kong.cmd.utils.log"
local pl_path = require "pl.path"
local pl_file = require "pl.file"
local kong_global = require "kong.global"
local declarative = require "kong.db.declarative"
local conf_loader = require "kong.conf_loader"
local kong_yml = require "kong.templates.ko... | apache-2.0 |
mostsun1987/codis | extern/redis-2.8.13/deps/lua/test/life.lua | 888 | 2635 | -- life.lua
-- original by Dave Bollinger <DBollinger@compuserve.com> posted to lua-l
-- modified to use ANSI terminal escape sequences
-- modified to use for instead of while
local write=io.write
ALIVE="¥" DEAD="þ"
ALIVE="O" DEAD="-"
function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary
for i=1,10000 do... | bsd-3-clause |
nesstea/darkstar | scripts/zones/Lower_Jeuno/npcs/Pawkrix.lua | 13 | 1254 | -----------------------------------
-- Area: Lower Jeuno
-- NPC:
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_!Core/language/taiwanese_ui.lua | 3 | 39900 | local L = Librarian("Linguist"):Lang("zhTW");
if not L then return; end
L["Conversation"] = "對話"
L["General"] = "綜合"
L["LocalDefense"] = "本地防務"
L["LookingForGroup"] = "尋求組隊"
L["Trade"] = "交易"
L["WorldDefense"] = "世界防務"
L["S_Conversation"] = "話"
L["S_General"] = "綜"
L["S_LocalDefense... | mit |
inmation/library | mock/inmation.lua | 1 | 1741 |
local standardLogic = {}
function standardLogic.currenttime(localTimezone)
if localTimezone then
return os.time()
else
return os.time(os.date("!*t", os.time()))
end
end
function standardLogic.gettime(time, format)
if nil == format then
format = "%Y-%m-%d %H:%M:%S"
end
... | mit |
UnfortunateFruit/darkstar | scripts/zones/Port_Bastok/npcs/Hilda.lua | 19 | 5047 | -----------------------------------
-- Area: Port Bastok
-- NPC: Hilda
-- Involved in Quest: Cid's Secret, Riding on the Clouds
-- Starts & Finishes: The Usual
-- @pos -163 -8 13 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
package.loaded["scripts/globals/settings"... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Uleguerand_Range/Zone.lua | 28 | 1983 | -----------------------------------
--
-- Zone: Uleguerand_Range (5)
--
-----------------------------------
package.loaded["scripts/zones/Uleguerand_Range/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Uleguera... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.