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/items/serving_of_beaugreen_sautee.lua | 35 | 1419 | -----------------------------------------
-- ID: 4572
-- Item: serving_of_beaugreen_sautee
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -1
-- Ranged ATT % 7
-- Ranged ATT Cap 15
-----------------------------------------
require("scripts/globals/status"... | gpl-3.0 |
szagoruyko/torch7 | test/test_writeObject.lua | 6 | 6451 | require 'torch'
local myTester = torch.Tester()
local tests = torch.TestSuite()
-- checks that an object can be written and unwritten
-- returns false if an error occurs
local function serializeAndDeserialize(obj)
local file = torch.MemoryFile()
file:binary()
local ok, msg = pcall (file.writeObject, file, ... | bsd-3-clause |
Elkazan/darkstar | scripts/globals/items/serving_of_squirrels_delight.lua | 35 | 1341 | -----------------------------------------
-- ID: 5554
-- Item: serving_of_squirrels_delight
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- MP % 13 (cap 95)
-- MP Recovered While Healing 2
-----------------------------------------
require("scripts/globals/status");
------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Port_Windurst/npcs/Taniko-Maniko.lua | 17 | 1797 | -----------------------------------
-- Area: Port Windurst
-- NPC: Taniko-Maniko
-- 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 |
Vadavim/test | 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 |
likunpeng/cocos | QuickGame/runtime/ios/PrebuiltRuntimeLua.app/src/framework/crypto.lua | 20 | 4963 | --[[
Copyright (c) 2011-2014 chukong-inc.com
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, dis... | apache-2.0 |
hoku586/darkstar | scripts/globals/items/garlic_cracker.lua | 12 | 1335 | -----------------------------------------
-- ID: 4467
-- Item: garlic_cracker
-- Food Effect: 3Min, All Races
-----------------------------------------
-- HP Regen While Healing 6
-- Undead Killer 10
-- Blind Resist 10
-----------------------------------------
require("scripts/globals/status");
----------------------... | gpl-3.0 |
Vadavim/test | scripts/globals/effects/teleport.lua | 23 | 2889 | -----------------------------------
--
-- EFFECT_TELEPORT
--
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/teleports");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
e... | gpl-3.0 |
hoku586/darkstar | scripts/globals/effects/magic_shield.lua | 33 | 1698 | -----------------------------------
--
-- Magic Shield BLOCKS all magic attacks
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if (effect:getPower() == 3)... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Bastok_Markets/npcs/Michea.lua | 29 | 4408 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Michea
-- Quest NPC
-- Starts: Father Figure (100%) | The Elvaan Goldsmith (100%)
-- Involed in: Fetichism | Where Two Paths Converge
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
--------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Sauromugue_Champaign_[S]/npcs/Cavernous_Maw.lua | 16 | 2224 | -----------------------------------
-- Area: Sauromugue Champaign [S]
-- NPC: Cavernous Maw
-- @pos 369 8 -227 98
-- Teleports Players to Sauromugue_Champaign
-----------------------------------
package.loaded["scripts/zones/Sauromugue_Champaign_[S]/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
Vadavim/test | scripts/zones/Castle_Oztroja/npcs/_47b.lua | 17 | 1929 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47b (Handle)
-- Notes: Opens Trap Door (_47a) or Brass Door (_470)
-- @pos 22.310 -1.087 -14.320 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
hoku586/darkstar | scripts/globals/mobskills/Pyric_Blast.lua | 33 | 1323 | ---------------------------------------------
-- Pyric Blast
--
-- Description: Deals Fire damage to enemies within a fan-shaped area. Additional effect: Plague
-- Type: Breath
-- Ignores Shadows
-- Range: Unknown Cone
---------------------------------------------
require("scripts/globals/settings");
require("scr... | gpl-3.0 |
3scale/docker-gateway | gateway/src/apicast/mapping_rule.lua | 1 | 5066 | --- Mapping rule
-- @module mapping_rule
-- A mapping rule consists of a pattern used to match requests. It also defines
-- a metric and a value that indicates how to increase the usage of a metric
-- when there is a match.
local setmetatable = setmetatable
local pairs = pairs
local error = error
local type = type
loc... | mit |
yosefvj/vj2 | bot/bot.lua | 1 | 6659 | 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 |
LuaExtend/LuaExtend | tools/ZeroBraneStudio/api/lua/luajit2.lua | 3 | 3378 | -- authors: Luxinia Dev (Eike Decker & Christoph Kubisch)
---------------------------------------------------------
-- function helpers
local function fn (description)
local description2,returns,args = description:match("(.+)%-%s*(%b())%s*(%b())")
if not description2 then
return {type="function",description=desc... | apache-2.0 |
Elkazan/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Nijaom.lua | 33 | 1031 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Nijaom
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
-----------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Pashhow_Marshlands_[S]/Zone.lua | 28 | 1346 | -----------------------------------
--
-- Zone: Pashhow_Marshlands_[S] (90)
--
-----------------------------------
package.loaded["scripts/zones/Pashhow_Marshlands_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Pashhow_Marshlands_[S]/TextID... | gpl-3.0 |
Elkazan/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 |
Vadavim/test | scripts/zones/Windurst_Waters/npcs/Jourille.lua | 36 | 1569 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Jourille
-- Only sells when Windurst controlls Ronfaure Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Wind... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/spells/bluemagic/enervation.lua | 18 | 2037 | -----------------------------------------
-- Spell: Enervation
-- Lowers the defense and magical defense of enemies within range
-- Spell cost: 48 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 5
-- Stat Bonus: HP-5, MP+5
-- Level: 67
-- Casting Time: 6 seconds
-- Recast Time... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/abilities/wind_shot.lua | 22 | 2984 | -----------------------------------
-- Ability: Wind Shot
-- Consumes a Wind Card to enhance wind-based debuffs. Deals wind-based magic damage
-- Choke Effect: Enhanced DoT and VIT-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/glob... | gpl-3.0 |
Elkazan/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 |
Vadavim/test | scripts/zones/Northern_San_dOria/npcs/Phairupegiont.lua | 17 | 1709 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Phairupegiont
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -46 0.1 76 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Lower_Jeuno/npcs/Rhimonne.lua | 17 | 1137 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Rhimonne
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
require("scripts/zones/Lower_Jeuno/TextIDs");
-----------------------------------
-- onTrad... | gpl-3.0 |
Vadavim/test | scripts/globals/mobskills/Sledgehammer.lua | 6 | 1069 | ---------------------------------------------
-- Sledgehammer
--
-- Description: Delivers a sledgehammer blow to all targets in front. Additional effect: Petrification
-- Type: Physical
-- Utsusemi/Blink absorb: 3 shadows
-- Range: Front cone
-- Notes: Only used by Gurfurlur the Menacing.
----------------... | gpl-3.0 |
likunpeng/cocos | QuickGame/runtime/ios/PrebuiltRuntimeLua.app/src/cocos/cocostudio/CocoStudio.lua | 39 | 9065 |
if not json then
require "cocos.cocos2d.json"
end
ccs = ccs or {}
require "cocos.cocostudio.StudioConstants"
function ccs.sendTriggerEvent(event)
local triggerObjArr = ccs.TriggerMng.getInstance():get(event)
if nil == triggerObjArr then
return
end
for i = 1, table.getn(triggerObjArr) d... | apache-2.0 |
hoku586/darkstar | scripts/globals/spells/blade_madrigal.lua | 27 | 1568 | -----------------------------------------
-- Spell: Blade Madrigal
-- Gives party members accuracy
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target... | gpl-3.0 |
MBTTEAM/tabchi000 | serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-3.0 |
hbashton/BruhhBot | libs/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-2.0 |
MrKiaN/MineBot | libs/serpent.lua | 656 | 7877 | local n, v = "serpent", 0.28 -- (C) 2012-15 Paul Kulchenko; MIT License
local c, d = "Paul Kulchenko", "Lua serializer and pretty printer"
local snum = {[tostring(1/0)]='1/0 --[[math.huge]]',[tostring(-1/0)]='-1/0 --[[-math.huge]]',[tostring(0/0)]='0/0'}
local badtype = {thread = true, userdata = true, cdata = true}
lo... | gpl-2.0 |
Elkazan/darkstar | scripts/commands/addcurrency.lua | 26 | 1362 | ---------------------------------------------------------------------------------------------------
-- func: @addcurrency <currency type> <amount> <target player>
-- desc: Adds the specified currency to the player
---------------------------------------------------------------------------------------------------
... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Konschtat_Highlands/npcs/Signpost3.lua | 34 | 1034 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: Signpost
-- @pos -221 17 139 108
-----------------------------------
package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Konschtat_Highlands/TextIDs");
--------... | gpl-3.0 |
Vadavim/test | scripts/zones/Windurst_Woods/npcs/Bin_Stejihna.lua | 36 | 1886 | -----------------------------------
-- Area: Windurst_Woods
-- NPC: Bin Stejihna
-- Only sells when Windurst controlls Zulkheim Region
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Wi... | gpl-3.0 |
Vadavim/test | scripts/globals/mobskills/Pile_Pitch.lua | 6 | 1246 | ---------------------------------------------------
-- Guided_Missile
--
-- Description: Reduces target's HP to 5% of its maximum value, ignores Utsusemi ,Bind (30 sec)
-- Type: Magical
--
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Palborough_Mines/npcs/_3z7.lua | 58 | 1142 | -----------------------------------
-- Elevator in Palborough
-- Notes: Used to operate Elevator @3z0
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/settings");
re... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Windurst_Woods/npcs/Tesch_Garanjy.lua | 16 | 4318 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Tesch_Garanjy
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/armorstorage");
requir... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/spells/bluemagic/sound_blast.lua | 18 | 1409 | -----------------------------------------
-- Spell: Sound Blast
-- Lowers Intelligence of enemies within range.
-- Spell cost: 25 MP
-- Monster Type: Birds
-- Spell Type: Magical (Fire)
-- Blue Magic Points: 1
-- Stat Bonus: None
-- Level: 32
-- Casting Time: 4 seconds
-- Recast Time: 30 seconds
-- Magic Bur... | gpl-3.0 |
hoku586/darkstar | scripts/globals/spells/bluemagic/maelstrom.lua | 25 | 1815 | -----------------------------------------
-- Spell: Maelstrom
-- Deals water damage to enemies within range. Additional effect: STR Down
-- Spell cost: 162 MP
-- Monster Type: Aquans
-- Spell Type: Magical (Water)
-- Blue Magic Points: 5
-- Stat Bonus: Mind +2
-- Level: 61
-- Casting Time: 6 seconds
-- Recast Time: 39 ... | gpl-3.0 |
Vadavim/test | scripts/globals/abilities/light_shot.lua | 10 | 2773 | -----------------------------------
-- Ability: Light Shot
-- Consumes a Light Card to enhance light-based debuffs. Additional effect: Light-based Sleep
-- Dia Effect: Defense Down Effect +5% and DoT + 1
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
... | gpl-3.0 |
likunpeng/cocos | QuickGame/runtime/ios/PrebuiltRuntimeLua.app/src/framework/cc/ui/UICheckBoxButton.lua | 9 | 7255 |
--[[
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... | apache-2.0 |
hoku586/darkstar | scripts/zones/Northern_San_dOria/TextIDs.lua | 7 | 8664 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6587; -- Come back after sorting your inventory.
ITEM_OBTAINED = 6592; -- Obtained: <<<Unknown Parameter (Type: 80) 1>>><<<Possible Special Code: 01>>><<<Possible Special Code: 05>>>
GIL_OBTAINED = 65... | gpl-3.0 |
Wiladams/ljgraph2d | testy/SimpleTriangle.lua | 1 | 3318 | --[[
Some useful utility routines
--]]
-- given two points, return them in order
-- where the 'y' value is the lowest first
local function order2(pt1, pt2)
if pt1.y < pt2.y then
return pt1, pt2;
end
return pt2, pt1;
end
-- given three points, reorder them from lowest
-- y value to highest. Good for drawing tri... | mit |
Elkazan/darkstar | scripts/zones/Metalworks/npcs/Savae_E_Paleade.lua | 19 | 2607 | -----------------------------------
-- Area: Metalworks
-- NPC: Savae E Paleade
-- Involved In Mission: Journey Abroad
-- @pos 23.724 -17.39 -43.360 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems")... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/loaf_of_homemade_bread.lua | 35 | 1131 | -----------------------------------------
-- ID: 5228
-- Item: loaf_of_homemade_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Agility 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
otservme/global1041 | data/npc/scripts/Caramellia.lua | 2 | 4356 | 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)... | gpl-2.0 |
mramir8274/botman | plugins/Feedback.lua | 49 | 1048 | do
function run(msg, matches)
local fuse = '#DearAdmin😜 we have recived a new feedback just now : #newfeedback \n\nID▶️ : ' .. msg.from.id .. '\n\nName▶ : ' .. msg.from.print_name ..'\n\nusername▶️ :@ ' .. msg.from.username ..'\n\n🅿️♏️ :\n\n\n' .. matches[1]
local fuses = '!printf user#id' .. msg.from.id
lo... | gpl-2.0 |
hoku586/darkstar | scripts/globals/abilities/scholars_roll.lua | 19 | 2280 | -----------------------------------
-- Ability: Scholar's Roll
-- Enhances Conserve MP effect for party members within area of effect
-- Optimal Job: Scholar
-- Lucky Number: 2
-- Unlucky Number: 6
-- Level: 64
--
-- Data unknown
-----------------------------------
require("scripts/globals/settings");
require("scripts... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/flame_claymore.lua | 16 | 1031 | -----------------------------------------
-- ID: 16588
-- Item: Flame Claymore
-- Additional Effect: Fire Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------... | gpl-3.0 |
CommandPost/CommandPost | src/plugins/finalcutpro/timeline/videoeffects.lua | 2 | 5765 | --- === plugins.finalcutpro.timeline.videoeffects ===
---
--- Controls Final Cut Pro's Video Effects.
local require = require
local timer = require("hs.timer")
local dialog = require("cp.dialog")
local fcp = require("cp.apple.finalcutpro")
local i18n = require("cp.i1... | mit |
otservme/global1041 | data/creaturescripts/scripts/bigfoot burden quest/bigfootBurdenQuestWeeper.lua | 3 | 1850 | function onKill(cid, target)
if(string.lower(getCreatureName(target)) == "parasite" and getGlobalStorageValue(3144) < 1) then
pos = {
{x = 33097, y = 31976, z = 11},
{x = 33097, y = 31977, z = 11},
{x = 33097, y = 31978, z = 11},
{x = 33097, y = 31979, z = 11}
}
barrier = false
for i = 1, 4 do
i... | gpl-2.0 |
hoku586/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm0_4.lua | 17 | 1168 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: qm0 (warp player outside after they win fight)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/LaLoff_Amphitheater/TextIDs");
-... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Port_Windurst/npcs/Gold_Skull.lua | 17 | 2228 | -----------------------------------
-- Area: Port Windurst
-- NPC: Gold Skull
-- Mission NPC
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
hoku586/darkstar | scripts/globals/weaponskills/vorpal_blade.lua | 25 | 1470 | -----------------------------------
-- 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
-- Modifier... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Bastok_Markets/npcs/Brunhilde.lua | 36 | 1636 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Brunhilde
-- 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;
requir... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Arrapago_Reef/npcs/qm3.lua | 30 | 1351 | -----------------------------------
-- Area: Arrapago Reef
-- NPC: ??? (Spawn Zareehkl the Jubilant(ZNM T2))
-- @pos 176 -4 182 54
-----------------------------------
package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Arrapago_Reef/TextIDs");
require... | gpl-3.0 |
likunpeng/cocos | luatest/src/cocos/ui/GuiConstants.lua | 38 | 2802 |
ccui = ccui or {}
ccui.BrightStyle =
{
none = -1,
normal = 0,
highlight = 1,
}
ccui.TextureResType =
{
localType = 0,
plistType = 1,
}
ccui.TouchEventType =
{
began = 0,
moved = 1,
ended = 2,
canceled = 3,
}
ccui.SizeType =
{
absolute = 0,
percent = 1,
}
ccui.PositionTy... | apache-2.0 |
Vadavim/test | scripts/zones/Al_Zahbi/npcs/Yudi_Yolhbi.lua | 12 | 2278 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Yudi Yolhbi
-- Type: Woodworking Normal/Adv. Image Support
-- @pos -71.584 -7 -56.018 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Al_Zahbi/Tex... | gpl-3.0 |
hoku586/darkstar | scripts/zones/West_Ronfaure/npcs/Doladepaiton_RK.lua | 14 | 3332 | -----------------------------------
-- Area: West Ronfaure
-- NPC: Doladepaiton, R.K.
-- Type: Outpost Conquest Guards
-- @pos -448 -19 -214 100
-------------------------------------
package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil;
--------------------------------------
require("scripts/globals/conquest")... | gpl-3.0 |
hoku586/darkstar | scripts/globals/items/four-leaf_mandragora_bud.lua | 12 | 1208 | -----------------------------------------
-- ID: 4369
-- Item: four-leaf_mandragora_bud
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Agility 3
-- Vitality -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIte... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Castle_Oztroja/npcs/_47y.lua | 17 | 1385 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47y (Torch Stand)
-- Notes: Opens door _474
-- @pos -57.575 24.218 -67.651 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Ca... | gpl-3.0 |
Vadavim/test | scripts/zones/North_Gustaberg/npcs/Monument.lua | 34 | 1448 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Monument
-- Involved in Quest "Hearts of Mythril"
-- @pos 300.000 -62.803 498.200 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
gOOvER/InspectEquip | Libs/LibBabble-SubZone-3.0/LibBabble-SubZone-3.0_ruRU.lua | 1 | 364915 | --[[
$Id: LibBabble-SubZone-3.0_ruRU.lua 207 2017-03-16 09:01:30Z arith $
Name: LibBabble-SubZone-3.0
Revision: $Rev: 207 $
Maintainers: arith, dynaletik
Last updated by: $Author: arith $
Website: http://www.wowace.com/addons/libbabble-subzone-3-0/
Dependencies: None
License: MIT
]]
local _, private = ...
local lib =... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Northern_San_dOria/npcs/Grilau.lua | 14 | 6142 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Grilau
-- @pos -241.987 6.999 57.887 231
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyi... | gpl-3.0 |
Vadavim/test | scripts/zones/Horlais_Peak/bcnms/the_secret_weapon.lua | 13 | 2277 | -----------------------------------
-- Area: Horlais Peak
-- Name: Mission Rank 7
-- @pos -509 158 -211 139
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions... | gpl-3.0 |
CommandPost/CommandPost | src/plugins/core/preferences/panels/notifications.lua | 2 | 1572 | --- === plugins.core.preferences.panels.notifications ===
---
--- Notifications Preferences Panel
local require = require
local image = require "hs.image"
local config = require "cp.config"
local fcp = require "cp.apple.finalcutpro"
local i18n = require "cp... | mit |
Vadavim/test | scripts/globals/spells/absorb-int.lua | 11 | 1199 | --------------------------------------
-- Spell: Absorb-INT
-- Steals an enemy's intelligence.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
--------... | gpl-3.0 |
otservme/global1041 | data/npc/scripts/Captain Seagull.lua | 2 | 8152 | local keywordHandler = KeywordHandler:new()
local npcHandler = NpcHandler:new(keywordHandler)
NpcSystem.parseParameters(npcHandler)
-- OTServ event handling functions start
function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end
function ... | gpl-2.0 |
hoku586/darkstar | scripts/zones/Castle_Oztroja/npcs/Kaa_Toru_the_Just.lua | 14 | 1655 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Kaa Toru the Just
-- Type: Mission NPC [ Windurst Mission 6-2 NPC ]~
-- @pos -100.188 -62.125 145.422 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
lidesdk/commandline | lua/http/init.lua | 1 | 3321 | -- ///////////////////////////////////////////////////////////////////
-- // Name: lide/http/init.lua
-- // Purpose: lide.http 0.2 / HTTP facilities for Lua / Lide SDK
-- // Author: Hernan Dario Cano [dcanohdev@gmail.com]
-- // Created: 2018/10/14
-- // Copyright: (c) 2018 Hernan Dario Cano
... | gpl-3.0 |
otservme/global1041 | data/spells/scripts/support/sharpshooter.lua | 7 | 1137 | local combat = Combat()
combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_GREEN)
combat:setParameter(COMBAT_PARAM_AGGRESSIVE, 0)
local condition = Condition(CONDITION_ATTRIBUTES)
condition:setParameter(CONDITION_PARAM_TICKS, 10000)
condition:setParameter(CONDITION_PARAM_SKILL_DISTANCEPERCENT, 150)
condition:setP... | gpl-2.0 |
Vadavim/test | scripts/zones/Port_San_dOria/npcs/Thierride.lua | 10 | 2572 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Thierride
-- Type: Quest Giver
-- @zone: 232
-- @pos -67 -5 -28
--
-- Starts and Finishes Quest: A Taste For Meat
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
------------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Lower_Jeuno/npcs/Miladi-Nildi.lua | 38 | 1034 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Miladi-Nildi
-- Type: Standard NPC
-- @zone: 245
-- @pos 39.898 -5.999 77.190
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
---------------... | gpl-3.0 |
SwiftsNamesake/NewtonianConundrums | main.lua | 1 | 10719 | -- main.lua
-- Jonatan H Sundqvist
-- June 25 2016
require 'src.love_utils'
require 'src.utils'
require 'src.utils.collections'
moses = require 'src.lib.moses.moses'
json = require 'src.lib.dkjson'
class = require 'src.lib.30log-llama'
Camera = require 'src.Camera'
vec = require 'src.vec'
shapes = require 's... | mit |
Vadavim/test | scripts/zones/Mount_Zhayolm/npcs/qm3.lua | 8 | 1172 | -----------------------------------
-- 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 |
Elkazan/darkstar | scripts/zones/South_Gustaberg/Zone.lua | 16 | 4518 | -----------------------------------
--
-- Zone: South_Gustaberg (107)
--
-----------------------------------
package.loaded["scripts/zones/South_Gustaberg/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/zone");
require("sc... | gpl-3.0 |
tcdog001/ap_project | feeds/routing/luci-app-bmx6/files/usr/lib/lua/luci/model/cbi/bmx6/interfaces.lua | 20 | 2085 | --[[
Copyright (C) 2011 Pau Escrich <pau@dabax.net>
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
Th... | gpl-2.0 |
hoku586/darkstar | scripts/zones/Chamber_of_Oracles/mobs/Maat.lua | 14 | 1396 | -----------------------------------
-- Area: Chamber of Oracles
-- MOB: Maat
-- Genkai 5 Fight
-----------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Chamber_of_Oracles/TextIDs");
-------------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/plate_of_patlican_salata_+1.lua | 35 | 1224 | -----------------------------------------
-- ID: 5583
-- Item: plate_of_patlican_salata_+1
-- Food Effect: 4Hrs, All Races
-----------------------------------------
-- Agility 4
-- Vitality -1
-----------------------------------------
require("scripts/globals/status");
-------------------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Jugner_Forest/npcs/qm2.lua | 4 | 1345 | -----------------------------------
-- Area: Jugner Forest
-- NPC: qm2 (???)
-- Involved in Quest: Sin Hunting - RNG AF1
-- @pos -10.946,-1.000,313.810 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts... | gpl-3.0 |
yaolubrain/torch7 | init.lua | 24 | 3702 |
-- We are using paths.require to appease mkl
-- Make this work with LuaJIT in Lua 5.2 compatibility mode, which
-- renames string.gfind (already deprecated in 5.1)
if not string.gfind then
string.gfind = string.gmatch
end
if not table.unpack then
table.unpack = unpack
end
require "paths"
paths.require "libto... | bsd-3-clause |
Elkazan/darkstar | scripts/zones/AlTaieu/npcs/_0x0.lua | 17 | 2261 | -----------------------------------
-- Area: Al'Taieu
-- NPC: Crystalline Field
-- @pos .1 -10 -464 33
-----------------------------------
package.loaded["scripts/zones/AlTaieu/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/AlTaieu/TextIDs");
require("scripts/globals/missions"... | gpl-3.0 |
hoku586/darkstar | scripts/globals/abilities/pets/attachments/drum_magazine.lua | 28 | 1126 | -----------------------------------
-- Attachment: Drum Magazine
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onUseAbility
-----------------------------------
function onEquip(pet)
pet:addMod(MOD_SNAP_SHOT, 2)
pet:addMod(MOD_ACC, -2)
end
funct... | gpl-3.0 |
Vadavim/test | 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 |
hoku586/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Uricca-Koricca.lua | 14 | 1064 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Uricca-Koricca
-- Type: Standard NPC
-- @zone 94
-- @pos -102.221 -3 48.791
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
... | gpl-3.0 |
Vadavim/test | scripts/globals/mobskills/Voiceless_Storm.lua | 5 | 1178 | ---------------------------------------------
-- Voiceless Storm
-- Description: AOE Damage, Silence, strips Utsusemi (MOBPARAM_WIPE_SHADOWS)
---------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
---... | gpl-3.0 |
LuaExtend/LuaExtend | tools/ZeroBraneStudio/lualibs/lexers/groovy.lua | 5 | 3177 | -- Copyright 2006-2016 Mitchell mitchell.att.foicica.com. See LICENSE.
-- Groovy LPeg lexer.
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 = 'groovy'}
-- Whitespace.
local ws = token(l.WHITESPACE, l.space^1)
-- Comments.
local line... | apache-2.0 |
hoku586/darkstar | scripts/zones/Castle_Oztroja/npcs/_47u.lua | 14 | 1292 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _47u (Handle)
-- Notes: Opens door _474 from behind
-- @pos -60 24 -77 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/T... | gpl-3.0 |
Vadavim/test | scripts/zones/Bastok_Mines/npcs/Azima.lua | 3 | 1875 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Azima
-- Alchemy Adv. Synthesis Image Support
-- @pos 123.5 2 1 234
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Mines/TextIDs... | gpl-3.0 |
LuaExtend/LuaExtend | tools/ZeroBraneStudio/lualibs/metalua/compiler.lua | 5 | 5423 | ---------------------------------------------------------------------------
-- Copyright (c) 2006-2013 Fabien Fleutot and others.
--
-- All rights reserved.
--
-- This program and the accompanying materials are made available
-- under the terms of the Eclipse Public License v1.0 which
-- accompanies this distribution, ... | apache-2.0 |
linushsao/sky_islands_game-linus | mods/areas/hud.lua | 3 | 1207 | -- This is inspired by the landrush mod by Bremaweb
areas.hud = {}
minetest.register_globalstep(function(dtime)
for _, player in pairs(minetest.get_connected_players()) do
local name = player:get_player_name()
local pos = vector.round(player:getpos())
local areaStrings = {}
for id, area in pairs(areas:getAre... | gpl-3.0 |
Vadavim/test | scripts/globals/items/m&p_doner_kabob.lua | 36 | 1132 | -----------------------------------------
-- ID: 5717
-- Item: M&P Doner Kabob
-- Food Effect: 5Min, All Races
-----------------------------------------
-- HP 5%
-- MP 5%
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------------... | gpl-3.0 |
otservme/global1041 | data/npc/lib/npcsystem/modules.lua | 8 | 39145 | -- Advanced NPC System by Jiddo
if Modules == nil then
-- default words for greeting and ungreeting the npc. Should be a table containing all such words.
FOCUS_GREETWORDS = {"hi", "hello"}
FOCUS_FAREWELLWORDS = {"bye", "farewell"}
-- The words for requesting trade window.
SHOP_TRADEREQUEST = {"trade"}
-- The w... | gpl-2.0 |
Elkazan/darkstar | scripts/zones/Upper_Jeuno/npcs/Hinda.lua | 34 | 1370 | -----------------------------------
-- 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 |
Vadavim/test | scripts/zones/Windurst_Woods/npcs/HomePoint#1.lua | 12 | 1262 | -----------------------------------
-- Area: Windurst Woods
-- NPC: HomePoint#1
-- @pos -98.588 0.001 -183.416 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Windurst_Woods/TextIDs");
require(... | gpl-3.0 |
aqasaeed/spartanew | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
hoku586/darkstar | scripts/globals/spells/deodorize.lua | 27 | 1133 | -----------------------------------------
-- Spell: Deodorize
-- Lessens chance of being detected by smell.
-- Duration is random number between 30 seconds and 5 minutes
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
----------------------------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Windurst_Waters/npcs/Tonana.lua | 17 | 1124 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Tonana
-- Warps players to Windurst Woods
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Waters/TextIDs");
----------------------... | gpl-3.0 |
Vadavim/test | scripts/globals/items/divine_sword_+1.lua | 16 | 1039 | -----------------------------------------
-- ID: 16826
-- Item: Divine Sword +1
-- Additional Effect: Light Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
---------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Behemoths_Dominion/npcs/Cermet_Headstone.lua | 17 | 2940 | -----------------------------------
-- Area: Behemoth's Dominion
-- NPC: Cermet Headstone
-- Involved in Mission: ZM5 Headstone Pilgrimage (Lightning Headstone)
-- @pos -74 -4 -87 127
-----------------------------------
package.loaded["scripts/zones/Behemoths_Dominion/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.