repo_name stringlengths 6 78 | path stringlengths 4 206 | copies stringclasses 281
values | size stringlengths 4 7 | content stringlengths 625 1.05M | license stringclasses 15
values |
|---|---|---|---|---|---|
Elkazan/darkstar | scripts/globals/abilities/drain_samba_iii.lua | 18 | 1476 | -----------------------------------
-- Ability: Drain Samba III
-- Inflicts the next target you strike with Drain daze, allowing party members engaged in battle with it to drain its HP.
-- Obtained: Dancer Level 65
-- TP Required: 40%
-- Recast Time: 1:00
-- Duration: 1:30
-----------------------------------
... | gpl-3.0 |
Vadavim/test | scripts/zones/Uleguerand_Range/npcs/HomePoint#2.lua | 12 | 1188 | -----------------------------------
-- 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 |
hoku586/darkstar | scripts/zones/Upper_Jeuno/npcs/Kasra.lua | 14 | 1042 | ----------------------------------
-- Area: Upper Jeuno
-- NPC: Kasra
-- Type: Item Deliverer
-- @zone 244
-- @pos -34.555 7.999 90.702
--
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
----------------------------... | gpl-3.0 |
Vadavim/test | scripts/globals/items/salty_bretzel.lua | 35 | 1296 | -----------------------------------------
-- ID: 5182
-- Item: salty_bretzel
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Magic % 8
-- Magic Cap 60
-- Vitality 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Port_Windurst/npcs/Pichichi.lua | 36 | 2675 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pichichi
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Port_W... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/The_Colosseum/Zone.lua | 36 | 1116 | -----------------------------------
--
-- Zone: The_Colosseum
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/The_Colosseum/TextIDs"] = nil;
require("scripts/zones/The_Colosseum/TextIDs");
-----------------------------------
-- onInitialize
----... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/mobskills/Ill_Wind.lua | 15 | 1309 | ---------------------------------------------
-- Ill Wind
-- Description: Deals Wind damage to enemies within an area of effect. Additional effect: Dispel
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes Shadows
-- Range: Unknown radial
-- Notes: Only used by Puks in Mamook, Besieged, and the following Noto... | gpl-3.0 |
hoku586/darkstar | scripts/zones/West_Ronfaure/npcs/Zovriace.lua | 27 | 38376 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Zovriace
-- Type: Patrol NPC
-- @pos -436.356 -15.851 -258.168 100
-----------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/pathfind");
--------------... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/spells/foe_lullaby.lua | 8 | 1179 | -----------------------------------------
-- Spell: Foe Lullaby
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Southern_San_dOria/npcs/Glenne.lua | 13 | 3800 | -------------------------------------
-- Area: Southern San d'Oria
-- NPC: Glenne
-- Starts and Finishes Quest: A Sentry's Peril
-- @zone 230
-- @pos -122 -2 15
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require(... | gpl-3.0 |
hoku586/darkstar | scripts/globals/mobskills/Glacial_Breath.lua | 32 | 1239 | ---------------------------------------------
-- Glacial Breath
--
-- Description: Deals Ice damage to enemies within a fan-shaped area.
-- Type: Breath
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Unknown cone
-- Notes: Used only by Jormungand and Isgebind
---------------------------------------------
req... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Port_Jeuno/npcs/Zona_Shodhun.lua | 34 | 3745 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Zona Shodhun
-- Starts and Finishes Quest: Pretty Little Things
-- @zone 246
-- @pos -175 -5 -4
-----------------------------------
package.loaded["scripts/globals/settings"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
hoku586/darkstar | scripts/zones/RuAun_Gardens/npcs/qm4.lua | 14 | 1482 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: ??? (Suzaku's Spawn)
-- Allows players to spawn the HNM Suzaku with a Gem of the South and a Summerstone.
-- @pos -514 -70 -264 130
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
----------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Kuftal_Tunnel/Zone.lua | 17 | 2256 | -----------------------------------
--
-- Zone: Kuftal_Tunnel (174)
--
-----------------------------------
package.loaded["scripts/zones/Kuftal_Tunnel/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Kuftal_Tunne... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/spells/paralyze.lua | 18 | 1997 | -----------------------------------------
-- Spell: Paralyze
-- Spell accuracy is most highly affected by Enfeebling Magic Skill, Magic Accuracy, and MND.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-... | gpl-3.0 |
koningdde/Arduitools | ESP8266/nodemcu-firmware-master/nodemcu-firmware-master/lua_examples/ucglib/GT_text.lua | 30 | 1039 | local M, module = {}, ...
_G[module] = M
function M.run()
-- make this a volatile module:
package.loaded[module] = nil
print("Running component text...")
local x, y, w, h, i
local m
disp:setColor(0, 80, 40, 0)
disp:setColor(1, 60, 0, 40)
disp:setColor(2, 20, 0, 20)
disp:setColo... | gpl-3.0 |
LuaExtend/LuaExtend | tools/ZeroBraneStudio/lualibs/lexers/latex.lua | 5 | 2162 | -- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE.
-- Latex LPeg lexer.
-- Modified by Brian Schott.
-- Modified by Robert Gieseke.
local l = require('lexer')
local token, word_match = l.token, l.word_match
local P, R, S = lpeg.P, lpeg.R, lpeg.S
local M = {_NAME = 'latex'}
-- Whitespace.
local ws... | apache-2.0 |
hoku586/darkstar | scripts/zones/Batallia_Downs/npcs/qm2.lua | 17 | 1515 | -----------------------------------
-- Area: Batallia Downs
-- NPC: qm2 (???)
-- Pop for the quest "Chasing Quotas"
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Batallia_Downs/TextIDs");
require("scripts/... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Al_Zahbi/npcs/Zwiyaam.lua | 38 | 1024 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Zwiyaam
-- Type: Standard NPC
-- @zone: 48
-- @pos 14.814 -7.667 41.889
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Al_Zahbi/npcs/Zwiyaam.lua | 38 | 1024 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Zwiyaam
-- Type: Standard NPC
-- @zone: 48
-- @pos 14.814 -7.667 41.889
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
gOOvER/InspectEquip | Libs/LibItemUpgradeInfo-1.0/Core.lua | 3 | 21288 | local MAJOR, MINOR = "LibItemUpgradeInfo-1.0", 28
local type,tonumber,select,strsplit,GetItemInfoFromHyperlink=type,tonumber,select,strsplit,GetItemInfoFromHyperlink
local library,previous = _G.LibStub:NewLibrary(MAJOR, MINOR)
local lib=library --#lib Needed to keep Eclipse LDT happy
if not lib then return end
local pp... | gpl-3.0 |
xunmengfeng/ftk | script_binding/lua/demo_check_button.lua | 8 | 1512 | function OnQuit(button)
Ftk.Quit()
return RET_OK
end
function OnClicked(button)
print("OnClicked")
return RET_OK
end
function AppInit()
win=FtkAppWindow.Create()
win:SetAttr(FTK_ATTR_QUIT_WHEN_CLOSE)
win:SetText("Demo check button")
width=win:Width()
height=win:Height()
width = width/2 - 10;
button=FtkC... | lgpl-3.0 |
Vadavim/test | scripts/zones/Southern_San_dOria/npcs/Ailevia.lua | 30 | 1902 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ailevia
-- Adventurer's Assistant
-- Only recieving Adv.Coupon and simple talk event are scripted
-- This NPC participates in Quests and Missions
-- @zone 230
-- @pos -8 1 1
-------------------------------------
package.loaded["scripts/z... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Northern_San_dOria/npcs/Achantere_TK.lua | 28 | 4907 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Achatere, T.K.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Run ... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Metalworks/npcs/Lorena.lua | 8 | 2540 | -----------------------------------
-- Area: Metalworks
-- NPC: Lorena
-- Type: Blacksmithing Guildworker's Union Representative
-- @zone 237
-- @pos -104.990 1 30.995
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scripts/zones/Metalworks/TextIDs");
require("... | gpl-3.0 |
Vadavim/test | scripts/zones/Yhoator_Jungle/npcs/Telepoint.lua | 17 | 1628 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Telepoint
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Yhoator_Jungle/TextIDs");
---------... | gpl-3.0 |
Vadavim/test | scripts/zones/Southern_San_dOria/npcs/Ferdoulemiont.lua | 36 | 2182 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ferdoulemiont
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/global... | gpl-3.0 |
hoku586/darkstar | scripts/globals/mobskills/Dark_Wave.lua | 33 | 1185 | ---------------------------------------------
-- Dark Wave
--
-- Description: A wave of dark energy washes over targets in an area of effect. Additional effect: Bio
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 10' radial
-- Notes: Severity of Bio effect varies by time of day, from 8/tic at... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ragyaya.lua | 14 | 1056 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ragyaya
-- Type: Standard NPC
-- @zone 94
-- @pos -95.376 -3 60.795
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
--------... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/meatloaf_+1.lua | 12 | 1386 | -----------------------------------------
-- ID: 5690
-- Item: Meatloaf +1
-- Food Effect: 3 Hrs, All Races
-----------------------------------------
-- Strength 6
-- Agility 2
-- Intelligence -3
-- Attack 18% Cap 95
-----------------------------------------
require("scripts/globals/status");
------------------------... | gpl-3.0 |
ff94315/luci-1 | applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua | 141 | 1031 | --[[
smap_devinfo - SIP Device Information
(c) 2009 Daniel Dickinson
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
$Id$
]]--
require("luci.i18n")
re... | apache-2.0 |
hoku586/darkstar | scripts/zones/La_Theine_Plateau/npcs/Narvecaint.lua | 14 | 1788 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Narvecaint
-- Involved in Mission: The Rescue Drill
-- @pos -263 22 129 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions"... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Port_San_dOria/npcs/Meta.lua | 17 | 1397 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Meta
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_San_dOria/TextIDs");
require("scripts/globals/quests");
------... | gpl-3.0 |
JoppyFurr/OpenRA | mods/cnc/maps/cnc64gdi01/cnc64gdi01.lua | 19 | 6339 | CommandoReinforcements = { "rmbo" }
MCVReinforcements = { "mcv" }
inf1 = { "e4" }
AutocreateSquads =
{
{ "stnk", "stnk" },
{ "ftnk", "ftnk" },
{ "ltnk", "ltnk", "bike" },
{ "arty", "arty", "bike", "bike" },
{ "ltnk", "ltnk" },
{ "stnk", "stnk" },
{ "ltnk", "ltnk" },
{ "arty", "arty" }
}
HeliPatrolPaths =
{
... | gpl-3.0 |
suzuren/some-mmorpg | 3rd/skynet/test/testpipeline.lua | 27 | 1255 | local skynet = require "skynet"
local redis = require "redis"
local conf = {
host = "127.0.0.1",
port = 6379,
db = 0
}
local function read_table(t)
local result = { }
for i = 1, #t, 2 do result[t[i]] = t[i + 1] end
return result
end
skynet.start(function()
local db = redis.connect(conf)
db.pipelini... | mit |
3scale/docker-gateway | gateway/src/resty/ctx.lua | 1 | 2029 | --- resty.ctx
-- Module for sharing ngx.ctx to subrequests.
-- @module resty.ctx
local ffi = require 'ffi'
local debug = require 'debug'
local base = require "resty.core.base"
-- to get FFI definitions
require 'resty.core.ctx'
local registry = debug.getregistry()
local getfenv = getfenv
local C = ffi.C
local FFI_NO_... | mit |
grandboy0/wader | plugins/infull.lua | 9 | 8304 | do
local gorg sefat = 67559249 --put your id here(BOT OWNER ID)
local function setrank(msg, name, value) -- setrank function
local hash = nil
if msg.to.type == 'chat' or msg.to.type == 'channel' then
hash = 'rank:'..msg.to.id..':variables'
end
if hash then
redis:hset(hash, name, value)
return send_m... | gpl-2.0 |
Elkazan/darkstar | scripts/zones/Bastok_Markets/npcs/Charging_Chocobo.lua | 36 | 1678 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Charging Chocobo
-- Standard Merchant NPC
--
-- Updated Aug-09-2013 by Zerahn, based on bgwiki and gamerescape
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/weaponskills/tachi_shoha.lua | 30 | 1753 | -----------------------------------
-- Tachi: Shoha
-- Great Katana weapon skill
-- Skill Level: 357
-- Delivers a two-hit attack. Damage varies with TP.
-- To obtain Tachi: Shoha, the quest Martial Mastery must be completed and it must be purchased from the Merit Points menu.
-- Suspected to have an Attack Bonus... | gpl-3.0 |
hoku586/darkstar | scripts/globals/abilities/chaos_roll.lua | 15 | 4467 | -----------------------------------
-- Ability: Chaos Roll
-- Enhances attack for party members within area of effect
-- Optimal Job: Dark Knight
-- Lucky Number: 4
-- Unlucky Number: 8
-- Level: 14
--
-- Die Roll |No DRK |With DRK
-- -------- -------- -----------
-- 1 |6% |16%
-- 2 |8... | gpl-3.0 |
otservme/global1041 | data/npc/scripts/Maealil.lua | 1 | 5627 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end
function onCreatureSay(cid, type, msg) npcHan... | gpl-2.0 |
hoku586/darkstar | scripts/zones/Abyssea-Tahrongi/npcs/qm12.lua | 14 | 1346 | -----------------------------------
-- Zone: Abyssea-Tahrongi
-- NPC: qm12 (???)
-- Spawns Lachrymater
-- @pos ? ? ? 45
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
-... | gpl-3.0 |
Vadavim/test | scripts/zones/Uleguerand_Range/npcs/HomePoint#4.lua | 12 | 1188 | -----------------------------------
-- Area: Uleguerand_Range
-- NPC: HomePoint#4
-- @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 |
Vadavim/test | scripts/zones/Phomiuna_Aqueducts/npcs/qm3.lua | 34 | 1033 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: qm3 (???)
-- Notes: Opens north door @ J-9
-- @pos 116.743 -24.636 27.518 27
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tra... | gpl-3.0 |
iamtrask/torch7 | test/test.lua | 3 | 85152 | --require 'torch'
local mytester
local torchtest = {}
local msize = 100
local precision
-- Lua 5.2 compatibility
local loadstring = loadstring or load
local unpack = unpack or table.unpack
local function maxdiff(x,y)
local d = x-y
if x:type() == 'torch.DoubleTensor' or x:type() == 'torch.FloatTensor' then
... | bsd-3-clause |
Elkazan/darkstar | scripts/zones/Windurst_Woods/npcs/Varun.lua | 19 | 2176 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Varun
-- Type: Standard NPC
-- @zone: 241
-- @pos 7.800 -3.5 -10.064
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/z... | gpl-3.0 |
Azurency/CQUI_Community-Edition | Integrations/URS/unitpromotionpopup.lua | 4 | 22859 | -- ===========================================================================
-- Popups when a Tech or Civic are completed
-- ===========================================================================
include("Civ6Common");
include("InstanceManager");
-- ==============================================================... | mit |
Elkazan/darkstar | scripts/zones/Al_Zahbi/npcs/Chayaya.lua | 34 | 1603 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Chayaya
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Al_Zahbi/TextIDs");
--------... | gpl-3.0 |
otservme/global1041 | data/actions/scripts/tools/toolgear.lua | 2 | 10797 | local lava = {
{x = 32808, y = 32336, z = 11, stackpos = 0},
{x = 32809, y = 32336, z = 11, stackpos = 0},
{x = 32810, y = 32336, z = 11, stackpos = 0},
{x = 32808, y = 32334, z = 11, stackpos = 0},
{x = 32807, y = 32334, z = 11, stackpos = 0},
{x = 32807, y = 32335, z = 11, stackpos = 0},
{x = 32807, y = 32336,... | gpl-2.0 |
Vadavim/test | scripts/globals/mobskills/Horrid_Roar_3.lua | 6 | 1347 | ---------------------------------------------------
-- Horrid Roar (Tiamat, Jormungand, Vrtra, Ouryu)
-- Dispels all buffs including food. Lowers Enmity.
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monste... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Misareaux_Coast/npcs/qm1.lua | 14 | 1355 | -----------------------------------
-- Area: Misareaux_Coast
-- NPC: ??? (Spawn Gration)
-- @pos 113.563 -16.302 38.912 25
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Misareaux_Coast/TextIDs");
---------... | gpl-3.0 |
hoku586/darkstar | scripts/globals/mobskills/Gregale_Wing_Air.lua | 33 | 1081 | ---------------------------------------------
-- Gregale Wing
--
-- Description: An icy wind deals Ice damage to enemies within a very wide area of effect. Additional effect: Paralyze
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only Jormungand and Isgebind
-------... | gpl-3.0 |
JoppyFurr/OpenRA | lua/stacktraceplus.lua | 59 | 12006 | -- tables
local _G = _G
local string, io, debug, coroutine = string, io, debug, coroutine
-- functions
local tostring, print, require = tostring, print, require
local next, assert = next, assert
local pcall, type, pairs, ipairs = pcall, type, pairs, ipairs
local error = error
assert(debug, "debug table must be availa... | gpl-3.0 |
umiushi/umiushi | src/webui/init.lua | 1 | 9595 | local Config = require "lapis.config".get ()
local Csrf = require "lapis.csrf"
local Et = require "etlua"
local Http = require "webui.jsonhttp".resty
local Json = require "rapidjson"
local Lapis = require "lapis"
local Mime = require "mime"
local Model = require "webui.mode... | mit |
Vadavim/test | scripts/globals/mobskills/Gusting_Gouge.lua | 6 | 1028 | ---------------------------------------------
-- Gusting Gouge
--
-- Description: Deals Wind damage in a threefold attack to targets in a fan-shaped area of effect.
-- Type: Physical?
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Melee?
-- Notes: Used only by Lamia equipped with a one-handed weapon. If t... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Port_Windurst/npcs/Breanainn.lua | 14 | 1037 | -----------------------------------
-- Area: Port Windurst
-- NPC: Breanainn
-- @zone 240
-- @pos 212 -6 96
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Port_Windurst/Tex... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Alzadaal_Undersea_Ruins/TextIDs.lua | 22 | 1261 | -- 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 |
hoku586/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/HomePoint#1.lua | 27 | 1295 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: HomePoint#1
-- @pos -21.129 0.001 -20.944 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
r... | gpl-3.0 |
Vadavim/test | scripts/globals/items/serving_of_karni_yarik.lua | 35 | 1391 | -----------------------------------------
-- ID: 5588
-- Item: serving_of_karni_yarik
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Agility 3
-- Vitality -1
-- Attack % 20
-- Attack Cap 65
-----------------------------------------
require("scripts/globals/status");
-------... | gpl-3.0 |
Vadavim/test | scripts/zones/The_Eldieme_Necropolis/Zone.lua | 30 | 2110 | -----------------------------------
--
-- Zone: The_Eldieme_Necropolis (195)
--
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/... | gpl-3.0 |
we20/plugin | plugins/face.lua | 641 | 3073 | local https = require("ssl.https")
local ltn12 = require "ltn12"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function request(imageUrl)
local api_key = mashape.api_key
if api_key:isempt... | gpl-2.0 |
Elkazan/darkstar | scripts/zones/Al_Zahbi/npcs/Banjanu.lua | 38 | 1025 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Banjanu
-- Type: Standard NPC
-- @zone: 48
-- @pos -75.954 0.999 105.367
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
------------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Aht_Urhgan_Whitegate/npcs/Furious_Boulder.lua | 34 | 1040 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Furious Boulder
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
--... | gpl-3.0 |
hoku586/darkstar | scripts/globals/weaponskills/chant_du_cygne.lua | 26 | 1307 | -----------------------------------
-- Chant du Cygne
-- Sword weapon skill
-- Skill level: EMPYREAN
-- Delivers a three-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Element: None
-- Modifiers: DEX:60%
-- 100%TP 200%TP 300%TP
-- ALL 2.25
-----------------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Lufaise_Meadows/mobs/Padfoot.lua | 13 | 2699 | -----------------------------------
-- Area: Lufaise Meadows
-- MOB: Padfoot
-- @pos 260.445 -1.761 -27.862 24 (True Copy) 16875578
-- @pos 412.447 -0.057 -200.161 24 (Fake Copies) 16875615
-- @pos -378.950 -15.742 144.215 24 || 16875703
-- @pos -43.689 0.487 -328.028 24 || 16875552
-- @pos -1... | gpl-3.0 |
paasmaker/paasmaker | paasmaker/router/rewrite.lua | 2 | 5336 | --
-- Paasmaker - Platform as a Service
--
-- 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/.
--
-- Paasmaker NGINX LUA router script.
-- Include the relevant librarie... | mpl-2.0 |
hoku586/darkstar | scripts/zones/Bastok_Markets/npcs/Gwill.lua | 26 | 2969 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Gwill
-- Starts & Ends Quest: The Return of the Adventurer
-- Involved in Quests: The Cold Light of Day, Riding on the Clouds
-- @zone 235
-- @pos 0 0 0
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
... | gpl-3.0 |
padrinoo1/vagir1 | plugins/plugins.lua | 72 | 6113 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
Vadavim/test | scripts/zones/Ordelles_Caves/TextIDs.lua | 5 | 1991 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6541; -- Obtained: <item>.
GIL_OBTAINED = 6542; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6544; -- Obtained... | gpl-3.0 |
Vadavim/test | scripts/zones/The_Celestial_Nexus/mobs/Orbital.lua | 19 | 2130 | -----------------------------------
-- Area: The Celestial Nexus
-- NPC: Orbital
-- Zilart Mission 16 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
function onMobInitialize(mob)
mob:addMod(MOD_REGAIN, 50);
end... | gpl-3.0 |
3scale/docker-gateway | spec/policy/token_introspection/token_introspection_spec.lua | 1 | 8143 | local TokenIntrospection = require('apicast.policy.token_introspection')
local TokensCache = require('apicast.policy.token_introspection.tokens_cache')
local test_backend_client = require('resty.http_ng.backend.test')
local cjson = require('cjson')
describe("token introspection policy", function()
describe("execute ... | mit |
Elkazan/darkstar | scripts/zones/Valkurm_Dunes/npcs/qm4.lua | 37 | 1033 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: qm4 (???)
-- Involved in quest: Pirate's Chart
-- @pos -160 4 -131 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Valkurm_Dunes/TextIDs");... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/coffeecake_muffin_+1.lua | 12 | 1372 | -----------------------------------------
-- ID: 5656
-- Item: coffeecake_muffin_+1
-- Food Effect: 1Hr, All Races
-----------------------------------------
-- Mind 2
-- Strength -1
-- MP % 10 (cap 90)
-----------------------------------------
require("scripts/globals/status");
---------------------------------------... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/two-leaf_mandragora_bud.lua | 7 | 1192 | -----------------------------------------
-- ID: 4368
-- Two-Leaf Mandragora Bud
-- 5 Minutes, food effect, All Races
-----------------------------------------
-- Agility +2
-- Vitality -4
-----------------------------------------
require("scripts/globals/status");
--------------------------------------... | gpl-3.0 |
lbfamous/arcemu | src/scripts/lua/LuaBridge/AUCHINDOUN/SHADOW_LABYRINTH/blackheart.lua | 13 | 4516 | --?!MAP=555
assert( include("shadowlabyrinth.lua") , "Failed to load shadowlabyrinth.lua")
local mod = require("DUNGEON_AUCHINDOUN.INSTANCE_SHADOW_LABYRINTH")
assert(mod)
module(mod._NAME..".BLACKHEART_THE_INCITER",package.seeall)
local self = getfenv(1)
function OnSpawn(unit)
local say = math.random(1,3)
if(say =... | agpl-3.0 |
alip/luachess | src/chess/chess.lua | 1 | 33176 | #!/usr/bin/env lua
-- vim: set et sts=4 sw=4 ts=4 tw=80 fdm=marker:
--[[
Copyright (c) 2009 Ali Polatel <polatel@gmail.com>
based in part upon GNU Chess 5.0 which is
Copyright (c) 1999-2002 Free Software Foundation, Inc.
This file is part of LuaChess. LuaChess is free software; you can redistribute
it an... | gpl-2.0 |
Vadavim/test | scripts/zones/Dynamis-San_dOria/mobs/Wyrmgnasher_Bjakdek.lua | 11 | 1060 | -----------------------------------
-- Area: Dynamis San d'Oria
-- NPC: Wyrmgnasher Bjakdek
-- Boss Trigger for Overlord's Tombstone
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/spells/wind_carol.lua | 18 | 1502 | -----------------------------------------
-- Spell: Wind Carol
-- Increases wind resistance for party members within the area of effect.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-------------... | gpl-3.0 |
Vadavim/test | scripts/globals/mobskills/Belly_Dance.lua | 6 | 1224 | ---------------------------------------------
-- Belly Dance
--
-- Description: Charms all targets in an area of effect, that are facing the Lamia.
-- Type: Enfeebling
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 15' radial
-- Notes: Used only by Lamia NM's, particularly in Besieged.
--------------... | gpl-3.0 |
Vadavim/test | scripts/globals/abilities/equanimity.lua | 28 | 1166 | -----------------------------------
-- Ability: Equanimity
-- Your next black magic spell will generate less enmity.
-- Obtained: Scholar Level 75
-- Recast Time: Stratagem Charge
-- Duration: 1 black magic spell or 60 seconds, whichever occurs first
--
-- Level |Charges |Recharge Time per Charge
-- ----- -... | gpl-3.0 |
Azurency/CQUI_Community-Edition | Integrations/BTS/UI/Choosers/tradeoriginchooser.lua | 4 | 13665 | -- ===========================================================================
--
-- Slideout panel that allows the player to move their trade units to other city centers
--
-- ===========================================================================
include("InstanceManager");
include("SupportFunctions");
include("... | mit |
tcdog001/ap_project | feeds/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-codec.lua | 80 | 2172 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
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
h... | gpl-2.0 |
Vadavim/test | scripts/zones/RoMaeve/Zone.lua | 6 | 2256 | -----------------------------------
--
-- Zone: RoMaeve (122)
--
-----------------------------------
package.loaded["scripts/zones/RoMaeve/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/RoMaeve/TextIDs");
require("scripts/globals/zone");
--... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Dynamis-Beaucedine/bcnms/dynamis_beaucedine.lua | 22 | 1241 | -----------------------------------
-- Area: Dynamis Beaucedine
-- Name: Dynamis Beaucedine
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaBeaucedine]UniqueID",player:getDynamisUniqueID(1284));
Set... | gpl-3.0 |
likunpeng/cocos | QuickGame/src/framework/cc/components/behavior/StateMachine.lua | 22 | 9185 |
local Component = import("..Component")
local StateMachine = class("StateMachine", Component)
--[[--
port from Javascript State Machine Library
https://github.com/jakesgordon/javascript-state-machine
JS Version: 2.2.0
]]
StateMachine.VERSION = "2.2.0"
-- the event transitioned successfully from one state to ano... | apache-2.0 |
likunpeng/cocos | QuickGame/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ShuffleTiles.lua | 10 | 1096 |
--------------------------------
-- @module ShuffleTiles
-- @extend TiledGrid3DAction
-- @parent_module cc
--------------------------------
--
-- @function [parent=#ShuffleTiles] getDelta
-- @param self
-- @param #size_table pos
-- @return size_table#size_table ret (return value: size_table)
--------------... | apache-2.0 |
Elkazan/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Ishin_IM.lua | 30 | 3058 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Ishin, I.M.
-- Outpost Conquest Guards
-- @pos -481.164 -32.858 49.188 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/moon_carrot.lua | 35 | 1194 | -----------------------------------------
-- ID: 4567
-- Item: moon_carrot
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemC... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Northern_San_dOria/npcs/Chasalvige.lua | 19 | 1712 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Chasalvige
-- Type: Standard Info NPC
-- Involved in Mission: The Road Forks
-- Involved in Mission: Promathia Mission 5 - Three Paths
-- @zone: 231
-- @pos 96.432 -0.520 134.046
--
-----------------------------------
require("scripts/globa... | gpl-3.0 |
Vadavim/test | scripts/globals/abilities/celerity.lua | 28 | 1156 | -----------------------------------
-- Ability: Celerity
-- Reduces the casting time and the recast time of your next white magic spell by 50%.
-- Obtained: Scholar Level 25
-- Recast Time: Stratagem Charge
-- Duration: 1 white magic spell or 60 seconds, whichever occurs first.
--
-- Level |Charges |Recharge T... | gpl-3.0 |
likunpeng/cocos | luatest/src/UserDefaultTest/UserDefaultTest.lua | 17 | 2518 | -- enable log
local function doTest()
cclog("********************** init value ***********************")
-- set default value
cc.UserDefault:getInstance():setStringForKey("string", "value1")
cc.UserDefault:getInstance():setIntegerForKey("integer", 10)
cc.UserDefault:getInstance():setFloatForKey(... | apache-2.0 |
hoku586/darkstar | scripts/zones/RuAun_Gardens/npcs/Pincerstone.lua | 17 | 4173 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: Pincerstone
-- NPCs which activates the blue teleports in sky
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");
------... | gpl-3.0 |
likunpeng/cocos | QuickGame/src/framework/cc/utils/Gettext.lua | 21 | 3518 | --[[
Load a mo file, retuan a lua function or table.
A sample and description(in chinese): http://zengrong.net/post/1986.htm
@see http://lua-users.org/lists/lua-l/2010-04/msg00005.html
Modifier zrong(zengrong.net)
Creation 2013-11-29
usage:
local mo_data=assert(require("utils.Gettext").loadMOFromFile("main.mo")... | apache-2.0 |
Elkazan/darkstar | scripts/globals/items/mercanbaligi.lua | 18 | 1262 | -----------------------------------------
-- ID: 5454
-- Item: Mercanbaligi
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Iruki-Waraki.lua | 38 | 2851 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Iruki-Waraki
-- Type: Standard NPC
-- Involved in quest: No Strings Attached
-- @pos 101.329 -6.999 -29.042 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
JustinNiu/Assignment1 | 3rdparty/sndlib/premake4.lua | 16 | 3961 | -- sndlib premake4
-- requires premake-4.4 (for os.is64bit)
-- currently assumes you want s7 (scheme) as the extension language
--------------------------------------------------------------------------------
-- Command Line
------------------------------------------------------------... | mit |
Elkazan/darkstar | scripts/zones/Tahrongi_Canyon/npcs/Signpost.lua | 19 | 1329 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Signpost
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Tahrongi_Canyon/TextIDs");
-----------------------------------
-- onTrade Action
... | gpl-3.0 |
we20/plugin | plugins/bugzilla.lua | 611 | 3983 | do
local BASE_URL = "https://bugzilla.mozilla.org/rest/"
local function bugzilla_login()
local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password
print("accessing " .. url)
local res,code = https.request( url )
local data = json:decode(res)
return data
... | gpl-2.0 |
hoku586/darkstar | scripts/commands/jail.lua | 26 | 2057 | ---------------------------------------------------------------------------------------------------
-- func: jail
-- desc: Sends the target player to jail. (Mordion Gaol)
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters ... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Hagakoff.lua | 34 | 1998 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Hagakoff
-- Standard Merchant NPC
-- Partitionally Implemented
-- Difficult Shop Script needed
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.