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 |
|---|---|---|---|---|---|
mikar/awesome34-themes | dunzor2/theme.lua | 1 | 6576 | -- dunzor2, awesome3 theme, by dunz0r
--{{{ Main
local awful = require("awful")
awful.util = require("awful.util")
theme = {}
home = os.getenv("HOME")
config = awful.util.getdir("config")
shared = "/usr/share/awesome"
if not awful.util.file_readable(shared .. "/icons/awesome16.png") then
s... | mit |
openwhisk/apigateway | scripts/lua/management/routes/tenants.lua | 3 | 4573 | --
-- Licensed to the Apache Software Foundation (ASF) under one or more
-- contributor license agreements. See the NOTICE file distributed with
-- this work for additional information regarding copyright ownership.
-- The ASF licenses this file to You under the Apache License, Version 2.0
-- (the "License"); you may ... | mit |
Blackdutchie/Zero-K | LuaRules/Configs/MetalSpots/Grts_Messa_008.lua | 17 | 1312 | return {
spots = {
-- Four metal spots in center
{x = 6162, z = 6750, metal = 3},
{x = 5546, z = 6128, metal = 3},
{x = 6138, z = 5562, metal = 3},
{x = 6747, z = 6152, metal = 3},
-- 12 starting spots (2x3 on each side)
{x = 1093, z = 9286, metal = 3},
{x = 1174, z = 7125, metal = 3},
{x = 1208, z =... | gpl-2.0 |
openwhisk/apigateway | tests/scripts/lua/lib/request.lua | 4 | 1588 | --
-- Licensed to the Apache Software Foundation (ASF) under one or more
-- contributor license agreements. See the NOTICE file distributed with
-- this work for additional information regarding copyright ownership.
-- The ASF licenses this file to You under the Apache License, Version 2.0
-- (the "License"); you may ... | mit |
electricpandafishstudios/Spoon | game/modules/tome-1.4.1/data/zones/conclave-vault/rooms/room4.lua | 1 | 1816 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2016 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
Blackdutchie/Zero-K | units/nsaclash.lua | 1 | 7047 | unitDef = {
unitname = [[nsaclash]],
name = [[Scalpel]],
description = [[Skirmisher/Anti-Heavy Hovercraft]],
acceleration = 0.0435,
activateWhenBuilt = true,
brakeRate = 0.205,
buildCostEnergy = 220,
buildCostMetal = 220,
builder ... | gpl-2.0 |
electricpandafishstudios/Spoon | game/engines/te4-1.4.1/engine/interface/GameTargeting.lua | 1 | 16543 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2016 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later version.... | gpl-3.0 |
Blackdutchie/Zero-K | LuaUI/Widgets/unit_icons.lua | 5 | 9458 | -------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
function widget:GetInfo()
return {
name = "Unit Icons",
desc = "v0.033 Shows icons above units",
author = "CarRepairer a... | gpl-2.0 |
sleepingwit/premake-core | modules/vstudio/tests/vc200x/test_project.lua | 14 | 4173 | --
-- tests/actions/vstudio/vc200x/test_project.lua
-- Validate generation of the opening <VisualStudioProject> element.
-- Copyright (c) 2011-2014 Jason Perkins and the Premake project
--
local p = premake
local suite = test.declare("vstudio_vs200x_project")
local vc200x = p.vstudio.vc200x
--
-- Setup
--
local... | bsd-3-clause |
kuoruan/lede-luci | libs/luci-lib-nixio/docsrc/nixio.UnifiedIO.lua | 16 | 5900 | --- Unified high-level I/O utility API for Files, Sockets and TLS-Sockets.
-- These functions are added to the object function tables by doing <strong>
-- require "nixio.util"</strong>, can be used on all nixio IO Descriptors and
-- are based on the shared low-level read() and write() functions.
-- @cstyle instance
mo... | apache-2.0 |
electricpandafishstudios/Spoon | game/modules/tome-1.4.1/dialogs/Birther.lua | 1 | 59423 | -- TE4 - T-Engine 4
-- Copyright (C) 2009 - 2016 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later version.... | gpl-3.0 |
saraedum/luci-packages-old | protocols/core/luasrc/model/cbi/admin_network/proto_static.lua | 8 | 2297 | --[[
LuCI - Lua Configuration Interface
Copyright 2011 Jo-Philipp Wich <xm@subsignal.org>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
]]--
local ma... | apache-2.0 |
kuoruan/lede-luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_system/admin.lua | 4 | 3234 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local fs = require "nixio.fs"
m = Map("system", translate("Router Password"),
translate("Changes the administrator password for accessing the device"))
s = ... | apache-2.0 |
sleepingwit/premake-core | modules/vstudio/tests/sln2005/test_dependencies.lua | 15 | 2331 | --
-- tests/actions/vstudio/sln2005/test_dependencies.lua
-- Validate generation of Visual Studio 2005+ solution project dependencies.
-- Copyright (c) 2009-2012 Jason Perkins and the Premake project
--
local p = premake
local suite = test.declare("vstudio_sln2005_dependencies")
local sln2005 = p.vstudio.sln2005
... | bsd-3-clause |
electricpandafishstudios/Spoon | game/modules/tome-1.4.1/data/chats/alchemist-golem.lua | 1 | 2532 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2016 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
tdubourg/geobombing | mobileapp/corona/config/Sprites.lua | 1 | 3409 | require("consts")
-----------------------------------------------------------------------------------------
--
-- Author: Aurélien Defossez
-- (c) 2014 Tabemasu Games (www.tabemasu.com)
--
-- Sprites configuration
--
-- Parameters:
-- frameCount: The number of frames defining the animation (default is 1)
-- If fram... | lgpl-3.0 |
simeneuro/simeneurobot | plugins/btc.lua | 289 | 1375 | -- See https://bitcoinaverage.com/api
local function getBTCX(amount,currency)
local base_url = 'https://api.bitcoinaverage.com/ticker/global/'
-- Do request on bitcoinaverage, the final / is critical!
local res,code = https.request(base_url..currency.."/")
if code ~= 200 then return nil end
local data = j... | gpl-2.0 |
nimaghorbani/nimatelegram | plugins/btc.lua | 289 | 1375 | -- See https://bitcoinaverage.com/api
local function getBTCX(amount,currency)
local base_url = 'https://api.bitcoinaverage.com/ticker/global/'
-- Do request on bitcoinaverage, the final / is critical!
local res,code = https.request(base_url..currency.."/")
if code ~= 200 then return nil end
local data = j... | gpl-2.0 |
mahdibagheri/aqa-mp3 | plugins/btc.lua | 289 | 1375 | -- See https://bitcoinaverage.com/api
local function getBTCX(amount,currency)
local base_url = 'https://api.bitcoinaverage.com/ticker/global/'
-- Do request on bitcoinaverage, the final / is critical!
local res,code = https.request(base_url..currency.."/")
if code ~= 200 then return nil end
local data = j... | gpl-2.0 |
Blackdutchie/Zero-K | gamedata/modularcomms/weapons/gaussrifle.lua | 12 | 1428 | local name = "commweapon_gaussrifle"
local weaponDef = {
name = [[Gauss Rifle]],
alphaDecay = 0.12,
areaOfEffect = 16,
avoidfeature = false,
bouncerebound = 0.15,
bounceslip = 1,
cegTag = [[gauss_tag_l]],
craterBoost ... | gpl-2.0 |
Blackdutchie/Zero-K | LuaUI/Widgets/gui_recv_indicator.lua | 12 | 20188 | local versionName = "v1.294"
function widget:GetInfo()
return {
name = "Receive Units Indicator",
desc = versionName .. " Notify users of received units from unit transfer",
author = "msafwan",
date = "Jan 30, 2012", --minor clean up: June 25, 2013
license = "GNU GPL, v2 or la... | gpl-2.0 |
xAleXXX007x/Witcher-RolePlay | witcherrp/entities/weapons/nut_bow_long.lua | 1 | 1066 | AddCSLuaFile()
SWEP.PrintName = "Длинный лук"
SWEP.Slot = 0 SWEP.SlotPos = 1
SWEP.DrawAmmo = true
SWEP.DrawCrosshair = false
SWEP.Category = "WitcherRP"
SWEP.Author = ""
SWEP.Base = "nut_bow_base"
SWEP.Instructions = ""
SWEP.Contact = ""
SWEP.Purpose = ""
SWEP.ViewModelFOV = 72
SWEP.ViewModelFlip = false
SWEP... | mit |
lmangani/ntopng | scripts/lua/inc/password_dialog.lua | 1 | 7006 |
print [[
<style type='text/css'>
.largegroup {
width:500px
}
</style>
<div id="password_dialog" class="modal fade" tabindex="-1" role="dialog" aria-labelledby="password_dialog_label" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="... | gpl-3.0 |
saraedum/luci-packages-old | applications/luci-statistics/luasrc/model/cbi/luci_statistics/ping.lua | 80 | 1397 | --[[
Luci configuration model for statistics - collectd ping plugin configuration
(c) 2008 Freifunk Leipzig / 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 ... | apache-2.0 |
electricpandafishstudios/Spoon | game/modules/tome-1.4.1/class/Projectile.lua | 1 | 3328 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2016 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
BrokenScience/EconomyMod | EconomyMod_0.0.5/control.lua | 1 | 1405 | require("helpers.helpers")
-- debug_messages: # = "Message"
if not debug_messages then debug_messages = {} end
script.on_init(init)
script.on_configuration_changed(init)
function init()
--math.randomseed(os.time())
end
-- Test gui control
script.on_event("Eco", function(event)
local player = game.players[event.p... | mit |
afds/thrift | test/lua/test_basic_server.lua | 30 | 3451 | -- Licensed to the Apache Software Foundation (ASF) under one
-- or more contributor license agreements. See the NOTICE file
-- distributed with this work for additional information
-- regarding copyright ownership. The ASF licenses this file
-- to you under the Apache License, Version 2.0 (the
-- "License"); you may n... | apache-2.0 |
behrouz-mansoori/faranesh | plugins/tools.lua | 1 | 21359 | --Begin Tools.lua :)
local SUDO = 123456789 -- put Your ID here! <===
local function index_function(user_id)
for k,v in pairs(_config.admins) do
if user_id == v[1] then
print(k)
return k
end
end
-- If not found
return false
end
local function getindex(t,id)
for i,v in pairs(t) do
if v == i... | gpl-3.0 |
electricpandafishstudios/Spoon | game/modules/tome-1.4.1/data/talents/chronomancy/temporal-archery.lua | 1 | 4996 | -- ToME - Tales of Maj'Eyal
-- Copyright (C) 2009 - 2016 Nicolas Casalini
--
-- 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 3 of the License, or
-- (at your option) any later ... | gpl-3.0 |
teslamint/luci | applications/luci-app-diag-devinfo/luasrc/model/cbi/luci_diag/netdiscover_devinfo_mini.lua | 141 | 1054 | --[[
netdiscover_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.i1... | apache-2.0 |
jjimenezg93/ai-behaviours | moai/3rdparty/luasocket-2.0.2/etc/forward.lua | 61 | 2077 | -- load our favourite library
local dispatch = require("dispatch")
local handler = dispatch.newhandler()
-- make sure the user knows how to invoke us
if table.getn(arg) < 1 then
print("Usage")
print(" lua forward.lua <iport:ohost:oport> ...")
os.exit(1)
end
-- function to move data from one socket to t... | mit |
Blackdutchie/Zero-K | LuaRules/Configs/cai/strategies.lua | 4 | 7640 | --[[
example buildTasksMods
buildTasksMods = function(buildConfig)
buildConfig.robots.factoryByDefId[UnitDefNames['factorycloak'].id].importance = 0
buildConfig.robots.factoryByDefId[UnitDefNames['factoryshield'].id].importance = 1
buildConfig.robots.factoryByDefId[UnitDefNames['factoryveh'].id].importance =... | gpl-2.0 |
teslamint/luci | applications/luci-app-upnp/luasrc/controller/upnp.lua | 20 | 1886 | -- Copyright 2008 Steven Barth <steven@midlink.org>
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
module("luci.controller.upnp", package.seeall)
function index()
if not nixio.fs.access("/etc/config/upnpd") then
return
end
local page
page = entry({"... | apache-2.0 |
mahdibagheri/aqa-mp3 | plugins/weather.lua | 274 | 1531 | do
local BASE_URL = "http://api.openweathermap.org/data/2.5/weather"
local function get_weather(location)
print("Finding weather in ", location)
location = string.gsub(location," ","+")
local url = BASE_URL
url = url..'?q='..location
url = url..'&units=metric'
url = url..'&appid=bd82977b86bf27fb59a04b61b6... | gpl-2.0 |
sleepingwit/premake-core | modules/android/tests/test_android_project.lua | 3 | 3624 | local p = premake
local suite = test.declare("test_android_project")
local vc2010 = p.vstudio.vc2010
local android = p.modules.android
--
-- Setup
--
local wks, prj
function suite.setup()
p.action.set("vs2015")
wks, prj = test.createWorkspace()
end
local function prepare()
system "android"
local cf... | bsd-3-clause |
samuelmaddock/zombie-escape | ZombieEscape/gamemode/modules/hud/cl_transparency.lua | 1 | 1290 | /*---------------------------------------------------------
Player Transparency
Distance opacity opacity
Thanks to Jetboom for the code (Zombie Survival)
---------------------------------------------------------*/
CVars.PlayerOpacity = CreateClientConVar( "ze_playeropacity", 1, true, false )
CVars.PlayerOpacityDis... | mit |
moltafet35/darkness | plugins/groupmanager.lua | 136 | 11323 | -- data saved to moderation.json
-- check moderation plugin
do
local function create_group(msg)
-- superuser and admins only (because sudo are always has privilege)
if not is_admin(msg) then
return "You're not admin!"
end
local group_creator = msg.from.print_name
create_group_chat (group_cr... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/Port_San_dOria/npcs/Solgierte.lua | 13 | 1357 | -----------------------------------
-- Area: Port San d'Oria
-- NPC: Solgierte
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/quests");
require("scripts/zones/Port_San_dOria/TextIDs");
... | gpl-3.0 |
tartina/ardour | share/scripts/_route_template_generic_midi.lua | 2 | 2647 | ardour {
["type"] = "EditorAction",
name = "Generic MIDI Track",
description = [[Example]]
}
-- If a route_setup function is present in an Editor Action Script
-- the script is also listed in the "add track/bus" dialog as meta-template
--
-- The function is expected to return a Lua table. The table may be... | gpl-2.0 |
TannerRogalsky/love.js | spec/main.lua | 1 | 2771 | local test_files = love.filesystem.getDirectoryItems('tests')
local tests = {}
for i,test_file in ipairs(test_files) do
local base = test_file:match('([%w_]+)%.lua')
if base then
tests[base] = require('tests/' .. base)
test_files[i] = base
end
end
local selected_test_file_index = 1
local width = love.gr... | mit |
AlexandreCA/update | scripts/zones/Tavnazian_Safehold/npcs/Caiphimonride.lua | 37 | 1316 | -----------------------------------
-- Area: Tavnazian Safehold
-- NPC: Caiphimonride
-- Standard Merchant NPC
-----------------------------------
require("scripts/globals/shop");
package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil;
require("scripts/zones/Tavnazian_Safehold/TextIDs");
---------... | gpl-3.0 |
AlexandreCA/update | scripts/globals/spells/bluemagic/enervation.lua | 18 | 2037 | -----------------------------------------
-- Spell: Enervation
-- Lowers the defense and magical defense of enemies within range
-- Spell cost: 48 MP
-- Monster Type: Beastmen
-- Spell Type: Magical (Dark)
-- Blue Magic Points: 5
-- Stat Bonus: HP-5, MP+5
-- Level: 67
-- Casting Time: 6 seconds
-- Recast Time... | gpl-3.0 |
AlexandreCA/update | scripts/globals/weaponskills/thunder_thrust.lua | 28 | 1289 | -----------------------------------
-- Thunder Thrust
-- Polearm weapon skill
-- Skill Level: 30
-- Deals lightning elemental damage to enemy. Damage varies with TP.
-- Aligned with the Light Gorget & Thunder Gorget.
-- Aligned with the Light Belt & Thunder Belt.
-- Element: Lightning
-- Modifiers: STR:40% ; IN... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Windurst_Waters/npcs/Moari-Kaaori.lua | 12 | 3975 | -----------------------------------
-- Area: Windurst Waters
-- NPC: Moari-Kaaori
-- Working 100%
-----------------------------------
package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Windurst_Waters/TextIDs");
require("scripts/globals/quests");
r... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Kazham/npcs/Nti_Badolsoma.lua | 15 | 1053 | -----------------------------------
-- Area: Kazham
-- NPC: Nti Badolsoma
-- Standard Info NPC
-----------------------------------
package.loaded["scripts/zones/Kazham/TextIDs"] = nil;
require("scripts/zones/Kazham/TextIDs");
-----------------------------------
-- onTrade Action
-----------------------------------
f... | gpl-3.0 |
AlexandreCA/update | scripts/globals/weaponskills/vorpal_thrust.lua | 30 | 1397 | -----------------------------------
-- Vorpal Thrust
-- Polearm weapon skill
-- Skill Level: 175
-- Delivers a single-hit attack. Chance of params.critical varies with TP.
-- Will stack with Sneak Attack.
-- Aligned with the Aqua Gorget & Light Gorget.
-- Aligned with the Aqua Belt & Light Belt.
-- Element: Non... | gpl-3.0 |
pedro-andrade-inpe/ca | lua/Growth.lua | 1 | 1212 |
--- Simple growth model. A given population starts from the center of space
-- and grows randomly.
-- @arg data.dim The x and y dimensions of space.
-- @arg data.finalTime A number with the final time of the simulation.
-- @arg data.probability The probability of a cell to become alive once
-- it has an alive neighbor... | gpl-3.0 |
niedzielski/premake-4.4-beta4 | tests/base/test_action.lua | 59 | 1366 | --
-- tests/base/test_action.lua
-- Automated test suite for the action list.
-- Copyright (c) 2009 Jason Perkins and the Premake project
--
T.action = { }
--
-- Setup/teardown
--
local fake = {
trigger = "fake",
description = "Fake action used for testing",
}
function T.action.setup()
premake.action.li... | bsd-3-clause |
paly2/minetest-minetestforfun-server | mods/fishing/fishes.lua | 1 | 3708 | -------------------------------------------------------------------------------------------
-- Fishing - crabman77 version
-- Rewrited from original Fishing - Mossmanikin's version - Fishes 0.0.4
-- License (code & textures): WTFPL
----------------------------------------------------------------------------------------... | unlicense |
AlexandreCA/update | scripts/zones/West_Sarutabaruta/npcs/Roshina-Kuleshuna_WW.lua | 30 | 3078 | -----------------------------------
-- Area: West Sarutabaruta
-- NPC: Roshina-Kuleshuna, W.W.
-- Type: Outpost Conquest Guards
-- @pos -11.322 -13.459 317.696 115
-----------------------------------
package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil;
-----------------------------------
require("scripts/... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Western_Adoulin/npcs/Fleuricette.lua | 2 | 1035 | -----------------------------------
-- Area: Western Adoulin
-- NPC: Fleuricette
-- Location: D-8
-----------------------------------
package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Western_Adoulin/TextIDs");
-----------------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Bastok_Markets/npcs/Loulia.lua | 37 | 1076 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Loulia
-- Type: Room Renters
-- @zone: 235
-- @pos -176.212 -9 -25.049
--
-- Auto-Script: Requires Verification. Validated standard dialog - thrydwolf 12/8/2011
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/Tex... | gpl-3.0 |
anubis34/luaGLEW | luaglew_test/loadtga.lua | 1 | 1507 | ------------------------------------------------------------------
-- A simple TGA loader.
-- Loads the TGA file with the given fileName.
-- Supports only 24 or 32 bits color TGAs with no compression.
------------------------------------------------------------------
function LoadTGA(fileName)
local file = io.open(fi... | mit |
AlexandreCA/update | scripts/globals/items/loaf_of_homemade_bread.lua | 35 | 1131 | -----------------------------------------
-- ID: 5228
-- Item: loaf_of_homemade_bread
-- Food Effect: 30Min, All Races
-----------------------------------------
-- Agility 1
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/timbre_timbers_salad.lua | 35 | 1471 | -----------------------------------------
-- ID: 4321
-- Item: timbre_timbers_salad
-- Food Effect: 240Min, All Races
-----------------------------------------
-- Magic 20
-- Agility 5
-- Vitality -1
-- Ranged ACC % 8
-- Ranged ACC Cap 15
-----------------------------------------
require("scripts/globals/s... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Yuhtunga_Jungle/npcs/Robino-Mobino.lua | 17 | 1857 | -----------------------------------
-- Area: Yuhtunga Jungle
-- NPC: Robino-Mobino
-- @pos -244 0 -401 123
-----------------------------------
package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/shop");
require("scripts/globals/conquest"... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/spells/bluemagic/occultation.lua | 46 | 1612 | -----------------------------------------
-- Spell: Occultation
-- Creates shadow images that each absorb a single attack directed at you
-- Spell cost: 138 MP
-- Monster Type: Seethers
-- Spell Type: Magical (Wind)
-- Blue Magic Points: 3
-- Stat Bonus: VIT+3 CHR-2
-- Level: 88
-- Casting Time: 2 seconds
-- Recast Ti... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Full_Moon_Fountain/npcs/Moon_Spiral.lua | 27 | 1442 | -----------------------------------
-- Area: Full Moon Fountain
-- NPC: Moon Spiral
-- Involved in Quests: The Moonlit Path
-- @pos -302 9 -260 170
-----------------------------------
package.loaded["scripts/zones/Full_Moon_Fountain/TextIDs"] = nil;
-------------------------------------
require("scripts/globals/bcnm"... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Upper_Jeuno/npcs/Mairee.lua | 27 | 1734 | -----------------------------------
-- Area: Upper Jeuno
-- NPC: Mairee
-- Type: Chocobo Renter
-----------------------------------
require("scripts/globals/chocobo");
require("scripts/globals/keyitems");
require("scripts/globals/settings");
require("scripts/globals/status");
-----------------------------------
-- o... | gpl-3.0 |
AlexandreCA/update | scripts/commands/changejob.lua | 26 | 1936 | ---------------------------------------------------------------------------------------------------
-- func: changejob
-- desc: Changes the players current job.
---------------------------------------------------------------------------------------------------
cmdprops =
{
permission = 1,
parameters = ... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Beadeaux/npcs/The_Mute.lua | 19 | 1258 | -----------------------------------
-- Area: Beadeaux
-- NPC: ???
-- @pos -166.230 -1 -73.685 147
-----------------------------------
package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Beadeaux/TextIDs");
require("scripts/globals/quests");
require("scrip... | gpl-3.0 |
martolini/Vana | scripts/portals/s4tornado_enter.lua | 1 | 1031 | --[[
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/Valkurm_Dunes/npcs/Stone_Monument.lua | 32 | 1285 | -----------------------------------
-- Area: Valkurm Dunes
-- NPC: Stone Monument
-- Involved in quest "An Explorer's Footsteps"
-- @pos -311.299 -4.420 -138.878 103
-----------------------------------
package.loaded["scripts/zones/Valkurm_Dunes/TextIDs"] = nil;
-----------------------------------
require... | gpl-3.0 |
AlexandreCA/update | scripts/globals/spells/raiton_san.lua | 17 | 1627 | -----------------------------------------
-- Spell: Raiton: San
-- Deals lightning damage to an enemy and lowers its resistance against earth.
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------------
-- OnSpellCas... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Castle_Zvahl_Baileys/TextIDs.lua | 9 | 1092 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6538; -- You cannot obtain the item <item>. come back after sorting your inventory.
ITEM_OBTAINED = 6543; -- Obtained: <item>.
GIL_OBTAINED = 6544; -- Obtained <number> gil.
KEYITEM_OBTAINED = 6546; -- Obtained... | gpl-3.0 |
commodo/packages | utils/prometheus-node-exporter-lua/files/usr/lib/lua/prometheus-collectors/nat_traffic.lua | 79 | 1251 | local function scrape()
-- documetation about nf_conntrack:
-- https://www.frozentux.net/iptables-tutorial/chunkyhtml/x1309.html
nat_metric = metric("node_nat_traffic", "gauge" )
for e in io.lines("/proc/net/nf_conntrack") do
-- output(string.format("%s\n",e ))
local fields = space_split(e)
local ... | gpl-2.0 |
AlexandreCA/darkstar | scripts/zones/The_Eldieme_Necropolis/npcs/Sarcophagus.lua | 12 | 4691 | -----------------------------------
-- Area: The Eldieme Necropolis
-- NPC: Sarcophagus
-- Involved in Quest: The Requiem (BARD AF2)
-- @pos -420 8 500 195
-----------------------------------
package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil;
-----------------------------------
require("scripts/globa... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Mhaura/npcs/Explorer_Moogle.lua | 13 | 1862 | -----------------------------------
-- Area: Mhaura
-- NPC: Explorer Moogle
-----------------------------------
package.loaded["scripts/zones/Mhaura/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Mhaura/TextIDs");
require("scripts/globals/settings");
require("scripts/globals/telepor... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/pestle.lua | 41 | 1123 | -----------------------------------------
-- ID: 18599
-- Item: Pestle
-- Additional effect: MP Drain
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-----------------------------------
fun... | gpl-3.0 |
jstewart-amd/premake-core | tests/actions/make/cs/test_response.lua | 7 | 1976 | --
-- tests/actions/make/cs/test_response.lua
-- Validate the list of objects for a response file used by a makefile.
-- Copyright (c) 2009-2013 Jason Perkins and the Premake project
--
local suite = test.declare("make_cs_response")
local make = premake.make
--
-- Setup
--
local wks, prj
function suite.setup()... | bsd-3-clause |
AlexandreCA/update | scripts/zones/Port_Windurst/npcs/Gold_Skull.lua | 17 | 2228 | -----------------------------------
-- Area: Port Windurst
-- NPC: Gold Skull
-- Mission NPC
-----------------------------------
package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/keyitems");
require(... | gpl-3.0 |
AlexandreCA/update | scripts/globals/items/spirit_sword.lua | 16 | 1559 | -----------------------------------------
-- ID: 16613
-- Spirit Sword
-- Additional effect: Light damage
-- Enchantment: TP+100
-----------------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
-----------------------------------
-- onAdditionalEffect Action
-------------... | gpl-3.0 |
paly2/minetest-minetestforfun-server | mods/shutdown/init.lua | 1 | 2060 | --[[
shutdown par turbogus, code sous licence gpl2 ou sup
déclaration du "timer" par Jat ( du mod annonce )
Affiche l'heure dans le chat toute les minutes et
arrête votre serveur "proprement" à une heure précise afin de créer
une sauvegarde
]]--
-- compatibility with soundset mod
local SOUNDVOLUME = 1
local get_volu... | unlicense |
mobinantispam/test-bot | plugins/quran.lua | 11 | 1413 | -- Umbrella Quran Project
-- http://umbrella.shayan-soft.ir
-- https://telegram.me/umbrellateam
-- Programmer : Engineer Shayan Ahmadi
-- https://telegram.me/shayansoft
do
umbrella = "http://umbrella.shayan-soft.ir/quran/" -- database
-- get sound of sura
local function read_sura(chat_id, target)
local readq = http.... | gpl-2.0 |
zhoukk/skynet | service/cslave.lua | 50 | 6448 | local skynet = require "skynet"
local socket = require "socket"
require "skynet.manager" -- import skynet.launch, ...
local table = table
local slaves = {}
local connect_queue = {}
local globalname = {}
local queryname = {}
local harbor = {}
local harbor_service
local monitor = {}
local monitor_master_set = {}
local ... | mit |
AlexandreCA/update | scripts/globals/items/margherita_pizza.lua | 35 | 1220 | -----------------------------------------
-- ID: 5695
-- Item: margherita_pizza
-- Food Effect: 3hours, All Races
-----------------------------------------
-- Attack 10
-- Health Points 30
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------... | gpl-3.0 |
KAISER1350/KAISER | plugins/stats.lua | 1 | 3995 | do
-- Returns a table with `name` and `msgs`
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_prin... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Southern_San_dOria/npcs/Camereine.lua | 28 | 2490 | -----------------------------------
-- Area: Southern San d'Oria
-- NPC: Camereine
-- Type: Chocobo Renter
-- @pos -8 1 -100
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/chocobo");
require("... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Qulun_Dome/npcs/Magicite.lua | 13 | 1659 | -----------------------------------
-- Area: Qulun Dome
-- NPC: Magicite
-- Involved in Mission: Magicite
-- @pos 11 25 -81 148
-----------------------------------
package.loaded["scripts/zones/Qulun_Dome/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/keyitems");
require("scripts/zones/... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Eastern_Adoulin/Zone.lua | 16 | 1192 | -----------------------------------
--
-- Zone: Eastern Adoulin
--
-----------------------------------
require("scripts/globals/settings");
package.loaded["scripts/zones/Eastern_Adoulin/TextIDs"] = nil;
require("scripts/zones/Eastern_Adoulin/TextIDs");
-----------------------------------
-- onInitialize
----------... | gpl-3.0 |
niedzielski/premake-4.4-beta4 | tests/actions/vstudio/cs2002/test_files.lua | 57 | 2430 | --
-- tests/actions/vstudio/cs2002/test_files.lua
-- Validate generation of <Files/> block in Visual Studio 2002 .csproj
-- Copyright (c) 2009-2012 Jason Perkins and the Premake project
--
T.vstudio_cs2002_files = { }
local suite = T.vstudio_cs2002_files
local cs2002 = premake.vstudio.cs2002
--
-- Setup
--
loc... | bsd-3-clause |
AlexandreCA/darkstar | scripts/zones/Bastok_Markets/npcs/Nbu_Latteh.lua | 26 | 3365 | -----------------------------------
-- Area: Bastok Markets
-- NPC: Nbu Latteh
-- Starts & Finishes Quest: Mom, The Adventurer?
-- Starts Quest: The Signpost Marks the Spot
-----------------------------------
package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil;
-----------------------------------
require("scr... | gpl-3.0 |
AlexandreCA/darkstar | scripts/globals/items/bowl_of_loach_soup.lua | 18 | 1596 | -----------------------------------------
-- ID: 5671
-- Item: Bowl of Loach Soup
-- Food Effect: 4 Hrs, All Races
-----------------------------------------
-- Dexterity 4
-- Agility 4
-- Accuracy 7% Cap 50
-- HP 7% Cap 50
-- Evasion 5
-----------------------------------------
require("scripts/globals/status");
-----... | gpl-3.0 |
martolini/Vana | scripts/npcs/s4holycharge.lua | 1 | 1247 | --[[
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/globals/items/dil.lua | 18 | 1304 | -----------------------------------------
-- ID: 5457
-- Item: Dil
-- Food Effect: 5Min, Mithra only
-----------------------------------------
-- Dexterity 4
-- Mind -6
-----------------------------------------
require("scripts/globals/status");
-----------------------------------------
-- OnItemCheck
--------------... | gpl-3.0 |
nwf/openwrt-luci | modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/proto_ahcp.lua | 84 | 2006 | -- Copyright 2011 Jo-Philipp Wich <jow@openwrt.org>
-- Licensed to the public under the Apache License 2.0.
local map, section, net = ...
local device, apn, service, pincode, username, password
local ipv6, maxwait, defaultroute, metric, peerdns, dns,
keepalive_failure, keepalive_interval, demand
mca = s:tabop... | apache-2.0 |
AlexandreCA/darkstar | scripts/zones/Southern_San_dOria_[S]/npcs/PalardaifaultVDraffles.lua | 19 | 1139 | -----------------------------------
-- Area: Southern SandOria [S]
-- NPC: Palardaifault V Draffles
-- @zone 80
-- @pos 9 1 -35
-----------------------------------
package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil;
require("scripts/zones/Southern_San_dOria_[S]/TextIDs");
---------------------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Altar_Room/npcs/Hooknox.lua | 13 | 1048 | -----------------------------------
-- Area: Altar Room
-- NPC: Hooknox
-- Type: Standard NPC
-- @zone: 152
-- @pos -265.248 11.693 -102.547
--
-- Auto-Script: Requires Verification (Verified by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Altar_Room/TextIDs"] = nil;
----------------... | gpl-3.0 |
mosavy/leaderbottg | files/lua-redis.lua | 580 | 35599 | local redis = {
_VERSION = 'redis-lua 2.0.4',
_DESCRIPTION = 'A Lua client library for the redis key value storage system.',
_COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri',
}
-- The following line is used for backwards compatibility in order to keep the `Redis`
-- global module name. Using... | gpl-3.0 |
thejeshgn/lib | lustache/renderer.lua | 2 | 9146 | local Scanner = require "lustache.scanner"
local Context = require "lustache.context"
local error, ipairs, loadstring, pairs, setmetatable, tostring, type =
error, ipairs, loadstring, pairs, setmetatable, tostring, type
local math_floor, math_max, string_find, string_gsub, string_split, string_sub, tabl... | bsd-3-clause |
AlexandreCA/update | scripts/zones/Crawlers_Nest/Zone.lua | 30 | 1853 | -----------------------------------
--
-- Zone: Crawlers_Nest (197)
--
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/globals/zone");
require("scripts/zones/Crawlers_Nes... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/Crawlers_Nest/npcs/qm4.lua | 13 | 1025 | -----------------------------------
-- Area: Crawlers' Nest
-- NPC: ??? - Drown Crawler (Spawn area 2)
-- @pos -74.939 -2.606 244.139 197
-----------------------------------
package.loaded["scripts/zones/Crawlers_Nest/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/Crawlers_Nest/TextIDs");... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/PsoXja/npcs/_098.lua | 13 | 2831 | -----------------------------------
-- Area: Pso'Xja
-- NPC: _098 (Stone Gate)
-- Notes: Spawns Gargoyle when triggered
-- @pos 258.399 -1.925 -70.000 9
-----------------------------------
package.loaded["scripts/zones/PsoXja/TextIDs"] = nil;
-----------------------------------
require("scripts/zones/PsoXja/TextIDs... | gpl-3.0 |
thibhul/Jakopter | scripts/test_icon.lua | 2 | 1597 | --Boucle de contrôle du drone + affichage vidéo
-- package.cpath = package.cpath .. ";?.dylib"
l=require("libjakopter")
path="../resources/test.png"
if l.use_visp() then
print("ViSP doesn't handle yet incrusting")
os.exit()
end
l.connect_video()
l.connect()
--Canal de com navdata (lecture des données)
--ccn = l.get_... | lgpl-3.0 |
AlexandreCA/update | scripts/zones/Empyreal_Paradox/mobs/Prishe.lua | 14 | 2241 | -----------------------------------
-- Area: Empyreal Paradox
-- NPC: Prishe
-- Chains of Promathia 8-4 BCNM Fight
-----------------------------------
require("scripts/globals/status");
require("scripts/globals/magic");
require("scripts/zones/Empyreal_Paradox/TextIDs");
function onMobInitialize(mob)
mob:addMod(M... | gpl-3.0 |
amirmrbad/paydarbot | plugins/all.lua | 1321 | 4661 | do
data = load_data(_config.moderation.data)
local function get_msgs_user_chat(user_id, chat_id)
local user_info = {}
local uhash = 'user:'..user_id
local user = redis:hgetall(uhash)
local um_hash = 'msgs:'..user_id..':'..chat_id
user_info.msgs = tonumber(redis:get(um_hash) or 0)
user_info.name = user_print... | gpl-2.0 |
AlexandreCA/update | scripts/zones/Windurst_Woods/npcs/Miiri-Wohri.lua | 38 | 1037 | -----------------------------------
-- Area: Windurst Woods
-- NPC: Miiri-Wohri
-- Type: Standard NPC
-- @zone: 241
-- @pos 106.766 -6 -30.492
--
-- Auto-Script: Requires Verification (Verfied by Brawndo)
-----------------------------------
package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil;
------------... | gpl-3.0 |
AlexandreCA/darkstar | scripts/zones/The_Celestial_Nexus/Zone.lua | 30 | 1741 | -----------------------------------
--
-- Zone: The_Celestial_Nexus (181)
--
-----------------------------------
package.loaded["scripts/zones/The_Celestial_Nexus/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
require("scripts/zones/The_Celestial_Nexus/TextIDs");
-----------... | gpl-3.0 |
AlexandreCA/update | scripts/zones/FeiYin/TextIDs.lua | 9 | 2354 | -- Variable TextID Description text
-- General Texts
ITEM_CANNOT_BE_OBTAINED = 6558; -- You cannot obtain the item <item> come back again after sorting your inventory
ITEM_OBTAINED = 6563; -- Obtained: <item>
GIL_OBTAINED = 6564; -- Obtained <number> gil
KEYITEM_OBTAINED = 6566; -- Obtain... | gpl-3.0 |
AlexandreCA/update | scripts/zones/Gusgen_Mines/npcs/qm4.lua | 17 | 1436 | -----------------------------------
-- Area: Gusgen Mines
-- NPC: qm4 (???)
-- Involved In Quest: Ghosts of the Past
-- @pos -174 0 369 196
-----------------------------------
package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil;
-----------------------------------
require("scripts/globals/settings");
... | gpl-3.0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.