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 |
|---|---|---|---|---|---|
FailcoderAddons/supervillain-ui | SVUI_!Core/system/media.lua | 1 | 46844 | --- Handlers for media functions
-- @submodule SVUI_Core
local _G = _G;
local select = _G.select;
local unpack = _G.unpack;
local pairs = _G.pairs;
local ipairs = _G.ipairs;
local type = _G.type;
local print = _G.print;
local string = _G.string;
local math = _G.math;
local table = _G.table;
local GetTi... | mit |
UnfortunateFruit/darkstar | scripts/zones/Beadeaux/npcs/The_Afflictor.lua | 17 | 1213 | -----------------------------------
-- Area: Beadeaux
-- NPC: The Afflictor
-- @zone 147
-- @pos <many>
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Beadeaux/TextIDs");
require("scripts/globals/quests")... | gpl-3.0 |
nesstea/darkstar | scripts/globals/spells/archers_prelude.lua | 27 | 1521 | -----------------------------------------
-- Spell: Archer's Prelude
-- Gives party members ranged attack accuracy
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingChe... | gpl-3.0 |
gmorishere/bot | plugins/help.lua | 6 | 1364 | -- This plugin should go at the end of your plugin list in
-- config.lua, but not after greetings.lua.
local help_text = '*Available commands:*'
for i,v in ipairs(plugins) do
if v.command then
help_text = help_text .. '\n /' .. v.command:gsub('%[', '\\[')
end
end
help_text = help_text .. [[\n
/help <command>
... | gpl-2.0 |
plajjan/snabbswitch | src/lib/protocol/keyed_ipv6_tunnel.lua | 6 | 3390 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
-- This is an implementation of the "Keyed IPv6 Tunnel" specification
-- conforming to
-- http://tools.ietf.org/html/draft-mkonstan-keyed-ipv6-tunnel-01. It
-- uses a particular variant of the L2TPv3 encapsulation that uses no
-- L2 sublay... | apache-2.0 |
VoxelDavid/rbx-lua-dump | source/modules/Version.lua | 1 | 5899 | --[[
This script is used to check the current game versions and return if they are
up-to-date or not.
The two versions are the built-in PlaceVersion value and a string set in
Main.lua following the Semantic Versioning Specification (http://semver.org).
PlaceVersion is a quick way to see if the server instan... | mit |
UnfortunateFruit/darkstar | scripts/zones/The_Garden_of_RuHmet/mobs/Ix_aern_drg.lua | 13 | 3460 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NPC: Ix'aern (drg)
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/The_Garden_of_RuHmet/MobIDs");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Woods/npcs/Bopa_Greso.lua | 19 | 1724 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Bopa Greso
-- Type: Standard NPC
-- @zone: 241
-- @pos 59.773 -6.249 216.766
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
----------... | gpl-3.0 |
alirezanile/LaSt-GaMfg | plugins/invite.lua | 33 | 2849 | --[[
Invite user into the chat group.
Type !invite by replying to a message to invite replied user.
Usefull when you want to reinviting kicked user. Most reliable.
Use !invite 1234567890 (where 1234567890 is id_number) to invite a user by id_number.
This is a very reliable method, and if failed, will failed silently... | gpl-2.0 |
vonflynee/opencomputersserver | world/opencomputers/7c9ad1a8-61e1-4046-a969-190bd5607730/bin/wget.lua | 7 | 2727 | local component = require("component")
local fs = require("filesystem")
local internet = require("internet")
local shell = require("shell")
local text = require("text")
if not component.isAvailable("internet") then
io.stderr:write("This program requires an internet card to run.")
return
end
local args, options = ... | mit |
UnfortunateFruit/darkstar | scripts/globals/items/fish_chiefkabob.lua | 35 | 1539 | -----------------------------------------
-- ID: 4575
-- Item: fish_chiefkabob
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Dexterity 1
-- Vitality 2
-- Mind 1
-- Charisma 1
-- defense % 26
-- defense Cap 95
-----------------------------------------
require("scripts/global... | gpl-3.0 |
albfan/clink | clink/lua/go.lua | 4 | 6696 | --
-- Copyright (c) 2013 Dobroslaw Zybort
--
-- 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, pu... | gpl-3.0 |
nesstea/darkstar | scripts/globals/magic_maps.lua | 35 | 9801 | ---------------------------------------------
--
-- Function that all map NPCS use.
-- SE updated the map NPCs to sell maps from the normal areas, RoZ, and CoP areas (Update was in Nov 5, 2013)
---------------------------------------------
require("scripts/globals/keyitems");
local Maps = {MAP_OF_THE_SAN_DORIA_... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Northern_San_dOria/npcs/Fittesegat.lua | 13 | 1044 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Fittesegat
-- Type: Standard Dialogue NPC
-- @zone: 231
-- @pos 144.250 0.000 138.203
--
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/zones/Northern_San_dOria/TextIDs"... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/PsoXja/npcs/_098.lua | 8 | 1608 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _098 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos -330.000 14.074 -261.600 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Pso... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Southern_San_dOria/npcs/Arpevion_TK.lua | 28 | 4813 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Arpevion, T.K.
-- X Grant Signet
-- X Recharge Emperor Band, Empress Band, or Chariot Band
-- X Accepts traded Crystals to fill up the Rank bar to open new Missions.
-- X Sells items in exchange for Conquest Points
-- X Start Supply Ru... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Romaa_Mihgo.lua | 38 | 1047 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Romaa Mihgo
-- Type: Standard NPC
-- @zone: 94
-- @pos -1.967 -3 -26.337
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
--... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Jugner_Forest_[S]/npcs/Glowing_Pebbles.lua | 19 | 1305 | -----------------------------------
-- Area: Jugner Forest (S)
-- NPC: Glowing Pebbles
-- Type: Involved in Quest
-- @pos
-- player:startEvent(0x006a); Left over Cutscene
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
requ... | gpl-3.0 |
mrkulk/inverse-graphics-networks | ParallelParallel.lua | 1 | 12083 | require 'nn'
require 'parallel'
local ParallelParallel, parent = torch.class('nn.ParallelParallel', 'nn.Container')
function moduleWrapper()
require 'nn'
require 'ACR'
require 'INTM'
require 'Bias'
require 'PrintModule'
require 'INTMReg'
require 'gradACRWrapper'
torch.setnumthreads(1)
local modelK... | apache-2.0 |
alexander-koch/3D-Game-Engine | demos/a_star/scripts/main.lua | 1 | 1356 | dofile("scripts/util.lua")
dofile("scripts/grid.lua")
dofile("scripts/pathfinding.lua")
scene = Scene()
list = {}
grid = nil
path = nil
start = {-10, 0, -10}
target = {10, 0, 10}
enemy = nil
function onInit()
scene:require("scripts/main.mat")
local mesh = Mesh()
mesh:loadCube(1)
mesh:setScale({20, ... | apache-2.0 |
oralius/byond1 | libs/dateparser.lua | 502 | 6212 | local difftime, time, date = os.difftime, os.time, os.date
local format = string.format
local tremove, tinsert = table.remove, table.insert
local pcall, pairs, ipairs, tostring, tonumber, type, setmetatable = pcall, pairs, ipairs, tostring, tonumber, type, setmetatable
local dateparser={}
--we shall use the host OS's... | gpl-3.0 |
jj918160/cocos2d-x-samples | samples/FantasyWarrior3D/frameworks/runtime-src/Classes/custom/api/EffectSprite3D.lua | 9 | 1697 |
--------------------------------
-- @module EffectSprite3D
-- @extend Sprite3D
-- @parent_module cc
--------------------------------
--
-- @function [parent=#EffectSprite3D] setEffect3D
-- @param self
-- @param #cc.Effect3D effect
-- @return EffectSprite3D#EffectSprite3D self (return value: cc.EffectSprite3D)
... | mit |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Woods/npcs/Mokop-Sankop.lua | 38 | 1043 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Mokop-Sankop
-- Type: Conquest Troupe
-- @zone: 241
-- @pos 11.542 1.05 -53.217
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/weaponskills/vidohunir.lua | 6 | 2086 | -----------------------------------
-- Vidohunir
-- Staff weapon skill
-- Skill Level: N/A
-- Lowers target's magic defense. Duration of effect varies with TP. Laevateinn: Aftermath effect varies with TP.
-- Reduces enemy's magic defense by 10%.
-- Available only after completing the Unlocking a Myth (Black Mage) quest... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Southern_San_dOria/npcs/Faulpie.lua | 44 | 2855 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Faulpie
-- Type: Leathercraft Guild Master
-- @pos -178.882 -2 9.891 230
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/status");... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Port_Jeuno/npcs/Illauvolahaut.lua | 20 | 1586 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Illauvolahaut
-- @zone 246
-- @pos -12 8 54
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems... | gpl-3.0 |
nesstea/darkstar | scripts/zones/FeiYin/TextIDs.lua | 15 | 2354 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6558; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6563; -- Obtained: <item>
GIL_OBTAINED = 6564; -- Obtained <number> gil
KEYITEM_OBTAINED = 6566; -- Obtain... | gpl-3.0 |
nesstea/darkstar | scripts/globals/weaponskills/fast_blade.lua | 11 | 1341 | -----------------------------------
-- Fast Blade
-- Sword weapon skill
-- Skill Level: 5
-- Delivers a two-hit attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Soil Gorget.
-- Aligned with the Soil Belt.
-- Element: None
-- Modifiers: STR:20% ; DEX:20%
-- 100%TP 200%TP 300%TP
-... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Southern_San_dOria/npcs/Valderotaux.lua | 13 | 1765 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Valderotaux
-- General Info NPC
-- @pos 97 0.1 113 230
-------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Kuftal_Tunnel/mobs/Guivre.lua | 7 | 14748 | ----------------------------------
-- Area: Gustav Tunnel
-- NM: Guivre
-----------------------------------
local path =
{
106.836830, 0.753614, -3.944333,
106.991020, 0.588184, -4.941793,
107.207207, 0.424275, -5.923915,
107.583046, 0.424275, -6.866960,
108.040382, 0.424275, -7.778655,
108.4... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Mazuro-Oozuro.lua | 37 | 1265 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Mazuro-Oozuro
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
---------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Dynamis-Tavnazia/bcnms/dynamis_Tavnazia.lua | 10 | 1138 | -----------------------------------
-- Area: dynamis_Tavnazia
-- Name: dynamis_Tavnazia
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaTavnazia]UniqueID",player:getDynamisUniqueID(1289));
SetServerVariable... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/West_Sarutabaruta/npcs/Slow_Axe_IM.lua | 30 | 3064 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Slow Axe, I.M.
-- Type: Border Conquest Guards
-- @pos 399.450 -25.858 727.545 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/co... | gpl-3.0 |
facebook/iTorch | util.lua | 4 | 3257 | --[[
* Copyright (c) 2015, Facebook, Inc.
* All rights reserved.
*
* This source code is licensed under the BSD-style license found in the
* LICENSE file in the root directory of this source tree. An additional grant
* of patent rights can be found in the PATENTS file in the same directory.
*
]]--
local zm... | bsd-3-clause |
nesstea/darkstar | scripts/zones/Al_Zahbi/npcs/Dabigo.lua | 13 | 1045 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Dabigo
-- Type: Delivery Box Manager
-- @zone: 48
-- @pos -34.289 -1 -129.141
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-------------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Mhaura/npcs/Kotan-Purutan.lua | 13 | 2521 | -----------------------------------
-- Area: Mhaura
-- NPC: Kotan-Purutan
-- Involved in Quest: Overnight Delivery
-- @pos 40.323 -8.999 44.242 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
-----------------------------------
-- o... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Tavnazian_Safehold/npcs/Ratonne.lua | 14 | 4335 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Ratonne
-- Armor Storage NPC
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/armorstorage");
requ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Ifrits_Cauldron/npcs/Flame_Spout.lua | 13 | 1587 | ----------------------------------
-- Area: Ifrit's Cauldron
-- NPC: Flame Spout
-- @pos 193.967 -0.400 19.492 205
-----------------------------------
require("scripts/zones/Ifrits_Cauldron/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/quests");
-----------------------------------
-- onTrad... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/apkallu_egg.lua | 18 | 1174 | -----------------------------------------
-- ID: 5568
-- Item: Apkallu Egg
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health 6
-- Magic 6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
------------... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Inner_Horutoto_Ruins/TextIDs.lua | 22 | 1317 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6548; -- You cannot obtain the item <item>. Come back after sorting your inventory.
ITEM_OBTAINED = 6553; -- Obtained: <item>.
GIL_OBTAINED = 6554; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6556; -- Obtained... | gpl-3.0 |
JulioC/telegram-bot | plugins/isX.lua | 605 | 2031 | local https = require "ssl.https"
local ltn12 = require "ltn12"
local function request(imageUrl)
-- 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 api_key = mashape.api_key
if ... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/zones/FeiYin/npcs/_no4.lua | 6 | 2211 | -----------------------------------
-- Area: Fei'Yin
-- NPC: Cermet Door (triggers Rukususu dialog)
-- Type: Quest NPC
-- @pos -183 0 190 204
-- Involved in Quests: Curses, Foiled A-Golem!?,SMN AF2: Class Reunion, SMN AF3: Carbuncle Debacle
-- Involved in Missions: Windurst 5-1/7-2/8-2
--------------------... | gpl-3.0 |
wolfy1339/Wolfy-Powder-Toy | src/lua/luascripts/eventcompat.lua | 3 | 5493 | if not event then
return
end
local deprecated_scripts = {}
local timer = nil
local function print_deprecation_warnings()
if not timer or timer <= 0 then
event.unregister(event.tick, print_deprecation_warnings)
else
timer = timer - 1
return
end
local deprecated = {}
for k,v in pairs(deprecated_scripts) do
... | gpl-3.0 |
vonflynee/opencomputersserver | world/opencomputers/689b9f29-1d36-4106-bf0e-c06a2ebfb1ef/lib/rc.lua | 15 | 3243 | local fs = require('filesystem')
local serialization = require('serialization')
-- Keeps track of loaded scripts to retain local values between invocation
-- of their command callbacks.
local loaded = {}
local rc = {}
local function loadConfig()
local env = {}
local result, reason = loadfile('/etc/rc.cfg', 't', ... | mit |
UnfortunateFruit/darkstar | scripts/zones/North_Gustaberg/npcs/Butsutsu_WW.lua | 30 | 3058 | -----------------------------------
-- Area: North Gustaberg
-- NPC: Butsutsu, W.W.
-- Type: Border Conquest Guards
-- @pos -520.704 38.75 560.258 106
-----------------------------------
package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conques... | gpl-3.0 |
heyuqi/wxFormBuilder | build/premake/4.3/tests/test_vs2010_sln.lua | 6 | 3138 | T.vs2010_sln = { }
local vs_magic_cpp_build_tool_id = "8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942"
local constant_uuid = "AE61726D-187C-E440-BD07-2556188A6565"
local constant_project_name = "MyProject"
--
-- Configure a solution for testing
--
local sln
function T.vs2010_sln.setup()
_ACTION = "vs2010"
sln = solutio... | gpl-2.0 |
mahdib9/9 | plugins/qr.lua | 21 | 1783 | --- https://github.com/amirhmz
--- https://telegram.me/AmirDark
local function get_hex(str)
local colors = {
red = "f00",
blue = "00f",
green = "0f0",
yellow = "ff0",
purple = "f0f",
white = "fff",
black = "000",
gray = "ccc"
}
for color, value in pairs(colors) do
if color ==... | gpl-2.0 |
nesstea/darkstar | scripts/globals/items/cone_calamary.lua | 18 | 1313 | -----------------------------------------
-- ID: 5128
-- Item: Cone Calamary
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 3
-- Mind -5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-----... | gpl-3.0 |
bowlofstew/Macaroni | Main/Libraries/Macaroni/CppStd/2003/Source/PrepareBoostBuild.lua | 4 | 1049 | require "Macaroni.IO.GeneratedFileWriter";
require "Macaroni.IO.Path";
function getIncludePath()
local success, path = pcall(function()
return properties.boost["1.45.0"].include;
end);
if (not success) then
error([[Could not find variable properties.boost["1.45.0"].include.]]
.. [[ Please set this ... | apache-2.0 |
nesstea/darkstar | scripts/zones/Port_San_dOria/npcs/Ufanne.lua | 13 | 1581 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Ufanne
-- Type: Standard NPC
-- @zone: 232
-- @pos -15.965 -3 -47.748
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
--------------... | gpl-3.0 |
Badboy30/badboy30 | plugins/xkcd.lua | 628 | 1374 | do
function get_last_id()
local res,code = https.request("http://xkcd.com/info.0.json")
if code ~= 200 then return "HTTP ERROR" end
local data = json:decode(res)
return data.num
end
function get_xkcd(id)
local res,code = http.request("http://xkcd.com/"..id.."/info.0.json")
if code ~= 200 then return "HT... | gpl-2.0 |
Mashape/kong | spec/01-unit/04-prefix_handler_spec.lua | 1 | 33383 | local helpers = require "spec.helpers"
local conf_loader = require "kong.conf_loader"
local prefix_handler = require "kong.cmd.utils.prefix_handler"
local exists = helpers.path.exists
local join = helpers.path.join
describe("NGINX conf compiler", function()
describe("gen_default_ssl_cert()", function()
local co... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/globals/spells/bluemagic/hecatomb_wave.lua | 9 | 1946 | -----------------------------------------
-- Spell: Hecatomb Wave
-- Deals wind damage to enemies within a fan-shaped area originating from the caster. Additional effect: Blindness
-- Spell cost: 116 MP
-- Monster Type: Demons
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 3
-- Stat Bonus: AGI+1
-- Level: ... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Hexidiscs.lua | 7 | 1122 | ---------------------------------------------
-- Hexidiscs
--
-- Description: A sixfold attack damages targets in a fan-shaped area of effect.
-- Type: Physical
-- Utsusemi/Blink absorb: 6 shadows
-- Range: Unknown cone
-- Notes: Only used in "ball" form.
---------------------------------------------
req... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Xarcabard/npcs/Trail_Markings.lua | 19 | 2465 | -----------------------------------
-- Area: Xarcabard
-- NPC: Trail Markings
-- Dynamis-Xarcabard Enter
-- @pos 570 0 -272 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Leujaoam_Sanctum/npcs/rune_of_release.lua | 32 | 1876 | -----------------------------------
-- Area: Leujaoam Sanctum
-----------------------------------
require("scripts/globals/besieged")
require("scripts/zones/Leujaoam_Sanctum/IDs");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Aht_Urhgan_Whitegate/npcs/Prillaure.lua | 13 | 1055 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Prillaure
-- Type: Event Scene Replayer
-- @pos -143.000 0.999 9.000 50
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Aht_U... | gpl-3.0 |
johnmccabe/dockercraft | world/Plugins/InfoDump.lua | 25 | 22555 | #!/usr/bin/lua
-- InfoDump.lua
--[[
Loads plugins' Info.lua and dumps its g_PluginInfo into various text formats
This is used for generating plugin documentation for the forum and for GitHub's INFO.md files
This script can be used in two ways:
Executing "lua InfoDump.lua" will go through all subfolders and dump each... | apache-2.0 |
niessner/Matterport | tasks/surface_normal/config.lua | 1 | 2671 | require "utils"
--- All parameters goes here
local config = config or {}
function config.parse(arg)
local cmd = torch.CmdLine()
cmd:text()
cmd:text('Multi-Task Classification FCN')
cmd:text()
-- Parameters
-- model configuration
cmd:option('-model', 'model_deep.lua', 'model file')
cmd:option('-input_... | mit |
nesstea/darkstar | scripts/globals/spells/poisonga.lua | 26 | 1126 | -----------------------------------------
-- Spell: Poisonga
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,sp... | gpl-3.0 |
VurtualRuler98/kswep2-NWI | lua/ins_sounds/sounds_kar98k.lua | 1 | 2916 | if (SERVER) then
AddCSLuaFile()
end
--kar98
sound.Add({
name="Weapon_kar98.Single",
volume = 1.0,
pitch = {100,105},
sound = "weapons/kar98/kar98_fp.wav",
level = 142,
channel = CHAN_STATIC
})
sound.Add({
name="Weapon_kar98.MagIn",
volume = 0.2,
sound = "weapons/kar98/handling/kar98_magin.wav",
level = 65,
... | apache-2.0 |
nesstea/darkstar | scripts/zones/Castle_Oztroja/npcs/Tebhi.lua | 13 | 1053 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Tebhi
-- @pos -136 24 -21 151
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
if (trade:hasItemQty(13121,1) and trade:getItemCo... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Windurst_Woods/npcs/Ju_Kamja.lua | 38 | 1032 | ----------------------------------
-- Area: Windurst Woods
-- NPC: Ju Kamja
-- Type: Item Deliverer
-- @zone: 241
-- @pos 58.145 -2.5 -136.91
--
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
require("scripts/zones/Windurst_Woods/TextIDs");
--------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Maze_of_Shakhrami/npcs/Ahko_Mhalijikhari.lua | 19 | 1922 | -----------------------------------
-- Area: Maze of Shakhrami
-- NPC: Ahko Mhalijikhari
-- Type: Quest NPC
-- @pos -344.617 -12.226 -166.233 198
-- 0x003d 0x003e 0x003f 0x0040 0x0041
-----------------------------------
package.loaded["scripts/zones/Maze_of_Shakhrami/TextIDs"] = nil;
-------------------------... | gpl-3.0 |
niessner/Matterport | tasks/surface_normal/main_train_matterport.lua | 1 | 5254 | require 'nn'
require 'cutorch'
require 'cunn'
require 'cudnn'
require 'nngraph'
require 'optim'
require 'BatchIterator'
require 'utils'
require 'utils_matterport'
require 'BatchIterator_matterport'
-- config
local config = dofile('config.lua')
-- print(arg)
config = config.parse(arg)
-- print(config)
cutorch.setDevi... | mit |
kidanger/Drystal | tests/graphics/filter.lua | 1 | 1410 | local drystal = require 'drystal'
local spritesheet = assert(drystal.fromjson(io.open('image.json'):read('*all')))
local image = assert(drystal.load_surface(spritesheet.meta.image))
drystal.resize(600, 400)
image:draw_from()
local spritesrc = spritesheet.frames['character.png'].frame
local sprite = drystal.new_sprit... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Palborough_Mines/npcs/_3z8.lua | 13 | 1521 | -----------------------------------
-- Area: Palborough Mines
-- NPC: Refiner Lever
-- Involved In Mission: Journey Abroad
-- @zone 143
-- @pos 180 -32 167
-----------------------------------
package.loaded["scripts/zones/Palborough_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
Ale32bit/Osmium | src/vfs.lua | 1 | 2603 | local UserPath = ".UserData"
local native = {}
for k,v in pairs(_G.fs) do
native[k] = v
end
local fs = {}
local function getPath(path)
--Failsafe
local fullPath = native.combine(path or "","")
local basedrive = (native.getDrive(fullPath) or native.getDrive(native.getDir(fullPath)))
if basedrive... | gpl-3.0 |
nesstea/darkstar | scripts/globals/items/rolanberry.lua | 18 | 1176 | -----------------------------------------
-- ID: 4365
-- Item: rolanberry
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility -4
-- Intelligence 2
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
----... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/black_ghost.lua | 18 | 1259 | -----------------------------------------
-- ID: 5138
-- Item: Black Ghost
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/globals/items/blacksmiths_belt.lua | 30 | 1204 | -----------------------------------------
-- ID: 15445
-- Item: Blacksmith's Belt
-- Enchantment: Synthesis image support
-- 2Min, All Races
-----------------------------------------
-- Enchantment: Synthesis image support
-- Duration: 2Min
-- Smithing Skill +3
-----------------------------------------
requ... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Northern_San_dOria/npcs/Vavegallet.lua | 13 | 1406 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Vavegallet
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
req... | gpl-3.0 |
abasshacker/extreme | plugins/sticker.lua | 18 | 19218 | do
local administrators_only = 'For administrator only!'
local moderators_only = 'For moderators only!'
local function create_group(msg)
if not is_admin(msg) then return administrators_only end
local group_creator = msg.from.print_name
create_group_chat (group_creator, group_name, ok_cb, false)
return 'Group '... | gpl-2.0 |
UnfortunateFruit/darkstar | scripts/globals/mobskills/flat_blade.lua | 25 | 1097 | ---------------------------------------------
-- Flat Blade
--
-- Description: Delivers a four-hit attack. Chance of critical varies with TP.
-- Type: Physical
-- Shadow per hit
-- Range: Melee
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
re... | gpl-3.0 |
plajjan/snabbswitch | src/apps/rate_limiter/rate_limiter.lua | 1 | 6509 | -- Use of this source code is governed by the Apache 2.0 license; see COPYING.
module(..., package.seeall)
local app = require("core.app")
local link = require("core.link")
local config = require("core.config")
local packet = require("core.packet")
local timer = require("core.timer")
local basic_apps = require("apps.... | apache-2.0 |
UnfortunateFruit/darkstar | scripts/zones/Xarcabard/npcs/Magumo-Yagimo_WW.lua | 30 | 3049 | -----------------------------------
-- Area: Xarcabard
-- NPC: Magumo-Yagimo, W.W.
-- Type: Outpost Conquest Guards
-- @pos 207.548 -24.795 -203.694 112
-----------------------------------
package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");... | gpl-3.0 |
VurtualRuler98/kswep2-NWI | lua/weapons/weapon_kswepi2_m590.lua | 1 | 3592 | --[[
Copyright 2015 vurtual
VurtualRuler98@gmail.com
vurtual.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://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law o... | apache-2.0 |
FailcoderAddons/supervillain-ui | SVUI_Skins/components/addons/Altoholic.lua | 2 | 10176 | --[[
##########################################################
S V U I By: Failcoder
##########################################################
LOCALIZED LUA FUNCTIONS
##########################################################
]]--
--[[ GLOBALS ]]--
local _G = _G;
local unpack = _G.unpack;
local select = _G.select... | mit |
nesstea/darkstar | scripts/zones/Crawlers_Nest/npcs/qm8.lua | 26 | 2671 | -----------------------------------
-- Area: Crawlers Nest
-- NPC: ???
-- Involved in Quest: The Crimson Trial
-- @pos 59 0.1 66 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts... | gpl-3.0 |
johnmccabe/dockercraft | world/Plugins/ChunkWorx/chunkworx_web.lua | 6 | 10762 |
-- chunkworx_web.lua
-- WebAdmin-related functions
local function Buttons_Player( Name )
return "<form method='POST'><input type='hidden' name='PlayerName' value='"..Name.."'><input type='submit' name='PlayerExact' value='Exact'><input type='submit' name='Player3x3' value='3x3'></form>"
end
local function ... | apache-2.0 |
nesstea/darkstar | scripts/zones/Beadeaux/npcs/The_Afflictor.lua | 13 | 1182 | -----------------------------------
-- Area: Beadeaux
-- NPC: The Afflictor
-- @zone 147
-- @pos <many>
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Beadeaux/TextIDs");
require("scripts/globals/quests");
require(... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Metalworks/npcs/Kaela.lua | 38 | 1389 | -----------------------------------
-- Area: Metalworks
-- NPC: Kaela
-- Type: Adventurer's Assistant
-- @pos 40.167 -14.999 16.073 237
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scri... | gpl-3.0 |
nesstea/darkstar | scripts/zones/Bastok_Mines/TextIDs.lua | 8 | 6682 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- Come back after sorting your inventory.
FULL_INVENTORY_AFTER_TRADE = 6383; -- Try trading again after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <<<Unknown Pa... | gpl-3.0 |
nesstea/darkstar | scripts/globals/weaponskills/dragon_kick.lua | 9 | 1693 | -----------------------------------
-- Dragon Kick
-- Hand-to-Hand weapon skill
-- Skill Level: 225
-- Damage varies with TP.
-- Despite the name, Dragon Kick damage is not affected by Kick Attacks or equipment that enhances kick attacks such as Dune Boots. http://www.bluegartr.com/threads/121610-Rehauled-Weapon-Skills... | gpl-3.0 |
MuhammadWang/MCServer | MCServer/Plugins/APIDump/Hooks/OnChunkUnloading.lua | 8 | 1082 | return
{
HOOK_CHUNK_UNLOADING =
{
CalledWhen = " A chunk is about to be unloaded from the memory. Plugins may refuse the unload.",
DefaultFnName = "OnChunkUnloading", -- also used as pagename
Desc = [[
MCServer calls this function when a chunk is about to be unloaded from the memory. A plugin may
force ... | apache-2.0 |
nesstea/darkstar | scripts/globals/weaponskills/atonement.lua | 3 | 4266 | -----------------------------------
-- 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 Twofold a... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/GM_Home/npcs/Trader.lua | 25 | 1134 | -----------------------------------
-- Area: GM Home
-- NPC: Trader
-- Type: Debug NPC for testing trades.
-----------------------------------
package.loaded["scripts/zones/GM_Home/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/GM_Home/TextIDs");
-------------------------------... | gpl-3.0 |
UnfortunateFruit/darkstar | scripts/zones/Kazham/npcs/Ronta-Onta.lua | 23 | 4041 | -----------------------------------
-- Area: Kazham
-- NPC: Ronta-Onta
-- Starts and Finishes Quest: Trial by Fire
-- @pos 100 -15 -97 250
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts... | gpl-3.0 |
FailcoderAddons/supervillain-ui | SVUI_!Core/libs/_SVUI_Lib/LUA.lua | 3 | 17177 | --- LUA companion library.
-- @class file
-- @name LUA
-- @author Steven Jackson (2014)
-- @release 1.0.0
local _G = getfenv(0)
local select = _G.select;
local assert = _G.assert;
local type = _G.type;
local error = _G.error;
local pairs = _G.pairs;
local next ... | mit |
UnfortunateFruit/darkstar | scripts/globals/mobskills/Feather_Maelstrom.lua | 30 | 1043 | ---------------------------------------------
-- Feather Maelstrom
-- Sends a storm of feathers to a single target.
-- Additional effect: Bio & Amnesia
---------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
... | gpl-3.0 |
hussian/hell_iraq | plugins/supergroup.lua | 1 | 104281 | --[[
▀▄ ▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀▄▀▄▄▀▀▄▄▀▀▄▄▀▀▄▄▀▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ BY(@AHMED_ALOBIDE) ▀▄ ▄▀
▀▄ ▄▀ BY(@hussian_9) ▀▄ ▄▀
▀▄ ▄▀ ▀▄ ▄▀
▀▄ ▄▀ ملف السوبر الانكلش ▀▄ ▄▀... | gpl-2.0 |
nesstea/darkstar | scripts/zones/Provenance/Zone.lua | 30 | 1295 | -----------------------------------
--
-- Zone: Provenance (222)
--
-----------------------------------
package.loaded["scripts/zones/Provenance/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Provenance/TextIDs");
-----------------------------------
-- onInitialize
-----------------------... | gpl-3.0 |
ruisebastiao/nodemcu-firmware | lua_examples/make_phone_call.lua | 75 | 3145 | --[[
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, distribute,
sublicense, and/or sell copies... | mit |
focusworld/aabb | plugins/exchange.lua | 352 | 2076 | local ltn12 = require "ltn12"
local https = require "ssl.https"
-- Edit data/mashape.lua with your Mashape API key
-- http://docs.mashape.com/api-keys
local function comma_value(n) -- credit http://richard.warburton.it
local left,num,right = string.match(n,'^([^%d]*%d)(%d*)(.-)$')
return left..(num:reverse():gsub('... | gpl-2.0 |
xinjiguaike/WebChimera | deps/playlist_youtube.lua | 4 | 4674 | --[[
Youtube playlist importer for VLC media player 1.1 and 2.0
Copyright 2012 Guillaume Le Maout
Authors: Guillaume Le Maout
Contact: http://addons.videolan.org/messages/?action=newmessage&username=exebetche
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU G... | lgpl-2.1 |
UnfortunateFruit/darkstar | scripts/zones/Dynamis-Beaucedine/mobs/Adamantking_Effigy.lua | 16 | 3421 | -----------------------------------
-- Area: Dynamis Beaucedine
-- NPC: Adamantking Effigy
-- 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 |
UnfortunateFruit/darkstar | scripts/zones/Batallia_Downs/mobs/Weeping_Willow.lua | 11 | 1354 | -----------------------------------
-- Area: Batallia Downs
-- NPC: Weeping Willow
-----------------------------------
require("scripts/globals/titles");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
------------------------... | gpl-3.0 |
nesstea/darkstar | scripts/globals/abilities/curing_waltz_ii.lua | 19 | 2262 | -----------------------------------
-- Ability: Curing Waltz II
-- Heals HP to target player.
-- Obtained: Dancer Level 30
-- TP Required: 35%
-- Recast Time: 00:08
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- onAbi... | gpl-3.0 |
letoram/prio | actions.lua | 1 | 4244 | local actions = {};
-- chain window
local function wrun(fun)
return function()
if (priowin ~= nil) then
fun(priowin);
end
end
end
-- use a rendertarget indirection for the screenshot to work around some driver
-- bugs for the egl-dri/platform + mesa + ??? when trying to read the front buffer
actions.save_scr... | bsd-3-clause |
daedeloth/lsyncdln | examples/lpostcmd.lua | 4 | 2618 | -----
-- User configuration file for lsyncd.
-- This needs lsyncd >= 2.0.3
--
-- This configuration will execute a command on the remote host
-- after every successfullycompleted rsync operation.
-- for example to restart servlets on the target host or so.
local rsyncpostcmd = {
-- based on default rsync.
default.r... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.