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 |
|---|---|---|---|---|---|
kidaa/FFXIOrgins | scripts/zones/Upper_Jeuno/npcs/Chocobo.lua | 2 | 5424 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Chocobo
-- Finishes Quest: Chocobo's Wounds
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
package.loaded["scripts/globals/settings"] = nil;
-----------------------------------
require("scripts/globals/sett... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Horlais_Peak/Zone.lua | 2 | 1282 | -----------------------------------
--
-- Zone: Horlais_Peak (139)
--
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Horlais_Peak/TextIDs");
-----------------------------------
-- onInitialize
----... | gpl-3.0 |
aurelien-defossez/ecusson | game/runtimedata/sprites/mainSheet@4x.lua | 1 | 2213 | --
-- created with TexturePacker (http://www.codeandweb.com/texturepacker)
--
-- $TexturePacker:SmartUpdate:30f00e25fc5eeba089ce67623db20b9d:d8b5538e419b87797318bc45dcf29b3a:16905a3207bcd6e6261566d9ecdaf4c0$
--
-- local sheetInfo = require("mysheet")
-- local myImageSheet = graphics.newImageSheet( "mysheet.png", sheetI... | lgpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/weaponskills/savage_blade.lua | 4 | 1331 | -----------------------------------
-- Savage Blade
-- Sword weapon skill
-- Skill Level: 240
-- Delivers a twofold attack. Damage varies with TP.
-- In order to obtain Savage Blade, the quest Old Wounds must be completed.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget, Thunder Gorget & Soil ... | gpl-3.0 |
ionic-os/ionic-packages | utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/wifi.lua | 25 | 1527 | local ubus = require "ubus"
local iwinfo = require "iwinfo"
local function scrape()
local metric_wifi_network_quality = metric("wifi_network_quality","gauge")
local metric_wifi_network_bitrate = metric("wifi_network_bitrate","gauge")
local metric_wifi_network_noise = metric("wifi_network_noise_dbm","gauge")
lo... | gpl-2.0 |
jiang42/Algorithm-Implementations | Lempel_Ziv_Welch/Lua/Yonaba/lzw_test.lua | 26 | 1030 | -- Tests for lzw.lua
local lzw = require 'lzw'
local total, pass = 0, 0
local function dec(str, len)
return #str < len
and str .. (('.'):rep(len-#str))
or str:sub(1,len)
end
local function run(message, f)
total = total + 1
local ok, err = pcall(f)
if ok then pass = pass + 1 end
local status = ok... | mit |
Fatalerror66/ffxi-a | scripts/globals/items/silken_siesta.lua | 3 | 1150 | -----------------------------------------
-- ID: 5626
-- Item: Silken Siesta
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- TODO: Group Effect
-- HP Recoverd while healing 2
-- MP Recovered while healing 5
-----------------------------------------
require("scripts/globals/status");
----... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Manaclipper/Zone.lua | 2 | 1239 | -----------------------------------
--
-- Zone: Manaclipper
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Manaclipper/TextIDs"] = nil;
require("scripts/zones/Manaclipper/TextIDs");
-----------------------------------
-- onInitialize
----------... | gpl-3.0 |
upegelow/darktable | tools/lua_doc/old_api/dt_api202.lua | 7 | 170644 | API = {
["__text"] = [[This documentation is for the *development* version of darktable. for the stable version, please visit the user manual
To access the darktable specific functions you must load the darktable environment:<code>darktable = require "darktable"</code>All functions and data are accessed through the dar... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Port_Bastok/npcs/Bagnobrok.lua | 36 | 1585 | -----------------------------------
-- Area: Port Bastok
-- NPC: Bagnobrok
-- Only sells when Bastok controls Movalpolos
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port_Bastok/Tex... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Chamber_of_Oracles/TextIDs.lua | 4 | 1309 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6375; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6378; -- Obtained: <item>
GIL_OBTAINED = 6379; -- Obtained <number> gil
KEYITEM_OBTAINED = 6381; -- Obtain... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Gusgen_Mines/npcs/Mining_Point.lua | 6 | 1091 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Gusgen_Mines/TextIDs");
----------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/items/galette_des_rois.lua | 39 | 1322 | -----------------------------------------
-- ID: 5875
-- Item: Galette Des Rois
-- Food Effect: 180 Min, All Races
-----------------------------------------
-- MP % 1
-- Intelligence +2
-- Random Jewel
-----------------------------------------
require("scripts/globals/status");
require("scripts/zones/Bastok_Mines/Text... | gpl-3.0 |
actionless/awesome | lib/wibox/widget/systray.lua | 1 | 6745 | ---------------------------------------------------------------------------
-- @author Uli Schlachter
-- @copyright 2010 Uli Schlachter
-- @widgetmod wibox.widget.systray
-- @supermodule wibox.widget.base
---------------------------------------------------------------------------
local wbase = require("wibox.widget.ba... | gpl-2.0 |
Fatalerror66/ffxi-a | scripts/globals/spells/fire_v.lua | 2 | 1063 | -----------------------------------------
-- Spell: Fire
-- Deals fire damage to an enemy.
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
func... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/items/blacksmiths_belt.lua | 2 | 1158 | -----------------------------------------
-- ID: 15445
-- Item: Blacksmith's Belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Smithing Skill +1
-----------------------------------------
require("script... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/mobskills/Luminous_Lance.lua | 5 | 1362 | ---------------------------------------------
-- Luminous Lance
---------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
require("/scripts/zones/Empyreal_Paradox/TextIDs");
---------------------------------------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Windurst_Walls/npcs/Rutango-Botango.lua | 19 | 2457 | -----------------------------------
-- Area: Windurst Walls
-- Location: X:-92 Y:-9 Z:107
-- NPC: Rutango-Botango
-- Working 100%
-- Involved in Quest: To Bee or Not to Bee?
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
--------------------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Balgas_Dais/bcnms/shattering_stars.lua | 4 | 1780 | -----------------------------------
-- Area: Balga's Dais
-- Name: Shattering stars - Maat Fight
-- @pos 299 -123 345 146
-----------------------------------
package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/titles");
require("scripts/globals/ques... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Konschtat_Highlands/npcs/qm2.lua | 11 | 1422 | -----------------------------------
-- Area: Konschtat Highlands
-- NPC: qm2 (???)
-- Involved in Quest: Forge Your Destiny
-- @pos -709 2 102 108
-----------------------------------
package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests"... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Bastok_Markets/npcs/Synergy_Enthusiast.lua | 2 | 1076 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Synergy Enthusiaist
-- Standard Info NPC
-- @zone 235
-- @pos -264.000, -12.500, -33.000
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/z... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Dynamis-Xarcabard/mobs/Tombstone_Prototype.lua | 2 | 1196 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Tombstone Prototype
-----------------------------------
package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/dynamis");
require("scripts/zo... | gpl-3.0 |
sagarwaghmare69/dp | data/baseset.lua | 4 | 4030 | ------------------------------------------------------------------------
--[[ BaseSet ]]--
-- Base class inherited by DataSet and Batch.
------------------------------------------------------------------------
local BaseSet = torch.class("dp.BaseSet")
BaseSet.isBaseSet = true
function BaseSet:__init(config)
assert(... | bsd-3-clause |
Fatalerror66/ffxi-a | scripts/globals/items/breath_mantle.lua | 2 | 1118 | -----------------------------------------
-- ID: 15486
-- Item: Breath Mantle
-- Enchantment: HP +18 Eminity +3
-- Durration: 30 Mins
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Palborough_Mines/npcs/Mining_Point.lua | 4 | 1061 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Mining Point
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/mining");
require("scripts/zones/Palborough_Mines/TextIDs");
--------... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Al_Zahbi/npcs/Suldiran.lua | 4 | 1811 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Suldiran
-- Type: NPC Quest
-- @zone: 48
-- @pos: 41.658 -6.999 -42.528
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
require("scripts/globals... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Windurst_Waters_[S]/npcs/Tahl_Mhioguch.lua | 38 | 1053 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Tahl Mhioguch
-- Type: Standard NPC
-- @zone: 94
-- @pos -64.907 -5.947 81.391
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/spells/bluemagic/mp_drainkiss.lua | 2 | 1384 | -----------------------------------------
-- Spell: MP Drainkiss
-- Drain functions only on skill level!!
-----------------------------------------
require("scripts/globals/magic");
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
f... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Windurst_Waters/npcs/Chyuk-Kochak.lua | 38 | 1048 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Chyuk-Kochak
-- Type: Standard NPC
-- @zone: 238
-- @pos -252.162 -6.319 -307.011
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-... | gpl-3.0 |
Segs/Segs | Data/scripts/City_00_01/luaBot.lua | 3 | 30934 | -- OUTBREAK
printDebug('luaBot script loading...');
local LuaBot = {};
LuaBot.spawned = false;
LuaBot.name = 'LuaBot';
LuaBot.model = 'Jumpbot_02';
LuaBot.location = {};
LuaBot.location.coordinates = vec3.new(-90, 0, 170);
LuaBot.location.orientation = vec3.new(0, 0, 0);
LuaBot.variation = 1;
LuaBot.expected = false;
... | bsd-3-clause |
meshr-net/meshr_win32 | usr/lib/lua/luci/model/cbi/firewall/zone-details.lua | 8 | 6315 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2010-2011 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
htt... | apache-2.0 |
LuaDist2/xlsxwriter | xlsxwriter/utility.lua | 2 | 9539 | ----
-- Utility - Utility functions for xlsxwriter.lua.
--
-- Copyright 2014, John McNamara, jmcnamara@cpan.org
--
require "xlsxwriter.strict"
local Utility = {}
local char_A = string.byte("A")
local col_names = {}
local named_colors = {
["black"] = "#000000",
["blue"] = "#0000FF",
["brown"] = "#800000",... | mit |
Fatalerror66/ffxi-a | scripts/globals/weaponskills/calamity.lua | 6 | 1291 | -----------------------------------
-- Calamity
-- Axe weapon skill
-- Skill level: 200 (Beastmasters and Warriors only.)
-- Delivers a single-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget & Thunder Gorget.
-- Aligned with the Soil Belt & Thunder Belt.... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/globals/weaponskills/combo.lua | 6 | 1232 | -----------------------------------
-- Combo
-- Hand-to-Hand weapon skill
-- Skill level: 5
-- Delivers a threefold attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Thunder Gorget.
-- Aligned with the Thunder Belt.
-- Element: None
-- Modifiers: STR:20% ; DEX:20%
-... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Windurst_Walls/npcs/Seven_of_Diamonds.lua | 4 | 1116 | -----------------------------------
-- Area: Windurst Walls
-- NPC: Seven of Diamonds
-- Type: Standard NPC
-- @zone: 239
-- @pos: 6.612 -3.5 278.553
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil;
-----... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/items/moon_carrot.lua | 1 | 1146 | -----------------------------------------
-- ID: 4567
-- Item: moon_carrot
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------... | gpl-3.0 |
ojahan/node-mcu-firmware | lua_examples/irsend.lua | 88 | 1803 | ------------------------------------------------------------------------------
-- IR send module
--
-- LICENCE: http://opensource.org/licenses/MIT
-- Vladimir Dronnikov <dronnikov@gmail.com>
--
-- Example:
-- dofile("irsend.lua").nec(4, 0x00ff00ff)
-----------------------------------------------------------------------... | mit |
Fatalerror66/ffxi-a | scripts/zones/Bastok_Markets/npcs/_6j6.lua | 2 | 1056 | -----------------------------------
-- Area: Bastok Markets
-- Door: "Harmodios's Music"
-- @zone 235
-- @pos -80, -6, -126
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Bastok_Markets/TextIDs");
... | gpl-3.0 |
Fatalerror66/ffxi-a | 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 |
Fatalerror66/ffxi-a | scripts/zones/Tavnazian_Safehold/npcs/Elysia.lua | 19 | 2383 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Elysia
-- Starts Quest: Unforgiven
-- @zone 26
-- @pos -50.410 -22.204 -41.640
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs")
requir... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Port_Windurst/npcs/Goltata.lua | 4 | 1366 | -----------------------------------
-- Area: Port Windurst
-- NPC: Goltata
-- Involved in Quests: Wonder Wands
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globa... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Southern_San_dOria/npcs/Sharzalion.lua | 4 | 3451 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Sharzalion
-- Starts and Finishes Quest: The Crimson Trial
-- Involved in Quest: Peace for the Spirit
-- @zone 230
-- @pos 95 0 111
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
------------... | gpl-3.0 |
e1d1s1/OpenRA | lua/stacktraceplus.lua | 59 | 12006 | -- tables
local _G = _G
local string, io, debug, coroutine = string, io, debug, coroutine
-- functions
local tostring, print, require = tostring, print, require
local next, assert = next, assert
local pcall, type, pairs, ipairs = pcall, type, pairs, ipairs
local error = error
assert(debug, "debug table must be availa... | gpl-3.0 |
jcranmer/factorio-tools | defines.lua | 1 | 15800 | -- To regenerate:
-- /command function out(str) game.write_file("/tmp/defines.lua", str .. '\n', true); end; function print_table(table) for key,value in pairs(table) do if type(value) == 'table' then out(key .. "= {"); print_table(value); out("},"); else out(key .. "=" .. value .. ","); end; end; end; print_table(defi... | bsd-3-clause |
Wedge009/wesnoth | utils/emmylua/wesnoth/interface.lua | 4 | 5176 | ---@meta
---Freeze the game for a specified time
---@param ms number
function wesnoth.interface.delay(ms) end
---Deselect the active hex, if any
function wesnoth.interface.deselect_hex() end
---Activate a specific hex
---@param loc location
---@overload fun(x:integer, y:integer)
function wesnoth.interface.highlight_... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/zones/Windurst_Waters/npcs/Piketo-Puketo.lua | 12 | 1991 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Piketo-Puketo
-- Type: Cooking Guild Master
-- @pos -124.012 -2.999 59.998 238
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/crafting")... | gpl-3.0 |
lordporya/lord-dark | plugins/face.lua | 641 | 3073 | local https = require("ssl.https")
local ltn12 = require "ltn12"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local mashape = load_from_file('data/mashape.lua', {
api_key = ''
})
local function request(imageUrl)
local api_key = mashape.api_key
if api_key:isempt... | gpl-2.0 |
flyzjhz/openwrt-bb | feeds/luci/applications/luci-statistics/luasrc/model/cbi/luci_statistics/iwinfo.lua | 78 | 1089 | --[[
Luci configuration model for statistics - collectd interface plugin configuration
(c) 2011 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://ww... | gpl-2.0 |
Fatalerror66/ffxi-a | scripts/globals/weaponskills/shell_crusher.lua | 6 | 1519 | -----------------------------------
-- Shell Crusher
-- Staff weapon skill
-- Skill Level: 175
-- Lowers target's defense. Duration of effect varies with TP.
-- If unresisted, lowers target defense by 25%.
-- Will stack with Sneak Attack.
-- Aligned with the Breeze Gorget.
-- Aligned with the Breeze Bel... | gpl-3.0 |
ESMAILESMAIL/farsi | plugins/webshot.lua | 24 | 1698 | local helpers = require "OAuth.helpers"
local base = 'https://screenshotmachine.com/'
local url = base .. 'processor.php'
local function get_webshot_url(param)
local response_body = {}
local request_constructor = {
url = url,
method = "GET",
sink = ltn12.sink.table(response_body),
header... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/zones/Valkurm_Dunes/npcs/qm4.lua | 37 | 1033 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: qm4 (???)
-- Involved in quest: Pirate's Chart
-- @pos -160 4 -131 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Valkurm_Dunes/TextIDs");... | gpl-3.0 |
ceason/epgp-tfatf | 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... | bsd-3-clause |
belolap/guild-taxes | 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... | bsd-3-clause |
Fatalerror66/ffxi-a | scripts/zones/East_Ronfaure/npcs/Croteillard.lua | 4 | 1081 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Croteillard
-- Type: Gate Guard
-- @zone: 101
-- @pos: 87.426 -62.999 266.709
--
-- Auto-Script: Requires Verification
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
--------------------------------... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Bastok_Mines/npcs/Explorer_Moogle.lua | 4 | 1573 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Explorer Moogle
--
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/teleports");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,t... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Windurst_Woods/npcs/Home_Point.lua | 3 | 1196 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Home Point
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zones/Windurst_Woods/TextIDs");
-----------------------------------
-- onTrad... | gpl-3.0 |
samueljackson92/scripts | love/mc2d/block.lua | 1 | 1038 |
BlockList = {}
BlockList[1] = love.graphics.newImage("images/16x16test.png")
BlockList[2] = love.graphics.newImage("images/cave.png")
BlockList[3] = love.graphics.newImage("images/dirt1.png")
BlockList[4] = love.graphics.newImage("images/dirt2.png")
BlockList[5] = love.graphics.newImage("images/grass1.png")
B... | mit |
Segs/Segs | Data/scripts/Hazard_05_01/entities.lua | 3 | 1728 | --- Elysium
local spawnOnce = false
-- Called after MOTD for now.
function player_connected(id)
--Id is player entity Id
printDebug('player_connected Id: ' .. tostring(id))
if spawnOnce == false then
spinSpawners()
spinPersists()
--RandomSpawn(65) --There are no SpawnDefs se... | bsd-3-clause |
Inorizushi/DDR-EXTREME-JP-SM5 | BGAnimations/ScreenSelectMusic decorations/modicons/default.lua | 1 | 1433 | local t = Def.ActorFrame{};
local pn = ...
local yPosPlayer = { [PLAYER_1] = (SCREEN_TOP+52),[PLAYER_2] = (SCREEN_TOP+64) }
local spn = ToEnumShortString(pn)
t[#t+1] = LoadActor("mod bar")..{
Name = pn,
InitCommand=function(self)
self:xy(SCREEN_CENTER_X,yPosPlayer[pn])
if IsUsingWideScreen() then
self:fadelef... | mit |
Fatalerror66/ffxi-a | scripts/zones/Al_Zahbi/npcs/Kahah_Hobichai.lua | 2 | 1504 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Kahah Hobichai
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
require("scripts/zones/Al_Zahbi/TextIDs");
-----------------------------------
-... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Quicksand_Caves/Zone.lua | 1 | 5631 | -----------------------------------
--
-- Zone: Quicksand_Caves (208)
--
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/zones/Quicksand_Cave... | gpl-3.0 |
nenau/naev | dat/gui/legacy.lua | 11 | 10515 |
--[[
@brief Obligatory create function.
Run when the GUI is loaded which is caused whenever the player gets in a different ship.
--]]
function create()
-- Get the player
pp = player.pilot()
pfact = pp:faction()
-- Get sizes
screen_w, screen_h = gfx.dim()
deffont_h = gfx.fontSize()
smallfo... | gpl-3.0 |
ChaosForge/doomrl | bin/lua/levels/abyssal.lua | 1 | 5337 | -- ABYSSAL PLAINS --------------------------------------------------------
register_level "abyssal_plains"
{
name = "Abyssal Plains",
entry = "On level @1 he romped upon the Abyssal Plains.",
welcome = "You enter the Abyssal Plains. Well isn't this... just... dandy.",
level = 12,
Create = function ()
level.s... | gpl-2.0 |
flyzjhz/openwrt-bb | feeds/luci/applications/luci-asterisk/luasrc/model/cbi/asterisk-mod-codec.lua | 80 | 2172 | --[[
LuCI - Lua Configuration Interface
Copyright 2008 Steven Barth <steven@midlink.org>
Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
h... | gpl-2.0 |
kidaa/FFXIOrgins | 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 |
Fatalerror66/ffxi-a | scripts/zones/Port_Bastok/npcs/_6k6.lua | 2 | 1089 | -----------------------------------
-- Area: Port Bastok
-- Door: "Departures Entrance"
-- @zone 236
-- @pos -95.845, -3.977, -7.921
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("s... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/spells/bluemagic/battle_dance.lua | 4 | 1171 | require("scripts/globals/magic");
require("scripts/globals/status");
require("scripts/globals/bluemagic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,target,spell)
return 0;
end;
function onSpellCast(caster,target,spell)
... | gpl-3.0 |
Adirelle/LibPlayerSpells-1.0 | data/Mage.lua | 1 | 6843 | --[[
LibPlayerSpells-1.0 - Additional information about player spells.
(c) 2013-2014 Adirelle (adirelle@gmail.com)
This file is part of LibPlayerSpells-1.0.
LibPlayerSpells-1.0 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 Softwar... | gpl-3.0 |
jiang42/Algorithm-Implementations | Linear_Search/Lua/Yonaba/linear_search.lua | 26 | 1690 | -- Linear search algorithm implementation
-- See: http://en.wikipedia.org/wiki/Linear_search
-- Recursive search helper
local function recurse_search(t, v, i, s)
if t[i] == nil then return nil end
if t[i] == v then return i end
return recurse_search(t, v, i + s, s)
end
-- Performs a search by incrementing upwar... | mit |
mythzeal/tos_addon | mzMusic/mzmusic.lua | 1 | 10673 | --v1.0.0
local acutil = require("acutil");
local log = acutil.log;
local floor = math.floor;
local mod = math.mod;
-- util json
local path = "../addons/mzmusic/settings.json";
local function Save(table)
return acutil.saveJSON(path, table);
end
local function Load()
return acutil.loadJSON(path);
end
-- util random... | agpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/weaponskills/shijin_spiral.lua | 4 | 1584 | -----------------------------------
-- Shijin Spiral
-- Hand-to-Hand weapon skill
-- Skill Level: N/A
-- Delivers a fivefold attack that Plagues the target. Chance of inflicting Plague varies with TP.
-- In order to obtain Shijin Spiral, the quest Martial Mastery must be completed.
-- Aligned with the Flame Gorget... | gpl-3.0 |
oralius/gto | plugins/sticker.lua | 28 | 2159 | local function run(msg, matches)
local text = URL.escape(matches[1])
local color = 'blue'
if matches[2] == 'red' then
color = 'red'
elseif matches[2] == 'black' then
color = 'black'
elseif matches[2] == 'blue' then
color = 'blue'
elseif matches... | gpl-2.0 |
ktotheoz/Torque6 | build/scripts/genie.lua | 1 | 1201 | solution "Torque6"
-- Settings
BUILD_DIR = "../" .. _ACTION .. "/"
LIB_DIR = "../../lib/"
SRC_DIR = "../../src/"
PLUGIN_DIR = "../../plugins/"
PLUGIN_BUILD_DIR = "../../projects/shared-modules/"
PROJECT = "../../projects/00-Console/"
... | mit |
kidaa/FFXIOrgins | scripts/zones/Bastok_Mines/npcs/Deegis.lua | 4 | 1704 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Deegis
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
require("scripts/zones/Bastok_Mines/TextIDs");
-----------------------------------
-- onTra... | gpl-3.0 |
amin041/selfbot | bot/bot.lua | 1 | 7319 | 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")
require("./bot/permissions")
local f = assert(io.popen('/usr/bin/git describe --tags', 'r'))
VERSION = assert(f:read('*a'))
f:... | gpl-2.0 |
emadni/emadoso | plugins/bugzilla.lua | 611 | 3983 | do
local BASE_URL = "https://bugzilla.mozilla.org/rest/"
local function bugzilla_login()
local url = BASE_URL.."login?login=" .. _config.bugzilla.username .. "&password=" .. _config.bugzilla.password
print("accessing " .. url)
local res,code = https.request( url )
local data = json:decode(res)
return data
... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/zones/Dynamis-Buburimu/mobs/Manifest_Icon.lua | 2 | 2452 | -----------------------------------
-- Area: Dynamis Buburimu
-- NPC: Manifest_Icon
-----------------------------------
package.loaded["scripts/zones/Dynamis-Buburimu/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/dynamis");
require("scripts/zones/Dynamis-Buburimu/TextIDs");
------------... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Temenos/mobs/Iruci.lua | 1 | 1236 | -----------------------------------
-- Area: Temenos Central 1floor
-- NPC: Iruci
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-------------------------------... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/globals/spells/blade_madrigal.lua | 6 | 1537 | -----------------------------------------
-- Spell: Blade Madrigal
-- Gives party members accuracy
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function OnMagicCastingCheck(caster,target... | gpl-3.0 |
boundary/boundary-plugin-cloudstack | init.lua | 2 | 13372 | --
-- [boundary.com] Couchbase Lua Plugin
-- [author] Valeriu Paloş <me@vpalos.com>
--
--
-- Imports.
--
local fs = require('fs')
local json = require('json')
local http = require('http')
local os = require('os')
local sha1 = require('sha1')
local timer = require('timer')
local tools = require('tools')
local ... | apache-2.0 |
tangzx/IntelliJ-EmmyLua | src/main/resources/std/Lua53/debug.lua | 6 | 9495 | -- Copyright (c) 2018. tangzx(love.tangzx@qq.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License"); you may not
-- use this file except in compliance with the License. You may obtain a copy of
-- the License at
--
-- http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law ... | apache-2.0 |
uniquegamer522/LuaBot | userscripts/ashtoin/Befunge.lua | 1 | 11731 | -- EEBefunge, by ashtoin (aka uniquegamer522)
-- https://esolangs.org/wiki/Befunge
--
-- Say hello!
say("[BefungeBot] BefungeBot online")
-- Stores the program counter location
x = 1
y = 1
-- Stores the program direction (Defaults to going right)
xd = 1
yd = 0
-- Executions per second
speed = 5
-- Maximum grid siz... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Port_Bastok/npcs/Zoby_Quhyo.lua | 4 | 1631 | -----------------------------------
-- Area: Port Bastok
-- NPC: Zoby Quhyo
-- Only sells when Bastok controlls Elshimo Lowlands
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port_Bastok/TextI... | gpl-3.0 |
pocarist/mal | lua/types.lua | 14 | 3900 | local utils = require('utils')
local M = {}
-- type functions
function M._sequential_Q(obj)
return M._list_Q(obj) or M._vector_Q(obj)
end
function M._equal_Q(a,b)
if M._symbol_Q(a) and M._symbol_Q(b) then
return a.val == b.val
elseif M._sequential_Q(a) and M._sequential_Q(b) then
if #a ~... | mpl-2.0 |
Fatalerror66/ffxi-a | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Hammer.lua | 2 | 1475 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Hammer
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
functi... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Palborough_Mines/npcs/qm1.lua | 11 | 1291 | -----------------------------------
-- Area: Palborough Mines
-- NPC: ???
-- Involved In Quest: The Talekeeper's Truth
-- @zone 143
-- @pos 15 -31 -94
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
mydongistiny/android_external_skia | tools/lua/scrape_dashing.lua | 160 | 2495 | function tostr(t)
local str = ""
for k, v in next, t do
if #str > 0 then
str = str .. ", "
end
if type(k) == "number" then
str = str .. "[" .. k .. "] = "
else
str = str .. tostring(k) .. " = "
end
if type(v) == "table" then
... | bsd-3-clause |
mys007/nn | CosineEmbeddingCriterion.lua | 16 | 1328 | local CosineEmbeddingCriterion, parent = torch.class('nn.CosineEmbeddingCriterion', 'nn.Criterion')
function CosineEmbeddingCriterion:__init(margin)
parent.__init(self)
margin = margin or 0
self.margin = margin
self.gradInput = {torch.Tensor(), torch.Tensor()}
end
function CosineEmbeddingCriterion:upda... | bsd-3-clause |
kidaa/FFXIOrgins | scripts/globals/mobskills/Calcifying_Deluge.lua | 4 | 1032 | ---------------------------------------------
-- Calcifying Deluge
--
-- Description: Delivers a threefold ranged attack to targets in an area of effect. Additional effect: Petrification
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown
-- Notes: Used only by Medusa.
----------------------... | gpl-3.0 |
bygreencn/DIGITS | examples/text-classification/text-classification-model.lua | 13 | 2920 | assert(pcall(function() require('dpnn') end), 'dpnn module required: luarocks install dpnn')
-- return function that returns network definition
return function(params)
-- get number of classes from external parameters (default to 14)
local nclasses = params.nclasses or 14
if pcall(function() require('cudn... | bsd-3-clause |
Fatalerror66/ffxi-a | scripts/globals/spells/bio_ii.lua | 2 | 2094 | -----------------------------------------
-- Spell: Bio II
-- Deals dark damage that weakens an enemy's attacks and gruadually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
------------------... | gpl-3.0 |
Maxsteam/3mer | plugins/greeter.lua | 25 | 4242 | --[[
Sends a custom message when a user enters or leave a chat.
!welcome group
The custom message will send to the group. Recommended way.
!welcome pm
The custom message will send to private chat newly joins member.
Not recommended as a privacy concern and the possibility of user reporting the bot.
!welcome disable
... | gpl-2.0 |
kidaa/FFXIOrgins | scripts/zones/The_Shrouded_Maw/bcnms/darkness_named.lua | 5 | 2509 | -----------------------------------
-- Area: The_Shrouded_Maw
-- Name: darkness_named
-----------------------------------
package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/keyitems");
require("scripts/zones/Th... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Southern_San_dOria/npcs/Thadiene.lua | 2 | 2007 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Thadiene
-- Standard Merchant NPC
-- @zone 230
-- @pos 68.674, 0.000, 64.302
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/glob... | gpl-3.0 |
kidaa/FFXIOrgins | scripts/zones/Sea_Serpent_Grotto/npcs/qm2.lua | 4 | 1412 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: ??? Used for Norg quest "The Sahagin's Stash"
-- @zone 176
-- @pos 295.276 27.129 213.043
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Port_San_dOria/npcs/Coullave.lua | 36 | 1889 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Coullave
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/quests");
requ... | gpl-3.0 |
Fatalerror66/ffxi-a | scripts/zones/Toraimarai_Canal/npcs/Tome_of_Magic3.lua | 2 | 1150 | -----------------------------------
-- Area: Toraimarai Canal
--
--
-----------------------------------
package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/trea... | gpl-3.0 |
actionless/awesome | tests/examples/wibox/layout/grid/orientation.lua | 6 | 2229 | --DOC_GEN_OUTPUT --DOC_GEN_IMAGE
local generic_widget = ... --DOC_HIDE_ALL
local wibox = require("wibox") --DOC_HIDE
local beautiful = require("beautiful") --DOC_HIDE
print([[l = wibox.layout {
forced_num_cols = 2,
forced_num_rows = 2,
homogeneous = true,
layout = wibox.layout.grid
}
l:set_orie... | gpl-2.0 |
Godfather021/teleseed | plugins/inrealm.lua | 850 | 25085 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if is_sudo(msg) or is_realm(msg) and is_admin(msg) then
local group_creator = msg.from.print_name
create_g... | gpl-2.0 |
Segs/Segs | Data/scripts/City_00_01/Spawndefs/Contaminated_Outbreak.spawndef.lua | 3 | 1030 | --This is a rank table
--There could be multiple tables to generate spawns from
local Contaminated_Ranks_01 = {
["Underlings"] = {
--NA
},
["Minions"] = {
"Thug_Contaminated_01", "Thug_Contaminated_02", "Thug_Contaminated_03",
"Thug_Contaminated_04", ... | bsd-3-clause |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.