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 |
|---|---|---|---|---|---|
hooksta4/darkstar | scripts/zones/Upper_Jeuno/npcs/Hinda.lua | 4 | 1319 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Hinda
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Upper_Jeuno/TextIDs");
require("scripts/globals/quests");
--------------... | gpl-3.0 |
snabbco/snabb | lib/luajit/testsuite/test/lib/base/xpcall_jit.lua | 6 | 1929 | local function tr(err) return "tr"..err end
do --- square sum
local function f(x) return x*x end
local x = 0
for i=1,100 do
local ok1, ok2, ok3, y = xpcall(xpcall, tr, xpcall, tr, f, tr, i)
if not ok1 or not ok2 or not ok3 then break end
x = x + y
end
assert(x == 338350)
end
do --- sqrt square s... | apache-2.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Toraimarai_Canal/npcs/qm11.lua | 15 | 1512 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: ???
-- Involved In Quest: Wild Card
-- @zone 169 // not accurate
-- @pos 220 16 -50 // not accurate
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
FishFilletsNG/fillets-data | script/share/black_dialogs_sv.lua | 1 | 3484 |
dialogId("smrt-v-0", "font_big", "Oh, shoot!")
dialogStr("Åh, sug i!")
dialogId("smrt-m-psst", "font_small", "Shhh, children can be playing this game!")
dialogStr("Psst, barn kanske spelar det här spelet!")
dialogId("smrt-v-1", "font_big", "Darn.")
dialogStr("Sjutton också.")
dialogId("smrt-v-2", "font_big", "Da... | gpl-2.0 |
Iliaaaaa/spammer | plugins/invite.lua | 1 | 1325 | do
local function callbackres(extra, success, result) -- Callback for res_user in line 27
local user = 'user#id'..result.id
local chat = 'chat#id'..extra.chatid
if is_banned(result.id, extra.chatid) then -- Ignore bans
send_large_msg(chat, 'User is banned.')
elseif is_gbanned(result.id) then -- I... | gpl-2.0 |
FishFilletsNG/fillets-data | script/gods/dialogs_nl.lua | 1 | 7611 |
dialogId("lod-v-silenost0", "font_big", "I have a suspicion that we are about to discover something terrible.")
dialogStr("Ik heb het idee dat we zodadelijk iets vreselijks gaan ontdekken.")
dialogId("lod-v-silenost1", "font_big", "I always knew that: the gods must be mad.")
dialogStr("Ik heb het altijd al geweten: ... | gpl-2.0 |
hooksta4/darkstar | scripts/zones/Cloister_of_Tides/bcnms/sugar-coated_directive.lua | 19 | 1705 | ----------------------------------------
-- Area: Cloister of Tides
-- BCNM: Sugar Coated Directive (ASA-4)
----------------------------------------
package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil;
----------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/qu... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Cloister_of_Tides/bcnms/sugar-coated_directive.lua | 19 | 1705 | ----------------------------------------
-- Area: Cloister of Tides
-- BCNM: Sugar Coated Directive (ASA-4)
----------------------------------------
package.loaded["scripts/zones/Cloister_of_Tides/TextIDs"] = nil;
----------------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/qu... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Periqia/IDs.lua | 49 | 3842 | Periqia = {
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, -- Obtaine... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/Treasure_Coffer.lua | 2 | 3934 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Treasure Coffer
-- @zone 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems"... | gpl-3.0 |
FishFilletsNG/fillets-data | script/engine/code.lua | 1 | 8821 |
-- -----------------------------------------------------------------
-- Init
-- -----------------------------------------------------------------
local function prog_init()
initModels()
sound_playMusic("music/rybky13.ogg")
local pokus = getRestartCount()
local roompole = createArray(2)
WAS_SMALL =... | gpl-2.0 |
hooksta4/darkstar | scripts/globals/items/grape_daifuku+1.lua | 35 | 1864 | -----------------------------------------
-- ID: 6344
-- Item: grape_daifuku+1
-- Food Effect: 60 Min, All Races
-----------------------------------------
-- HP + 30 (Pet & Master)
-- Vitality + 4 (Pet & Master)
-- Master MAB + 4 , Pet MAB + 15
-- Accuracy + 11% Cap: 70 (Pet & Master) Pet Cap: 81
----------------------... | gpl-3.0 |
RockySeven3161/Tgcli | bot/bot.lua | 1 | 6663 | 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")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:close()
-- This function is ... | gpl-2.0 |
hooksta4/darkstar | scripts/zones/Bastok_Markets_[S]/npcs/Karlotte.lua | 38 | 1069 | ----------------------------------
-- Area: Bastok Markets [S]
-- NPC: Karlotte
-- Type: Item Deliverer
-- @pos -191.646 -8 -36.349 87
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Markets_[S]... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/abilities/dancers_roll.lua | 11 | 2517 | -----------------------------------
-- Ability: Dancer's Roll
-- Grants Regen status to party members within area of effect
-- Optimal Job: Dancer
-- Lucky Number: 3
-- Unlucky Number: 7
-- Level: 61
--
-- Die Roll |No DNC |With DNC
-- -------- ---------- ----------
-- 1 ... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Waughroon_Shrine/mobs/Maat.lua | 2 | 1106 | -----------------------------------
-- Area: Waughroom Shrine
-- NPC: Maat
-- Genkai 5 Fight
-----------------------------------
package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Waughroon_Shrine/TextIDs");
-----------------------------------
-... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Spire_of_Holla/npcs/_0h0.lua | 2 | 1404 | -----------------------------------
-- Area: Spire of Holla
-- NPC: Web of Recollection
-----------------------------------
package.loaded["scripts/zones/Spire_of_Holla/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/globals/mis... | gpl-3.0 |
instead-hub/plainstead | build/games/mirror/part_3.lua | 1 | 130529 | i301 = room {
nam = '...',
pic = 'images/movie_3.gif',
dsc = '...Хранитель вошёл в тёмную пещеру. Но не успел он ступить и несколько шагов, как магическая сила перенесла его в самый центр Лабиринта...';
enter = function(s)
set_music('music/part_3.ogg');
status._drink_water_on_this_level ... | mit |
Iliaaaaa/spammer | plugins/help.lua | 1 | 5058 | do
function pairsByKeys(t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Aht_Urhgan_Whitegate/npcs/Rytaal.lua | 13 | 4534 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Rytaal
-- Type: Standard NPC
-- @pos 112.002 -1.338 -45.038 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
... | gpl-3.0 |
FishFilletsNG/fillets-data | script/propulsion/demo_dialogs_ru.lua | 1 | 1290 | -- FIXME adascor
dialogId("dlg-x-poster1", "font_poster", "Squirrel - this is a notion that will be effective today widely talked about in the next few years in connection with interspace propulsion. This is also possible reason of UFO visits of the Earth.")
dialogStr("Белка - это то, о чем будут широко говорить в след... | gpl-2.0 |
hooksta4/darkstar | scripts/zones/zones/Dragons_Aery/npcs/qm0.lua | 1 | 1819 | -----------------------------------
-- Area: Dragons Aery
-- NPC: ??? (Spawn Nidhogg)
-- @pos -81 32 2 178
-----------------------------------
package.loaded["scripts/zones/Dragons_Aery/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Dragons_Aery/TextIDs");
require("scripts/globals/status"... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/spells/bluemagic/frypan.lua | 28 | 1783 | -----------------------------------------
-- Spell: Frypan
-- Delivers an area attack. Additional effect: "Stun." Accuracy varies with TP
-- Spell cost: 65 MP
-- Monster Type: Beastmen
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 3
-- Stat Bonus: DEX+2
-- Level: 63
-- Casting Time: 1 seconds
-- Recas... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Misareaux_Coast/npcs/Logging_Point.lua | 2 | 1065 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Logging Point
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/logging");
require("scripts/zones/Misareaux_Coast/TextIDs");
---------... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/weaponskills/blast_shot.lua | 30 | 1320 | -----------------------------------
-- Blast Shot
-- Marksmanship weapon skill
-- Skill Level: 200
-- Delivers a melee-distance ranged attack. params.accuracy varies with TP.
-- Aligned with the Snow Gorget & Light Gorget.
-- Aligned with the Snow Belt & Light Belt.
-- Element: None
-- Modifiers: AGI:30%
-- 10... | gpl-3.0 |
ld-test/corowatch | src/corowatch.lua | 2 | 11589 | ---------------------------------------------------------------------------------------
-- Module to watch coroutine executiontime. Coroutines running too long without
-- yielding can be killed to prevent them from locking the Lua state.
-- The module uses `LuaSocket` to get the time (`socket.gettime` function). If you... | mit |
hooksta4/darkstar | scripts/zones/Yuhtunga_Jungle/mobs/Overgrown_Rose.lua | 2 | 1333 | -----------------------------------
-- Area: Yuhtunga Jungle
-- MOB: Overgrown Rose
-----------------------------------
function onMobRoam(mob)
local Rose_Garden = 17281357;
local Rose_Garden_PH = 0;
local Rose_Garden_PH_Table =
{
17281356
};
local Rose_Garden_ToD = GetMobByID(Rose_Garden):getLocalVar("1... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/items/rolanberry_pie_+1.lua | 35 | 1376 | -----------------------------------------
-- ID: 4339
-- Item: rolanberry_pie_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 60
-- Intelligence 3
-- Health Regen While Healing 1
-----------------------------------------
require("scripts/globals/status");
-----------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Cloister_of_Flames/Zone.lua | 3 | 1597 | -----------------------------------
--
-- Zone: Cloister_of_Flames (207)
--
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Cloister_of_Flames/TextIDs");
--------------... | gpl-3.0 |
stevenremot/npath-adventurer | src/ecs.lua | 1 | 3282 | -- ecs.lua
--
-- Base structure for entity-component-system architecture
--------------------------------------------------------------------------------
--- Database of association between entities and components
local World = {}
local MetaWorld = {}
------------------------------------------------------------------... | gpl-3.0 |
wanghuan1115/sdkbox-adcolony-sample | lua/src/cocos/framework/extends/UIPageView.lua | 57 | 1384 |
--[[
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, di... | mit |
hooksta4/darkstar | scripts/zones/zones/Xarcabard/TextIDs.lua | 9 | 1203 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6392; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6397; -- Obtained: <item>.
GIL_OBTAINED = 6398; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6400; -- Obtained... | gpl-3.0 |
pieterlexis/pdns | pdns/dnsdistconf.lua | 9 | 4478 | -- == Generic Configuration ==
-- only accept queries (Do53, DNSCrypt, DoT or DoH) from a few subnets
-- see https://dnsdist.org/advanced/acl.html for more details
-- please be careful when dnsdist is deployed in front of a server
-- server granting access based on the source IP, as all queries will
-- seem to origin... | gpl-2.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/items/plate_of_tentacle_sushi_+1.lua | 21 | 1828 | -----------------------------------------
-- ID: 5216
-- Item: plate_of_tentacle_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- HP 20
-- Dexterity 3
-- Agility 3
-- Mind -1
-- Accuracy % 19 (no cap on HQ)
-- Ranged Accuracy % 19 (no cap on HQ)
-- Double Attack 1
-----... | gpl-3.0 |
guanbaiqiang/notion-scripts | statusd/statusd_dgs.lua | 2 | 3129 | --
-- By Jeremy Hankins <nowan@nowan.org>
--
-- Time-stamp: <2005-06-28 15:55:31 Jeremy Hankins>
--
-- statusd_dgs.lua: Check for moves waiting on www.dragongoserver.net
--
-- This monitor will check your status page on www.dragongoserver.net
-- for games waiting on a move. Simply add %dgs to the statusd
-- template, ... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Bastok_Markets/npcs/Zacc.lua | 31 | 1547 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Zacc
-- Type: Quest NPC
-- @zone: 235
-- @pos -255.709 -13 -91.379
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
require("scripts/zones/Bastok_Markets/TextIDs");
require("scripts/globals/quests... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm3.lua | 2 | 1688 | -----------------------------------
-- Area: The Sanctuary of Zitah
-- NPC: ???
-- Involved In Quest: The Sacred Katana
-- @zone 121
-- @pos -416 0 46
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Port_San_dOria/npcs/Artinien.lua | 6 | 1317 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Artinien
-- 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 |
hooksta4/darkstar | scripts/zones/zones/Norg/npcs/Aeka.lua | 2 | 2957 | -----------------------------------
-- Area: Norg
-- NPC: Aeka
-- Involved in Quest: Forge Your Destiny
-- @zone 252
-- @pos 4 0 -4
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/q... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/West_Ronfaure/npcs/Vilatroire.lua | 2 | 1531 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Vilatroire
-- Involved in Quests: "Introduction To Teamwork", "Intermediate Teamwork",
-- "Advanced Teamwork"
-- @pos -260.361 -70.999 423.420 100
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/West_Ronf... | gpl-3.0 |
AnySDK/Sample_Lua | frameworks/cocos2d-x/tests/lua-tests/src/NewEventDispatcherTest/NewEventDispatcherTest.lua | 11 | 52060 | local itemTagBasic = 1000
local testArray =
{
TouchableSprite = 1,
FixedPriority = 2,
RemoveListenerWhenDispatching = 3,
CustomEvent = 4,
LabelKeyboardEvent = 5,
SpriteAccelerationEvent = 6,
RemoveAndRetainNode = 7,
RemoveListenerAfterAdding = 8,
GlobalZTouchTest = 9,
StopPropag... | mit |
Iliaaaaa/spammer | plugins/owners.lua | 1 | 12484 |
local function lock_group_namemod(msg, data, target)
local group_name_set = data[tostring(target)]['settings']['set_name']
local group_name_lock = data[tostring(target)]['settings']['lock_name']
if group_name_lock == 'yes' then
return 'Group name is already locked'
else
data[tostring(target)]['setting... | gpl-2.0 |
hooksta4/darkstar | scripts/zones/Zeruhn_Mines/Zone.lua | 2 | 2473 | -----------------------------------
--
-- Zone: Zeruhn_Mines (172)
--
-----------------------------------
package.loaded["scripts/zones/Zeruhn_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/zone");
require("scripts/zones/Zeruhn_Mines/TextIDs");
-... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Mount_Zhayolm/npcs/qm3.lua | 16 | 1173 | -----------------------------------
-- Area: Mount Zhayolm
-- NPC: ??? (Spawn Anantaboga(ZNM T2))
-- @pos -368 -13 366 61
-----------------------------------
package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mount_Zhayolm/TextIDs");
--------------... | gpl-3.0 |
mahdikord/kord | plugins/seedflood.lua | 25 | 3749 | --An empty table for solving multiple kicking problem(thanks to @topkecleon )
kicktable = {}
do
local TIME_CHECK = 4 -- seconds
local data = load_data(_config.moderation.data)
-- Save stats, ban user
local function pre_process(msg)
-- Ignore service msg
if msg.service then
return msg
end
if msg.from.id ==... | gpl-2.0 |
YungDaVinci/mithras-gone-wild | BGAnimations/ScreenSelectMusic decorations/default.lua | 1 | 7815 | --Organization and crap
local t = Def.ActorFrame{
Def.Quad{
Name="headerline";
OnCommand=cmd(xy,SCREEN_CENTER_X,29;SetWidth,SCREEN_WIDTH);
OffCommand=cmd(bouncebegin,0.15;zoomx,0);
StyleChangeCommand=cmd(SetHeight,50);
};
Def.BitmapText{
Name="songname";
Font="_fishfingers normal",
Text="",
OnComman... | mit |
AnySDK/Sample_Lua | frameworks/cocos2d-x/external/lua/luasocket/script/socket/tp.lua | 31 | 3627 | -----------------------------------------------------------------------------
-- Unified SMTP/FTP subsystem
-- LuaSocket toolkit.
-- Author: Diego Nehab
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
-- Declare... | mit |
hooksta4/darkstar | scripts/zones/zones/Escha_ZiTah/Zone.lua | 34 | 1440 | -----------------------------------
--
-- Zone: Escha - Zi'Tah (288)
--
-----------------------------------
package.loaded["scripts/zones/Escha_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Escha_ZiTah/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/zone");
... | gpl-3.0 |
snabbco/snabb | src/program/wall/filter/filter.lua | 9 | 4424 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local fw = require("apps.wall.l7fw")
local pcap = require("apps.pcap.pcap")
local now = require("core.app").now
local lib = require("core.lib")
local link = require("core.link")
local numa = requi... | apache-2.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Marjami_Ravine/Zone.lua | 34 | 1245 | -----------------------------------
--
-- Zone: Marjami Ravine
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Marjami_Ravine/TextIDs"] = nil;
require("scripts/zones/Marjami_Ravine/TextIDs");
-----------------------------------
-- onInitialize
-... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Giddeus/npcs/Quu_Bokye.lua | 19 | 1876 | -----------------------------------
-- Area: Giddeus
-- NPC: Quu Bokye
-- Involved in Quest: Dark Legacy
-- @pos -159 16 181 145
-----------------------------------
package.loaded["scripts/zones/Giddeus/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Giddeus/TextIDs");
-------------------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Valkurm_Dunes/npcs/Medicine_Axe.lua | 2 | 1794 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Medicine Axe
-- Type: Outpost Vendor
-- @pos 144 -7 104 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Port_Windurst/TextIDs.lua | 1 | 6241 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 10962; -- Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 10964; -- Try trading again after sorting your inventory.
ITEM_OBTAINED = 10965; -- Obtained:
... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/mobskills/Blade_Metsu.lua | 18 | 1156 | ---------------------------------------------
-- Blade Metsu
--
-- Description: Additional effect: Paralysis
-- Hidden effect: temporarily enhances Subtle Blow effect.
-- Type: Physical
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/sta... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/The_Eldieme_Necropolis_[S]/npcs/Lennart.lua | 4 | 1088 | ----------------------------------
-- Area: The Eldieme Necropolis [S]
-- NPC: Lennart
-- Type: Item Deliverer
-- @pos 378.783 -36 61.805 175
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Behemoths_Dominion/mobs/Behemoth.lua | 8 | 1648 | -----------------------------------
-- Area: Behemoth's Dominion
-- HNM: Behemoth
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
--------------------... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/items/plate_of_ikra_gunkan_+1.lua | 35 | 1733 | -----------------------------------------
-- ID: 5220
-- Item: plate_of_ikra_gunkan_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 30
-- Magic 12
-- Dexterity 3
-- Mind -1
-- Accuracy % 17
-- Accuracy Cap 30
-- Ranged ACC % 17
-- Ranged ACC Cap 30
------------------... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/globals/common.lua | 17 | 2957 | -----------------------------------
-- Author:
--
--
-----------------------------------
-----------------------------------
-- switch
-----------------------------------
function switch(c)
local swtbl = {
casevar = c,
caseof = function (self,code)
local f
if (self.ca... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Northern_San_dOria/npcs/Eugballion.lua | 2 | 1585 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Eugballion
-- Only sells when San d'Oria controlls Qufim Region
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("sc... | gpl-3.0 |
bioxz/factorio-helicopter | prototypes/entities.lua | 1 | 5089 | data:extend({
{
type = "car",
name = "helicopter_travel",
icon = "__base__/graphics/icons/car.png",
flags = {"pushable", "placeable-off-grid", "player-creation"},
minable = {mining_time = 1, result = "helicopter_travel"},
max_health = 1000,
corpse = "medium-remnants",
selection_box = {{-0.7, -1.2}, {0.... | mit |
dermoumi/m2n | bin/assets/scripts/graphics/shape.lua | 1 | 5195 | --[[
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdi... | unlicense |
snabbco/snabb | lib/luajit/testsuite/bench/pidigits-nogmp.lua | 6 | 3336 |
-- Start of dynamically compiled chunk.
local chunk = [=[
-- Factory function for multi-precision number (mpn) operations.
local function fmm(fa, fb)
return loadstring([[
return function(y, a, ka, b, kb)
local carry, n = 0, #a ]]..(fb == 0 and "" or [[
local na, nb = n, #b -- Need to adjust lengths.... | apache-2.0 |
hooksta4/darkstar | scripts/zones/zones/East_Ronfaure_[S]/npcs/Cavernous_Maw.lua | 29 | 1412 | -----------------------------------
-- Area: East Ronfaure [S]
-- NPC: Cavernous Maw
-- Teleports Players to East Ronfaure
-- @pos 322 -59 503 81
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems")... | gpl-3.0 |
Raggaer/castro | pages/community/online/get.lua | 1 | 1411 | function get()
local data = {}
data.list, cached = db:query("SELECT po.player_id as id, p.name, p.level AS level, p.vocation AS vocation FROM players_online AS po INNER JOIN players AS p ON p.id = po.player_id ORDER BY p.name", true)
data.count = data.list and #data.list or 0
if not cached then
for i =... | mit |
guanbaiqiang/notion-scripts | statusd/statusd_bitcoin.lua | 2 | 1174 | -- Bitcoin (฿) daemon monitor
-- %bitcoin_speed - current speed in khash/s
-- %bitcoin_balance - current balance
-- by Voker57 <voker57@gmail.com>
-- Public domain
local defaults={
update_interval=30 * 1000
}
local settings=table.join(statusd.get_config("bitcoin"), defaults)
local bitcoin_timer
local function... | gpl-3.0 |
lohool/OLA | Ola/wax/stdlib/waxClass.lua | 1 | 1197 | function waxClass(options)
local class = waxInlineClass(options)
setfenv(2, class._M)
return class
end
-- So you can create a class without screwing with the function environment
function waxInlineClass(options)
local className = options[1]
local superclassName = options[2]
local class = wax.clas... | mit |
hooksta4/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/Cannau.lua | 38 | 1038 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Cannau
-- Type: Escort NPC
-- @pos 419.838 -56.999 -114.870 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/The_Eldie... | gpl-3.0 |
thetaeo/cuberite | lib/tolua++/src/bin/lua/feature.lua | 15 | 2882 | -- tolua: abstract feature class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: $
-- This code is free software; you can redistribute it and/or modify it.
-- The software provided hereunder is on an "as is" basis, and
-- the author has no obligation to provide maintenance, support, updates,
-- enh... | apache-2.0 |
hooksta4/darkstar | scripts/globals/items/carpenters_belt.lua | 30 | 1212 | -----------------------------------------
-- ID: 15444
-- Item: Carpenter's belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Woodworking Skill +3
-----------------------------------------
re... | gpl-3.0 |
4aiman/MultiCraft_game | mods/boat/init.lua | 1 | 4444 | if not multicraft.get_modpath("check") then os.exit() end
if not default.multicraft_is_variable_is_a_part_of_multicraft_subgame_and_copying_it_means_you_use_our_code_so_we_become_contributors_of_your_project then exit() end
--
-- Helper functions
--
local function is_water(pos)
local nn = multicraft.get_node(pos).... | lgpl-3.0 |
FishFilletsNG/fillets-data | script/cabin2/dialogs_nl.lua | 1 | 4019 |
dialogId("k1-pap-3xkruty", "font_parrot", "Crrruel, crrruel, crrruel Captain Silverrrr...")
dialogStr("Rrrottige, rrrottige, rrrottige kapitein Silverrr...")
dialogId("k1-pap-kruty", "font_parrot", "Crrruel Captain Silverrrr...")
dialogStr("Rrrottige kapitein Silverrr...")
dialogId("k1-pap-kruci", "font_parrot", "... | gpl-2.0 |
dberga/arcbliz | src/scripts/lua/LuaBridge/Stable Scripts/Azeroth/Karazhan/BOSS_Karazhan_Nightbane.lua | 30 | 1906 | function Nightbane_Cleave(Unit, event, miscunit, misc)
print "Nightbane Cleave"
Unit:FullCastSpellOnTarget(42587,Unit:GetClosestPlayer())
Unit:SendChatMessage(11, 0, "Cleave on you...")
end
function Nightbane_Tail_Sweep(Unit, event, miscunit, misc)
print "Nightbane Tail Sweep"
Unit:FullCastSpellOnTarget(25653,Uni... | agpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Windurst_Waters/npcs/Zelala.lua | 38 | 1035 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Zelala
-- Type: Map Marker
-- @zone: 238
-- @pos 169.855 -1.295 -3.238
--
-- Auto-Script: Requires Verification (Verfied By Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
--------------... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/QuBia_Arena/mobs/Archlich_Taber_quoan.lua | 27 | 4133 | -----------------------------------
-- Area: Qu'Bia Arena
-- NM: Archlich Taber'quoan
-- Mission 5-1 BCNM Fight
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
e... | gpl-3.0 |
henry4k/konstrukt-pkman | packagemanager-gui/Timer.lua | 1 | 1087 | local wx = require 'wx'
local utils = require 'packagemanager-gui/utils'
local TimerStatic = { defaultWindow = nil }
setmetatable(TimerStatic, TimerStatic)
local Timer = {}
Timer.__index = Timer
function Timer:start( frequency, triggerOnce )
assert(self.timer:Start(math.ceil(frequency*1000), triggerOnce or fals... | mit |
FishFilletsNG/fillets-data | script/briefcase/dialogs_cs.lua | 1 | 6880 |
dialogId("kuf-m-je", "font_small", "Oh no, not again...")
dialogStr("Jé, už zase...")
dialogId("kuf-v-noco", "font_big", "You know there’s nothing we can do about it.")
dialogStr("No, co naděláme.")
dialogId("kuf-v-hod", "font_big", "Let’s push it down so we can take a look at it.")
dialogStr("Hodíme to dolů a pod... | gpl-2.0 |
snabbco/snabb | lib/luajit/testsuite/test/misc/api_call.lua | 6 | 2349 | local ctest = require("ctest")
local function ret0() end
local function ret1() return 1 end
local function ret2() return 1,2 end
local function ret3() return 1,2,3 end
local function retva(...) return ... end
local function ret1va(...) return 1,... end
local function pack(...)
return { n = select('#', ...), ... }
e... | apache-2.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Lebros_Cavern/IDs.lua | 67 | 1719 | Lebros = {
text = {
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6376, -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6379, -- Obtained: <item>
GIL_OBTAINED = 6380, -- Obtained <number> gil
KEYITEM_OBTAINED = 6382, -- Obtained... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Port_San_dOria/npcs/Deguerendars.lua | 6 | 1975 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Deguerendars
-- Only sells when San d'Oria contrls Tavnazian Archipelago
-- Only available to those with CoP Ch. 4.1 or higher
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
vipbeko/VIPTEAM | plugins/setrp.lua | 1 | 2706 | --[[
BY_CH : @vip_team1
]]
local function get_variables_hash(msg)
if msg.to.type == 'chat' or msg.to.type == 'channel' then
return 'chat:bot:variables'
end
end
local function get_value(msg, var_name)
local hash = get_variables_hash(msg)
if hash then
local value = redis:hget(hash, var_name)
if not... | agpl-3.0 |
ld-test/lj2procfs | lj2procfs/striter.lua | 1 | 2703 |
local ffi = require("ffi")
local fun = require("lj2procfs.fun")
local floor = math.floor;
-- a nil generator.
-- good for cases when there's no data
local function nil_gen(param, state)
return nil
end
local function delim_gen(param, idx)
local len = 0;
while ((idx+len) < param.nelems) do
--print("wchar:... | mit |
hooksta4/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ratihb.lua | 2 | 3233 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Ratihb
-- Standard Info NPC
-- @pos 75.225 -6.000 -137.203 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
requir... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Port_Windurst/npcs/Kumama.lua | 36 | 1748 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kumama
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/TextIDs... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Meriphataud_Mountains/npcs/Daruru_WW.lua | 30 | 3076 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Daruru, W.W.
-- Type: Border Conquest Guards
-- @pos -120.393 -25.822 -592.604 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Gusgen_Mines/TextIDs.lua | 9 | 1706 | -- 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 |
telemagma/prj-1 | plugins/gnuplot.lua | 622 | 1813 | --[[
* Gnuplot plugin by psykomantis
* dependencies:
* - gnuplot 5.00
* - libgd2-xpm-dev (on Debian distr) for more info visit: https://libgd.github.io/pages/faq.html
*
]]
-- Gnuplot needs absolute path for the plot, so i run some commands to find where we are
local outputFile = io.popen("pwd","r")
io.input(outputFile... | gpl-2.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Nashmau/npcs/Wata_Khamazom.lua | 34 | 1438 | -----------------------------------
-- Area: Nashmau
-- NPC: Wata Khamazom
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
-----... | gpl-3.0 |
hooksta4/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 |
gedadsbranch/Darkstar-Mission | scripts/globals/items/remedy.lua | 19 | 1251 | -----------------------------------------
-- ID: 4155
-- Item: Remedy
-- Item Effect: This potion remedies status ailments.
-- Works on paralysis, silence, blindness, poison, and disease.
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/Dynamis-Valkurm/mobs/Adamantking_Effigy.lua | 1 | 2292 | -----------------------------------
-- Area: Dynamis Valkurm
-- NPC: Adamantking_Effigy
-----------------------------------
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Valkurm/TextIDs");
--------... | gpl-3.0 |
gedadsbranch/Darkstar-Mission | scripts/zones/Bibiki_Bay/npcs/Clamming_Point.lua | 11 | 5745 | -----------------------------------
-- Area: Bibiki Bay
-- NPC: Clamming Point
-----------------------------------
package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil;
require("scripts/zones/Bibiki_Bay/TextIDs");
require("scripts/globals/keyitems");
-----------------------------------
-- Local Variables
------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/zones/The_Shrouded_Maw/bcnms/waking_dreams.lua | 19 | 2489 | -----------------------------------
-- Area: The_Shrouded_Maw
-- Name: waking_dreams
-----------------------------------
package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/globals/q... | gpl-3.0 |
hooksta4/darkstar | scripts/globals/items/tortilla.lua | 35 | 1264 | -----------------------------------------
-- ID: 4408
-- Item: tortilla
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 6
-- Dexterity -1
-- Vitality 4
-----------------------------------------
require("scripts/globals/status");
----------------------------------------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Abyssea-Grauberg/npcs/qm15.lua | 17 | 1535 | -----------------------------------
-- Zone: Abyssea-Grauberg
-- NPC: ???
-- Spawns: Raja
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/keyitems");
-----------------------------------
-- onTrigger Action
-----------------------------------
function onTrigger(player,... | gpl-3.0 |
Raggaer/castro | engine/init.lua | 1 | 1683 | -- This file will be executed at start-up
require "extensionhooks"
if app.Mode == "dev" then
print(">> Running on development mode. Never have development mode open to the public")
end
if app.Custom.OnlineChart.Enabled then
events:new(
function()
local interval = time:parseDuration(app.Custom.... | mit |
gedadsbranch/Darkstar-Mission | scripts/zones/Ordelles_Caves/npcs/qm5.lua | 9 | 1421 | -----------------------------------
-- Area: Ordelles Caves
-- NPC: ??? (qm5)
-- Involved In Quest: Dark Puppet
-- @pos -92 -28 -70 193
-----------------------------------
package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
r... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Aydeewa_Subterrane/mobs/Pandemonium_Warden.lua | 1 | 12222 | -----------------------------------
-- Area: Aydeewa Subterrane
-- ZNM: Pandemonium_Warden
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize Action
-------------... | gpl-3.0 |
hooksta4/darkstar | scripts/zones/Sealions_Den/npcs/Sueleen.lua | 2 | 1923 | -----------------------------------
-- Area: Sealion's Den
-- NPC: Sueleen
-- @pos 612 132 774 32
-----------------------------------
package.loaded["scripts/zones/Sealions_Den/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Sealions_Den/TextIDs");
requ... | gpl-3.0 |
warrenseine/premake | tests/premake5.lua | 1 | 7649 | --
-- tests/premake5.lua
-- Automated test suite for Premake 5.x
-- Copyright (c) 2008-2013 Jason Perkins and the Premake project
--
dofile("testfx.lua")
--
-- Some helper functions
--
test.createsolution = function()
local sln = solution "MySolution"
configurations { "Debug", "Release" }
local prj = projec... | bsd-3-clause |
hooksta4/darkstar | scripts/zones/Dragons_Aery/mobs/Nidhogg.lua | 1 | 1828 | -----------------------------------
-- Area: Dragons Aery
-- HNM: Nidhogg
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/titles");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
---------------------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.