repo_name stringlengths 6 69 | path stringlengths 6 178 | copies stringclasses 278
values | size stringlengths 4 7 | content stringlengths 671 917k | license stringclasses 15
values |
|---|---|---|---|---|---|
Vadavim/test | scripts/zones/RuLude_Gardens/npcs/Tillecoe.lua | 38 | 1037 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Tillecoe
-- Type: Standard NPC
-- @zone: 243
-- @pos 38.528 -0.997 -6.363
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
------------... | gpl-3.0 |
linushsao/sky_islands_game-linus | mods/mobf_core/mobf/debug_trace.lua | 2 | 3281 | -------------------------------------------------------------------------------
-- Mob Framework Mod by Sapier
--
-- You may copy, use, modify or do nearly anything except removing this
-- copyright notice.
-- And of course you are NOT allow to pretend you have written it.
--
--! @file debug_trace.lua
--! @brief contai... | gpl-3.0 |
Vadavim/test | scripts/zones/Tavnazian_Safehold/npcs/Meret.lua | 19 | 5479 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Meret
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/globals/keyitems");
require("scripts/globals/quests");
require("scripts/zones/Tavnazian_Safeho... | gpl-3.0 |
Vadavim/test | scripts/zones/Upper_Jeuno/npcs/Koriso-Manriso.lua | 38 | 1024 | ----------------------------------
-- Area: Upper Jeuno
-- NPC: Koriso-Manriso
-- Type: Item Deliverer
-- @zone: 244
-- @pos -64.39 1 23.704
--
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
require("scripts/zones/Upper_Jeuno/TextIDs");
----------------------------... | gpl-3.0 |
CommandPost/CommandPost | src/plugins/finalcutpro/import/ignorecard.lua | 1 | 6057 | --- === plugins.finalcutpro.import.ignorecard ===
---
--- Ignore Final Cut Pro's Media Import Window.
local require = require
--local log = require "hs.logger".new "ignorecard"
local application = require "hs.application"
local fs = require "hs.fs"
local timer = require "hs.timer"
lo... | mit |
otservme/global1041 | data/spells/scripts/custom/apocalypse.lua | 14 | 1199 | local combat = createCombatObject()
arr = {
{0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0},
{0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0},
{0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{1, 1, 1, 1, 1, 3, 1, 1, 1, 1, 1},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0},
{0, 1, 1, 1, 1, 1, 1, 1, 1, 1,... | gpl-2.0 |
KragleStudios/gmFactionWars | gamemode/core/teams/teams_sv.lua | 1 | 10489 | fw.team.spawns = fw.team.spawns or {}
-- playerChangeTeam - handles player team switching
-- @param ply:player object - the player object switching teams
-- @param targ_team:int - the index of the team in the table
-- @param optional forced:bool - should we ignore canjoin conditions?
-- @ret nothing
function fw.team.d... | mit |
Elkazan/darkstar | scripts/globals/items/party_egg.lua | 35 | 1260 | -----------------------------------------
-- ID: 4595
-- Item: party_egg
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Health 25
-- Magic 25
-- Attack 5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-... | gpl-3.0 |
dany-sj/EVIL_BOT | plugins/anti_fosh.lua | 14 | 1450 | local function run(msg, matches)
if is_owner(msg) then
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)] then
if data[tostring(msg.to.id)]['settings'] then
if data[tostring(msg.to.id)]['settings']['antifosh'] then
lock_fos... | gpl-2.0 |
Vadavim/test | scripts/globals/abilities/shield_bash.lua | 10 | 2032 | -----------------------------------
-- Ability: Shield Bash
-- Delivers an attack that can stun the target. Shield required.
-- Obtained: Paladin Level 15, Valoredge automaton frame Level 1
-- Recast Time: 3:00 minutes (3:00 for Valoredge version)
-- Duration: Instant
-----------------------------------
require("scrip... | gpl-3.0 |
linushsao/sky_islands_game-linus | mods/mobf_core/mobf_settings/tab_info.lua | 1 | 5208 | --------------------------------------------------------------------------------
-- Mob Framework Settings Mod by Sapier
--
-- You may copy, use, modify or do nearly anything except removing this
-- copyright notice.
-- And of course you are NOT allowed to pretend you have written it.
--
--! @file tab_info.lua
--! @bri... | gpl-3.0 |
Vadavim/test | scripts/zones/Port_Bastok/npcs/Sugandhi.lua | 30 | 1587 | -----------------------------------
-- Area: Port Bastok
-- NPC: Sugandhi
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
require("scripts/zones/Port_Bastok/TextIDs");
require("scripts/globals/shop");
-----------------------------------
-- onTra... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Selbina/npcs/Herminia.lua | 17 | 1331 | -----------------------------------
-- Area: Selbina
-- NPC: Herminia
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/shop");
---------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/North_Gustaberg/npcs/Heavy_Fog_IM.lua | 30 | 3055 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Heavy Fog, I.M.
-- Type: Border Conquest Guards
-- @pos -520.704 38.75 560.258 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conque... | gpl-3.0 |
Vadavim/test | scripts/zones/Sacrarium/TextIDs.lua | 5 | 2147 | -- 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 = 6382; -- Obtained: <item>
GIL_OBTAINED = 6383; -- Obtained <number> gil
KEYITEM_OBTAINED = 6385; -- Obtain... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/weaponskills/gale_axe.lua | 30 | 1309 | -----------------------------------
-- Gale Axe
-- Axe weapon skill
-- Skill level: 70
-- Chokes enemy. Duration of effect varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget.
-- Aligned with the Breeze Belt.
-- Element: Wind
-- Modifiers: STR:30%
-- 100%TP 200%TP 300%TP
... | gpl-3.0 |
hoku586/darkstar | scripts/globals/mobskills/Gates_of_Hades.lua | 33 | 1414 | ---------------------------------------------
-- Gates of Hades
--
-- Description: Deals severe Fire damage to enemies within an area of effect. Additional effect: Burn
-- Type: Magical
--
--
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 20' radial
-- Notes: Only used when a cerberus's health is 25% or lower... | gpl-3.0 |
Moodstocks/fbcunn | fbcunn/AbstractParallel.lua | 8 | 7985 | -- Copyright 2004-present Facebook. All Rights Reserved.
require('cutorch')
local withDevice = cutorch.withDevice
local gpu_local_copy_buffers = {}
--[[
`nn.AbstractParallel` is the base class for modules controlling
data/model-parallel behaviour in Torch.
The key concept is that data/model-parallelism _splits_ a... | bsd-3-clause |
Vadavim/test | scripts/zones/Dynamis-Beaucedine/mobs/Serjeant_Tombstone.lua | 16 | 3392 | -----------------------------------
-- Area: Dynamis Beaucedine
-- NPC: Serjeant Tombstone
-- Map Position: http://images1.wikia.nocookie.net/__cb20090312005233/ffxi/images/thumb/b/b6/Bea.jpg/375px-Bea.jpg
-----------------------------------
package.loaded["scripts/zones/Dynamis-Beaucedine/TextIDs"] = nil;
-----... | gpl-3.0 |
colesbury/torch7 | test/timeSort.lua | 7 | 5173 | -- gnuplot.figure(2)
-- Test torch sort, show it suffers from the problems of quicksort
-- i.e. complexity O(N^2) in worst-case of sorted list
require 'gnuplot'
local ffi = require 'ffi'
local cmd = torch.CmdLine()
cmd:option('-N', 10^7, 'Maximum array size')
cmd:option('-p', 50, 'Number of points in logspace')
cmd:o... | bsd-3-clause |
Vadavim/test | scripts/zones/Port_Jeuno/npcs/_6ue.lua | 20 | 1386 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Door: Departures Exit (for Windurst)
-- @zone 246
-- @pos 3 7 -54
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("sc... | gpl-3.0 |
laym101/MTA-Tomsk | script.lua | 1 | 633153 | local ids = {}
local PData = {}
local SData = {}
local Score = {}
local Vibori = false
SData["DriverBot"] = {}
SData["DriverID"] = 0
SData["PlayerElementSync"] = {}
local TimersAgain = {}
local kandidats = {}
local disableVoice = {}
local hFile = fileOpen("serverdata/time.txt")
local timebuffer = fileRead(hFile, 500)
f... | gpl-3.0 |
mindrunner/awesome-config | themes/gentoo/theme.lua | 1 | 5354 | --{{{ Main
require("awful.util")
theme = {}
home = os.getenv("HOME")
config = awful.util.getdir("config")
shared = "/usr/share/awesome"
if not awful.util.file_readable(shared .. "/icons/awesome16.png") then
shared = "/usr/share/local/awesome"
end
sharedicons = shared .. "/icons"
shared... | gpl-2.0 |
3scale/docker-gateway | gateway/src/apicast/cli/template.lua | 1 | 4042 | local _M = {}
local setmetatable = setmetatable
local insert = table.insert
local assert = assert
local pairs = pairs
local ipairs = ipairs
local sub = string.sub
local len = string.len
local pack = table.pack
local fs = require('apicast.cli.filesystem')
local pl = { dir = require('pl.dir'), path = require('pl.path'),... | mit |
Vadavim/test | scripts/zones/Dynamis-Valkurm/mobs/Serjeant_Tombstone.lua | 17 | 2167 | -----------------------------------
-- Area: Dynamis Valkurm
-- NPC: Serjeant_Tombstone
-----------------------------------
package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Valkurm/TextIDs");... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Bibiki_Bay/npcs/Clamming_Point.lua | 16 | 6736 | -----------------------------------
-- 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 |
Elkazan/darkstar | scripts/zones/Toraimarai_Canal/npcs/Grounds_Tome.lua | 34 | 1145 | -----------------------------------
-- Area: Toraimarai Canal
-- NPC: Grounds Tome
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/groundsofvalor");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrad... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Abyssea-Altepa/npcs/qm1.lua | 14 | 1384 | -----------------------------------
-- Zone: Abyssea-Altepa
-- NPC: qm1 (???)
-- Spawns Ironclad Smiter
-- @pos ? ? ? 218
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)... | gpl-3.0 |
Moodstocks/fbcunn | fbcunn/TemporalConvolutionFB.lua | 8 | 1799 | -- Copyright 2004-present Facebook. All Rights Reserved.
require 'nn'
local TemporalConvolutionFB, parent =
torch.class('nn.TemporalConvolutionFB', 'nn.Module')
function TemporalConvolutionFB:__init(inputFrameSize, outputFrameSize, kW, dW)
parent.__init(self)
dW = dW or 1
self.inputFrameSize = inputFra... | bsd-3-clause |
Vadavim/test | scripts/zones/Outer_Horutoto_Ruins/npcs/_5ei.lua | 19 | 3305 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #5 (I out of E, F, G, H, I, J)
-- Involved In Mission: The Heart of the Matter
-----------------------------------
package.loaded["scripts/zones/Outer_Horutoto_Ruins/TextIDs"] = nil;
---------------------------------... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/weaponskills/atonement.lua | 18 | 4766 | -----------------------------------
-- Atonement
-- TODO: This needs to be reworked, as this weapon skill does damage based on current enmity, not based on stat modifiers. http://wiki.ffxiclopedia.org/wiki/Atonement http://www.bg-wiki.com/bg/Atonement
-- Sword weapon skill
-- Skill Level: N/A
-- Delivers a Twof... | gpl-3.0 |
Vadavim/test | scripts/zones/Grand_Palace_of_HuXzoi/npcs/HomePoint#1.lua | 16 | 1210 | -----------------------------------
-- Area: Grand Palace of Hu'Xzoi
-- NPC: HomePoint#3
-- @pos
-----------------------------------
package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Grand_Palace_of_HuXzoi/TextIDs");
require("scripts... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Cloister_of_Flames/bcnms/trial-size_trial_by_fire.lua | 26 | 2164 | -----------------------------------
-- Area: Cloister of Flames
-- BCNM: Trial-size Trial by Fire
-- @pos -721 0 -598 207
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/keyitems");
require("scripts/glo... | gpl-3.0 |
Vadavim/test | scripts/zones/Port_Windurst/npcs/Guruna-Maguruna.lua | 36 | 1747 | -----------------------------------
-- Area: Port Windurst
-- NPC: Guruna-Maguruna
-- Standard Merchant NPC
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurs... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Wenonah_CA.lua | 38 | 1052 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Wenonah, C.A.
-- Type: Campaign Arbiter
-- @zone: 94
-- @pos -2.175 -2 10.184
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni... | gpl-3.0 |
Vadavim/test | scripts/zones/Temenos/mobs/Temenos_Cleaner.lua | 17 | 1285 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Temenos_Cleaner
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------... | gpl-3.0 |
gOOvER/InspectEquip | Libs/AceGUI-3.0/widgets/AceGUIContainer-InlineGroup.lua | 59 | 2966 | --[[-----------------------------------------------------------------------------
InlineGroup Container
Simple container widget that creates a visible "box" with an optional title.
-------------------------------------------------------------------------------]]
local Type, Version = "InlineGroup", 21
local AceGUI = Li... | gpl-3.0 |
lidesdk/commandline | lua/linux/arm64/xml/init.lua | 5 | 7549 | --[[------------------------------------------------------
# Very fast xml parser for Lua <a href="https://travis-ci.org/lubyk/xml"><img src="https://travis-ci.org/lubyk/xml.png" alt="Build Status"></a>
This parser uses [RapidXML](http://rapidxml.sourceforge.net/) to parse XML
content.
<html><a href="https:/... | gpl-3.0 |
Vadavim/test | scripts/zones/Port_Windurst/npcs/Pyo_Nzon.lua | 36 | 2750 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pyo Nzon
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Port_W... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Selbina/npcs/Yaya.lua | 14 | 1465 | -----------------------------------
-- Area: Selbina
-- NPC: Yaya
-- Starts Quest: Under the sea
-- @pos -19 -2 -16 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
require("scripts/globals/setti... | gpl-3.0 |
likunpeng/cocos | luatest/src/cocos/cocostudio/DeprecatedCocoStudioFunc.lua | 39 | 3421 | --tip
local function deprecatedTip(old_name,new_name)
print("\n********** \n"..old_name.." was deprecated please use ".. new_name .. " instead.\n**********")
end
--functions of GUIReader will be deprecated begin
local GUIReaderDeprecated = { }
function GUIReaderDeprecated.shareReader()
deprecatedTip("GUIReader... | apache-2.0 |
Elkazan/darkstar | scripts/zones/Southern_San_dOria/npcs/Valeriano.lua | 34 | 2020 | -----------------------------------
-- Area: Southern_San_dOria
-- NPC: Valeriano
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/sho... | gpl-3.0 |
Vadavim/test | scripts/globals/items/handful_of_roasted_almonds.lua | 36 | 1079 | -----------------------------------------
-- ID: 5649
-- Item: Handful of Roasted Almonds
-- Food Effect: 5Min, All Races
-----------------------------------------
-- HP 30
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----------... | gpl-3.0 |
emadni/lordiani-bot | plugins/stats.lua | 236 | 3989 | do
-- Returns a table with `name` and `msgs`
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_prin... | gpl-2.0 |
Vadavim/test | scripts/zones/Jugner_Forest/npcs/Alexius.lua | 17 | 1614 | -----------------------------------
-- Area: Jugner Forest
-- NPC: Alexius
-- Involved in Quest: A purchase of Arms & Sin Hunting
-- @pos 105 1 382 104
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil;
-----------------------------------
require("scripts/gl... | gpl-3.0 |
likunpeng/cocos | QuickGame/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/TextureCache.lua | 10 | 3328 |
--------------------------------
-- @module TextureCache
-- @extend Ref
-- @parent_module cc
--------------------------------
-- Reload texture from the image file<br>
-- If the file image hasn't loaded before, load it.<br>
-- Otherwise the texture will be reloaded from the file image.<br>
-- The "filenName" paramet... | apache-2.0 |
hoku586/darkstar | scripts/zones/Northern_San_dOria/npcs/Abioleget.lua | 13 | 2388 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Abioleget
-- Type: Quest Giver (Her Memories: The Faux Pas and The Vicasque's Sermon) / Merchant
-- @zone 231
-- @pos 128.771 0.000 118.538
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Dynamis-San_dOria/Zone.lua | 21 | 2392 | -----------------------------------
--
-- Zone: Dynamis-San_dOria
--
-----------------------------------
package.loaded["scripts/zones/Dynamis-San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Dynamis-San_dOria/TextIDs");
-----------------------... | gpl-3.0 |
Vadavim/test | scripts/zones/Southern_San_dOria/npcs/Rouva.lua | 17 | 1709 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Rouva
-- Involved in Quest: Lure of the Wildcat (San d'Oria)
-- @pos -17 2 10 230
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scrip... | gpl-3.0 |
Vadavim/test | scripts/zones/Altar_Room/npcs/Magicite.lua | 23 | 1573 | -----------------------------------
-- Area: Altar Room
-- NPC: Magicite
-- Involved in Mission: Magicite
-- @zone 152
-- @pos -344 25 43
-----------------------------------
package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scri... | gpl-3.0 |
Vadavim/test | scripts/zones/Kazham/npcs/Mumupp.lua | 19 | 1873 | -----------------------------------
-- Area: Kazham
-- NPC: Mumupp
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
local path = {
94.732452, -15.000000, -114.034622,
94.210846, -15.000000, -114.989388,
... | gpl-3.0 |
Vadavim/test | scripts/zones/Port_Bastok/npcs/Kurando.lua | 38 | 2161 | -----------------------------------
-- Area: Port Bastok
-- NPC: Kurando
-- Type: Quest Giver
-- @zone: 236
-- @pos -23.887 3.898 0.870
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
---------------------... | gpl-3.0 |
hoku586/darkstar | scripts/zones/Nyzul_Isle/mobs/Alexander.lua | 12 | 3126 | -----------------------------------
-- Area: Nyzul Isle (Nashmeira's Plea)
-- MOB: Alexander
-----------------------------------
require("scripts/zones/Nyzul_Isle/IDs");
require("scripts/globals/status");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn... | gpl-3.0 |
hoku586/darkstar | scripts/globals/mobskills/Sand_Pit.lua | 14 | 1738 | ---------------------------------------------------
-- Sand Pit
-- Single target bind
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
---------------------------------------------------
function onMo... | gpl-3.0 |
likunpeng/cocos | QuickGame/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/UserDefault.lua | 10 | 3039 |
--------------------------------
-- @module UserDefault
-- @parent_module cc
--------------------------------
-- brief Set integer value by key.<br>
-- js NA
-- @function [parent=#UserDefault] setIntegerForKey
-- @param self
-- @param #char pKey
-- @param #int value
--------------------------------
-- @over... | apache-2.0 |
Vadavim/test | 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/Grand_Palace_of_HuXzoi/Zone.lua | 19 | 4371 | -----------------------------------
--
-- Zone: Grand_Palace_of_HuXzoi (34)
--
-----------------------------------
package.loaded["scripts/zones/Grand_Palace_of_HuXzoi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Grand_Palace_of_HuXzoi/TextID... | gpl-3.0 |
Vadavim/test | scripts/zones/The_Boyahda_Tree/mobs/Demonic_Rose.lua | 10 | 1478 | -----------------------------------
-- Area: The Boyahda Tree
-- Mob: Demonic Rose
-- Note: Placeholder V. Vivian
-----------------------------------
require("/scripts/zones/The_Boyahda_Tree/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
function onM... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/spells/luminohelix.lua | 22 | 1719 | --------------------------------------
-- Spell: Luminohelix
-- Deals light damage that gradually reduces
-- a target's HP. Damage dealt is greatly affected by the weather.
--------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/global... | gpl-3.0 |
hoku586/darkstar | scripts/globals/weaponskills/shockwave.lua | 18 | 1486 | -----------------------------------
-- Shockwave
-- Great Sword weapon skill
-- Skill level: 150
-- Delivers an area of effect attack. Sleeps enemies. Duration of effect varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget.
-- Aligned with the Aqua Belt.
-- Element: None
-- Modifiers: STR:30... | gpl-3.0 |
ff94315/luci-1 | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/wifi.lua | 4 | 35695 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Licensed to the public under the Apache License 2.0.
local wa = require "luci.tools.webadmin"
local nw = require "luci.model.network"
local ut = require "luci.util"
local nt = require "luci.sys".net
local fs = require "nixio.fs"
arg[1] = arg[1] or ""
m = Map("wi... | apache-2.0 |
hoku586/darkstar | scripts/zones/Windurst_Woods/npcs/Lih_Pituu.lua | 53 | 1893 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Lih Pituu
-- Type: Bonecraft Adv. Image Support
-- @pos -5.471 -6.25 -141.211 241
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_W... | gpl-3.0 |
Vadavim/test | scripts/zones/Port_Windurst/npcs/Kunchichi.lua | 38 | 1409 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kunchichi
-- Type: Standard NPC
-- @pos -115.933 -4.25 109.533 240
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scr... | gpl-3.0 |
jbreed/DomoticzUI | main.lua | 1 | 1196 | -----------------------------------------------------------------------------------------
--
-- main.lua
-- Developer: Justin Breed; All Rights Reserved.
--
-----------------------------------------------------------------------------------------
system.setIdleTimer( true )
display.setStatusBar( display.HiddenStatusBar... | mit |
likunpeng/cocos | QuickGame/runtime/mac/PrebuiltRuntimeLua.app/Contents/Resources/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 |
mentlerd/GM13-Ramblings | ray_tracer2.lua | 1 | 4411 |
local R = Color( 230, 30, 30 )
local G = Color( 30, 230, 30 )
local B = Color( 30, 30, 230 )
local P = Color( 230, 30, 230 )
local X = Vector( 1, 0, 0 )
local Y = Vector( 0, 1, 0 )
local Z = Vector( 0, 0, 1 )
local function drawLine( a, b, color )
render.DrawLine( a, b, color or W, false )
end
local ... | mit |
hoku586/darkstar | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Kunai.lua | 17 | 1486 | -----------------------------------
-- Area: Dynamis Xarcabard
-- MOB: Animated Kunai
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function onMobEngag... | gpl-3.0 |
suzuren/some-mmorpg | 3rd/skynet/lualib/http/internal.lua | 95 | 2613 | local table = table
local type = type
local M = {}
local LIMIT = 8192
local function chunksize(readbytes, body)
while true do
local f,e = body:find("\r\n",1,true)
if f then
return tonumber(body:sub(1,f-1),16), body:sub(e+1)
end
if #body > 128 then
-- pervent the attacker send very long stream without ... | mit |
Elkazan/darkstar | scripts/zones/Port_Bastok/npcs/Fo_Mocorho.lua | 59 | 1038 | -----------------------------------
-- Area: Port Bastok
-- NPC: Fo Mocorho
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Port_Bastok/TextIDs");
--... | gpl-3.0 |
CapacitorSet/s-uzzbot | plugins/service_entergroup.lua | 3 | 3443 | local add_user_cfg = load_from_file('data/add_user_cfg.lua')
local function template_add_user(base, to_username, from_username, chat_name, chat_id)
base = base or ''
to_username = '@' .. (to_username or '')
from_username = '@' .. (from_username or '')
chat_name = string.gsub(chat_name, '_', ' ') or ''
chat_i... | gpl-2.0 |
Vadavim/test | scripts/zones/Aht_Urhgan_Whitegate/npcs/Ratihb.lua | 17 | 3317 | -----------------------------------
-- 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"... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Dynamis-Jeuno/mobs/Goblin_Replica.lua | 12 | 3427 | -----------------------------------
-- Area: Dynamis Jeuno
-- NPC: Goblin Replica
-- Map1 Position: http://images3.wikia.nocookie.net/__cb20090312005127/ffxi/images/b/bb/Jeu1.jpg
-- Map2 Position: http://images4.wikia.nocookie.net/__cb20090312005155/ffxi/images/3/31/Jeu2.jpg
-- Vanguard Position: http://faranim.l... | gpl-3.0 |
hoku586/darkstar | scripts/globals/abilities/manifestation.lua | 27 | 1202 | -----------------------------------
-- Ability: Manifestation
-- Extends the effect of your next enfeebling1 black magic spell to targets within range. MP cost and casting time2 are doubled.
-- Obtained: Scholar Level 40
-- Recast Time: Stratagem Charge
-- Duration: 1 compatible black magic spell or 60 seconds, whichev... | gpl-3.0 |
Jazzelhawk/Starfall | lua/starfall/libraries.lua | 3 | 2646 | ---------------------------------------------------------------------
-- SF Global Library management
---------------------------------------------------------------------
SF.Libraries = {}
SF.Libraries.libraries = {}
SF.Libraries.hooks = {}
--- Place to store local libraries
-- @name SF.Libraries.Local
-- @class ta... | bsd-3-clause |
Vadavim/test | scripts/globals/items/meat_chiefkabob.lua | 35 | 1461 | -----------------------------------------
-- ID: 4574
-- Item: meat_chiefkabob
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Attack % 22
-- Attack Cap 65
-----------------------------------------
require("scripts/globals/status")... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Bhaflau_Thickets/npcs/qm1.lua | 16 | 1188 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: ??? (Spawn Lividroot Amooshah(ZNM T2))
-- @pos 334 -10 184 52
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bhaflau_Thickets/TextIDs");... | gpl-3.0 |
Azurency/CQUI_Community-Edition | Assets/UI/Popups/techciviccompletedpopup.lua | 2 | 16515 | -- ===========================================================================
-- Popups when a Tech or Civic are completed
-- ===========================================================================
include("TechAndCivicSupport"); -- (Already includes Civ6Common and InstanceManager) PopulateUnlockablesForTech, Pop... | mit |
Elkazan/darkstar | scripts/commands/cnation.lua | 26 | 1234 | ---------------------------------------------------------------------------------------------------
-- func: @cnation <target> <campaign allegiance>
-- desc: check or alter target characters campaign allegiance
---------------------------------------------------------------------------------------------------
cmd... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/slab_of_ruszor_meat.lua | 18 | 1289 | -----------------------------------------
-- ID: 5755
-- Item: Slab of Ruszor Meat
-- Food Effect: 30Min, Galka only
-----------------------------------------
-- Strength 5
-- Intelligence -7
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
Vadavim/test | scripts/zones/Metalworks/npcs/HomePoint#2.lua | 12 | 1184 | -----------------------------------
-- Area: Metalworks
-- NPC: HomePoint#2
-- @pos: -78 2 2 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Metalworks/TextIDs");
require("scripts/globals/homepoint");
----... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Somnolent_Rooster.lua | 34 | 1042 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Somnolent Rooster
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs");
... | gpl-3.0 |
Vadavim/test | scripts/zones/Temple_of_Uggalepih/npcs/Worn_Book.lua | 9 | 2429 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Worn Book
-- Getting "Old Rusty Key (keyitem)"
-- @pos 59 0 19 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyit... | gpl-3.0 |
Elkazan/darkstar | scripts/zones/Windurst_Waters/npcs/Paku-Nakku.lua | 36 | 1422 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Paku-Nakku
-- Involved in Quest: Making the Grade
-- Working 100%
-- @zone = 238
-- @pos = 127 -6 165
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
Elkazan/darkstar | scripts/globals/items/smoked_salmon.lua | 35 | 1196 | -----------------------------------------
-- ID: 4380
-- Item: smoked_salmon
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Dexterity 2
-- Mind -3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItem... | gpl-3.0 |
dios-game/dios-cocos | src/oslibs/cocos/cocos-src/cocos/scripting/lua-bindings/auto/api/ActionTimelineNode.lua | 11 | 1809 |
--------------------------------
-- @module ActionTimelineNode
-- @extend Node
-- @parent_module ccs
--------------------------------
--
-- @function [parent=#ActionTimelineNode] getRoot
-- @param self
-- @return Node#Node ret (return value: cc.Node)
--------------------------------
--
-- @function [paren... | mit |
zjutoe/lackey | mrb.lua | 2 | 9065 | #!/usr/bin/env lua
--local Prof = require "profiler"
-- TODO: different instances of the same sb shall be treated as different sb's
-- TODO: do we really support memory writing w/ renaming?
-- TODO: super block merging coelessing
-- the sb's that only depends on a single predecessor, can be merged into the pred... | gpl-2.0 |
dios-game/dios-cocos | src/apps/lua-tests/Resources/src/CocoStudioTest/CocoStudioActionTimelineTest2/CocoStudioActionTimelineTest2.lua | 5 | 22564 |
local itemTagBasic = 1000
local timelineSceneIdx = 1
local winSize = cc.Director:getInstance():getWinSize()
local scheduler = cc.Director:getInstance():getScheduler()
local TimelineTest2Scene = class("TimelineTest2Scene")
TimelineTest2Scene.__index = TimelineTest2Scene
function TimelineTest2Scene.extend(target)
... | mit |
abriasffxi/darkstar | scripts/zones/The_Sanctuary_of_ZiTah/npcs/Calliope_IM.lua | 14 | 3350 | -----------------------------------
-- Area: The Sanctuary of Zi'Tah
-- NPC: Calliope, I.M.
-- Outpost Conquest Guards
-- @pos -40.079 -0.642 -148.785 121
-----------------------------------
package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Selbina/npcs/Melyon.lua | 25 | 3674 | -----------------------------------
-- Area: Selbina
-- NPC: Melyon
-- Starts and Finishes Quest: Only the Best (R)
-- Involved in Quest: Riding on the Clouds
-- @pos 25 -6 6 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
Armyluix/darkstar | scripts/globals/spells/bluemagic/power_attack.lua | 28 | 1761 | -----------------------------------------
-- Spell: Power Attack
-- Deals critical damage. Chance of critical hit varies with TP
-- Spell cost: 5 MP
-- Monster Type: Vermin
-- Spell Type: Physical (Blunt)
-- Blue Magic Points: 1
-- Stat Bonus: MND+1
-- Level: 4
-- Casting Time: 0.5 seconds
-- Recast Time: 7.2... | gpl-3.0 |
mir3x/freeciv_cmake | dependencies/tolua-5.2/src/bin/lua/define.lua | 14 | 1243 | -- tolua: define class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: define.lua,v 1.3 2009/11/24 16:45:13 fabraham Exp $
-- 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 provi... | gpl-2.0 |
ennorehling/tolua | src/bin/lua/define.lua | 14 | 1243 | -- tolua: define class
-- Written by Waldemar Celes
-- TeCGraf/PUC-Rio
-- Jul 1998
-- $Id: define.lua,v 1.3 2009/11/24 16:45:13 fabraham Exp $
-- 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 provi... | mit |
uspgamedev/backdoor | game/domain/card.lua | 1 | 7741 |
local ABILITY = require 'domain.ability'
local TRIGGERS = require 'domain.definitions.triggers'
local ACTIONSDEFS = require 'domain.definitions.action'
local ATTR = require 'domain.definitions.attribute'
local DB = require 'database'
local GameElement = require 'domain.gameelement'
local Util ... | gpl-3.0 |
Armyluix/darkstar | scripts/zones/Southern_San_dOria/npcs/Alivatand.lua | 17 | 3092 | -----------------------------------
-- Area: South San d'Oria
-- NPC: Alivatand
-- Type: Guildworker's Union Representative
-- @zone: 230
-- @pos -179.458 -1 15.857
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
require("scripts/globals/keyitems");
... | gpl-3.0 |
imrandomizer/Algorithm-Implementations | Breadth_First_Search/Lua/Yonaba/bfs.lua | 26 | 3153 | -- Generic Breadth-First search algorithm implementation
-- See : http://en.wikipedia.org/wiki/Breadth-first_search
-- Notes : this is a generic implementation of Breadth-First search algorithm.
-- It is devised to be used on any type of graph (point-graph, tile-graph,
-- or whatever. It expects to be initialized with... | mit |
abriasffxi/darkstar | scripts/zones/Western_Adoulin/npcs/Ishvad.lua | 14 | 1796 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Ishvad
-- Type: Shop NPC
-- @zone 256
-- @pos 44 32 125 256
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/z... | gpl-3.0 |
abriasffxi/darkstar | scripts/zones/Leujaoam_Sanctum/instances/leujaoam_cleansing.lua | 28 | 2422 | -----------------------------------
--
-- Assault: Leujaoam Cleansing
--
-----------------------------------
require("scripts/globals/instance")
local Leujaoam = require("scripts/zones/Leujaoam_Sanctum/IDs");
-----------------------------------
-- afterInstanceRegister
-----------------------------------
function ... | gpl-3.0 |
abriasffxi/darkstar | scripts/globals/weaponskills/blade_yu.lua | 19 | 1588 | -----------------------------------
-- Blade Yu
-- Katana weapon skill
-- Skill Level: 290
-- Delivers a water elemental attack. Additional effect Poison. Durration varies with TP.
-- Aligned with the Aqua Gorget & Soil Gorget.
-- Aligned with the Aqua Belt & Soil Belt.
-- Element: Water
-- Modifiers: DEX:50% ; INT:50%... | gpl-3.0 |
zjutoe/lackey | cache/config/b64n64a4_b64n1024a4.lua | 1 | 2276 | local cache = require "cache"
local L2 = cache:new{
name = "L2", -- L2 of 512KB
-- word_size = 4, -- word size in bytes
-- blk_size = 64, -- block size in bytes, 2^6
n_blks = 4096, -- n_blks, 2^10
-- assoc = 8, -- assoc
read_hit_delay = 10, -- read delay
write_hit_delay = 10, -- write dela... | gpl-2.0 |
Armyluix/darkstar | scripts/zones/Spire_of_Dem/bcnms/ancient_flames_beckon.lua | 17 | 3853 | -----------------------------------
-- Area: Spire_of_Dem
-- Name: ancient_flames_backon
-- KSNM30
-----------------------------------
package.loaded["scripts/zones/Spire_of_Dem/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.