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 |
|---|---|---|---|---|---|
paly2/minetest-minetestforfun-server | mods/vector_extras/vector_meta.lua | 8 | 4424 | vector.meta = vector.meta or {}
vector.meta.nodes = {}
vector.meta.nodes_file = {
load = function()
local nodesfile = io.open(minetest.get_worldpath()..'/vector_nodes.txt', "r")
if nodesfile then
local contents = nodesfile:read('*all')
io.close(nodesfile)
if contents ~= nil then
local lines = string.... | unlicense |
AlexandreCA/darkstar | scripts/globals/abilities/ice_shot.lua | 16 | 3120 | -----------------------------------
-- Ability: Ice Shot
-- Consumes a Ice Card to enhance ice-based debuffs. Deals ice-based magic damage
-- Frost Effect: Enhanced DoT and AGI-
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/magic");... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Den_of_Rancor/npcs/HomePoint#1.lua | 17 | 1247 | -----------------------------------
-- Area: Den_of_Rancor
-- NPC: HomePoint#1
-- @pos -80 46 62 160
-----------------------------------
package.loaded["scripts/zones/Den_of_Rancor/TextIDs"] = nil;
require("scripts/globals/settings");
require("scripts/zones/Den_of_Rancor/TextIDs");
require("scripts/globals... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Port_Windurst/npcs/Kameel.lua | 19 | 1227 | -----------------------------------
-- Area: Port Windurst
-- NPC: Kameel
-- Type: Standard NPC
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
require("scripts/zones/Port_Windurst/TextIDs");
-----------------------------------
-- onTrade Action
------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Bastok_Mines/npcs/Elki.lua | 12 | 2538 | -----------------------------------
-- Area: Bastok Mines
-- NPC: Elki
-- Starts Quests: Hearts of Mythril, The Eleventh's Hour
-----------------------------------
package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/... | gpl-3.0 |
ld-test/lrexlib-gnu | test/gnu_sets.lua | 9 | 1574 | -- See Copyright Notice in the file LICENSE
local luatest = require "luatest"
local N = luatest.NT
local unpack = unpack or table.unpack
local function norm(a) return a==nil and N or a end
local function set_f_gmatch (lib, flg)
local downcase = {}
for i = 0, 255 do -- 255 == UCHAR_MAX
downcase[i] = string.gs... | mit |
boundary/luvit | tests/test-fs-open.lua | 3 | 1269 | --[[
Copyright 2012 The Luvit Authors. All Rights Reserved.
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 or agre... | apache-2.0 |
samboy/Oblige | scripts/cave.lua | 1 | 99546 | ------------------------------------------------------------------------
-- CAVES and MAZES
------------------------------------------------------------------------
--
-- Oblige Level Maker
--
-- Copyright (C) 2009-2017 Andrew Apted
--
-- This program is free software; you can redistribute it and/or
-- modify it u... | gpl-2.0 |
elfinlazz/melia | system/scripts/npc/dungeon/d_thorn_39_3.lua | 1 | 1300 | addnpc(155042, "QUEST_LV_0200_20150714_007098", "d_thorn_39_3", 1341.82, 80.3404, -530.0268, -3, "npc_dummy")
addnpc(147404, "QUEST_LV_0200_20150714_007085", "d_thorn_39_3", 1560.039, 80.3404, -492.4253, -43, "npc_dummy")
addnpc(155046, "QUEST_LV_0200_20150714_007105", "d_thorn_39_3", 1232.263, 80.3404, -778.3516, 45, ... | gpl-3.0 |
martolini/Vana | scripts/npcs/gachapon2.lua | 1 | 13920 | --[[
Copyright (C) 2008-2015 Vana Development Team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHO... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/AlTaieu/mobs/Om_hpemde.lua | 7 | 2832 | -----------------------------------
-- Area: Al'Taieu
-- MOB: Om'Hpemde
-----------------------------------
require("scripts/globals/missions");
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
end;
---... | gpl-3.0 |
Maxsteam/MEGASATAN | plugins/plugins.lua | 72 | 6113 | do
-- Returns the key (index) in the config.enabled_plugins table
local function plugin_enabled( name )
for k,v in pairs(_config.enabled_plugins) do
if name == v then
return k
end
end
-- If not found
return false
end
-- Returns true if file exists in plugins folder
local function plugin_exists( ... | gpl-2.0 |
paly2/minetest-minetestforfun-server | mods/WorldEdit/worldedit_gui/functionality.lua | 7 | 34852 | --saved state for each player
local gui_nodename1 = {} --mapping of player names to node names (arbitrary strings may also appear as values)
local gui_nodename2 = {} --mapping of player names to node names (arbitrary strings may also appear as values)
local gui_axis1 = {} --mapping of player names to axes (one of 1,... | unlicense |
samboy/Oblige | misc/prefab_WIP/scroller.lua | 1 | 1082 | --
-- Scrolling picture
--
----| TECH |-----
UNFINISHED.Pic_tekwall1 =
{
file = "wall/scroller.wad"
where = "edge"
long = 192
deep = 16
x_fit = "frame"
y_fit = "top"
z_fit = "frame"
bound_z1 = 0
bound_z2 = 160
theme = "tech"
prob = 20
tex_SKSPINE2 = "TEKWALL1"
}
UNFINISHED.Pi... | gpl-2.0 |
nwf/openwrt-luci | applications/luci-app-statistics/luasrc/statistics/rrdtool/definitions/processes.lua | 57 | 1951 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.statistics.rrdtool.definitions.processes", package.seeall)
function rrdargs( graph, plugin, plugin_instance, dtype )
return {
{
title = "%H: Processes",
vlabel = "Proce... | apache-2.0 |
AlexandreCA/darkstar | scripts/globals/mobskills/Heavy_Stomp.lua | 33 | 1070 | ---------------------------------------------
-- Heavy Stomp
--
-- Description: Deals heavy damage to targets within an area of effect. Additional effect: Paralysis
-- Type: Physical
-- Utsusemi/Blink absorb: 2-3 shadows
-- Range: Unknown radial
-- Notes: Paralysis effect has a very long duration.
---------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Lower_Jeuno/npcs/_l09.lua | 13 | 1555 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -32.897 0 -28.521
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settin... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Upper_Jeuno/npcs/Appollonia.lua | 59 | 1039 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Appollonia
-- Type: Weather Reporter
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Upper_Jeuno/TextIDs");
--... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Tahrongi_Canyon/npcs/Excavation_Point.lua | 29 | 1114 | -----------------------------------
-- Area: Tahrongi Canyon
-- NPC: Excavation Point
-----------------------------------
package.loaded["scripts/zones/Tahrongi_Canyon/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/excavation");
require("scripts/zones/Tahrongi_Canyon/TextIDs... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Southern_San_dOria/npcs/Adaunel.lua | 13 | 1662 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Adaunel
-- General Info NPC
-- @zone 230
-- @pos 80 -7 -22
------------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
req... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/quus.lua | 18 | 1314 | -----------------------------------------
-- ID: 5793
-- Item: quus
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 2
-- Mind -4
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Windurst_Woods/npcs/Bozack.lua | 13 | 1051 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Bozack
-- Type: Event Replayer
-- @zone: 241
-- @pos 92.591 -5.58 -31.529
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
-------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Upper_Delkfutts_Tower/npcs/_4e2.lua | 13 | 1327 | -----------------------------------
-- Area: Upper Delkfutt's Tower
-- NPC: Elevator
-- @pos -294 -143 27 158
-----------------------------------
package.loaded["scripts/zones/Upper_Delkfutts_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Upper_D... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/abilities/pets/earthen_fury.lua | 34 | 1118 | ---------------------------------------------------
-- Earthen Fury
---------------------------------------------------
require("/scripts/globals/settings");
require("/scripts/globals/status");
require("/scripts/globals/monstertpmoves");
require("/scripts/globals/magic");
---------------------------------------------... | gpl-3.0 |
Whit3Tig3R/Alfred | plugins/linkpv.lua | 66 | 30275 | do
local function check_member(cb_extra, success, result)
local receiver = cb_extra.receiver
local data = cb_extra.data
local msg = cb_extra.msg
for k,v in pairs(result.members) do
local member_id = v.id
if member_id ~= our_id then
-- Group configuration
data[tostring(msg.to.id)] = {
... | gpl-2.0 |
lucgagnon/ntopng | scripts/lua/modules/template.lua | 7 | 15140 | --
-- (C) 2013 - ntop.org
--
local NTOP_BASE_ID = 57472
local NTOP_BASE_NETFLOW_ID = NTOP_BASE_ID+1024
-- template name to id
template = {
['IN_BYTES'] = 1,
--['SYSTEM_ID'] = 1,
['IN_PKTS'] = 2,
--['INTERFACE_ID'] = 2,
['FLOWS'] = 3,
--['LINE_CARD'] = 3,
['PROTOCOL'] = 4,
['PROTOCOL_MAP'] = NT... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/abilities/manifestation.lua | 27 | 1202 | -----------------------------------
-- Ability: Manifestation
-- Extends the effect of your next enfeebling1 black magic spell to targets within range. MP cost and casting time2 are doubled.
-- Obtained: Scholar Level 40
-- Recast Time: Stratagem Charge
-- Duration: 1 compatible black magic spell or 60 seconds, whichev... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/meat_chiefkabob.lua | 35 | 1461 | -----------------------------------------
-- ID: 4574
-- Item: meat_chiefkabob
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 5
-- Agility 1
-- Intelligence -2
-- Attack % 22
-- Attack Cap 65
-----------------------------------------
require("scripts/globals/status")... | gpl-3.0 |
yasharsa/yashartg | 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 |
AlexandreCA/darkstar | scripts/zones/Qulun_Dome/npcs/qm1.lua | 13 | 1386 | -----------------------------------
-- Area: Qulun Dome
-- NPC: qm1 (???)
-- Used In Quest: Whence Blows the Wind
-- @pos 261 39 79 148
-----------------------------------
package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scrip... | gpl-3.0 |
Phrozyn/MozDef | examples/heka-lua-bro/bro_pe.lua | 2 | 3167 | -- This Source Code Form is subject to the terms of the Mozilla Public
-- License, v. 2.0. If a copy of the MPL was not distributed with this
-- file, You can obtain one at http://mozilla.org/MPL/2.0/.
-- Copyright (c) 2014 Mozilla Corporation
local l=require "lpeg"
local string=require "string"
l.locale(l) --add loca... | mpl-2.0 |
AlexandreCA/update | scripts/globals/items/slab_of_ruszor_meat.lua | 18 | 1289 | -----------------------------------------
-- ID: 5755
-- Item: Slab of Ruszor Meat
-- Food Effect: 30Min, Galka only
-----------------------------------------
-- Strength 5
-- Intelligence -7
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Aht_Urhgan_Whitegate/npcs/Hagakoff.lua | 34 | 1998 | -----------------------------------
-- Area: Aht Urhgan Whitegate
-- NPC: Hagakoff
-- Standard Merchant NPC
-- Partitionally Implemented
-- Difficult Shop Script needed
-----------------------------------
package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Northern_San_dOria/npcs/Olbergieut.lua | 12 | 2339 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Olbergieut
-- Type: Quest NPC
-- @zone 231
-- @pos 91 0 121
--
-- Starts and Finishes Quest: Gates of Paradise
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-------------------------------... | gpl-3.0 |
virgo-agent-toolkit/rackspace-monitoring-agent | hostinfo/kernel_modules.lua | 3 | 2332 | --[[
Copyright 2015 Rackspace
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 or agreed to in writing, software
dis... | apache-2.0 |
AlexandreCA/darkstar | scripts/zones/Castle_Oztroja/mobs/Tzee_Xicu_the_Manifest.lua | 7 | 1349 | -----------------------------------
-- Area: Castle Oztroja
-- MOB: Tzee Xicu the Manifest
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Castle_Oztroja/TextIDs");
require("scripts/globals/titles");
---------... | gpl-3.0 |
John-Colvin/reggae | payload/reggae/reggae.lua | 4 | 5719 | local JSON = require('JSON')
local Build = {}
Build.__index = Build
setmetatable(Build, {
__call = function(cls, ...)
return cls.new(...)
end,
})
local Target = {}
Target.__index = Target
setmetatable(Target, {
__call = function (cls, ...)
... | bsd-3-clause |
AlexandreCA/darkstar | scripts/zones/Lower_Delkfutts_Tower/npcs/_541.lua | 13 | 2262 | -----------------------------------
-- Area: Lower Delkfutt's Tower
-- NPC: Cermet Door
-- Cermet Door for Sandy Ambassador
-- San d'Orian Mission 3.3 "Appointment to Jeuno"
-- @pos 636 16 20 184
-----------------------------------
package.loaded["scripts/zones/Lower_Delkfutts_Tower/TextIDs"] = nil;
----------------... | gpl-3.0 |
niedzielski/premake-4.4-beta4 | src/actions/make/make_csharp.lua | 18 | 8352 | --
-- make_csharp.lua
-- Generate a C# project makefile.
-- Copyright (c) 2002-2009 Jason Perkins and the Premake project
--
--
-- Given a .resx resource file, builds the path to corresponding .resource
-- file, matching the behavior and naming of Visual Studio.
--
local function getresourcefilename(cfg, fname)
... | bsd-3-clause |
AlexandreCA/darkstar | scripts/zones/Rolanberry_Fields/npcs/Mayuyu.lua | 29 | 1625 | -----------------------------------
-- Area: Rolanberry Fields
-- NPC: Mayuyu
-- Legion NPC
-- @pos 240 24.399 468
-----------------------------------
package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyi... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/PsoXja/npcs/_i97.lua | 13 | 1175 | -----------------------------------
-- Area: Pso'Xja
-- NPC: Stone Gate
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/PsoXja/TextIDs");
require("scripts/globals/keyitems");
----... | gpl-3.0 |
boknilev/nn | SplitTable.lua | 6 | 1055 | local SplitTable, parent = torch.class('nn.SplitTable', 'nn.Module')
function SplitTable:__init(dimension, nInputDims)
parent.__init(self)
self.dimension = dimension
self.nInputDims = nInputDims
end
function SplitTable:updateOutput(input)
local dimension = self.dimension
if self.nInputDims and input:di... | bsd-3-clause |
adamsumm/ZeldANN | Torch/sample.lua | 2 | 5737 |
--[[
This file samples characters from a trained model
Code is based on implementation in
https://github.com/oxford-cs-ml-2015/practical6
]]--
require 'torch'
require 'nn'
require 'nngraph'
require 'optim'
require 'lfs'
require 'util.OneHot'
require 'util.misc'
cmd = torch.CmdLine()
cmd:text()
cmd:text('Sample ... | mit |
AlexandreCA/update | scripts/zones/Windurst_Walls/npcs/Raamimi.lua | 17 | 3005 | -----------------------------------
-- Area: Windurst Walls
-- Location: X:-81 Y:-9 Z:103
-- NPC: Raamimi
-- Working 100%
-- Involved in Quest: To Bee or Not to Bee?
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/quests");
----------------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/spells/bluemagic/diamondhide.lua | 27 | 1143 | -----------------------------------------
-- Spell: Diamondhide
-- Gives party members within area of effect the effect of "Stoneskin"
-- Spell cost: 99 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+1
-- Level: 67
-- Casting Time: 7 seconds
-- Recast Time: 1 minu... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/spells/bluemagic/blitzstrahl.lua | 25 | 1897 | -----------------------------------------
-- Spell: Blitzstrahl
-- Deals lightning damage to an enemy. Additional effect: "Stun"
-- Spell cost: 70 MP
-- Monster Type: Arcana
-- Spell Type: Magical (Lightning)
-- Blue Magic Points: 4
-- Stat Bonus: DEX+3
-- Level: 44
-- Casting Time: 4.5 seconds
-- Recast Time: 29.25 se... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/zucchini.lua | 36 | 1223 | -----------------------------------------
-- ID: 5726
-- Item: Zucchini
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Agility 1
-- Vitality -3
-- Defense -1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCh... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Dynamis-Xarcabard/mobs/Animated_Gun.lua | 16 | 1469 | -----------------------------------
-- Area: Dynamis Xarcabard
-- NPC: Animated Gun
-----------------------------------
require("scripts/globals/status");
require("scripts/zones/Dynamis-Xarcabard/TextIDs");
-----------------------------------
-- onMobEngaged
-----------------------------------
function ... | gpl-3.0 |
lucgagnon/ntopng | scripts/lua/set_if_prefs.lua | 5 | 2403 | --
-- (C) 2013-15 - ntop.org
--
dirs = ntop.getDirs()
package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path
require "lua_utils"
require "flow_utils"
sendHTTPHeader('text/html; charset=iso-8859-1')
ntop.dumpFile(dirs.installdir .. "/httpdocs/inc/header.inc")
dofile(dirs.installdir .. "/scrip... | gpl-3.0 |
TeamEOS/external_chromium_org_third_party_skia | tools/lua/bitmap_statistics.lua | 207 | 1862 | function string.startsWith(String,Start)
return string.sub(String,1,string.len(Start))==Start
end
function string.endsWith(String,End)
return End=='' or string.sub(String,-string.len(End))==End
end
local canvas = nil
local num_perspective_bitmaps = 0
local num_affine_bitmaps = 0
local num_scaled_bitmaps = 0
loc... | bsd-3-clause |
samboy/Oblige | scripts/grower.lua | 1 | 88918 | ------------------------------------------------------------------------
-- SHAPE GROWING SYSTEM
------------------------------------------------------------------------
--
-- Oblige Level Maker
--
-- Copyright (C) 2015-2017 Andrew Apted
--
-- This program is free software; you can redistribute it and/or
-- modify... | gpl-2.0 |
boknilev/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 |
AlexandreCA/darkstar | scripts/zones/Nashmau/npcs/Pipiroon.lua | 13 | 1206 | -----------------------------------
-- Area: Nashmau
-- NPC: Pipiroon
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
---------------------... | gpl-3.0 |
gaodayihao/XBurner | Libs/DiesalGUI-1.0/Objects/ScrollFrame.lua | 2 | 10691 | -- $Id: ScrollFrame.lua 53 2016-07-12 21:56:30Z diesal2010 $
local DiesalGUI = LibStub("DiesalGUI-1.0")
-- ~~| Libraries |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
local DiesalTools = LibStub("DiesalTools-1.0")
local D... | mit |
AlexandreCA/darkstar | scripts/zones/Castle_Oztroja/npcs/qm2.lua | 13 | 1407 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: qm2 (???)
-- Used In Quest: Whence Blows the Wind
-- @pos -100 -63 58 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
requ... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Misareaux_Coast/npcs/_0p8.lua | 17 | 1782 | -----------------------------------
-- Area: Misareaux Coast
-- NPC: Iron Gate
-- Entrance to Sacrarium
-----------------------------------
package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Misarea... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Upper_Jeuno/npcs/Baudin.lua | 17 | 4616 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Baudin
-- Starts and Finishes Quest: Crest of Davoi, Save My Sister
-- Involved in Quests: Save the Clock Tower
-- @zone 244
-- @pos -75 0 80
-----------------------------------
package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil;
package.l... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Northern_San_dOria/npcs/Andreas.lua | 19 | 2728 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Andreas
-- Type: Guildworker's Union Representative
-- @zone: 231
-- @pos -189.282 10.999 262.626
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
require("scripts/globals/keyitems");
requ... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Port_Windurst/npcs/Pichichi.lua | 13 | 2775 | -----------------------------------
-- Area: Port Windurst
-- NPC: Pichichi
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/settings");
require("scripts/zones/Port_Windurst/T... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/plate_of_tuna_sushi.lua | 17 | 1537 | -----------------------------------------
-- ID: 5150
-- Item: plate_of_tuna_sushi
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Health 20
-- Dexterity 3
-- Charisma 5
-- Accuracy % 15
-- Ranged ACC % 15
-- Sleep Resist 5
-----------------------------------------
require("scripts/global... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Temple_of_Uggalepih/npcs/_mf9.lua | 17 | 1403 | -----------------------------------
-- Area: Temple of Uggalepih
-- NPC: _mf9 (Granite Door)
-- Notes: Opens with Prelate Key
-- @pos -60 -8 -99 159
-----------------------------------
package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil;
-----------------------------------
require("scripts/zo... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Buburimu_Peninsula/npcs/Craigine_RK.lua | 13 | 3336 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Craigine, R.K.
-- Border Conquest Guards
-- @pos -599.903 -41.441 165.776 118
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conqu... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Lower_Jeuno/npcs/_l10.lua | 36 | 1556 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -19 0 -4.625
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/s... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Inner_Horutoto_Ruins/npcs/_5c0_.lua | 36 | 1765 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: Mahogany Door
-- Involved In Quest: Making Headlines
-- Working 100%
-- Unable to find EventID for Making Headlines quest. Used dialog ID instead.
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/Te... | gpl-3.0 |
lancehilliard/TGNS | mods/tgns/output/lua/shine/extensions/communityslots.lua | 1 | 43038 | local NUMBER_OF_SLOTS_TO_LEAVE_FOR_JOINERS_DURING_NON_CAPTAINS_GAMES = 1
local actionslog = { }
local clientsWhoAreConnectedEnoughToBeConsideredBumpable = {}
local MESSAGE_PREFIX = "SLOTS"
table.insert(actionslog, "COMMUNITY SLOTS DEBUG: ")
local victimBumpCounts = {}
local rejectBumpCounts = {}
local commandStructureL... | mit |
AlexandreCA/update | scripts/zones/RuLude_Gardens/npcs/Pherimociel.lua | 19 | 2513 | -----------------------------------
-- Area: Ru'Lude Gardens
-- NPC: Pherimociel
-- Involved in mission: COP 1-2
-- @pos -31.627 1.002 67.956 243
-----------------------------------
package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
r... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/weaponskills/shark_bite.lua | 9 | 1461 | -----------------------------------
-- Shark Bite
-- Dagger weapon skill
-- Skill level: 225
-- Delivers a twofold attack. Damage varies with TP.
-- Will stack with Sneak Attack.
-- Will stack with Trick Attack.
-- Aligned with the Breeze Gorget & Thunder Gorget.
-- Aligned with the Breeze Belt & Thunder Belt.
-- Eleme... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Heavens_Tower/npcs/_6q1.lua | 13 | 1416 | -----------------------------------
-- Area: Heaven's Tower
-- NPC: Starway Stairway
-- @pos -10 0.1 30 242
-----------------------------------
package.loaded["scripts/zones/Heavens_Tower/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/Heavens_Tower/Tex... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/spells/bluemagic/warm-up.lua | 27 | 1924 | -----------------------------------------
-- Spell: Warm-Up
-- Enhances accuracy and evasion
-- Spell cost: 59 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Earth)
-- Blue Magic Points: 4
-- Stat Bonus: VIT+1
-- Level: 68
-- Casting Time: 7 seconds
-- Recast Time: 120 seconds
-- Duration: 180 seconds
--
-- Com... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/sleepshroom.lua | 35 | 1191 | -----------------------------------------
-- ID: 4374
-- Item: sleepshroom
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Strength -3
-- Mind 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemChec... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/walnut.lua | 18 | 1099 | -----------------------------------------
-- ID: 5661
-- Item: Walnut
-- Food Effect: 5Min, All Races
-----------------------------------------
-- HP 30
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
-------------------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Inner_Horutoto_Ruins/npcs/_5cg.lua | 34 | 1075 | -----------------------------------
-- Area: Inner Horutoto Ruins
-- NPC: _5cg (Gate of Fire)
-- @pos -332 0 99 192
-----------------------------------
package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Inner_Horutoto_Ruins/TextIDs")... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Northern_San_dOria/npcs/Boncort.lua | 13 | 2099 | -----------------------------------
-- Area: Northern San d'Oria
-- NPC: Boncort
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/shop");
requi... | gpl-3.0 |
boknilev/nn | SpatialDropout.lua | 6 | 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 |
AlexandreCA/darkstar | scripts/zones/Windurst_Waters/npcs/Paku-Nakku.lua | 13 | 1396 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Paku-Nakku
-- Involved in Quest: Making the Grade
-- Working 100%
-- @zone = 238
-- @pos = 127 -6 165
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Castle_Oztroja/npcs/_m70.lua | 13 | 1235 | -----------------------------------
-- Area: Castle Oztroja
-- NPC: _m70 (Torch Stand)
-- Involved in Mission: Magicite
-- @pos -97.134 24.250 -105.979 151
-----------------------------------
package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/key... | gpl-3.0 |
Peilong/torch7 | torchcwrap.lua | 54 | 15111 | local wrap = require 'cwrap'
local types = wrap.types
types.Tensor = {
helpname = function(arg)
if arg.dim then
return string.format("Tensor~%dD", arg.dim)
else
return "Tensor"
end
end,
declare = function(arg... | bsd-3-clause |
AlexandreCA/darkstar | scripts/zones/Mhaura/npcs/Blandine.lua | 13 | 2238 | -----------------------------------
-- 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 |
AlexandreCA/darkstar | scripts/zones/Spire_of_Mea/npcs/_0l2.lua | 39 | 1330 | -----------------------------------
-- Area: Spire_of_Mea
-- NPC: web of regret
-----------------------------------
package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/bcnm");
require("scripts/zones/Spire_of_Mea/TextIDs");
-------------------------... | gpl-3.0 |
abbasgh12345/extremenewedit | plugins/anti_bot.lua | 65 | 3192 |
local function isBotAllowed (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
local banned = redis:get(hash)
return banned
end
local function allowBot (userId, chatId)
local hash = 'anti-bot:allowed:'..chatId..':'..userId
redis:set(hash, true)
end
local function disallowBot (userId, ch... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Windurst_Waters_[S]/npcs/Churacoco.lua | 38 | 1049 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Churacoco
-- Type: Standard NPC
-- @zone: 94
-- @pos -76.139 -4.499 20.986
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Lower_Jeuno/npcs/_l03.lua | 36 | 1560 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Streetlamp
-- Involved in Quests: Community Service
-- @zone 245
-- @pos -81.310 0 -109.947
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/glo... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Nashmau/npcs/Neneroon.lua | 38 | 1033 | ----------------------------------
-- Area: Nashmau
-- NPC: Neneroon
-- Type: Item Deliverer
-- @pos -0.866 -5.999 36.942 53
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
-------------------... | gpl-3.0 |
paly2/minetest-minetestforfun-server | mods/stained_glass/init.lua | 9 | 6685 | --[[
Stained Glass 1.2
This mod provides luminescent stained glass blocks for Minetest 0.4.x.
Depends:
[moreblocks] by Calinou
[unifieddyes] by VanessaE
==============================================================================
Sat 04 May 2013 01:52:35 PM EDT
Copyright (C) 2013, Eli Innis
Email: doyousketch2 @... | unlicense |
samboy/Oblige | attic/engines/darkplaces.lua | 1 | 1096 | ----------------------------------------------------------------
-- Engine: Darkplaces (QUAKE)
----------------------------------------------------------------
--
-- Oblige Level Maker
--
-- Copyright (C) 2008,2010 Andrew Apted
--
-- This program is free software; you can redistribute it and/or
-- modify it under ... | gpl-2.0 |
AlexandreCA/darkstar | scripts/globals/spells/shellra_v.lua | 26 | 1101 | -----------------------------------------
-- Spell: Shellra
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,spel... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Lower_Jeuno/npcs/Gurdern.lua | 34 | 1374 | -----------------------------------
-- Area: Lower Jeuno
-- NPC: Gurdern
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Lower_Jeuno/TextIDs");
require("scripts/globals/quests");
-... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Mog_Garden/Zone.lua | 32 | 1257 | -----------------------------------
--
-- Zone: Mog Garden (280)
--
-----------------------------------
package.loaded["scripts/zones/Mog_Garden/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Mog_Garden/TextIDs");
-----------------------------------
--... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Port_Jeuno/npcs/Horst.lua | 17 | 3539 | -----------------------------------
-- Area: Port Jeuno
-- NPC: Horst
-- Type: Abyssea Warp NPC
-- @pos -54.379 0.001 -10.061 246
-----------------------------------
package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Port_Jeuno/TextIDs");
-... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Port_San_dOria/npcs/Vendavoq.lua | 36 | 1867 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Vendavoq
-- Only sells when San d'Oria controls Movalpolos
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop")... | gpl-3.0 |
martolini/Vana | scripts/npcs/bush1.lua | 1 | 1751 | --[[
Copyright (C) 2008-2015 Vana Development Team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; version 2
of the License.
This program is distributed in the hope that it will be useful,
but WITHO... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Mhaura/npcs/Yabby_Tanmikey.lua | 17 | 1191 | -----------------------------------
-- Area: Mhaura
-- NPC: Yabby Tanmikey
-- Guild Merchant NPC: Goldsmithing Guild
-- @pos -36.459 -16.000 76.840 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/sett... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Mhaura/npcs/Keshab-Menjab.lua | 38 | 1033 | -----------------------------------
-- Area: Mhaura
-- NPC: Keshab-Menjab
-- Type: Standard NPC
-- @pos -15.727 -9.032 54.049 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Mhaura/npcs/Pikini-Mikini.lua | 36 | 1448 | -----------------------------------
-- Area: Mhaura
-- NPC: Pikini-Mikini
-- Standard Merchant NPC
-- @pos -48 -4 30 249
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/zones/Mhaur... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/dragon_fruit.lua | 36 | 1148 | -----------------------------------------
-- ID: 5662
-- Item: Dragon Fruit
-- Food Effect: 5 Mins, All Races
-----------------------------------------
-- Intelligence 4
-- Agility -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/RuAun_Gardens/npcs/Pincerstone.lua | 13 | 4153 | -----------------------------------
-- Area: Ru'Aun Gardens
-- NPC: Pincerstone
-- NPCs which activates the blue teleports in sky
-----------------------------------
package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/RuAun_Gardens/TextIDs");
------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/weaponskills/empyreal_arrow.lua | 11 | 1536 | -----------------------------------
-- Empyreal Arrow
-- Archery weapon skill
-- Skill level: 250
-- In order to obtain Empyreal Arrow, the quest From Saplings Grow must be completed.
-- Delivers a single-hit attack. Damage varies with TP.
-- Aligned with the Flame Gorget & Light Gorget.
-- Aligned with the Flame Belt ... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Leujaoam_Sanctum/npcs/rune_of_release.lua | 30 | 1891 | -----------------------------------
-- Area: Leujaoam Sanctum
-----------------------------------
require("scripts/globals/besieged")
require("scripts/zones/Leujaoam_Sanctum/IDs");
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
-----... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Lufaise_Meadows/npcs/Chilaumme_RK.lua | 13 | 3328 | -----------------------------------
-- Area: Lufaise Meadows
-- NPC: Chilaumme, R.K.
-- Border Conquest Guards
-- @pos 414.659 0.905 -52.417 24
-----------------------------------
package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
re... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Nashmau/npcs/Wata_Khamazom.lua | 13 | 1476 | -----------------------------------
-- Area: Nashmau
-- NPC: Wata Khamazom
-- Standard Merchant NPC
-----------------------------------
package.loaded["scripts/zones/Nashmau/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Nashmau/TextIDs");
require("scripts/globals/shop");
----------------... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.