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/globals/spells/absorb-tp.lua | 13 | 1344 | --------------------------------------
-- 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/zones/Port_Windurst/npcs/Kuroido-Moido.lua | 28 | 4137 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kuriodo-Moido
-- Involved In Quest: Making Amends, Wonder Wands
-- Starts and Finishes: Making Amens!
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Beaucedine_Glacier_[S]/npcs/Disserond_RK.lua | 13 | 1082 | -----------------------------------
-- Area: Beaucedine Glacier (S)
-- NPC: Disserond, R.K.
-- Type: Campaign Arbiter
-- @zone: 136
-- @pos 76.178 -60.763 -48.775
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Beaucedine_Glacier_[S]... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Temenos/mobs/Enhanced_Pugil.lua | 12 | 1043 | -----------------------------------
-- Area: Temenos W T
-- NPC: Enhanced_Pugil
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/bluemagic.lua | 8 | 14343 | require("scripts/globals/status")
require("scripts/globals/magic")
BLUE_SKILL = 43;
-- The type of spell.
SPELLTYPE_PHYSICAL = 0;
SPELLTYPE_MAGICAL = 1;
SPELLTYPE_RANGED = 2;
SPELLTYPE_BREATH = 3;
SPELLTYPE_DRAIN = 4;
SPELLTYPE_SPECIAL = 5;
-- The TP modifier
TPMOD_NONE = 0;
TPMOD_CRITICAL = 1;
TPMOD_DAMAGE = 2;
TPM... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/QuBia_Arena/bcnms/those_who_lurk_in_shadows.lua | 59 | 2394 | -----------------------------------
-- Area: Qu'Bia Arena
-- NPC: Those Who Lurk in Shadows
-- @pos -221 -24 19 206
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions"... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Yasmina.lua | 13 | 1073 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Yasmina
-- Type: Chocobo Renter
-- @zone: 94
-- @pos -34.972 -5.815 221.845
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;... | gpl-3.0 |
ramyaragupathy/osrm-backend | profiles/car.lua | 4 | 12963 | -- Car profile
local find_access_tag = require("lib/access").find_access_tag
-- Begin of globals
barrier_whitelist = { ["cattle_grid"] = true, ["border_control"] = true, ["checkpoint"] = true, ["toll_booth"] = true, ["sally_port"] = true, ["gate"] = true, ["lift_gate"] = true, ["no"] = true, ["entrance"] = true }
acc... | bsd-2-clause |
focusworld/aabb | plugins/quotes.lua | 651 | 1630 | local quotes_file = './data/quotes.lua'
local quotes_table
function read_quotes_file()
local f = io.open(quotes_file, "r+")
if f == nil then
print ('Created a new quotes file on '..quotes_file)
serialize_to_file({}, quotes_file)
else
print ('Quotes loaded: '..quotes_file)
f... | gpl-2.0 |
Mashape/kong | spec/01-unit/02-rockspec_meta_spec.lua | 2 | 3634 | local pl_utils = require "pl.utils"
local pl_path = require "pl.path"
local pl_dir = require "pl.dir"
local meta = require "kong.meta"
describe("rockspec/meta", function()
local rock, lua_srcs = {}
local rock_filename
lazy_setup(function()
lua_srcs = pl_dir.getallfiles("./kong", "*.lua")
assert.True(#lu... | apache-2.0 |
Mashape/kong | spec/03-plugins/16-jwt/05-asn_sequence_spec.lua | 8 | 5922 | local asn_sequence = require "kong.plugins.jwt.asn_sequence"
describe("Plugin: jwt (asn)", function()
describe("constructing error checking", function()
it("should require input to be a table", function()
assert.has_error(function()
asn_sequence.create_simple_sequence("bad thing")
end, "Argum... | apache-2.0 |
nesstea/darkstar | scripts/globals/items/viking_herring.lua | 18 | 1568 | -----------------------------------------
-- ID: 5183
-- Item: viking_herring
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 4
-- Mind -3
-- Attack % 12
-- Attack Cap 40
-- Ranged ATT % 12
-- Ranged ATT Cap 40
-----------------------------------------
require("scripts/globals/s... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Eastern_Altepa_Desert/npcs/Lindgard_IM.lua | 30 | 3065 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Lindgard, I.M.
-- Outpost Conquest Guards
-- @pos -258.041 7.473 -254.527 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals... | gpl-3.0 |
vonflynee/opencomputersserver | world/opencomputers/4f2775bd-9dcb-42e6-8318-1837ede27e76/bin/df.lua | 16 | 1729 | local fs = require("filesystem")
local shell = require("shell")
local text = require("text")
local args, options = shell.parse(...)
local function formatSize(size)
if not options.h then
return tostring(size)
end
local sizes = {"", "K", "M", "G"}
local unit = 1
local power = options.si and 1000 or 1024
... | mit |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/vorpal_blade.lua | 30 | 1435 | -----------------------------------
-- Vorpal Blade
-- Sword weapon skill
-- Skill Level: 200
-- Delivers a four-hit attack. Chance of params.critical varies with TP.
-- Stacks with Sneak Attack.
-- Aligned with the Soil Gorget & Thunder Gorget.
-- Aligned with the Soil Belt & Thunder Belt.
-- Element: None
--... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm1_2.lua | 12 | 2354 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: Shimmering Circle (BCNM Entrances)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/glob... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Apollyon/bcnms/NW_Apollyon.lua | 35 | 1116 | -----------------------------------
-- Area: Appolyon
-- Name:
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[NW_Apollyon]UniqueI... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Mhaura/npcs/Panoru-Kanoru.lua | 34 | 1081 | ----------------------------------
-- Area: Mhaura
-- NPC: Panoru-Kanoru
-- Type: Item Deliverer
-- @pos 5.241 -4.035 93.891 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
-------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Celennia_Memorial_Library/Zone.lua | 15 | 1349 | -----------------------------------
--
-- Zone: Celennia Memorial Library (284)
--
-----------------------------------
package.loaded["scripts/zones/Celennia_Memorial_Library/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Celennia_Memorial_Libr... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/onslaught.lua | 12 | 2395 | -----------------------------------
-- Onslaught
-- Axe weapon skill
-- Skill Level: N/A
-- Lowers target's params.accuracy. Additional effect: temporarily increases Attack.
-- Available only when equipped with the Relic Weapons Ogre Killer (Dynamis use only) or Guttler or Cleofun Axe (with Latent active).
-- The... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Halvung/npcs/qm3.lua | 30 | 1312 | -----------------------------------
-- Area: Halvung
-- NPC: ??? (Spawn Reacton(ZNM T2))
-- @pos 18 -9 213 62
-----------------------------------
package.loaded["scripts/zones/Halvung/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Halvung/TextIDs");
require("scripts/globals/status");
----... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/knights_minne_iii.lua | 27 | 1498 | -----------------------------------------
-- Spell: Knight's Minne III
-- Grants Defense bonus to all allies.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(ca... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok_Markets_[S]/TextIDs.lua | 10 | 1074 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 11209; -- 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; -- Obtai... | gpl-3.0 |
bowlofstew/Macaroni | Next/Tests/Features/ConstructorOverloading/manifest.lua | 2 | 1048 | require "os"
require "Macaroni.Model.Library"
upper = getUpperLibrary();
id =
{
group=upper.Group,
name=upper.Name .. ".LanguageFeatures.ConstructorOverloading",
version=upper.Version
}
description="Proof of concept which overloads the Constructor of a class in various ways."
-- source "Source"
-- output... | apache-2.0 |
mhmspm/z | plugins/groupmanager.lua | 1 | 109934 | local function modadd(msg)
local hash = "gp_lang:"..msg.to.id
local lang = redis:get(hash)
-- superuser and admins only (because sudo are always has privilege)
if not is_admin(msg) then
if not lang then
return '_You are not bot admin_'
else
return 'شما مدیر ربات نمیباشید'
end
end
local d... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/_5f2.lua | 34 | 1104 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Odin's Gate
-- @pos 180 -34 55 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldieme_Necropolis/TextIDs");
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/zebra_eel.lua | 17 | 1390 | -----------------------------------------
-- ID: 4288
-- Item: Zebra Eel
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/_iz2.lua | 19 | 1961 | -----------------------------------
-- Area: The Garden of RuHmet
-- NPC: _iz2 (Ebon_Panel)
-- @pos 422.351 -5.180 -100.000 35 | Hume Tower
-----------------------------------
package.loaded["scripts/zones/The_Garden_of_RuHmet/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Garden_o... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Sih_Gates/Zone.lua | 34 | 1231 | -----------------------------------
--
-- Zone: Sih Gates
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Sih_Gates/TextIDs"] = nil;
require("scripts/zones/Sih_Gates/TextIDs");
-----------------------------------
-- onInitialize
----------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/bowl_of_seafood_stew.lua | 18 | 1455 | -----------------------------------------
-- ID: 4561
-- Item: Bowl of Seafood Stew
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health 20
-- Dexterity 1
-- Vitality 5
-- Defense % 25
-- Defense Cap 120
-----------------------------------------
require("scripts/globals/status");
----... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Kuftal_Tunnel/npcs/qm5.lua | 10 | 1388 | -----------------------------------
-- Area: Kuftal Tunnel
-- NPC: ???
-- Involved in Mission: Bastok 8-2
-----------------------------------
package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
requi... | gpl-3.0 |
heyuqi/wxFormBuilder | build/premake/4.3/src/tools/gcc.lua | 6 | 4568 | --
-- gcc.lua
-- Provides GCC-specific configuration strings.
-- Copyright (c) 2002-2008 Jason Perkins and the Premake project
--
premake.gcc = { }
--
-- Set default tools
--
premake.gcc.cc = "gcc"
premake.gcc.cxx = "g++"
premake.gcc.ar = "ar"
--
-- Translation of Premake flags into GCC flags
... | gpl-2.0 |
seppo0010/rlite | deps/lua/test/sort.lua | 889 | 1494 | -- two implementations of a sort function
-- this is an example only. Lua has now a built-in function "sort"
-- extracted from Programming Pearls, page 110
function qsort(x,l,u,f)
if l<u then
local m=math.random(u-(l-1))+l-1 -- choose a random pivot in range l..u
x[l],x[m]=x[m],x[l] -- swap pivot to first posit... | bsd-2-clause |
nesstea/darkstar | scripts/zones/Lower_Jeuno/npcs/Alrauverat.lua | 14 | 3677 | -----------------------------------
-- Area: Lower Jeuno
-- NPC:Alrauverat
-- @pos -101 0 -182 245
-------------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scrip... | gpl-3.0 |
heyuqi/wxFormBuilder | build/premake/4.3/tests/test_targets.lua | 9 | 7216 | --
-- tests/test_targets.lua
-- Automated test suite for premake.gettarget()
-- Copyright (c) 2008, 2009 Jason Perkins and the Premake project
--
T.targets = { }
local cfg
function T.targets.setup()
cfg = { }
cfg.basedir = "."
cfg.location = "."
cfg.targetdir = "../bin"
cfg.language = "C++"
cf... | gpl-2.0 |
FailcoderAddons/supervillain-ui | SVUI_!Core/setup/theme_select.lua | 2 | 3313 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local select = _G.select;
local assert ... | mit |
Xileck/forgottenserver | data/creaturescripts/scripts/playerdeath.lua | 32 | 3253 | local deathListEnabled = true
local maxDeathRecords = 5
function onDeath(player, corpse, killer, mostDamageKiller, unjustified, mostDamageUnjustified)
local playerId = player:getId()
if nextUseStaminaTime[playerId] ~= nil then
nextUseStaminaTime[playerId] = nil
end
player:sendTextMessage(MESSAGE_EVENT_ADVANCE, ... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/globals/items/pestle.lua | 15 | 1098 | -----------------------------------------
-- ID: 18599
-- Item: Pestle
-- Additional effect: MP Drain
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
fun... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/abilities/ice_shot.lua | 22 | 2936 | -----------------------------------
-- Ability: Ice Shot
-- Consumes a Ice Card to enhance ice-based debuffs. Deals ice-based magic damage
-- Frost Effect: Enhanced DoT and AGI-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/bowl_of_navarin.lua | 35 | 1877 | -----------------------------------------
-- ID: 4439
-- Item: Bowl of Navarin
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health % 3
-- Strength 3
-- Agility 1
-- Vitality 1
-- Intelligence -1
-- Attack % 27
-- Attack Cap 30
-- Evasion 5
-- Ranged ATT % 27
-- Ranged ATT... | gpl-3.0 |
jj918160/cocos2d-x-samples | samples/FantasyWarrior3D/src/cocos/extension/DeprecatedExtensionFunc.lua | 39 | 1309 | --tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of CCControl will be deprecated end
local CCControlDeprecated = { }
function CCControlDeprecated.addHandleOfControlEvent(self,func,controlEve... | mit |
nesstea/darkstar | scripts/zones/Metalworks/npcs/relic.lua | 13 | 1837 | -----------------------------------
-- Area: Metalworks
-- NPC: <this space intentionally left blank>
-- @pos -20 -11 33 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Metalworks/TextIDs");
------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Valley_of_Sorrows/npcs/Field_Manual.lua | 29 | 1049 | -----------------------------------
-- Area: Valley of Sorrows
-- Field Manual
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/fieldsofvalor");
-----------------------------------
-- onTrigger Action
--------------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Saluhwa.lua | 13 | 1480 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Saluhwa
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Aht_Urhgan_White... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Tombstone_Prototype.lua | 6 | 1247 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Tombstone Prototype
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scripts/zo... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Hajawaa.lua | 36 | 4458 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Hajawaa
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/armorst... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Abyssea-Altepa/npcs/qm11.lua | 17 | 1517 | -----------------------------------
-- Zone: Abyssea-Altepa
-- NPC: ???
-- Spawns: Rani
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(player,np... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Davoi/npcs/Hide_Flap.lua | 13 | 2838 | -----------------------------------
-- Area: Davoi
-- NPC: Hide Flap
-- Involved in Quest: The Doorman, The First Meeting
-- @pos 293 3 -213 149 (WAR)(K-9)
-- @pos -124 3 -43 149 (MNK)(F-7)
-----------------------------------
package.loaded["scripts/zones/Davoi/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Trembling.lua | 19 | 1093 | ---------------------------------------------
-- Trembling
--
-- Description: Deals physical damage to enemies within an area of effect. Additional effect: Dispel
-- Type: Physical
-- Wipes Shadows
-- Range: 10' radial
---------------------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
heyuqi/wxFormBuilder | build/premake/4.3/src/base/project.lua | 6 | 16383 | --
-- project.lua
-- Functions for working with the project data.
-- Copyright (c) 2002-2009 Jason Perkins and the Premake project
--
premake.project = { }
--
-- Create a tree from a project's list of files, representing the filesystem hierarchy.
--
-- @param prj
-- The project containing the files to map.
-- @... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Metatron_Torment.lua | 7 | 1098 | ---------------------------------------------
-- Metatron Torment
--
-- Description: Lowers target's defense. Additional effect: temporarily lowers damage taken from enemies.
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globa... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Castle_Oztroja/mobs/Yagudo_Avatar.lua | 29 | 1393 | -----------------------------------
-- Area: Castle Oztroja (151)
-- Mob: Yagudo_Avatar (Tzee Xicu the Manifest PH)
-----------------------------------
require("scripts/zones/Castle_Oztroja/TextIDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(... | gpl-3.0 |
Mashape/kong | kong/status/init.lua | 1 | 1146 | local lapis = require "lapis"
local utils = require "kong.tools.utils"
local singletons = require "kong.singletons"
local api_helpers = require "kong.api.api_helpers"
local ngx = ngx
local pairs = pairs
local app = lapis.Application()
app.default_route = api_helpers.default_route
app.handle_4... | apache-2.0 |
nesstea/darkstar | scripts/zones/QuBia_Arena/TextIDs.lua | 15 | 1428 | -- 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 = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obtained... | gpl-3.0 |
Mashape/kong | kong/pdk/node.lua | 1 | 5473 | --- Node-level utilities
--
-- @module kong.node
local utils = require "kong.tools.utils"
local floor = math.floor
local lower = string.lower
local match = string.match
local sort = table.sort
local insert = table.insert
local shared = ngx.shared
local NODE_ID_KEY = "kong:node_id"
local node_id
local shms = {}
l... | apache-2.0 |
VurtualRuler98/kswep2-NWI | lua/ins_sounds/sounds_luger.lua | 1 | 1332 | if (SERVER) then
AddCSLuaFile()
end
--P08
sound.Add({
name="Weapon_P08.Single",
volume = 1.0,
pitch = {95,105},
sound = "weapons/p08/p08_fp.wav",
level = 145, --normally 94
channel = CHAN_STATIC
})
sound.Add({
name="Weapon_P08.Magrelease",
volume = 0.2,
sound = "weapons/p08/handling/p08_safety.wav",
level = ... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Lower_Jeuno/npcs/Chetak.lua | 37 | 1430 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Chetak
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Caiphimonride.lua | 37 | 1316 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Caiphimonride
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
---------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/thunder_thrust.lua | 28 | 1289 | -----------------------------------
-- Thunder Thrust
-- Polearm weapon skill
-- Skill Level: 30
-- Deals lightning elemental damage to enemy. Damage varies with TP.
-- Aligned with the Light Gorget & Thunder Gorget.
-- Aligned with the Light Belt & Thunder Belt.
-- Element: Lightning
-- Modifiers: STR:40% ; IN... | gpl-3.0 |
nesstea/darkstar | scripts/zones/North_Gustaberg/TextIDs.lua | 15 | 1306 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED_TWICE = 6559; -- You cannot obtain the item <item>.
ITEM_CANNOT_BE_OBTAINED = 6560; -- You cannot obtain the item <item>. Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6564; -- You cannot obtain the #. Try tr... | gpl-3.0 |
zuzuf/TA3D | src/ta3d/mods/ta3d/scripts/armbrtha.lua | 2 | 2835 | -- Arm Big Bertha Cannon
createUnitScript("armbrtha")
__this:piece( "base", "flare", "turret", "barrel", "sleeve" )
__this.SMOKEPIECE1 = __this.base
#include "exptype.lh"
#include "smokeunit.lh"
__this.Create = function(this)
this:hide( this.flare )
this:dont_cache( this.flare )
this:dont_cache( t... | gpl-2.0 |
hussian/hell_iraq | plugins/welecam.lua | 5 | 4549 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@AHMED_ALOBIDE) ▀▄ ▄▀
▀▄ ▄▀ BY(@hussian_9) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/double_thrust.lua | 30 | 1320 | -----------------------------------
-- Double Thrust
-- Polearm weapon skill
-- Skill Level: 5
-- Delivers a two-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Light Gorget.
-- Aligned with the Light Belt.
-- Element: None
-- Modifiers: STR:30%
-- 100%TP 200%TP 3... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ekhu_Pesshyadha.lua | 19 | 1762 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Ekhu Pesshyadha
-- Type: Standard NPC
-- @pos -13.043 0.999 103.423 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/sett... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/breath_mantle.lua | 43 | 1422 | -----------------------------------------
-- ID: 15486
-- Item: Breath Mantle
-- Item Effect: HP+18 / Enmity+3
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------------------------------------... | gpl-3.0 |
sophgn/aosc-os-abbs | extra-tex/texlive/autobuild/overrides/usr/share/texmf-dist/web2c/texmfcnf.lua | 5 | 8269 | -- public domain
-- ConTeXt needs a properly expanded TEXMFLOCAL, so here is a
-- bit of lua code to make that happen
local texmflocal = resolvers.prefixes.selfautoparent();
texmflocal = string.gsub(texmflocal, "20%d%d$", "texmf-local");
return {
type = "configuration",
version = "1.1.0",
date = "... | gpl-2.0 |
Irubataru/dotfiles | roles/neovim/config/lua/irubataru/plugins/commenter.lua | 1 | 1489 | local comment = require("Comment")
comment.setup({
toggler = {
line = "gcc",
block = "gcb",
},
opleader = {
line = "gc",
block = "gb",
},
mappings = {
basic = true,
extra = true,
},
})
-- Extended mode mapping
-- https://github.com/numToStr/Comment.nvim/wiki/Extended-Keybindings
lo... | mit |
UnfortunateFruit/darkstar | scripts/commands/changejob.lua | 26 | 1936 | ---------------------------------------------------------------------------------------------------
-- func: changejob
-- desc: Changes the players current job.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Xarcabard/npcs/Telepoint.lua | 13 | 1680 | -----------------------------------
-- Area: Xarcabard
-- NPC: Telepoint
-- @pos 150.258 -21.047 -37.256 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Xarcabard/TextIDs");... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/_4w3.lua | 19 | 2691 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: Mythril Beastcoin Door
-- @zone 176
-- @pos 40 8.6 20.012
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/Sabiliont.lua | 13 | 1688 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Sabiliont
-- @zone 80
-- @pos 9 2 -87
-----------------------------------
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 |
UnfortunateFruit/darkstar | scripts/zones/Valkurm_Dunes/npcs/Stone_Monument.lua | 32 | 1285 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -311.299 -4.420 -138.878 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Aht_Urhgan_Whitegate/Zone.lua | 10 | 6458 | -----------------------------------
--
-- Zone: Aht_Urhgan_Whitegate (50)
--
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0ro.lua | 17 | 1604 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: Oil lamp
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Altar_Room/Zone.lua | 28 | 1623 | -----------------------------------
--
-- Zone: Altar_Room (152)
--
-----------------------------------
package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Altar_Room/TextIDs");
---------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Cloister_of_Tremors/bcnms/sugar-coated_directive.lua | 13 | 1704 | ----------------------------------------
-- Area: Cloister of Tremors
-- BCNM: Sugar Coated Directive (ASA-4)
----------------------------------------
package.loaded["scripts/zones/Cloister_of_Tremors/TextIDs"] = nil;
----------------------------------------
require("scripts/globals/keyitems");
require("scripts/global... | gpl-3.0 |
Wedmer/packages | utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/nat_traffic.lua | 79 | 1251 | local function scrape()
-- documetation about nf_conntrack:
-- https://www.frozentux.net/iptables-tutorial/chunkyhtml/x1309.html
nat_metric = metric("node_nat_traffic", "gauge" )
for e in io.lines("/proc/net/nf_conntrack") do
-- output(string.format("%s\n",e ))
local fields = space_split(e)
local ... | gpl-2.0 |
nesstea/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/Sarcophagus.lua | 12 | 4691 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Sarcophagus
-- Involved in Quest: The Requiem (BARD AF2)
-- @pos -420 8 500 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
johnmccabe/dockercraft | world/Plugins/APIDump/Classes/WebAdmin.lua | 28 | 2144 | return
{
cWebAdmin =
{
Desc = "",
Functions =
{
GetHTMLEscapedString = { Params = "string", Return = "string", Notes = "(STATIC) Gets the HTML-escaped representation of a requested string. This is useful for user input and game data that is not guaranteed to be escaped already." },
},
}, -- cWebAdmin
... | apache-2.0 |
FailcoderAddons/supervillain-ui | SVUI_QuestTracker/components/bonus.lua | 2 | 13549 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.se... | mit |
UnfortunateFruit/darkstar | scripts/globals/weaponskills/refulgent_arrow.lua | 30 | 1408 | -----------------------------------
-- Refulgent Arrow
-- Archery weapon skill
-- Skill level: 290
-- Delivers a twofold attack. Damage varies with TP.
-- Aligned with the Aqua Gorget & Light Gorget.
-- Aligned with the Aqua Belt & Light Belt.
-- Element: None
-- Modifiers: STR: 60% http://www.bg-wiki.com/bg/Re... | gpl-3.0 |
OsirisNL/obs-studio | UI/frontend-plugins/frontend-tools/data/scripts/instant-replay.lua | 23 | 5385 | obs = obslua
source_name = ""
hotkey_id = obs.OBS_INVALID_HOTKEY_ID
attempts = 0
last_replay = ""
----------------------------------------------------------
function try_play()
local replay_buffer = obs.obs_frontend_get_replay_buffer_output()
if replay_buffer == nil then
obs.remove_current_callback()... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/globals/items/margherita_pizza.lua | 35 | 1220 | -----------------------------------------
-- ID: 5695
-- Item: margherita_pizza
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Attack 10
-- Health Points 30
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/abilities/divine_waltz.lua | 28 | 2373 | -----------------------------------
-- 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 |
UnfortunateFruit/darkstar | scripts/zones/Port_Bastok/npcs/Carmelo.lua | 17 | 4566 | -----------------------------------
-- Area: Port Bastok
-- NPC: Carmelo
-- Start & Finishes Quest: Love and Ice, A Test of True Love
-- Start Quest: Lovers in the Dusk
-- Involved in Quest: The Siren's Tear
-- @zone: 236
-- @pos -146.476 -7.48 -10.889
-----------------------------------
require("scripts/glo... | gpl-3.0 |
NezzKryptic/Wire-Extras | lua/entities/gmod_wire_hud_indicator_2/fakelib/draw.lua | 3 | 1036 | draw = {}
function draw.DrawText( value, font, x, y, color, alignment )
print( "[FAKE]", "draw.DrawText( " .. tostring(value) .. ", " ..tostring(font).. ", " ..tostring(x).. ", " ..tostring(y).. ", " ..tostring(color).. ", " ..tostring(alignment).. " )" )
end
function draw.GetFontHeight()
print( "[FAKE]", "$draw.G... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_!Core/libs/AceGUI-3.0/AceGUI-3.0.lua | 47 | 23674 | --- **AceGUI-3.0** provides access to numerous widgets which can be used to create GUIs.
-- AceGUI is used by AceConfigDialog to create the option GUIs, but you can use it by itself
-- to create any custom GUI. There are more extensive examples in the test suite in the Ace3
-- stand-alone distribution.
--
-- **Note**:... | mit |
nesstea/darkstar | scripts/zones/Meriphataud_Mountains/Zone.lua | 15 | 4569 | -----------------------------------
--
-- Zone: Meriphataud_Mountains (119)
--
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/zones/Meriphataud_Mountai... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Northern_San_dOria/npcs/Shakir.lua | 38 | 1046 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Shakir
-- Type: Standard NPC
-- @zone: 231
-- @pos 48.952 -2.999 -16.687
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
---... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok_Markets/npcs/Nbu_Latteh.lua | 26 | 3365 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Nbu Latteh
-- Starts & Finishes Quest: Mom, The Adventurer?
-- Starts Quest: The Signpost Marks the Spot
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
rtfpessoa/dotfiles | vim/.config/nvim/lua/user/indentline.lua | 4 | 2004 | local status_ok, indent_blankline = pcall(require, "indent_blankline")
if not status_ok then
return
end
vim.g.indent_blankline_buftype_exclude = { "terminal", "nofile" }
vim.g.indent_blankline_filetype_exclude = {
"help",
"startify",
"dashboard",
"packer",
"neogitstatus",
"NvimTree",
"Trouble",
}
vim.g.indentL... | mit |
nesstea/darkstar | scripts/globals/items/plate_of_ic_pilav.lua | 18 | 1945 | -----------------------------------------
-- ID: 5584
-- Item: plate_of_ic_pilav
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Health % 14
-- Health Cap 65
-- Strength 4
-- Vitality -1
-- Intelligence -1
-- Health Regen While Healing 1
-- Attack % 22
-- Attack Cap 65
-- Ranged ATT % 22
... | gpl-3.0 |
jodemaey/MAOOAM-lyap-WIP | lua/rk2.lua | 2 | 1342 | -- rk2.lua
-- (C) 2013 Lesley De Cruz
-- See LICENSE.txt for license information.
------------------------------------------------------------------------
-- A simple yet stable second order Runge-Kutta scheme (Heun's method).
-- Butcher tableau:
--
-- 0 |
-- 1 | 1
-- +----------
-- 1/2 1/2
--------... | mit |
UnfortunateFruit/darkstar | scripts/zones/Bastok_Markets/npcs/Belizieg.lua | 38 | 1124 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Belizieg
-- Type: Item Deliverer
-- @zone: 235
-- @pos -323.673 -16.001 -49.930
--
-- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011
-----------------------------------
package.loaded["scripts/zones/Bastok_Mar... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Sacrificial_Chamber/npcs/_4j2.lua | 13 | 1421 | -----------------------------------
-- Area: Sacrificial Chamber
-- NPC: Mahogany Door
-- @pos -260 -33 274 163
-------------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missi... | gpl-3.0 |
facekapow/runtime | deps/v8/tools/gcmole/gccause.lua | 157 | 2313 | -- Copyright 2011 the V8 project authors. All rights reserved.
-- Redistribution and use in source and binary forms, with or without
-- modification, are permitted provided that the following conditions are
-- met:
--
-- * Redistributions of source code must retain the above copyright
-- notice, this list of ... | apache-2.0 |
nesstea/darkstar | scripts/zones/QuBia_Arena/mobs/Warlord_Rojgnoj.lua | 7 | 1330 | -----------------------------------
-- 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");
function onMobInitialize(mob)
mob:addMod(MOD_SLEEP... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/bluemagic/eyes_on_me.lua | 31 | 1587 | -----------------------------------------
-- Spell: Eyes On Me
-- Deals dark damage to an enemy
-- Spell cost: 112 MP
-- Monster Type: Demons
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 4
-- Stat Bonus: HP-5, MP+15
-- Level: 61
-- Casting Time: 4.5 seconds
-- Recast Time: 29.25 seconds
-- Magic Bursts on: Compr... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Altar_Room/npcs/Hooknox.lua | 13 | 1048 | -----------------------------------
-- Area: Altar Room
-- NPC: Hooknox
-- Type: Standard NPC
-- @zone: 152
-- @pos -265.248 11.693 -102.547
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil;
----------------... | gpl-3.0 |
mhmspm/z | libs/lua-redis.lua | 580 | 35599 | local redis = {
_VERSION = 'redis-lua 2.0.4',
_DESCRIPTION = 'A Lua client library for the redis key value storage system.',
_COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri',
}
-- The following line is used for backwards compatibility in order to keep the `Redis`
-- global module name. Using... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.