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 |
|---|---|---|---|---|---|
arcemu-ng/arcemu | src/scripts/lua/LuaBridge/AUCHINDOUN/MANA_TOMBS/shaffar.lua | 13 | 4734 | --?!MAP=557
assert( include("manatombs.lua") , "Failed to load manatombs.lua")
local mod = require("DUNGEON_AUCHINDOUN.INSTANCE_MANATOMBS")
assert(mod)
module(mod._NAME..".SHAFFAR",package.seeall)
local self = getfenv(1)
WorldDBQuery("DELETE FROM ai_agents WHERE entry = 18344;")
function OnSpawn(unit)
for i = 1,3 do
... | agpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Norg/npcs/Shivivi.lua | 3 | 3175 | -----------------------------------
-- Area: Norg
-- NPC: Shivivi
-- Starts Quest: Secret of the Damp Scroll
-- @zone 252
-- !pos 68.729 -6.281 -6.432
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Jugner_Forest_[S]/npcs/qm6.lua | 3 | 1944 | -----------------------------------
-- Area: Jugner Forest (S)
-- NPC: ???
-- Type: Quest NPC
-- !pos 68 -0.5 324 82
-----------------------------------
package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Jugner_Forest_[S]/TextIDs");
require("... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Sacrificial_Chamber/npcs/_4j4.lua | 8 | 1408 | -----------------------------------
-- Area: Sacrificial Chamber
-- NPC: Mahogany Door
-- !pos 300 30 -324 163
-------------------------------------
package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/missio... | gpl-3.0 |
joewalker/prosody-modules | mod_couchdb/couchdb/couchapi.lib.lua | 32 | 2213 |
local setmetatable = setmetatable;
local pcall = pcall;
local type = type;
local t_concat = table.concat;
local print = print;
local socket_url = require "socket.url";
local http = require "socket.http";
local ltn12 = require "ltn12";
--local json = require "json";
local json = module:require("couchdb/js... | mit |
jono659/enko | scripts/globals/mobskills/Floodlight.lua | 6 | 1225 | ---------------------------------------------------
-- Floodlight
--
-- Description: ~300 magic damage, Flash, Blind and Silence, ignores Utsusemi
-- Type: Magical
--
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/g... | gpl-3.0 |
Cyumus/GarryWare13 | gamemode/vgui_clock.lua | 2 | 3238 | ////////////////////////////////////////////////
// // GarryWare Gold //
// by Hurricaaane (Ha3) //
// and Kilburn_ //
// http://www.youtube.com/user/Hurricaaane //
//--------------------------------------------//
// Ware Speedclock ... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Meriphataud_Mountains/npcs/Stone_Monument.lua | 3 | 1312 | -----------------------------------
-- Area: Meriphataud Mountains
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- !pos 450.741 2.110 -290.736 119
-----------------------------------
package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil;
-----------------------------------
re... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Port_Bastok/npcs/Juroro.lua | 3 | 5833 | -----------------------------------
-- Area: Port Bastok
-- NPC: Juroro
-- Starts and Finishes Quest: Trial by Earth
-- !pos 32 7 -41 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scri... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/spells/drown.lua | 5 | 2061 | -----------------------------------------
-- Spell: Drown
-- Deals water damage that lowers an enemy's strength and gradually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/globals/msg")... | gpl-3.0 |
Mickey32111/MickAntiCheat | lua/sv_screengrab.lua | 1 | 2773 | util.AddNetworkString("screengrab_start")
util.AddNetworkString("screengrab_part")
util.AddNetworkString("screengrab_fwd_init")
util.AddNetworkString("screengrab_fwd")
hook.Add("PlayerSay", "screengrab_playersay", function( ply, said )
if string.Left( string.lower(said), 3 ) == "!sg" then
local split = string.Split... | mit |
Arcscion/Shadowlyre | scripts/globals/abilities/monks_roll.lua | 3 | 2580 | -----------------------------------
-- Ability: Monk's Roll
-- Enhances "Subtle Blow" effect for party members within area of effect
-- Optimal Job: Monk
-- Lucky Number: 3
-- Unlucky Number: 7
-- Level: 31
--
-- Die Roll |No MNK |With MNK
-- -------- -------- -----------
-- 1 |+8 |+18
-- 2 ... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/elshena.lua | 12 | 1354 | -----------------------------------------
-- ID: 5886
-- Item: elshena
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP +7% (cap 120)
-- Increases rate of combat skill gains by 40%
-----------------------------------------
require("scripts/globals/status");
----------------------------... | gpl-3.0 |
jono659/enko | scripts/zones/Alzadaal_Undersea_Ruins/npcs/qm1.lua | 15 | 1195 | -----------------------------------
-- Area: Alzadaal Undersea Ruins
-- NPC: ??? (Spawn Ob(ZNM T1))
-- @pos 542 0 -129 72
-----------------------------------
package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Alzadaal_Undersea_Ruins/TextID... | gpl-3.0 |
sbabic/swupdate | handlers/lua/fpga.lua | 1 | 1077 | -- SPDX-FileCopyrightText: 2014 Stefano Babic <sbabic@denx.de>
--
-- SPDX-License-Identifier: CC0-1.0
require ("swupdate")
fpga_handler = function(image)
print("Install FPGA Software ")
swupdate.notify(swupdate.RECOVERY_STATUS.IDLE, 0, "register Lua handler")
print ("hello world!")
print ("RECOVERY_STATUS.IDLE: "... | gpl-2.0 |
DEVASL/DEVASL-V1 | plugins/addreplay.lua | 3 | 2609 |
local function get_variables_hash(msg)
if msg.to.type == 'chat' or msg.to.type == 'channel' then
return 'chat:bot:variables'
end
end
local function get_value(msg, var_name)
local hash = get_variables_hash(msg)
if hash then
local value = redis:hget(hash, var_name)
if not value then
return
... | gpl-3.0 |
LouisK130/Orange-Cosmos-Roleplay | ocrp/gamemode/client/orgs.lua | 1 | 4412 | OCRP_Orgs = OCRP_Orgs or {}
net.Receive("OCRP_UpdateOrgs", function()
OCRP_Orgs = net.ReadTable()
UpdateOrgTab()
end)
net.Receive("OCRP_UpdateSingleOrg", function()
local orgid = net.ReadInt(32)
OCRP_Orgs[orgid] = net.ReadTable()
UpdateOrgTab()
end)
net.Receive("OCRP_RemoveOrg", function()
lo... | mit |
N0U/Zero-K | LuaRules/Gadgets/dbg_animator.lua | 5 | 6266 | ------------------------
function gadget:GetInfo()
return {
name = "Animator",
desc = "v0.002 Moves and turns pieces.",
author = "CarRepairer & knorke",
date = "2010-03-05",
license = "raubkopierer sind verbrecher",
layer = 0,
enabled = false,
}
end
local fu... | gpl-2.0 |
rtsisyk/tarantool | test/app-tap/msgpack.test.lua | 2 | 2048 | #!/usr/bin/env tarantool
package.path = "lua/?.lua;"..package.path
local tap = require('tap')
local common = require('serializer_test')
local function is_map(s)
local b = string.byte(string.sub(s, 1, 1))
return b >= 0x80 and b <= 0x8f or b == 0xde or b == 0xdf
end
local function is_array(s)
local b = st... | bsd-2-clause |
GloryFish/arrow_chase | vector.lua | 1 | 3774 | --[[
Copyright (c) 2010 Matthias Richter
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, distribu... | mit |
N0U/Zero-K | LuaUI/Configs/transkey.lua | 5 | 1250 | --
-- This table translates keysysms keys to chars
--
local transkey = {
backquote = '`',
leftbracket = '[',
rightbracket = ']',
--delete = 'del',
comma = ',',
period = '.',
slash = '/',
backslash = '\\',
equals = '=',
colon = ':',
semicolon = ';',
quote = "'",
kp_mul... | gpl-2.0 |
N0U/Zero-K | LuaUI/Widgets/gui_chili_highlight.lua | 4 | 7295 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Chili Highlight",
desc = "Draws colored circles around specified Chili elements",
author ... | gpl-2.0 |
jono659/enko | scripts/zones/Port_Jeuno/npcs/Zona_Shodhun.lua | 34 | 3745 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Zona Shodhun
-- Starts and Finishes Quest: Pretty Little Things
-- @zone 246
-- @pos -175 -5 -4
-----------------------------------
package.loaded["scripts/globals/settings"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
jono659/enko | scripts/zones/Port_Bastok/npcs/Kaede.lua | 17 | 2431 | -----------------------------------
-- Area: Port Bastok
-- NPC: Kaede
-- Start Quest: Ayame and Kaede
-- Involved in Quests: Riding on the Clouds
-- @pos 48 -6 67 236
-----------------------------------
package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil;
-----------------------------------
require("... | gpl-3.0 |
jono659/enko | scripts/zones/Temenos/bcnms/Temenos_Northern_Tower.lua | 13 | 1118 | -----------------------------------
-- Area: Temenos
-- Name:
-----------------------------------
require("scripts/globals/limbus");
require("scripts/globals/keyitems");
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[Temenos_N_Tower]UniqueID",Gene... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Norg/npcs/Heizo.lua | 3 | 3232 | -----------------------------------
-- Area: Norg
-- NPC: Heizo
-- Starts and Ends Quest: Like Shining Leggings
-- !pos -1 -5 25 252
-----------------------------------
package.loaded["scripts/zones/Norg/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Windurst_Woods/npcs/Amimi.lua | 5 | 1979 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Amimi
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/chocobo");
require("scripts/globals/status");
-----------------------------------
-- ... | gpl-3.0 |
Noiwex/gmod-medialib | lua/medialib/services/youtube.lua | 1 | 2712 | local oop = medialib.load("oop")
local YoutubeService = oop.class("YoutubeService", "HTMLService")
local raw_patterns = {
"^https?://[A-Za-z0-9%.%-]*%.?youtu%.be/([A-Za-z0-9_%-]+)",
"^https?://[A-Za-z0-9%.%-]*%.?youtube%.com/watch%?.*v=([A-Za-z0-9_%-]+)",
"^https?://[A-Za-z0-9%.%-]*%.?youtube%.com/v/([A-Za-z0-9_%-... | mit |
82488059/AirPlane | airplaneFight/cocos2d/plugin/luabindings/auto/api/lua_cocos2dx_pluginx_auto_api.lua | 146 | 1793 | --------------------------------
-- @module plugin
--------------------------------------------------------
-- the plugin PluginProtocol
-- @field [parent=#plugin] PluginProtocol#PluginProtocol PluginProtocol preloaded module
--------------------------------------------------------
-- the plugin PluginManager
-- @fi... | apache-2.0 |
kongbaguni/dackjabara | cocos2d/plugin/luabindings/auto/api/lua_cocos2dx_pluginx_auto_api.lua | 146 | 1793 | --------------------------------
-- @module plugin
--------------------------------------------------------
-- the plugin PluginProtocol
-- @field [parent=#plugin] PluginProtocol#PluginProtocol PluginProtocol preloaded module
--------------------------------------------------------
-- the plugin PluginManager
-- @fi... | gpl-2.0 |
jono659/enko | 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 |
zhangxiangxiao/nn | ClassNLLCriterion.lua | 15 | 1767 | local ClassNLLCriterion, parent = torch.class(
'nn.ClassNLLCriterion',
'nn.Criterion'
)
function ClassNLLCriterion:__init(weights, sizeAverage)
parent.__init(self)
if sizeAverage ~= nil then
self.sizeAverage = sizeAverage
else
self.sizeAverage = true
end
if weights then
... | bsd-3-clause |
Configi/configi | lib/luacov/defaults.lua | 1 | 2554 | --- Default values for configuration options.
-- For project specific configuration create '.luacov' file in your project
-- folder. It should be a Lua script setting various options as globals
-- or returning table of options.
-- @class module
-- @name luacov.defaults
return {
--- Filename to store collected stats.... | mit |
Arcscion/Shadowlyre | scripts/zones/Abyssea-La_Theine/npcs/qm6.lua | 3 | 1347 | -----------------------------------
-- Zone: Abyssea-LaTheine
-- NPC: qm6 (???)
-- Spawns Grandgousier
-- !pos ? ? ? 132
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
... | gpl-3.0 |
N0U/Zero-K | gamedata/weapondefs_post.lua | 3 | 13514 | -- $Id: weapondefs_post.lua 3171 2008-11-06 09:06:29Z det $
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--
-- file: weapondefs_post.lua
-- brief: weaponDef post processing
-- author: Dave Rodge... | gpl-2.0 |
N0U/Zero-K | LuaUI/Configs/marking_menu_menu_athena.lua | 5 | 1343 | local menu_athena = {
items = {
{
angle = -90,
unit = "cloakcon",
label = "Bots",
items = {
{
angle= -45,
unit = "spiderscout",
},
{
angle = -135,
unit = "shieldraid",
},
{
angle = -180,
unit = "cloakheavyraid",
},
{
angle = 0,
unit = "cloakaa",
},
... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Batallia_Downs/npcs/qm2.lua | 17 | 1515 | -----------------------------------
-- Area: Batallia Downs
-- NPC: qm2 (???)
-- Pop for the quest "Chasing Quotas"
-----------------------------------
package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Batallia_Downs/TextIDs");
require("scripts/... | gpl-3.0 |
zzh442856860/skynet-Note | lualib/sharemap.lua | 78 | 1496 | local stm = require "stm"
local sprotoloader = require "sprotoloader"
local sproto = require "sproto"
local setmetatable = setmetatable
local sharemap = {}
function sharemap.register(protofile)
-- use global slot 0 for type define
sprotoloader.register(protofile, 0)
end
local sprotoobj
local function loadsp()
if ... | mit |
N0U/Zero-K | LuaUI/Widgets/mission_objectives.lua | 8 | 12675 | --------------------------------------------------------------------------------
--------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Objectives",
desc = "Displays mission objectives.",
author = "KingRaptor (L.J. Lim)",
... | gpl-2.0 |
srvz/telegram-bot | plugins/stats.lua | 458 | 4098 | -- Saves the number of messages from a user
-- Can check the number of messages with !stats
do
local NUM_MSG_MAX = 5
local TIME_CHECK = 4 -- seconds
local function user_print_name(user)
if user.print_name then
return user.print_name
end
local text = ''
if user.first_name then
text = user.last_name.... | gpl-2.0 |
jono659/enko | scripts/zones/Yhoator_Jungle/npcs/Telepoint.lua | 17 | 1628 | -----------------------------------
-- Area: Yhoator Jungle
-- NPC: Telepoint
-----------------------------------
package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Yhoator_Jungle/TextIDs");
---------... | gpl-3.0 |
jono659/enko | scripts/zones/Southern_San_dOria/npcs/Ferdoulemiont.lua | 36 | 2182 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Ferdoulemiont
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/global... | gpl-3.0 |
jono659/enko | scripts/zones/Dynamis-Windurst/mobs/Tzee_Xicu_Idol.lua | 11 | 1290 | -----------------------------------
-- Area: Dynamis Windurst
-- NPC: Tzee Xicu Idol
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/dynamis");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Selbina/npcs/Wenzel.lua | 3 | 1051 | ----------------------------------
-- Area: Selbina
-- NPC: Wenzel
-- Type: Item Deliverer
-- !pos 31.961 -14.661 57.997 248
-----------------------------------
package.loaded["scripts/zones/Selbina/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Selbina/TextIDs");
---------------------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/mobskills/dark_wave.lua | 33 | 1185 | ---------------------------------------------
-- Dark Wave
--
-- Description: A wave of dark energy washes over targets in an area of effect. Additional effect: Bio
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: 10' radial
-- Notes: Severity of Bio effect varies by time of day, from 8/tic at... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/weaponskills/wildfire.lua | 24 | 1622 | -----------------------------------
-- Wildfire
-- Skill Level: N/A
-- Description: Deals fire elemental damage. Enmity generation varies with TP. Armageddon: Aftermath.
-- Acquired permanently by completing the appropriate Walk of Echoes Weapon Skill Trials.
-- Can also be used by equipping Armageddon (85)/(90)/(95)/(... | gpl-3.0 |
jono659/enko | scripts/globals/items/coeurl_sub_+1.lua | 35 | 1922 | -----------------------------------------
-- ID: 5167
-- Item: coeurl_sub_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 15
-- Strength 6
-- Agility 1
-- Intelligence -2
-- Health Regen While Healing 1
-- Attack % 22
-- Attack Cap 80
-- Ranged ATT % 22
-- Ranged ATT ... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/bataquiche_+1.lua | 12 | 1470 | -----------------------------------------
-- ID: 5169
-- Item: Bataquiche +1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Magic 10
-- Agility 1
-- Vitality -1
-- Ranged Acc % 7
-- Ranged Acc Cap 20
-----------------------------------------
require("scripts/globals/status");
----------... | gpl-3.0 |
spawnazzo/luci | applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo_mini.lua | 141 | 1031 | --[[
smap_devinfo - SIP Device Information
(c) 2009 Daniel Dickinson
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
$Id$
]]--
require("luci.i18n")
re... | apache-2.0 |
Arcscion/Shadowlyre | scripts/zones/Bastok_Markets/npcs/Reet.lua | 3 | 1336 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Reet
-- Adventurer's Assistant
-- !pos -237 -12 -41 235
-------------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-------------------------------------
require("scripts/zones/Bastok_Markets/TextIDs");
require("... | gpl-3.0 |
N0U/Zero-K | units/corcom1.lua | 5 | 5619 | unitDef = {
unitname = [[corcom1]],
name = [[Battle Commander]],
description = [[Heavy Combat Commander, Builds at 10 m/s]],
acceleration = 0.18,
activateWhenBuilt = true,
autoHeal = 5,
brakeRate = 0.375,
buildCostMetal = 1200,
build... | gpl-2.0 |
rtsisyk/tarantool | src/lua/argparse.lua | 4 | 5024 | local fun = require('fun')
local function parse_param_prefix(param)
if param == nil then return nil end
local is_long = (param:find("^[-][-]") ~= nil)
local is_short = not is_long and (param:find("^[-]") ~= nil)
local is_dash = is_short and (param:find("^[-]$") ~= nil)
return is_long, is_short, i... | bsd-2-clause |
n1ghtmare/Algorithm-Implementations | Best_First_Search/Lua/Yonaba/bfs_test.lua | 26 | 2639 | -- Tests for bfs.lua
local BFS = require 'bfs'
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 same(t, p, comp)
for k,v in ipairs(t) do
if not comp(v, p[k]) then return false end
end
return true
end
... | mit |
jono659/enko | scripts/globals/items/pixie_mace.lua | 16 | 1034 | -----------------------------------------
-- ID: 17414
-- Item: Pixie Mace
-- Additional Effect: Light Damage
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
--------------------------------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/nopales_salad.lua | 12 | 1358 | -----------------------------------------
-- ID: 5701
-- Item: nopales_salad
-- Food Effect: 3Hrs, All Races
-----------------------------------------
-- Strength 1
-- Agility 6
-- Ranged Accuracy +20
-- Ranged Attack +10
-----------------------------------------
require("scripts/globals/status");
-------------------... | gpl-3.0 |
jono659/enko | scripts/zones/Phomiuna_Aqueducts/npcs/qm3.lua | 34 | 1033 | -----------------------------------
-- Area: Phomiuna Aqueducts
-- NPC: qm3 (???)
-- Notes: Opens north door @ J-9
-- @pos 116.743 -24.636 27.518 27
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,tra... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/RuLude_Gardens/npcs/Albiona.lua | 17 | 1393 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Albiona
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuLude_Gardens/TextIDs");
require("scripts/globals/quests");
-... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Cape_Teriggan/npcs/Salimardi_RK.lua | 3 | 3316 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Bright Moon
-- Type: Outpost Conquest Guards
-- !pos -185 7 -63 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
require("scri... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Newton_Movalpolos/npcs/Moblin_Showman.lua | 3 | 1062 | -----------------------------------
-- Area: Newton Movalpolos
-- NPC: Moblin Showman - Bugbear Matman
-- !pos 124.544 19.988 -60.670 12
-----------------------------------
package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Newton_Movalpolos/Tex... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Port_Jeuno/npcs/Sagheera.lua | 3 | 10726 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Sagheera
-- !pos -3 0.1 -9 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
require("scripts/zones... | gpl-3.0 |
jono659/enko | 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 |
jono659/enko | scripts/zones/Spire_of_Vahzl/npcs/_0n0.lua | 12 | 1483 | -----------------------------------
-- Area: Spire of Vahzl
-- NPC: Web of Recollection
-----------------------------------
package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/globals/quests");
require("scripts/gl... | gpl-3.0 |
hnakamur/lua-cornerstone | test/bitvector.lua | 1 | 1439 | local exports = {}
exports['BitVector'] = function(test)
local cs = require('cornerstone')
local BitVector = cs.BitVector
local v = BitVector.new(1000)
test.equal(type(v), 'userdata')
test.equal(v:length(), 1000)
for i = 1, 1000 do
v:set(i, i % 5 == 0)
end
test.ok(v:get(10))
test.done()
end
expo... | mit |
CQUI-Org/cqui | Integrations/ML/UI/minimappanel.lua | 4 | 95920 | -- ===========================================================================
-- MINIMAP PANEL
-- ===========================================================================
include( "InstanceManager" );
include( "Civ6Common.lua" ); -- GetCivilizationUniqueTraits, GetLeaderUniqueTraits
include( "SupportFunctions" ... | mit |
jono659/enko | scripts/globals/mobskills/Horrid_Roar_3.lua | 6 | 1347 | ---------------------------------------------------
-- Horrid Roar (Tiamat, Jormungand, Vrtra, Ouryu)
-- Dispels all buffs including food. Lowers Enmity.
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monste... | gpl-3.0 |
jono659/enko | scripts/zones/Temple_of_Uggalepih/npcs/Stone_Picture_Frame.lua | 9 | 3486 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: Stone Picture Frame
-- Notes: Opens door to Den of Rancor using Painbrush of Souls
-- @pos -52.239 -2.089 10.000 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------... | gpl-3.0 |
zhangxiangxiao/nn | View.lua | 41 | 2232 | local View, parent = torch.class('nn.View', 'nn.Module')
function View:__init(...)
parent.__init(self)
if select('#', ...) == 1 and torch.typename(select(1, ...)) == 'torch.LongStorage' then
self.size = select(1, ...)
else
self.size = torch.LongStorage({...})
end
self.numElements = 1
loc... | bsd-3-clause |
jono659/enko | scripts/globals/spells/bio.lua | 5 | 2012 | -----------------------------------------
-- Spell: Bio
-- Deals dark damage that weakens an enemy's attacks and gruadually reduces its HP.
-----------------------------------------
require("scripts/globals/settings");
require("scripts/globals/magic");
require("scripts/globals/status");
---------------------... | gpl-3.0 |
Configi/configi | lib/luajit/src/jit/dis_ppc.lua | 59 | 20301 | ----------------------------------------------------------------------------
-- LuaJIT PPC disassembler module.
--
-- Copyright (C) 2005-2017 Mike Pall. All rights reserved.
-- Released under the MIT/X license. See Copyright Notice in luajit.h
----------------------------------------------------------------------------... | mit |
Arcscion/Shadowlyre | scripts/globals/mobskills/prishe_item_2.lua | 4 | 1640 | ---------------------------------------------
-- Prishe Item 2
---------------------------------------------
package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil;
---------------------------------------------
require("scripts/zones/Empyreal_Paradox/TextIDs");
require("scripts/globals/monstertpmoves");
require... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Mhaura/npcs/Blandine.lua | 3 | 2247 | -----------------------------------
-- Area: Mhaura
-- NPC: Blandine
-- Start Quest: The Sand Charmz
-- !pos 23 -7 41 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests")... | gpl-3.0 |
jono659/enko | 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 |
zhaoxx063/snort3 | src/managers/snort_plugin.lua | 5 | 1591 | ---------------------------------------------------------------------------
-- Copyright (C) 2014-2015 Cisco and/or its affiliates. All rights reserved.
--
-- This program is free software; you can redistribute it and/or modify it
-- under the terms of the GNU General Public License Version 2 as published
-- by the Fre... | gpl-2.0 |
N0U/Zero-K | scripts/planeheavyfighter.lua | 4 | 3748 | include "constants.lua"
--pieces
local base = piece "base"
local wingR, wingL, wingtipR, wingtipL = piece("wingr", "wingl", "wingtip1", "wingtip2")
local engineR, engineL, thrust1, thrust2, thrust3 = piece("jetr", "jetl", "thrust1", "thrust2", "thrust3")
local missR, missL = piece("m1", "m2")
local smokePiece = {base... | gpl-2.0 |
Arcscion/Shadowlyre | scripts/zones/Outer_Horutoto_Ruins/npcs/_5ee.lua | 17 | 3749 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Ancient Magical Gizmo #1 (E 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;
-----------------------------------
re... | gpl-3.0 |
jono659/enko | scripts/zones/Castle_Oztroja/npcs/Kaa_Toru_the_Just.lua | 19 | 1579 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: Kaa Toru the Just
-- Type: Mission NPC [ Windurst Mission 6-2 NPC ]~
-- @pos -100.188 -62.125 145.422 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
requir... | gpl-3.0 |
jono659/enko | scripts/globals/magic.lua | 2 | 52580 | require("scripts/globals/magicburst")
require("scripts/globals/status")
require("scripts/globals/weather")
require("scripts/globals/utils")
MMSG_BUFF_FAIL = 75;
DIVINE_MAGIC_SKILL = 32;
HEALING_MAGIC_SKILL = 33;
ENHANCING_MAGIC_SKILL = 34;
ENFEEBLING_MAGIC_SKILL = 35;
ELEMENTAL_MAGIC_SKILL... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/abilities/dark_shot.lua | 5 | 2883 | -----------------------------------
-- Ability: Dark Shot
-- Consumes a Dark Card to enhance dark-based debuffs. Additional effect: Dark-based Dispel
-- Bio Effect: Attack Down Effect +5% and DoT + 3
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scr... | gpl-3.0 |
jono659/enko | scripts/zones/Northern_San_dOria/npcs/Helaku.lua | 5 | 3038 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Helaku
-- Involved in Missions 2-3
-- @zone 231
-- @pos 49 -2 -12
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/setting... | gpl-3.0 |
jono659/enko | scripts/zones/Caedarva_Mire/npcs/Jazaraat_s_Headstone.lua | 13 | 1058 | -----------------------------------
-- Area: Caedarva Mire
-- NPC: Jazaraat's Headstone
-- Involved in mission: The Lost Kingdom (TOAUM 13)
-- @pos -389 6 -570 79
-----------------------------------
package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil;
require("scripts/zones/Caedarva_Mire/TextIDs");
... | gpl-3.0 |
jono659/enko | scripts/zones/La_Theine_Plateau/npcs/Deaufrain.lua | 17 | 2302 | -----------------------------------
-- Area: La Theine Plateau
-- NPC: Deaufrain
-- Involved in Mission: The Rescue Drill
-- @pos -304 28 339 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/m... | gpl-3.0 |
jono659/enko | scripts/zones/Carpenters_Landing/Zone.lua | 27 | 3518 | -----------------------------------
--
-- Zone: Carpenters_Landing (2)
--
-----------------------------------
package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil;
package.loaded["scripts/globals/chocobo_digging"] = nil;
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/East_Ronfaure/npcs/Andelain.lua | 3 | 2182 | -----------------------------------
-- Area: East Ronfaure
-- NPC: Andelain
-- Type: Standard NPC
-- !pos 664.231 -12.849 -539.413 101
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil;
------------------------... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/zones/Abyssea-Grauberg/npcs/qm10.lua | 3 | 1356 | -----------------------------------
-- Zone: Abyssea-Grauberg
-- NPC: qm10 (???)
-- Spawns Burstrox Powderpate
-- !pos ? ? ? 254
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc... | gpl-3.0 |
jono659/enko | 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 |
Arcscion/Shadowlyre | scripts/zones/Lufaise_Meadows/Zone.lua | 1 | 3098 | -----------------------------------
--
-- Zone: Lufaise_Meadows (24)
--
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lufaise_Meadows/TextIDs");
require("scripts/zones/Lufaise_Meadows/MobIDs");
require("scrip... | gpl-3.0 |
jono659/enko | 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 |
jono659/enko | scripts/zones/Tavnazian_Safehold/npcs/Porter_Moogle.lua | 41 | 1547 | -----------------------------------
-- Area: Tavnazian_Safehold
-- NPC: Porter Moogle
-- Type: Storage Moogle
-- @zone 26
-- @pos TODO
-----------------------------------
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Tavnazian_S... | gpl-3.0 |
Tikiwinkie/overthebox-feeds | luci-mod-admin-full/luasrc/model/cbi/admin_network/network.lua | 4 | 2603 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Copyright 2015 OVH <OverTheBox@ovh.net>
-- Licensed to the public under the Apache License 2.0.
local fs = require "nixio.fs"
m = Map("network", translate("Interfaces"))
m.pageaction = false
m:section(SimpleSect... | gpl-3.0 |
Arcscion/Shadowlyre | scripts/globals/items/dish_of_spaghetti_nero_di_seppia.lua | 12 | 1809 | -----------------------------------------
-- ID: 5193
-- Item: dish_of_spaghetti_nero_di_seppia
-- Food Effect: 30Min, All Races
-----------------------------------------
-- HP % 17 (cap 130)
-- Dexterity 3
-- Vitality 2
-- Agility -1
-- Mind -2
-- Charisma -1
-- Double Attack 1
-- Store TP 6
--------------------------... | gpl-3.0 |
jono659/enko | 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 |
N0U/Zero-K | effects/paris.lua | 13 | 4272 | -- paris_glow
-- paris
-- paris_gflash
-- paris_sphere
return {
["paris_glow"] = {
glow = {
air = true,
class = [[CSimpleParticleSystem]],
count = 2,
ground = true,
water = true,
properties = {
airdrag ... | gpl-2.0 |
jono659/enko | scripts/zones/Port_Jeuno/npcs/Chaka_Skitimah.lua | 12 | 1279 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Chaka Skitimah
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
require("scripts/zones/Port_Jeuno/TextIDs");
-----------------------------------
-- onTrade Action
----------... | gpl-3.0 |
jono659/enko | scripts/zones/Dynamis-San_dOria/mobs/Wyrmgnasher_Bjakdek.lua | 11 | 1060 | -----------------------------------
-- Area: Dynamis San d'Oria
-- NPC: Wyrmgnasher Bjakdek
-- Boss Trigger for Overlord's Tombstone
-----------------------------------
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
end;
-----------... | gpl-3.0 |
sbodenstein/nn | SpatialDropout.lua | 33 | 1453 | local SpatialDropout, Parent = torch.class('nn.SpatialDropout', 'nn.Module')
function SpatialDropout:__init(p)
Parent.__init(self)
self.p = p or 0.5
self.train = true
self.noise = torch.Tensor()
end
function SpatialDropout:updateOutput(input)
self.output:resizeAs(input):copy(input)
if self.train the... | bsd-3-clause |
jono659/enko | 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 |
jono659/enko | scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Ice.lua | 12 | 2252 | -----------------------------------
-- Area: Chamber of Oracles
-- NPC: Pedestal of Ice
-- Involved in Zilart Mission 7
-- @pos 199 -2 36 168
-------------------------------------
package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/... | gpl-3.0 |
spawnazzo/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... | apache-2.0 |
Arcscion/Shadowlyre | scripts/zones/Rabao/npcs/Guinavie.lua | 5 | 1719 | -----------------------------------
-- Area: Rabao
-- NPC: Guinavie
-- Chocobo Vendor
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/chocobo");
require("scripts/globals/status");
-----------------------------------
-- onTrade Actio... | gpl-3.0 |
N0U/Zero-K | lups/ParticleClasses/OverdriveParticles.lua | 5 | 11148 | -- $Id: OverdriveParticles.lua 3345 2008-12-02 00:03:50Z jk $
-----------------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------------
local OverdriveParticles = {}... | gpl-2.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.