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 |
|---|---|---|---|---|---|
paly2/minetest-minetestforfun-server | mods/3d_armor/3d_armor/admin.lua | 4 | 1223 | minetest.register_alias("adminboots","3d_armor:boots_admin")
minetest.register_alias("adminhelmet","3d_armor:helmet_admin")
minetest.register_alias("adminchestplate","3d_armor:chestplate_admin")
minetest.register_alias("adminlegginss","3d_armor:leggings_admin")
minetest.register_tool("3d_armor:helmet_admin", {
descri... | unlicense |
Phrozyn/MozDef | examples/heka-lua-bro/bro_known_services.lua | 6 | 1650 | -- 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/darkstar | scripts/zones/Bhaflau_Thickets/npcs/Harvesting_Point.lua | 13 | 1086 | -----------------------------------
-- Area: Bhaflau Thickets
-- NPC: Harvesting Point
-----------------------------------
package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/harvesting");
require("scripts/zones/Bhaflau_Thickets/TextIDs");
... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Phomiuna_Aqueducts/npcs/_0rn.lua | 13 | 1641 | -----------------------------------
-- Area: Phomiuna_Aqueducts
-- NPC: _0rn (Oil lamp)
-- @pos -60 -23 60 27
-----------------------------------
package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Phomiuna_... | gpl-3.0 |
AlexandreCA/update | scripts/globals/effects/vit_down.lua | 18 | 1094 | -----------------------------------
--
-- EFFECT_VIT_DOWN
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
if ((target:getStat(MOD_VIT) - effec... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/apple_pie.lua | 18 | 1261 | -----------------------------------------
-- ID: 4413
-- Item: Apple Pie
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Magic 25
-- Agility -1
-- Intelligence 3
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnIt... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Port_Bastok/npcs/Zoby_Quhyo.lua | 36 | 1693 | -----------------------------------
-- Area: Port Bastok
-- NPC: Zoby Quhyo
-- Only sells when Bastok controlls Elshimo Lowlands
-- Confirmed shop stock, August 2013
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest");
package.loaded["scripts/zones/Port_Bas... | gpl-3.0 |
AlexandreCA/update | scripts/zones/La_Theine_Plateau/npcs/Shattered_Telepoint.lua | 19 | 2214 | -----------------------------------
-- Area: La_Theine Plateau
-- NPC: Shattered Telepoint
-- @pos 334 19 -60 102
-----------------------------------
package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/La_Thei... | gpl-3.0 |
Moligaloo/AnimGroup | anim_group.lua | 1 | 7534 |
local tween = require 'tween'
local loop_create, sequence_create, parallel_create, empty_action
local next_dt = function()
local self, dt = coroutine.yield(false)
return dt
end
local extend = function(a, b)
for k, v in pairs(b) do
a[k] = v
end
end
local become = function(a, b)
for k in pairs(a) do
a[k] = ... | mit |
AlexandreCA/darkstar | scripts/zones/The_Garden_of_RuHmet/npcs/_0zy.lua | 19 | 1465 | -----------------------------------
-- Area: The Garden of Ru'Hmet
-- NPC: Cermet Portal
-- @pos -419 0.1 356 35
-----------------------------------
-----------------------------------
-- onTrade Action
-----------------------------------
function onTrade(player,npc,trade)
end;
----------------------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Apollyon/mobs/Grave_Digger.lua | 33 | 1024 | -----------------------------------
-- Area: Apollyon SE
-- NPC: Grave_Digger
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Apollyon/TextIDs");
-----------------------------------
-- onMobSpawn Action... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/QuBia_Arena/mobs/Trion.lua | 8 | 1489 | -----------------------------------
-- Area: qubia arena
-- MOB: Trion
-- the heir to the light sando 9-2
-----------------------------------
package.loaded["scripts/zones/QuBia_Arena/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/QuBia_Arena/TextIDs");
require("scripts/globals/status");
r... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/FeiYin/Zone.lua | 16 | 3398 | -----------------------------------
--
-- Zone: FeiYin (204)
--
-----------------------------------
package.loaded["scripts/zones/FeiYin/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require("scripts/globals/quests");
require("scripts/glo... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Port_Windurst/npcs/Paytah.lua | 13 | 1044 | -----------------------------------
-- Area: Port Windurst
-- NPC: Paytah
-- Type: Standard NPC
-- @zone: 240
-- @pos 77.550 -6 117.769
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
--------------------... | gpl-3.0 |
boknilev/nn | Padding.lua | 12 | 1441 | local Padding, parent = torch.class('nn.Padding', 'nn.Module')
-- pad can be positive (right) negative (left)
function Padding:__init(dim, pad, nInputDim, value)
self.dim = dim
self.pad = pad
self.nInputDim = nInputDim
self.value = value or 0
self.outputSize = torch.LongStorage()
parent.__init(self)
... | bsd-3-clause |
jstewart-amd/premake-core | tests/actions/make/workspace/test_default_config.lua | 18 | 1232 | --
-- tests/actions/make/test_default_config.lua
-- Validate generation of default configuration block for makefiles.
-- Copyright (c) 2012-2015 Jason Perkins and the Premake project
--
local suite = test.declare("make_default_config")
local p = premake
--
-- Setup/teardown
--
local wks, prj
function suite.se... | bsd-3-clause |
virgo-agent-toolkit/rackspace-monitoring-agent | hostinfo/memory.lua | 3 | 1396 | --[[
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 |
virgo-agent-toolkit/rackspace-monitoring-agent | certs.lua | 4 | 6789 | --[[
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 |
martolini/Vana | scripts/npcs/taxi2.lua | 1 | 2312 | --[[
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/globals/effects/sentinel.lua | 33 | 1291 | -----------------------------------
--
-- EFFECT_SENTINEL
--
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onEffectGain Action
-----------------------------------
function onEffectGain(target,effect)
target:addMod(MOD_UDMGPHYS,-effect:getP... | gpl-3.0 |
fo369/packages-1505 | net/smartsnmpd/files/mibs/interfaces.lua | 158 | 4833 | --
-- This file is part of SmartSNMP
-- Copyright (C) 2014, Credo Semiconductor Inc.
--
-- 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; either version 2 of the License, or
-- (at your optio... | gpl-2.0 |
kooiot/packages | net/smartsnmpd/files/mibs/interfaces.lua | 158 | 4833 | --
-- This file is part of SmartSNMP
-- Copyright (C) 2014, Credo Semiconductor Inc.
--
-- 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; either version 2 of the License, or
-- (at your optio... | gpl-2.0 |
billsq/packages | net/smartsnmpd/files/mibs/interfaces.lua | 158 | 4833 | --
-- This file is part of SmartSNMP
-- Copyright (C) 2014, Credo Semiconductor Inc.
--
-- 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; either version 2 of the License, or
-- (at your optio... | gpl-2.0 |
AlexandreCA/update | scripts/globals/weaponskills/blade_ku.lua | 30 | 1680 | -----------------------------------
-- Blade Ku
-- Katana weapon skill
-- Skill level: N/A
-- Description: Delivers a five-hit attack. params.accuracy varies with TP.
-- In order to obtain Blade: Ku, the quest Bugi Soden must be completed.
-- Will stack with Sneak Attack.
-- Aligned with the Shadow Gorget, Soil ... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/abilities/pets/tail_whip.lua | 30 | 1284 | ---------------------------------------------------
-- Tail Whip M=5
---------------------------------------------------
require("scripts/globals/settings");
require("scripts/globals/status");
require("scripts/globals/monstertpmoves");
require("scripts/globals/summon");
-----------------------------------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/King_Ranperres_Tomb/Zone.lua | 27 | 2230 | -----------------------------------
--
-- Zone: King_Ranperres_Tomb (190)
--
-----------------------------------
package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/... | gpl-3.0 |
bmharper/tundra | scripts/tundra/tools/msvc-winsdk.lua | 28 | 4318 | -- msvc-winsdk.lua - Use Microsoft Windows SDK 7.1 or later to build.
module(..., package.seeall)
local native = require "tundra.native"
local os = require "os"
if native.host_platform ~= "windows" then
error("the msvc toolset only works on windows hosts")
end
local function get_host_arch()
local snative = nati... | mit |
gaodayihao/XBurner | game/artifact.lua | 1 | 1968 | local _, XB = ...
XB.Game.Artifact = {}
local UnitClass = UnitClass
local GetSpecializationInfo = GetSpecializationInfo
local GetSpecialization = GetSpecialization
local artifactListener = {}
local LAD = LibStub("LibArtifactDa... | mit |
AlexandreCA/darkstar | scripts/globals/items/plate_of_salmon_sushi_+1.lua | 18 | 1470 | -----------------------------------------
-- ID: 5664
-- Item: plate_of_salmon_sushi_+1
-- Food Effect: 60Min, All Races
-----------------------------------------
-- Strength 2
-- Accuracy % 15
-- Ranged ACC % 15
-----------------------------------------
require("scripts/globals/status");
----------------------------... | gpl-3.0 |
incinirate/Riko4 | scripts/home/demos/part.lua | 1 | 13370 | --[[
Part(icle test)
A neat demo set in space where you control a ship with the arrow
keys, demonstrating how a particle system can be used to create
various effects in an efficient and beautiful manner.
]]
local rif = require "rif"
local gpp = require "gpp"
local sw, sh = gpu.width, gpu.height
local fl = math.flo... | mit |
AlexandreCA/darkstar | scripts/zones/PsoXja/TextIDs.lua | 20 | 1882 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
gaodayihao/XBurner | Libs/DiesalMenu-1.0/Objects/MenuItem.lua | 6 | 6079 | -- $Id: MenuItem.lua 53 2016-07-12 21:56:30Z diesal2010 $
local DiesalMenu = LibStub('DiesalMenu-1.0')
-- ~~| Libraries |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
local DiesalTools = LibStub('DiesalTools-1.0')
local DiesalStyle =... | mit |
AlexandreCA/darkstar | scripts/zones/Windurst_Waters_[S]/npcs/Ruirara.lua | 13 | 1060 | -----------------------------------
-- Area: Windurst Waters (S)
-- NPC: Ruirara
-- Type: Standard NPC
-- @zone: 94
-- @pos -87.378 -2 -158.019
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil;
----... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Al_Zahbi/npcs/Ndego.lua | 13 | 1164 | -----------------------------------
-- Area: Al Zahbi
-- NPC: Ndego
-- Guild Merchant NPC: Smithing Guild
-- @pos -37.192 0.000 -33.949 48
-----------------------------------
package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("s... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/brass_loach.lua | 18 | 1387 | -----------------------------------------
-- ID: 5469
-- Item: Brass Loach
-- Food Effect: 5 Min, Mithra only
-----------------------------------------
-- Dexterity +2
-- Mind +4
-- Evasion +5
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnI... | gpl-3.0 |
hooram/ownphotos-backend | densecap/densecap/modules/BoxIoU.lua | 4 | 2283 | require 'nn'
local box_utils = require 'densecap.box_utils'
local layer, parent = torch.class('nn.BoxIoU', 'nn.Module')
function layer:__init()
parent.__init(self)
self.area1 = torch.Tensor()
self.area2 = torch.Tensor()
self.overlap = torch.Tensor()
end
-- Convert from (xc, yc, w, h) to (x0, y0, x1, y1)
... | mit |
AlexandreCA/darkstar | scripts/globals/items/bowl_of_cursed_soup.lua | 18 | 1596 | -----------------------------------------
-- ID: 4235
-- Item: Bowl of Cursed Soup
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Strength -7
-- Dexterity -7
-- Agility -7
-- Vitality -7
-- Intelligence -7
-- Mind -7
-- Charisma -7
-----------------------------------------
require("scri... | gpl-3.0 |
hashbrowncipher/wireshark | epan/wslua/console.lua | 13 | 3492 | -- console
-- A console and a window to execute commands in lua
--
-- (c) 2006 Luis E. Garcia Ontanon <luis@ontanon.org>
--
-- $Id$
--
-- Wireshark - Network traffic analyzer
-- By Gerald Combs <gerald@wireshark.org>
-- Copyright 1998 Gerald Combs
--
-- This program is free software; you can redistribute it and/or
-- ... | gpl-2.0 |
AlexandreCA/darkstar | scripts/globals/mobskills/Fuscous_ooze.lua | 34 | 1073 | ---------------------------------------------------
-- Fuscous Ooze
-- Family: Slugs
-- Description: A dusky slime inflicts encumberance and weight.
-- Type: Magical
-- Utsusemi/Blink absorb: Ignores shadows
-- Range: Cone
-- Notes:
---------------------------------------------------
require("scripts/globals/se... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Port_San_dOria/npcs/Nogelle.lua | 36 | 2293 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Nogelle
-- Starts Lufet's Lake Salt
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/globals/titles");
... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/bunny_ball.lua | 18 | 1736 | -----------------------------------------
-- ID: 4349
-- Item: Bunny Ball
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Health 10
-- Strength 2
-- Vitality 2
-- Intelligence -1
-- Attack % 30
-- Attack Cap 25
-- Ranged ATT % 30
-- Ranged ATT Cap 25
--------------------------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Eastern_Altepa_Desert/npcs/Sahgygy_WW.lua | 30 | 3067 | -----------------------------------
-- Area: Eastern Altepa Desert
-- NPC: Sahgygy, W.W.
-- Border Conquest Guards
-- @pos 226.493 -12.231 260.194 114
-----------------------------------
package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/c... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Apollyon/mobs/Kerkopes.lua | 7 | 1583 | -----------------------------------
-- Area: Apollyon NE
-- NPC: Kerkopes
-----------------------------------
package.loaded["scripts/zones/Apollyon/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Apollyon/TextIDs");
---------------------------------... | gpl-3.0 |
samboy/Oblige | attic/prefabs_V4/bridges.lua | 1 | 2512 | ----------------------------------------------------------------
-- 3D BRIDGE PREFABS
----------------------------------------------------------------
--
-- Oblige Level Maker
--
-- Copyright (C) 2011 Andrew Apted
--
-- This program is free software; you can redistribute it and/or
-- modify it under the terms of t... | gpl-2.0 |
nwf/openwrt-luci | applications/luci-app-ocserv/luasrc/model/cbi/ocserv/users.lua | 28 | 2106 | -- Copyright 2014 Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
-- Licensed to the public under the Apache License 2.0.
local dsp = require "luci.dispatcher"
local nixio = require "nixio"
m = Map("ocserv", translate("OpenConnect VPN"))
if m.uci:get("ocserv", "config", "auth") == "plain" then
--[[Users]]-... | apache-2.0 |
AlexandreCA/darkstar | scripts/zones/Kazham/npcs/Ronta-Onta.lua | 12 | 4477 | -----------------------------------
-- 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 |
AlexandreCA/darkstar | scripts/zones/Bastok_Markets/npcs/Zon-Fobun.lua | 12 | 2514 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Zon-Fobun
-- Type: Quest Giver
-- @zone: 235
-- @pos -241.293 -3 63.406
--
-- Auto-Script: Requires Verification. Verified standard dialog - thrydwolf 12/18/2011
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/Text... | gpl-3.0 |
dany-sj/amin | plugins/inpm.lua | 1114 | 3008 | do
local function pairsByKeys (t, f)
local a = {}
for n in pairs(t) do table.insert(a, n) end
table.sort(a, f)
local i = 0 -- iterator variable
local iter = function () -- iterator function
i = i + 1
if a[i] == nil then return nil
else return a[i], t[a[i]]
... | gpl-2.0 |
Zakhar-V/Prototypes | 1/Code/Source/ThirdParty/glLoadGen/glLoadGen_2_0_3a/modules/Styles.lua | 1 | 2326 | --[[This module is the interface to all of the style-based code generation facilities.
The module has a function called GetStyleList, which returns a list of all available styles.
This module has a function called GetStyle, which is given a style name. It will return a table of functions that can be evaluated to ... | mit |
zhoukk/skynet | lualib/skynet/coroutine.lua | 24 | 3131 | -- You should use this module (skynet.coroutine) instead of origin lua coroutine in skynet framework
local coroutine = coroutine
-- origin lua coroutine module
local coroutine_resume = coroutine.resume
local coroutine_yield = coroutine.yield
local coroutine_status = coroutine.status
local coroutine_running = coroutine... | mit |
paly2/minetest-minetestforfun-server | minetestforfun_game/mods/bucket/init.lua | 9 | 5897 | -- Minetest 0.4 mod: bucket
-- See README.txt for licensing and other information.
minetest.register_alias("bucket", "bucket:bucket_empty")
minetest.register_alias("bucket_water", "bucket:bucket_water")
minetest.register_alias("bucket_acid", "bucket:bucket_acid")
minetest.register_alias("bucket_lava", "bucket:bucket_l... | unlicense |
nwf/openwrt-luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/tcpconns.lua | 68 | 1143 | -- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("TCPConns Plugin Configuration"),
translate(
"The tcpconns plugin collects informations about open tcp " ..
"connections on selected ports."
))
-- ... | apache-2.0 |
erfan7/bot1000 | plugins/activeuser.lua | 13 | 11857 | local function checktodaygr(cb_extra, success, result)
local hash = ''
local thash=''
for k,user in pairs(result.members) do
thash = 'today:'..user.peer_id
if redis:get(thash) then
if redis:get(thash) < os.date("%x",os.time() + 16200) then
hash = 'utmsgst:'..user.peer_id..':'..cb_extra
redis:set(hash,0)
... | agpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Temenos/mobs/Earth_Elemental.lua | 7 | 1784 | -----------------------------------
-- Area: Temenos E T
-- NPC: Earth_Elemental
-----------------------------------
package.loaded["scripts/zones/Temenos/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/limbus");
require("scripts/zones/Temenos/TextIDs");
-----------------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Windurst_Waters/npcs/Maysoon.lua | 25 | 2162 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Maysoon
-- Starts and Finishes Quest: Hoist the Jelly, Roger
-- Involved in Quests: Cook's Pride
-- @zone 238
-- @pos -105 -2 69
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
----------------------... | gpl-3.0 |
jstewart-amd/premake-core | tests/actions/vstudio/vc200x/test_manifest_block.lua | 6 | 1131 | --
-- tests/actions/vstudio/vc200x/test_manifest_block.lua
-- Validate generation of VCManifest elements Visual Studio 200x C/C++ projects.
-- Copyright (c) 2009-2013 Jason Perkins and the Premake project
--
local suite = test.declare("vs200x_manifest_block")
local vc200x = premake.vstudio.vc200x
--
-- ... | bsd-3-clause |
nwf/openwrt-luci | applications/luci-app-statistics/luasrc/model/cbi/luci_statistics/olsrd.lua | 43 | 1470 | -- Copyright 2011 Manuel Munz <freifunk at somakoma dot de>
-- Licensed to the public under the Apache License 2.0.
m = Map("luci_statistics",
translate("OLSRd Plugin Configuration"),
translate("The OLSRd plugin reads information about meshed networks from the txtinfo plugin of OLSRd."))
s = m:section(NamedSection,... | apache-2.0 |
AlexandreCA/update | scripts/zones/Bibiki_Bay/TextIDs.lua | 9 | 2478 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory.
ITEM_OBTAINED = 6384; -- Obtained: <item>.
GIL_OBTAINED = 6385; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6387; -- Obt... | gpl-3.0 |
annulen/premake-annulen | tests/base/test_os.lua | 9 | 3145 | --
-- tests/base/test_os.lua
-- Automated test suite for the new OS functions.
-- Copyright (c) 2008-2011 Jason Perkins and the Premake project
--
T.os = { }
local suite = T.os
--
-- os.findlib() tests
--
function suite.findlib_FindSystemLib()
if os.is("windows") then
test.istrue(os.findl... | bsd-3-clause |
AlexandreCA/update | scripts/zones/Promyvion-Vahzl/npcs/_0md.lua | 17 | 1400 | -----------------------------------
-- Area: Promyvion vahzl
-- NPC: Memory flux (2)
-----------------------------------
package.loaded["scripts/zones/Promyvion-Vahzl/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/missions");
require("scripts/zones/Promyvion-Vahzl/TextIDs");
re... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/The_Celestial_Nexus/mobs/Exoplates.lua | 7 | 3106 | -----------------------------------
-- Area: The Celestial Nexus
-- MOB: Exoplates
-- Zilart Mission 16 BCNM Fight
-----------------------------------
require("scripts/globals/titles");
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onMobInitialize Action
... | gpl-3.0 |
abbasgh12345/extremenewedit | plugins/anti_chat.lua | 62 | 1069 |
antichat = {}-- An empty table for solving multiple kicking problem
do
local function run(msg, matches)
if is_momod(msg) then -- Ignore mods,owner,admins
return
end
local data = load_data(_config.moderation.data)
if data[tostring(msg.to.id)]['settings']['lock_chat'] then
if data[tostring(msg.to.id)]['... | gpl-2.0 |
AlexandreCA/darkstar | scripts/globals/mobskills/Tebbad_Wing.lua | 33 | 1231 | ---------------------------------------------
-- Tebbad Wing
--
-- Description: A hot wind deals Fire damage to enemies within a very wide area of effect. Additional effect: Plague
-- Type: Magical
-- Utsusemi/Blink absorb: Wipes shadows
-- Range: 30' radial.
-- Notes: Used only by Tiamat, Smok and Ildebrann
----... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Cloister_of_Flames/npcs/Fire_Protocrystal.lua | 27 | 1942 | -----------------------------------
-- Area: Cloister of Flames
-- NPC: Fire Protocrystal
-- Involved in Quests: Trial by Fire, Trial Size Trial by Fire
-- @pos -721 0 -598 207
-----------------------------------
package.loaded["scripts/zones/Cloister_of_Flames/TextIDs"] = nil;
-----------------------------------
req... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/serving_of_goblin_stir-fry.lua | 18 | 1268 | -----------------------------------------
-- ID: 5143
-- Item: serving_of_goblin_stir-fry
-- Food Effect: 180Min, All Races
-----------------------------------------
-- Agility 5
-- Vitality 2
-- Charisma -5
-----------------------------------------
require("scripts/globals/status");
---------------------------------... | gpl-3.0 |
amirmrbad/paydarbot | plugins/google.lua | 722 | 1037 | local function googlethat(query)
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&"
local parameters = "q=".. (URL.escape(query) or "")
-- Do the request
local res, code = https.request(api..parameters)
if code ~=200 then return nil end
local data = json:decode(res)
local r... | gpl-2.0 |
dani-sj/mehdi | plugins/google.lua | 722 | 1037 | local function googlethat(query)
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&"
local parameters = "q=".. (URL.escape(query) or "")
-- Do the request
local res, code = https.request(api..parameters)
if code ~=200 then return nil end
local data = json:decode(res)
local r... | gpl-2.0 |
yasharsa/yashartg | plugins/google.lua | 722 | 1037 | local function googlethat(query)
local api = "http://ajax.googleapis.com/ajax/services/search/web?v=1.0&"
local parameters = "q=".. (URL.escape(query) or "")
-- Do the request
local res, code = https.request(api..parameters)
if code ~=200 then return nil end
local data = json:decode(res)
local r... | gpl-2.0 |
Pger-Y/tg | test.lua | 210 | 2571 | started = 0
our_id = 0
function vardump(value, depth, key)
local linePrefix = ""
local spaces = ""
if key ~= nil then
linePrefix = "["..key.."] = "
end
if depth == nil then
depth = 0
else
depth = depth + 1
for i=1, depth do spaces = spaces .. " " end
end
if type(value) == 'tab... | gpl-2.0 |
AlexandreCA/update | scripts/zones/PsoXja/TextIDs.lua | 9 | 1673 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6384; -- Obtained: <item>
GIL_OBTAINED = 6385; -- Obtained <number> gil
KEYITEM_OBTAINED = 6387; -- Obtain... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Monarch_Linn/mobs/Ouryu.lua | 6 | 2341 | -----------------------------------
-- Area:
-- MOB: Ouryu
-----------------------------------
require("scripts/globals/titles");
-----------------------------------
-- onMobSpawn Action
-----------------------------------
function onMobSpawn(mob)
mob:SetMobSkillAttack(0); -- resetting so it doesn't respawn in ... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Sea_Serpent_Grotto/npcs/qm2.lua | 13 | 1471 | -----------------------------------
-- Area: Sea Serpent Grotto
-- NPC: ??? Used for Norg quest "The Sahagin's Stash"
-- @zone 176
-- @pos 295.276 27.129 213.043
-----------------------------------
package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil;
-----------------------------------
require("scripts/g... | gpl-3.0 |
samboy/Oblige | attic/r_script/main.lua | 1 | 14733 | ----------------------------------------------------------------
-- OBLIGE : INTERFACE WITH GUI CODE
----------------------------------------------------------------
--
-- Oblige Level Maker
--
-- Copyright (C) 2006-2010 Andrew Apted
--
-- This program is free software; you can redistribute it and/or
-- modify i... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Horlais_Peak/bcnms/rank_2_mission.lua | 17 | 2321 | -----------------------------------
-- Area: Horlais Peak
-- Name: Mission Rank 2
-- @pos -509 158 -211 139
-----------------------------------
package.loaded["scripts/zones/Horlais_Peak/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/globals/missions");
requi... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Quicksand_Caves/npcs/qm7.lua | 17 | 1904 | -----------------------------------
-- Area: Quicksand Caves
-- NPC: ???
-- Involved in Mission: The Mithra and the Crystal (Zilart 12)
-- @pos -504 20 -419 208
-----------------------------------
package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil;
-----------------------------------
require("scri... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Qufim_Island/npcs/Hieroglyphics.lua | 12 | 2254 | -----------------------------------
-- Area: Qufim_Island
-- NPC: Hieroglyphics
-- Dynamis Qufim Entrance
-- @pos 117 -10 133 172 118
-----------------------------------
package.loaded["scripts/zones/Qufim_Island/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("script... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Gustav_Tunnel/mobs/Goblin_Mercenary.lua | 23 | 1026 | ----------------------------------
-- Area: Gustav Tunnel
-- MOB: Goblin Mercenary
-- Note: Place holder Wyvernpoacher Drachlox
-----------------------------------
require("scripts/zones/Gustav_Tunnel/MobIDs");
-----------------------------------
-- onMobDeath
-----------------------------------
functio... | gpl-3.0 |
AlexandreCA/update | scripts/zones/The_Garden_of_RuHmet/npcs/qm2.lua | 24 | 2318 | -----------------------------------
-- Area: The_Garden_of_RuHmet
-- NPC: ??? (Ix'aern (Dark Knight) Spawn)
-- Allows players to spawn the Ix'aern (Dark Knight) by checking ??? only after killing the required mobs in the same room as the ???.
-- @pos ,-560 5 239
-----------------------------------
package.loaded["scri... | gpl-3.0 |
paly2/minetest-minetestforfun-server | mods/moreblocks/stairsplus/microblocks.lua | 1 | 3123 | --[[
More Blocks: microblock definitions
Copyright (c) 2011-2015 Calinou and contributors.
Licensed under the zlib license. See LICENSE.md for more information.
--]]
local S = moreblocks.intllib
-- Node will be called <modname>:micro_<subname>
function register_micro(modname, subname, recipeitem, groups, images, de... | unlicense |
mogray5/mobs | api.lua | 1 | 63019 |
-- Mobs Api (21st July 2016)
mobs = {}
mobs.mod = "redo"
-- Intllib
local S
if minetest.get_modpath("intllib") then
S = intllib.Getter()
else
S = function(s, a, ...)
if a == nil then
return s
end
a = {a, ...}
return s:gsub("(@?)@(%(?)(%d+)(%)?)",
function(e, o, n, c)
if e == "" then
return a... | mit |
martolini/Vana | scripts/utils/signupHelper.lua | 1 | 6261 | --[[
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 |
lzubiaur/woot | lib/luajit-2.0/src/jit/dis_x86.lua | 89 | 29330 | ----------------------------------------------------------------------------
-- LuaJIT x86/x64 disassembler module.
--
-- Copyright (C) 2005-2015 Mike Pall. All rights reserved.
-- Released under the MIT license. See Copyright Notice in luajit.h
--------------------------------------------------------------------------... | mit |
AlexandreCA/darkstar | scripts/zones/LaLoff_Amphitheater/npcs/qm1_2.lua | 13 | 2440 | -----------------------------------
-- Area: LaLoff_Amphitheater
-- NPC: Shimmering Circle (BCNM Entrances)
-------------------------------------
package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil;
package.loaded["scripts/globals/bcnm"] = nil;
-------------------------------------
require("scripts/glob... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/mobskills/Tourbillion.lua | 31 | 1404 | ---------------------------------------------
-- Tourbillion
--
-- Description: Delivers an area attack. Additional effect duration varies with TP. Additional effect: Weakens defense.
-- Type: Physical
-- Shadow per hit
-- Range: Unknown range
---------------------------------------------
require("scripts/globals/... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/cube_of_cotton_tofu.lua | 35 | 1424 | -----------------------------------------
-- ID: 5233
-- Item: cube_of_cotton_tofu
-- Food Effect: 5Min, All Races
-----------------------------------------
-- Health % 10
-- Health Cap 30
-- Magic % 10
-- Magic Cap 30
-----------------------------------------
require("scripts/globals/status");
---------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Gusgen_Mines/npcs/_5ge.lua | 13 | 1340 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: _5ge (Lever E)
-- @pos 20 -20.561 143.801 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Gusgen_Mines/TextIDs");
--------------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Buburimu_Peninsula/npcs/Five_of_Spades.lua | 17 | 1483 | -----------------------------------
-- Area: Buburimu Peninsula
-- NPC: Five of Spades
-- Invloved in quests: A Greeting Cardian
-----------------------------------
package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Buburimu_Peninsula/... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/AlTaieu/mobs/Jailer_of_Hope.lua | 7 | 2116 | -----------------------------------
-- Area: Al'Taieu
-- NM: Jailer of Hope
-----------------------------------
require("scripts/globals/status");
-----------------------------------
-- onMobInitialize Action
-----------------------------------
function onMobInitialize(mob)
mob:setMobMod(MOBMOD_ADD_EFFECT,mob:... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Dynamis-Jeuno/bcnms/dynamis_jeuno.lua | 22 | 1306 | -----------------------------------
-- Area: Dynamis Jeuno
-- Name: Dynamis Jeuno
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaJeuno]UniqueID",player:getDynamisUniqueID(1283));
SetServerVariable(... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Dynamis-Jeuno/bcnms/dynamis_jeuno.lua | 22 | 1306 | -----------------------------------
-- Area: Dynamis Jeuno
-- Name: Dynamis Jeuno
-----------------------------------
-- After registering the BCNM via bcnmRegister(bcnmid)
function onBcnmRegister(player,instance)
SetServerVariable("[DynaJeuno]UniqueID",player:getDynamisUniqueID(1283));
SetServerVariable(... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/abilities/building_flourish.lua | 26 | 2762 | -----------------------------------
-- Ability: Building Flourish
-- Enhances potency of your next weapon skill. Requires at least one Finishing Move.
-- Obtained: Dancer Level 50
-- Finishing Moves Used: 1-3
-- Recast Time: 00:10
-- Duration: 01:00
--
-- Using one Finishing Move boosts the Accuracy of your next weapon... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Metalworks/npcs/Franziska.lua | 17 | 1172 | -----------------------------------
-- Area: Metalworks
-- NPC: Franziska
-- Type: Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Metalworks/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Metalworks/TextIDs");
-------------------------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Ship_bound_for_Mhaura/Zone.lua | 34 | 1464 | -----------------------------------
--
-- Zone: Ship_bound_for_Mhaura (221)
--
-----------------------------------
package.loaded["scripts/zones/Ship_bound_for_Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Ship_bound_for_Mhaura/TextID... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/spells/aisha_ichi.lua | 27 | 1608 | -----------------------------------------
-- Spell: Aisha: Ichi
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCast
-----------------------------------------
function onMagicCastingCheck(caster,target,... | gpl-3.0 |
treytomes/mgreboot | mods/boats/init.lua | 6 | 6323 | --
-- Helper functions
--
local function is_water(pos)
local nn = minetest.get_node(pos).name
return minetest.get_item_group(nn, "water") ~= 0
end
local function get_sign(i)
if i == 0 then
return 0
else
return i / math.abs(i)
end
end
local function get_velocity(v, yaw, y)
local x = -math.sin(yaw) * v
lo... | mit |
AlexandreCA/update | scripts/zones/Cape_Teriggan/npcs/Orukeke_WW.lua | 28 | 3126 | -----------------------------------
-- Area: Cape Teriggan
-- NPC: Orukeke, W.W.
-- Type: Border Conquest Guards
-- @pos 119 0 282 113
-----------------------------------
package.loaded["scripts/zones/Cape_Teriggan/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/conquest");
req... | gpl-3.0 |
elfinlazz/melia | system/scripts/npc/field/f_rokas_27.lua | 1 | 7441 | addnpc(152002, "QUEST_LV_0100_20150317_000111", "f_rokas_27", -435.5592, 1196.784, -2988.451, -24, "npc_dummy")
addnpc(20128, "QUEST_LV_0100_20150317_000133", "f_rokas_27", 151, 1196, -2362, 90, "npc_dummy")
addnpc(20102, "QUEST_LV_0100_20150317_000115", "f_rokas_27", -195, 1295, -1683, 45, "npc_dummy")
addnpc(152001, ... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Crawlers_Nest_[S]/Zone.lua | 28 | 1329 | -----------------------------------
--
-- Zone: Crawlers_Nest_[S] (171)
--
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest_[S]/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/Crawlers_Nest_[S]/TextIDs");
------... | gpl-3.0 |
paly2/minetest-minetestforfun-server | mods/pipeworks/autoplace_pipes.lua | 10 | 5796 | -- autorouting for pipes
local tube_table = {[0] = 1, 2, 2, 4, 2, 4, 4, 5, 2, 3, 4, 6, 4, 6, 5, 7, 2, 4, 3, 6, 4, 5, 6, 7, 4, 6, 6, 8, 5, 7, 7, 9, 2, 4, 4, 5, 3, 6, 6, 7, 4, 6, 5, 7, 6, 8, 7, 9, 4, 5, 6, 7, 6, 7, 8, 9, 5, 7, 7, 9, 7, 9, 9, 10}
local tube_table_facedirs = {[0] = 0, 0, 5, 0, 3, 4, 3, 0, 2, 0, 2, 0, 6, 4,... | unlicense |
moheb2076/botar | libs/fakeredis.lua | 650 | 40405 | local unpack = table.unpack or unpack
--- Bit operations
local ok,bit
if _VERSION == "Lua 5.3" then
bit = (load [[ return {
band = function(x, y) return x & y end,
bor = function(x, y) return x | y end,
bxor = function(x, y) return x ~ y end,
bnot = function(x) return ~x end,
rshift = function(x... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.