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
greatwolf/cryptofu
tests/testkraken.lua
1
3953
require 'pl.app'.require_here ".." local utest = require 'tools.unittest' local stack = require 'tools.simplestack' local tablex = require 'pl.tablex' local dump = require 'pl.pretty'.dump local keys = require 'tests.api_testkeys'.kraken local publicapi = require 'exchange.kraken' utest.group "kraken_publicapi" {...
mit
herman-rogers/xenia
src/xenia/debug/ui/premake5.lua
10
1225
project_root = "../../../.." include(project_root.."/build_tools") group("src") project("xenia-debug-ui") uuid("ed128630-8b4e-4dd7-afc9-ef00052fe3a7") kind("WindowedApp") language("C++") links({ "elemental-forms", "gflags", "xenia-apu", "xenia-apu-nop", "xenia-apu-xaudio2", "xenia-base"...
bsd-3-clause
The-HalcyonDays/darkstar
scripts/globals/items/bluetail.lua
18
1256
----------------------------------------- -- ID: 4399 -- Item: Bluetail -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
The-HalcyonDays/darkstar
scripts/globals/items/plate_of_salmon_sushi.lua
35
1477
----------------------------------------- -- ID: 5663 -- Item: plate_of_salmon_sushi -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 1 -- Accuracy % 14 -- Ranged ACC % 14 ----------------------------------------- require("scripts/globals/status"); -------------------...
gpl-3.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha The Maze/output/rdkObjs/TheMaze/Sentinel.lfm.lua
1
9101
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmSentinel() local obj = GUI.fromHandle(_obj_newObject("...
apache-2.0
hxw804781317/MT7620N
package/ralink/ui/luci-mtk/src/applications/luci-wshaper/luasrc/model/cbi/wshaper.lua
36
2050
--[[ LuCI - Lua Configuration Interface Copyright 2011 Manuel Munz <freifunk at somakoma dot de> 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 ]]-- r...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Windurst_Waters/npcs/Panna-Donna.lua
38
1038
----------------------------------- -- Area: Windurst Waters -- NPC: Panna-Donna -- Type: Mission NPC -- @zone: 238 -- @pos -57.502 -6 229.571 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; -----------...
gpl-3.0
rrpgfirecast/firecast
Plugins/Sheets/Gerenciador SotDL/output/rdkObjs/GerenciadorSotDL/02.Calendario.Lua.lfm.lua
2
5706
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmGerenciador02_LUA() local obj = GUI.fromHandle(_obj_ne...
apache-2.0
hxw804781317/MT7620N
package/ralink/ui/luci-mtk/src/applications/luci-statistics/luasrc/model/cbi/luci_statistics/irq.lua
78
1245
--[[ Luci configuration model for statistics - collectd irq 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 a...
gpl-2.0
otservme/global1053
data/npc/scripts/Avar Tar.lua
2
3305
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHan...
gpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/HomePoint#4.lua
12
1215
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: HomePoint#4 -- @pos -99 -6 -68 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); require("scr...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Chauxnatte.lua
34
1287
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Chauxnatte -- @zone 80 -- @pos 85 1 -51 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/quests"); ----------------------------------- -- onTrade Ac...
gpl-3.0
nathwill/data-pipeline
heka/sandbox/decoders/http_edge_decoder.lua
3
6904
-- 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/. -- See https://wiki.mozilla.org/CloudServices/DataPipeline/HTTPEdgeServerSpecification require "cjson" require "lpeg...
mpl-2.0
The-HalcyonDays/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_0rq.lua
17
1455
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: 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
apwiede/nodemcu-firmware
app/cjson/tests/test.lua
112
18076
#!/usr/bin/env lua -- Lua CJSON tests -- -- Mark Pulford <mark@kyne.com.au> -- -- Note: The output of this script is easier to read with "less -S" local json = require "cjson" local json_safe = require "cjson.safe" local util = require "cjson.util" local function gen_raw_octets() local chars = {} for i = 0, ...
mit
coltonj96/UsefulCombinators
UsefulCombinators_0.3.8/prototypes/entity/entities.lua
1
85083
data:extend({ { type = "constant-combinator", name = "timer-combinator", icon = "__UsefulCombinators__/graphics/icons/timer-combinator.png", flags = {"placeable-neutral", "player-creation"}, minable = {hardness = 0.2, mining_time = 0.5, result = "timer-combinator"}, max_health = 50, ...
mit
fmeus/EventTracker
EventTracker.lua
1
15926
--[[ ================================================================= Description: EventTracker is a simple AddOn that informs, by means of a chat message, when specific events are triggered within the game. The main purpose is to determine which events get triggered at wha...
mit
rrpgfirecast/firecast
Plugins/Sheets/Ficha Avatar d20/output/rdkObjs/FichaAvatar/FichaAvatar.lfm.lua
1
994786
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmAvatar() local obj = GUI.fromHandle(_obj_newObject("fo...
apache-2.0
brianhang/nutscript2
gamemode/core/charvars/sh_inv.lua
1
3351
--[[ File: core/charvars/sh_inv.lua Purpose: Adds the ability to store inventories for characters. --]] -- The number of bits in a long. local LONG = 32 nut.char.registerVar("inv", { default = {}, isConstant = true, onLoad = function(character) -- Network and store the restored inventory. ...
mit
rgieseke/scintillua
lexers/makefile.lua
1
3449
-- Copyright 2006-2018 Mitchell mitchell.att.foicica.com. See LICENSE. -- Makefile LPeg lexer. local lexer = require('lexer') local token, word_match = lexer.token, lexer.word_match local P, R, S = lpeg.P, lpeg.R, lpeg.S local lex = lexer.new('makefile', {lex_by_line = true}) -- Whitespace. local ws = token(lexer.WH...
mit
The-HalcyonDays/darkstar
scripts/zones/Port_Windurst/npcs/Nine_of_Clubs.lua
38
1038
----------------------------------- -- Area: Port Windurst -- NPC: Nine of Clubs -- Type: Standard NPC -- @zone: 240 -- @pos -229.699 -9 185.686 -- -- Auto-Script: Requires Verification (Verfied By Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; -----------...
gpl-3.0
rushabh55/ModconAlpha
trunk/Engineering/Bullet/Demos/OpenCLClothDemo/AMD/premake4.lua
12
1104
hasCL = findOpenCL_AMD() if (hasCL) then project "AppOpenCLClothDemo_AMD" defines { "USE_AMD_OPENCL","CL_PLATFORM_AMD"} initOpenCL_AMD() language "C++" kind "ConsoleApp" targetdir "../../.." libdirs {"../../../Glut"} links { "LinearMath", "BulletCollision", "BulletDynamics", ...
mpl-2.0
rrpgfirecast/firecast
Plugins/Sheets/World of Darkness 20th/output/rdkObjs/MageDarkAges/M20.7.lfm.lua
1
28510
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmMDA20_7() local obj = GUI.fromHandle(_obj_newObject("f...
apache-2.0
reza-sec/reza-sec
plugins/Islamic_Times.lua
1
2047
function fsize(file) local cfile = io.open(file,"r") local current = cfile:seek() local size = cfile:seek("end") cfile:seek("set", current) cfile:close() return size/1000 end local function run(msg, matches) local res = http.request("http://muslimsalat.com/"...
gpl-2.0
mkresse/nodemcu-parkinglot-sensor
src/config.example.lua
1
1123
WLAN_SSID="my-ssid" WLAN_PASS="secret" MQTT_CLIENTID="client1" MQTT_TOPICID="s1" MQTT_SERVER="192.168.1.127" MQTT_PORT=1883 MQTT_USER="username" MQTT_PASSWD="password" -- Global timeout for a whole cycle GLOBAL_TIMEOUT = 15000 -- Duration of deep sleep in s SLEEP_TIME = 120 -- Checkin interval in s CHECKIN_TIME = 3...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Marquis_Andras.lua
19
1254
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Marquis Andras ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- functi...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Spire_of_Vahzl/npcs/Radiant_Aureole.lua
17
1158
----------------------------------- -- Area: Spire of Vahzl -- NPC: Radiant Aureole ----------------------------------- package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Spire_of_Vahzl/TextIDs"); ----------------------------------- -- o...
gpl-3.0
rrpgfirecast/firecast
Plugins/Sheets/Ficha L5R 4e/output/rdkObjs/fichaIGuess.lfm.lua
1
238479
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmOurFichaL5R4e() local obj = GUI.fromHandle(_...
apache-2.0
The-HalcyonDays/darkstar
scripts/zones/Dynamis-Xarcabard/npcs/qm1.lua
19
1356
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: ??? (Spawn when mega is defeated) ----------------------------------- package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems...
gpl-3.0
rrpgfirecast/firecast
Plugins/Sheets/Shadow of the Demon Lord/output/rdkObjs/SODLFillable/4.lfm.lua
1
117073
require("firecast.lua"); local __o_rrpgObjs = require("rrpgObjs.lua"); require("rrpgGUI.lua"); require("rrpgDialogs.lua"); require("rrpgLFM.lua"); require("ndb.lua"); require("locale.lua"); local __o_Utils = require("utils.lua"); local function constructNew_frmSODLFillable4_svg() local obj = GUI.fromHandle(_obj_ne...
apache-2.0
The-HalcyonDays/darkstar
scripts/zones/Selbina/npcs/Aleria.lua
34
1076
----------------------------------- -- Area: Selbina -- NPC: Aleria -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); ----------------------------------- -- onTrade Ac...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Qulun_Dome/mobs/Diamond_Quadav.lua
27
1447
----------------------------------- -- Area: Qulun_Dome -- NM: Diamond_Quadav -- Note: PH for Za Dha Adamantking PH ----------------------------------- require("scripts/zones/Qulun_Dome/TextIDs"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMo...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Riverne-Site_A01/npcs/Unstable_Displacement.lua
36
1068
----------------------------------- -- Area: Riverne Site #A01 -- NPC: Unstable Displacement -- ENM Battlefield ----------------------------------- package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/R...
gpl-3.0
The-HalcyonDays/darkstar
scripts/zones/Apollyon/mobs/Dee_Wapa_the_Desolator.lua
17
2385
----------------------------------- -- Area: Apollyon CS -- NPC: Dee_Wapa_the_Desolator ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); -------------...
gpl-3.0
rpetit3/darkstar
scripts/zones/Carpenters_Landing/mobs/Birdtrap.lua
2
1282
----------------------------------- -- Area: Carpenters' Landing -- MOB: Birdtrap -- Note: Placeholder Orctrap ----------------------------------- require("scripts/zones/Carpenters_Landing/MobIDs"); ----------------------------------- -- onMobDespawn ----------------------------------- function onMobDespawn(mob) ...
gpl-3.0
dwmw2/luci
libs/luci-lib-rpcc/luasrc/rpcc/ruci.lua
78
1086
-- Copyright 2009 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local util = require "luci.util" local rawget, setmetatable = rawget, setmetatable local ipairs = ipairs module "luci.rpcc.ruci" local Proxy = util.class() function factory(rpccl) return { cursor = functi...
apache-2.0
rpetit3/darkstar
scripts/globals/items/meat_mithkabob.lua
18
1448
----------------------------------------- -- ID: 4381 -- Item: meat_mithkabob -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength 5 -- Agility 1 -- Intelligence -2 -- Attack % 22 -- Attack Cap 60 ----------------------------------------- require("scripts/globals/status"); ----------...
gpl-3.0
omid1212/wez
plugins/twitter.lua
632
2555
local OAuth = require "OAuth" -- EDIT data/twitter.lua with the API keys local twitter_config = load_from_file('data/twitter.lua', { -- DON'T EDIT HERE. consumer_key = "", consumer_secret = "", access_token = "", access_token_secret = "" }) local client = OAuth.new(twitter_config.consumer_key, twitter_c...
gpl-2.0
mrbangi/yagop
plugins/twitter.lua
632
2555
local OAuth = require "OAuth" -- EDIT data/twitter.lua with the API keys local twitter_config = load_from_file('data/twitter.lua', { -- DON'T EDIT HERE. consumer_key = "", consumer_secret = "", access_token = "", access_token_secret = "" }) local client = OAuth.new(twitter_config.consumer_key, twitter_c...
gpl-2.0
ddouglascarr/rooset
lfframework/framework/env/request/redirect.lua
1
2302
--[[-- request.redirect{ external = external, -- external URL (instead of specifying base, module, etc. below) base = base, -- optional string containing a base URL of a WebMCP application static = static, -- an URL relative to the static file directory module = module, -- a module name ...
mit
rpetit3/darkstar
scripts/zones/Port_Windurst/npcs/HomePoint#3.lua
27
1264
----------------------------------- -- Area: Port Windurst -- NPC: HomePoint#3 -- @pos 180 -12 226 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Port_Windurst/TextIDs"); require("scripts/globals/homepoi...
gpl-3.0
lukego/snabbswitch
lib/ljsyscall/syscall/abi.lua
25
2112
-- This simply returns ABI information -- Makes it easier to substitute for non-ffi solution, eg to run tests local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unp...
apache-2.0
rpetit3/darkstar
scripts/globals/weaponskills/detonator.lua
15
1659
----------------------------------- -- Detonator -- Marksmanship weapon skill -- Skill Level: 250 -- Delivers a single-hit attack. Damage varies with TP. -- In order to obtain Detonator, the quest Shoot First, Ask Questions Later must be completed. -- Despite the lack of a STR weaponskill mod, STR is still the most pot...
gpl-3.0
rpetit3/darkstar
scripts/zones/Temenos/npcs/Particle_Gate.lua
64
3548
----------------------------------- -- Area: Temenos -- NPC: Particle_Gate ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/globals/keyitems"); require("scripts/zones/Temenos/TextIDs"); -...
gpl-3.0
MinetestForFun/server-minetestforfun-creative
mods/player_inactive/init.lua
2
1292
-- Interval between movement checks (in seconds). local INTERVAL = 5 -- Minimum distance to move to register as not AFK (in blocks). local MINDIST = 0.2 -- If player does not move within this time, kick player (in seconds). local TIMEOUT = 3600 -- 5 minutes local time_afk = { } local last_pos = { } local function c...
unlicense
Rodeo314/tim-vlc-2.1
share/lua/sd/fmc.lua
122
2554
--[[ $Id$ Copyright © 2010 VideoLAN and AUTHORS Authors: Fabio Ritrovato <sephiroth87 at videolan dot org> 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 ...
gpl-2.0
rpetit3/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/_5cf.lua
13
1055
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: _5cf (Gate of Wind) -- @pos -332 0 99 192 ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Inner_Horutoto_Ruins/TextIDs"); ...
gpl-3.0
MinetestForFun/server-minetestforfun-creative
mods/moretrees/biome_defs.lua
2
3930
moretrees.beech_biome = { surface = "default:dirt_with_grass", avoid_nodes = moretrees.avoidnodes, avoid_radius = 8, seed_diff = 2, rarity = 50, max_count = 20, } moretrees.palm_biome = { surface = "default:sand", avoid_nodes = moretrees.avoidnodes, avoid_radius = 5, seed_diff = 330, min_elevation = -1, m...
unlicense
tinchoss/Python_Android
lua/luasocket/src/smtp.lua
142
7961
----------------------------------------------------------------------------- -- SMTP client support for the Lua language. -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: smtp.lua,v 1.46 2007/03/12 04:08:40 diego Exp $ ----------------------------------------------------------------------------- ---------...
apache-2.0
peterbarker/ardupilot
libraries/AP_Scripting/examples/copter_alt_offset.lua
8
2434
--[[ add ALT_OFFSET parameter for copter This behaves similarly to ALT_OFFSET in plane. It operators only in AUTO mode, and slews the BARO_ALT_OFFSET to allow for change of altitude without mission change --]] local PARAM_TABLE_KEY = 79 local PARAM_TABLE_PREFIX = "ALT_" local MODE_AUTO = 3 local LOOP_RATE = 50 ...
gpl-3.0
ManStache/PokeBotBad
BizHawk-1.11.6/Lua/ButtonCount.lua
7
2551
--Written by Brandon Evans --You can change the position of the text here. local x = 0 local y = 36 --You can blacklist buttons from being recorded here. local blacklist = {'Lag', 'Pause', 'Reset'} local data = {} local registered = false local state = {} local states = {} function deepcopy(object) local lookup_ta...
mit
Rodeo314/tim-vlc-2.1
share/lua/playlist/googlevideo.lua
113
2746
--[[ $Id$ Copyright © 2007 the VideoLAN 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; either version 2 of the License, or (at your option) any later version. This program is distribut...
gpl-2.0
rpetit3/darkstar
scripts/zones/Eastern_Altepa_Desert/npcs/qm2.lua
13
1788
----------------------------------- -- Area: Eastern Altepa Desert -- NPC: qm2 (???) -- Involved In Quest: 20 in Pirate Years -- @pos 47.852 -7.808 403.391 114 ----------------------------------- package.loaded["scripts/zones/Eastern_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
Endika/Algorithm-Implementations
A_Star_Search/Lua/Yonaba/handlers/linear_handler.lua
182
1721
-- A linear boundless 1D space map handler -- This handler is devised for 1-directional continuous space, where -- nodes are represented with consecutive integer values: 0, 1, 2, etc. -- Similar to a range (interval) with no bounds. -- i.e., the path from 5 to 0 would be 5, 4, 3, 2, 1, 0. local PATH = (...):gsub('han...
mit
Endika/Algorithm-Implementations
Best_First_Search/Lua/Yonaba/handlers/linear_handler.lua
182
1721
-- A linear boundless 1D space map handler -- This handler is devised for 1-directional continuous space, where -- nodes are represented with consecutive integer values: 0, 1, 2, etc. -- Similar to a range (interval) with no bounds. -- i.e., the path from 5 to 0 would be 5, 4, 3, 2, 1, 0. local PATH = (...):gsub('han...
mit
rpetit3/darkstar
scripts/zones/RoMaeve/npcs/Qu_Hau_Spring.lua
26
2648
----------------------------------- -- Qu_Hau_Spring -- Area: Ro'Maeve ----------------------------------- package.loaded["scripts/zones/RoMaeve/TextIDs"] = nil; ----------------------------------- require("scripts/zones/RoMaeve/TextIDs"); require("scripts/globals/quests"); require("scripts/globals/keyitems"); ------...
gpl-3.0
emoon/docking_system
bin/win32/scripts/tundra/scanner.lua
28
1488
module(..., package.seeall) local util = require "tundra.util" local native = require "tundra.native" local _scanner_mt = {} setmetatable(_scanner_mt, { __index = _scanner_mt }) local cpp_scanner_cache = {} local generic_scanner_cache = {} function make_cpp_scanner(paths) local key = table.concat(paths, '\0') ...
bsd-3-clause
ddouglascarr/rooset
lffrontend/model/contact.lua
1
1177
Contact = mondelefant.new_class() Contact.table = 'contact' Contact.primary_key = { "member_id", "other_member_id" } Contact:add_reference{ mode = 'm1', to = "Member", this_key = 'member_id', that_key = 'id', ref = 'member', } Contact:add_reference{ mode = ...
mit
lukego/snabbswitch
lib/pflua/tests/properties/opt_eq_unopt.lua
25
2452
#!/usr/bin/env luajit -- -*- lua -*- module(..., package.seeall) package.path = package.path .. ";../?.lua;../../src/?.lua" local ffi = require("ffi") local parse = require("pf.parse") local savefile = require("pf.savefile") local expand = require("pf.expand") local optimize = require("pf.optimize") local codegen = re...
apache-2.0
esguk811/DarkRP
gamemode/modules/police/sv_init.lua
1
12739
local plyMeta = FindMetaTable("Player") local finishWarrantRequest local arrestedPlayers = {} --[[--------------------------------------------------------------------------- Interface functions ---------------------------------------------------------------------------]] function plyMeta:warrant(warranter, reason) ...
mit
ld-test/diff
tests/basic.lua
7
2327
require"diff" -- Print test split TO_BE = [[To <b>be</b>, or not to be: that is the question: Whether 'tis nobler in the mind to suffer The slings and arrows of outrageous fortune, Or to take arms against a sea of troubles, And by opposing end them? ]] TO_BE_2 = [[To <b>be</b>, and <i>not...
mit
ddouglascarr/rooset
lfframework/demo-app/model/user.lua
3
1219
User = mondelefant.new_class() User.table = 'user' User:add_reference{ mode = '1m', -- one (1) user can have many (m) sessions to = "Session", -- referenced model (quoting avoids auto-loading here) this_key = 'id', -- own key in user table that_key = 'user_id', -...
mit
AMIRUJK/yapop
plugins/service_entergroup.lua
279
2147
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = chat_name or '' chat_id = "chat#id" .. (...
gpl-2.0
streetturtle/awesome-wm-widgets
volume-widget/widgets/vertical-bar-widget.lua
1
2023
local wibox = require("wibox") local beautiful = require('beautiful') local gears = require("gears") local ICON_DIR = os.getenv("HOME") .. '/.config/awesome/awesome-wm-widgets/volume-widget/icons/' local widget = {} function widget.get_widget(widgets_args) local args = widgets_args or {} local main_color = ...
mit
rpetit3/darkstar
scripts/commands/delmission.lua
8
1297
--------------------------------------------------------------------------------------------------- -- func: @delmission <logID> <missionID> <player> -- desc: Deletes the given mission from the GM or target player. --------------------------------------------------------------------------------------------------- requ...
gpl-3.0
vfedoroff/prosody-modules
mod_lib_ldap/dev/prosody-posix-ldap.cfg.lua
32
2476
-- Use Include 'prosody-posix-ldap.cfg.lua' from prosody.cfg.lua to include this file authentication = 'ldap2' -- Indicate that we want to use LDAP for authentication storage = 'ldap' -- Indicate that we want to use LDAP for roster/vcard storage ldap = { hostname = 'localhost', -- L...
mit
rpetit3/darkstar
scripts/zones/Bastok_Mines/npcs/Conrad.lua
12
1905
----------------------------------- -- Area: Bastok Mines -- NPC: Conrad -- Outpost Teleporter NPC -- @pos 94.457 -0.375 -66.161 234 ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); require("scripts...
gpl-3.0
slaubenberger/learn2love
demo004/libraries/LoveFrames/skins/Dark/skin.lua
1
51189
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2013 Kenny Shields -- --]]------------------------------------------------ local dir = (...):sub(0, -6) local path = string.gsub(dir, "/", "%.") -- color utility require(path .. ".utils.color") -- skin ...
gpl-2.0
sys4-fr/server-minetestforfun
mods/riesenpilz/init.lua
9
27360
local load_time_start = os.clock() local MAX_SIZE = 3 riesenpilz = {} local modpath = minetest.get_modpath("riesenpilz").."/" dofile(modpath.."settings.lua") dofile(modpath.."functions.lua") -- Growing Functions local function r_area(manip, width, height, pos) local emerged_pos1, emerged_pos2 = manip:read_from_map...
unlicense
rpetit3/darkstar
scripts/zones/Port_Windurst/npcs/Kunchichi.lua
13
1466
----------------------------------- -- Area: Port Windurst -- NPC: Kunchichi -- Type: Standard NPC -- @pos -115.933 -4.25 109.533 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scr...
gpl-3.0
jgardner1/VictoryResearch
data.lua
1
1793
--[[ TODO: - When research is complete, drop a one-of-a-kind item in their inventory that builds into a 4x4 plaque. - If possible, *write the time they have played on the plaque* - Note the victory in the score tab ]] for i=1,16,1 do count = ({ 10000, 25000, 50000, 100000, 250000, 500...
gpl-2.0
rpetit3/darkstar
scripts/zones/Quicksand_Caves/npcs/Goblin_Geologist.lua
13
1040
----------------------------------- -- Area: Quicksand Caves -- NPC: Goblin Geologist -- Type: Mission -- @pos -737.000 -11.125 -550.000 208 ----------------------------------- package.loaded["scripts/zones/Quicksand_Caves/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Quicksand_Caves...
gpl-3.0
rpetit3/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f8.lua
13
1076
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Titan's Gate -- @pos 260 -34 88 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); ------...
gpl-3.0
rpetit3/darkstar
scripts/globals/items/silken_smile.lua
18
1218
----------------------------------------- -- ID: 5628 -- Item: Silken Smile -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- Intelligence 2 -- MP Recovered while healing 7 ----------------------------------------- require("scripts/globals/status"); ------------------...
gpl-3.0
lukego/snabbswitch
src/lib/virtio/net_device.lua
5
15721
-- Implements virtio-net device module(...,package.seeall) local freelist = require("core.freelist") local lib = require("core.lib") local link = require("core.link") local memory = require("core.memory") local packet = require("core.packet") local timer = require("core.timer") local vq ...
apache-2.0
MinetestForFun/server-minetestforfun-creative
minetestforfun_game/mods/farming/donut.lua
13
1042
local S = farming.intllib -- Donut (thanks to Bockwurst for making the donut images) minetest.register_craftitem("farming:donut", { description = S("Donut"), inventory_image = "farming_donut.png", on_use = minetest.item_eat(4), }) minetest.register_craft({ output = "farming:donut 3", recipe = { {'', 'farming:...
unlicense
wanghuan1115/sdkbox-chartboost-sample
lua/src/cocos/framework/display.lua
12
21278
--[[ Copyright (c) 2011-2014 chukong-inc.com Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, dis...
mit
dwmw2/luci
protocols/luci-proto-ipv6/luasrc/model/cbi/admin_network/proto_hnet.lua
68
1416
-- Copyright 2013 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local map, section, net = ... local mode = section:taboption("general", ListValue, "mode", translate("Category")) mode:value("auto", translate("Automatic")) mode:value("external", translate("External")) mode:va...
apache-2.0
ddouglascarr/rooset
lfframework/framework/env/param/update.lua
3
1546
--[[-- param.update( record, -- database record to be updated key_and_field_name1, -- name of CGI parameter and record field key_and_field_name2, -- another name of a CGI parameter and record field { key3, -- name of CGI parameter field_name3 -- name of record field...
mit
rpetit3/darkstar
scripts/zones/RuAun_Gardens/npcs/qm3.lua
11
1465
----------------------------------- -- Area: Ru'Aun Gardens -- NPC: ??? (Byakko's Spawn) -- Allows players to spawn the HNM Byakko with a Gem of the West and an Autumnstone. -- @pos -410 -70 394 130 ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; -----------------------...
gpl-3.0
rpetit3/darkstar
scripts/globals/spells/silence.lua
21
1273
----------------------------------------- -- Spell: Silence ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,spell)...
gpl-3.0
dmccuskey/dmc-objects
examples/DMC-MultiShapes/dmc_corona/lib/dmc_lua/lua_utils.lua
46
15359
--====================================================================-- -- lua_utils.lua -- -- Documentation: http://docs.davidmccuskey.com/display/docs/lua_utils.lua --====================================================================-- --[[ The MIT License (MIT) Copyright (c) 2014 David McCuskey Permission is ...
mit
open3dengineering/laydrop-firmware
src/network/signin.lua
1
2896
-- -- This file is part of the Doodle3D project (http://doodle3d.com). -- -- @copyright 2013, Doodle3D -- @license This software is licensed under the terms of the GNU GPL v2 or later. -- See file LICENSE.txt or visit http://www.gnu.org/licenses/gpl.html for full license details. --- -- TODO: document local log = req...
gpl-2.0
nokizorque/ucd
UCDanticheat/togglecontrol.lua
1
3368
local aimKeys = getBoundKeys("aim_weapon") local fireKeys = getBoundKeys("fire") local exceptedWeapons = {[0] = true, [3] = true, [41] = true} local exceptedSlots = {[0] = true, [1] = true, [8] = true, [10] = true, [11] = true, [12] = true} local disallowedTeams = {["Citizens"] = true, ["Not logged in"] = true} -- and...
mit
vseledkin/april-ann
packages/basics/matrix/package.lua
3
3920
package{ name = "matrix", version = "1.0", depends = { "util", "mathcore", "random", "aprilio" }, keywords = { "matrix" }, description = "no description available", -- targets como en ant target{ name = "init", mkdir{ dir = "build" }, mkdir{ dir = "include" }, }, target{ name = "...
gpl-3.0
MinetestForFun/server-minetestforfun-creative
mods/mesecons/mesecons/oldwires.lua
8
1257
minetest.register_node("mesecons:mesecon_off", { drawtype = "raillike", tiles = {"jeija_mesecon_off.png", "jeija_mesecon_curved_off.png", "jeija_mesecon_t_junction_off.png", "jeija_mesecon_crossing_off.png"}, inventory_image = "jeija_mesecon_off.png", wield_image = "jeija_mesecon_off.png", paramtype = "light", is...
unlicense
rpetit3/darkstar
scripts/zones/Yhoator_Jungle/npcs/qm3.lua
13
1837
----------------------------------- -- Area: Davoi -- NPC: ??? (qm3) -- Involved in Quest: True will -- @pos 203 0.1 82 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/global...
gpl-3.0
rpetit3/darkstar
scripts/globals/items/yogurt_cake.lua
18
1217
----------------------------------------- -- ID: 5627 -- Item: Yogurt Cake -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- Intelligence 1 -- MP Recovered while healing 6 ----------------------------------------- require("scripts/globals/status"); -------------------...
gpl-3.0
shangluo/rxnes
rxnes/win/bin/mappers/mapper065.lua
1
1580
irq_reload_value = 0 irq_counter = 0 irq_pending = 0 irq_enabled = false function write(addr, data) local register_dispatcher = { [0x8000] = function () mapper_switch_prg(0x8000, 8, data) end, [0xa000] = function () mapper_switch_prg(0xa000, 8, data) end, [0xc000] = function () m...
bsd-3-clause
rpetit3/darkstar
scripts/zones/Apollyon/mobs/Cornu.lua
2
1120
----------------------------------- -- Area: Apollyon NE -- NPC: Sirins ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); -----------------------------------...
gpl-3.0
ddouglascarr/rooset
lffrontend/app/main/issue/_filters.lua
1
10661
local for_unit = param.get("for_unit", atom.boolean) local for_area = param.get("for_area", atom.boolean) local for_events = param.get("for_events", atom.boolean) local for_member = param.get("for_member", "table") local member = param.get("member", "table") local phase = request.get_param{ name = "phase" } local filt...
mit
emoon/docking_system
bin/macosx/tundra/scripts/tundra/syntax/native.lua
6
9824
-- native.lua -- support for programs, static libraries and such module(..., package.seeall) local util = require "tundra.util" local nodegen = require "tundra.nodegen" local path = require "tundra.path" local depgraph = require "tundra.depgraph" local _native_mt = nodegen.create_eval_subclass { DeclToEnv...
bsd-3-clause
rpetit3/darkstar
scripts/zones/Southern_San_dOria/npcs/Sobane.lua
24
3981
----------------------------------- -- Area: Southern San d'Oria -- NPC: Sobane -- Starts and Finishes Quest: Signed in Blood -- Involved in quest: Sharpening the Sword, Riding on the Clouds -- @zone 230 -- @pos -190 -3 97 -- csid: 0x0034 0x02dc 0x02dd 0x02de 0x02df 0x02e0 0x02e1 0x02e2 0x02e3 0x02e4 0x02e5 ...
gpl-3.0
W4ngatang/NAMAS
summary/build_dict.lua
9
1106
-- -- Copyright (c) 2015, Facebook, Inc. -- All rights reserved. -- -- This source code is licensed under the BSD-style license found in the -- LICENSE file in the root directory of this source tree. An additional grant -- of patent rights can be found in the PATENTS file in the same directory. -- -- Author: Alex...
bsd-3-clause
vseledkin/april-ann
packages/basics/cmdOpt/test/test_cmdOpt.lua
3
2332
cmdOptTest = cmdOpt{ program_name = "ls", argument_description = "file or path", main_description = "List information about the FILEs (the current directory by default).", author = "Written by Donald duck.", copyright = "GPL license", see_also = "info ls", -- options can be added in the constructor...
gpl-3.0
rpetit3/darkstar
scripts/zones/Windurst_Walls/npcs/Juvillie.lua
13
1056
----------------------------------- -- Area: Windurst Walls -- NPC: Juvillie -- Type: Event Replayer -- @zone: 239 -- @pos -180.731 -3.451 143.138 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; --------...
gpl-3.0
dwmw2/luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk.lua
68
5120
-- 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. cbimap = Map("asterisk", "asterisk", "") asterisk = cbimap:section(TypedSection, "asterisk", "Asterisk General Options", "") asterisk.anonymous = true agidir...
apache-2.0
rpetit3/darkstar
scripts/zones/VeLugannon_Palace/Zone.lua
13
2000
----------------------------------- -- -- Zone: VeLugannon_Palace (177) -- ----------------------------------- package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/zone"); require("scripts/zones/VeLugannon_Pal...
gpl-3.0
dkogan/notion
contrib/statusd/statusd_cpustat.lua
7
3352
-- Authors: Tibor Csögör <tibi@tiborius.net> -- License: Public domain -- Last Changed: 2007-03-10 -- -- $Id: statusd_cpustat.lua 80 2007-03-10 00:16:09Z tibi $ -- statusd_cpustat.lua -- CPU monitor for Ion3's statusbar -- version : 0.3 -- date : 2007-03-10 -- author : Tibor Csögör <tibi@tiborius.net> -- Shows t...
lgpl-2.1
nokizorque/ucd
UCDobjects/script.lua
1
4819
local wires_and_cables = { --9569, 9568, 9567, 9558, 9532, 8981, 8969, 8608, 8607, 8596, 8595, 8594, 8593 -- Objects that we replace 1316, 1317, -- hoop and cylinder marker types 17455, 1307, -- Objects to completely remove 1290, 1283, 1294, 1297, 1226, 3516, 1350, 1231, 3460, 3463, 643, 642, 1315, -- Anno...
mit