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
luveti/Urho3D
Source/ThirdParty/toluapp/src/bin/lua/typedef.lua
44
1696
-- tolua: typedef class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to provide maintenance, support, updates, -- enhancements...
mit
grzegorznyga/hen-hero
scene_menu.lua
1
22643
---------------------------------------------------------------------------------- -- -- scenetemplate.lua -- ---------------------------------------------------------------------------------- local storyboard = require( "storyboard" ) local scene = storyboard.newScene() ---------------------------------------------...
gpl-2.0
mikeboers/Flask-Lightroom
Flask.lrdevplugin/FlaskDiscoverCollections.lua
1
2526
local Lr = require 'Lr' local JSON = require 'JSON' local utils = require 'FlaskUtils' local log = Lr.Logger() log:enable('print') log:info("Loading module...") local append = function(t, x) t[#t + 1] = x end Lr.Tasks.startAsyncTask(function() Lr.FunctionContext.callWithContext('FlaskDiscoverCollections', func...
bsd-3-clause
AdamGagorik/darkstar
scripts/commands/delmission.lua
4
1153
--------------------------------------------------------------------------------------------------- -- func: @delmission <logID> <missionID> <player> -- desc: Deletes the given mission from the GM or target player. --------------------------------------------------------------------------------------------------- cmdp...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/bowl_of_shark_fin_soup.lua
18
1843
----------------------------------------- -- ID: 4452 -- Item: bowl_of_shark_fin_soup -- Food Effect: 3Hrs, All Races ----------------------------------------- -- HP % 5 -- MP 5 -- Dexterity 4 -- Mind -4 -- HP Recovered While Healing 9 -- Attack % 14 (cap 60) -- Ranged Attack % 14 (cap 60) -----------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Hagakoff.lua
13
2085
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Hagakoff -- Standard Merchant NPC -- Partitionally Implemented -- Difficult Shop Script needed ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("s...
gpl-3.0
Nathan22Miles/sile
lua-libraries/imagesize.lua
9
3974
-- Perl version copyright (c) 2008 by Randy J. Ray, all rights reserved -- Lua port copyright (c) 2008 Geoff Richards. -- -- Copying and distribution are permitted under the terms of the Artistic -- License 2.0 (http://www.opensource.org/licenses/artistic-license-2.0.php) or -- the GNU LGPL (http://www.opensource.org/l...
mit
AdamGagorik/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Mhasbaf.lua
13
1045
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Mhasbaf -- Type: Standard NPC -- @pos 54.701 -6.999 11.387 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whit...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/LaLoff_Amphitheater/npcs/qm0_1.lua
13
1157
----------------------------------- -- Area: LaLoff_Amphitheater -- NPC: qm0 (warp player outside after they win fight) ------------------------------------- package.loaded["scripts/zones/LaLoff_Amphitheater/TextIDs"] = nil; ------------------------------------- require("scripts/zones/LaLoff_Amphitheater/TextIDs"); ...
gpl-3.0
linux-man/lovefs
LuigiDemo/conf.lua
3
1527
function love.conf(t) t.title = "LoveFS" -- The title of the window the game is in (string) t.author = "linux-man" -- The author of the game (string) t.url = nil -- The website of the game (string) t.identity = nil -- The name of the save directory (string) ...
mit
AdamGagorik/darkstar
scripts/zones/Davoi/npcs/Quemaricond.lua
13
1872
----------------------------------- -- Area: Davoi -- NPC: Quemaricond -- Involved in Mission: Infiltrate Davoi -- @pos 23 0.1 -23 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/glob...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/mobskills/Plague_Swipe.lua
33
1185
--------------------------------------------- -- Plague Swipe -- -- Description: Delivers a threefold attack in an cone effect behind user. Additional effect: Bio + Plague -- Type: Physical -- 2-3 Shadows -- Range: Backward Arc --------------------------------------------- require("scripts/globals/settings"); requ...
gpl-3.0
paritoshmmmec/kong
database/migrations/cassandra/2015-01-12-175310_init_schema.lua
13
1633
local Migration = { name = "2015-01-12-175310_init_schema", init = true, up = function(options) return [[ CREATE KEYSPACE IF NOT EXISTS "]]..options.keyspace..[[" WITH REPLICATION = {'class' : 'SimpleStrategy', 'replication_factor' : 1}; USE "]]..options.keyspace..[["; CREATE TAB...
mit
AdamGagorik/darkstar
scripts/zones/Carpenters_Landing/Zone.lua
31
3406
----------------------------------- -- -- Zone: Carpenters_Landing (2) -- ----------------------------------- package.loaded["scripts/zones/Carpenters_Landing/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scri...
gpl-3.0
sbuettner/kong
kong/dao/schemas/plugins_configurations.lua
13
2385
local utils = require "kong.tools.utils" local DaoError = require "kong.dao.error" local constants = require "kong.constants" local function load_value_schema(plugin_t) if plugin_t.name then local loaded, plugin_schema = utils.load_module_if_exists("kong.plugins."..plugin_t.name..".schema") if loaded then ...
mit
AdamGagorik/darkstar
scripts/globals/abilities/pets/lunar_cry.lua
27
1072
--------------------------------------------------- -- Aerial Armor --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------------- function onAbilityCheck(player...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Ifrits_Cauldron/TextIDs.lua
22
1737
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6383; -- You cannot obtain the #. Try trading again after sorting your inventory. ITEM_OBTAINED = 6384; -- Ob...
gpl-3.0
samuelwbaird/brogue
source/rascal/session/session_server.lua
1
5529
-- provides session data to be shared across http workers -- session data can be persisted with sqlite (or in-memory) -- provides expiry time with automatically extending ttl -- works with session_client to minimise coms -- copyright 2014 Samuel Baird MIT Licence local math = require('math') local os = require('os') ...
mit
AdamGagorik/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/RongeloutsNDistaud.lua
13
1627
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Rongelouts N Distaud -- @zone 80 -- @pos 0.067 2 -22 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("scripts/globals/ques...
gpl-3.0
r1k/vlc
share/lua/meta/fetcher/tvrage.lua
66
2629
--[[ Gets metas for tv episode using tvrage. $Id$ Copyright © 2010 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 l...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Tehf_Kimasnahya.lua
13
3140
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Tehf Kimasnahya -- Type: Standard NPC -- @pos -89.897 -1 6.199 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems")...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Ifrits_Cauldron/npcs/qm1.lua
16
1330
----------------------------------- -- Area: Ifrit's Cauldron -- NPC: qm1 (???) -- Notes: Used to spawn Tarasque -- @pos 126 18 166 0 ----------------------------------- package.loaded["scripts/zones/Ifrits_Cauldron/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Ifrits_Cauldron/TextIDs")...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Abyssea-La_Theine/npcs/qm20.lua
17
1512
----------------------------------- -- Zone: Abyssea-LaTheine -- NPC: ??? -- Spawns: Carabosse ----------------------------------- require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- onTrigger Action ----------------------------------- function onTrigger(pl...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/weaponskills/catastrophe.lua
9
2090
----------------------------------- -- Catastrophe -- Scythe weapon skill -- Skill Level: N/A -- Drain target's HP. Bec de Faucon/Apocalypse: Additional effect: Haste -- This weapon skill is available with the stage 5 relic Scythe Apocalypse or within Dynamis with the stage 4 Bec de Faucon. -- Also available without Af...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/slice_of_tavnazian_ram_meat.lua
18
1332
----------------------------------------- -- ID: 5208 -- Item: slice_of_tavnazian_ram_meat -- Food Effect: 5Min, Galka only ----------------------------------------- -- Strength 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnIte...
gpl-3.0
Nathan22Miles/sile
languages/kn.lua
4
1170
SILE.languageSupport.languages.kn = {defaultScript = "Knda"} SILE.hyphenator.languages["kn"] = {}; SILE.hyphenator.languages["kn"].patterns = { -- GENERAL RULE -- Do not break either side of ZERO-WIDTH JOINER (U+200D) "2‍2", -- Break on both sides of ZERO-WIDTH NON JOINER (U+200C) "1‌1", -- Break before or after ...
mit
grzegorznyga/hen-hero
elements/pipe.lua
1
4535
local game = require("scripts.game") local helpers = require("scripts.helpers") local tnt = require("scripts.transitions_manager") local sheetHelper = require("scripts.sheet_helper") local sheetGame1 = sheetHelper.new("interface") local Pipe = {} local Pipe_mt = { __index = Pipe } function Pipe.new(params) -- constru...
gpl-2.0
D-m-L/evonara
modules/entities/cave.lua
1
21116
local ent = {} function ent:load( x, y, w, h, tilesize ) self.tilesets = {} self.tilesets[1] = { image = lg.newImage('gfx/cave1.png'), name = "cave1", firstgid = 1, tilewidth = 24, tileheight = 24, spacing = 0, margin = 0, imagewidth = 128, imageheight = 64, tileoffset = { x...
mit
githubtelebot/Bot-telebot
plugins/tophoto.lua
8
1106
local function toimage(msg, success, result) local receiver = get_receiver(msg) if success then local file = './data/stickers/'..msg.from.id..'.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) send_photo(get_receiver(msg), file, ok_cb, false) re...
gpl-2.0
TrurlMcByte/docker-prosody
etc/prosody-modules/mod_auth_external/mod_auth_external.lua
1
4693
-- -- Prosody IM -- Copyright (C) 2010 Waqas Hussain -- Copyright (C) 2010 Jeff Mitchell -- Copyright (C) 2013 Mikael Nordfeldth -- Copyright (C) 2013 Matthew Wild, finally came to fix it all -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- local lpt...
mit
AdamGagorik/darkstar
scripts/zones/Lower_Jeuno/npcs/Chimh_Dlesbah.lua
13
1057
----------------------------------- -- Area: Lower Jeuno -- NPC: Chimh Dlesbah -- Type: Event Scene Replayer -- @zone: 245 -- @pos -71.995 -1 -115.882 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; -------...
gpl-3.0
kekobot/addfile
libs/.keko.lua
1
159945
-- --...
gpl-3.0
paritoshmmmec/kong
kong/tools/ngx_stub.lua
5
1287
-- Stub _G.ngx for unit testing Kong's modules and using them in the CLI, such as the DAO. local reg = require "rex_pcre" _G.ngx = { req = {}, ctx = {}, header = {}, exit = function() end, say = function() end, log = function() end, socket = { tcp = {} }, time = function() return os.time() end, re =...
mit
AdamGagorik/darkstar
scripts/globals/abilities/pets/ecliptic_howl.lua
27
1252
--------------------------------------------------- -- Aerial Armor --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/utils"); -------------------------------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/cone_of_snoll_gelato.lua
18
1316
----------------------------------------- -- ID: 5147 -- Item: cone_of_snoll_gelato -- Food Effect: 30Min, All Races ----------------------------------------- -- MP % 16 (cap 75) -- MP Recovered While Healing 1 ----------------------------------------- require("scripts/globals/status"); ------------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/RuAun_Gardens/npcs/Treasure_Coffer.lua
13
3837
----------------------------------- -- Area: Ru'Aun Gardens -- NPC: Treasure Coffer -- @zone 130 -- @pos ----------------------------------- package.loaded["scripts/zones/RuAun_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); requi...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Abyssea-Misareaux/Zone.lua
33
1482
----------------------------------- -- -- Zone: Abyssea - Misareaux -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Misareaux/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/zones/Abyssea-Misareau...
gpl-3.0
luveti/Urho3D
bin/Data/LuaScripts/05_AnimatingScene.lua
24
6673
-- Animating 3D scene example. -- This sample demonstrates: -- - Creating a 3D scene and using a script component to animate the objects -- - Controlling scene ambience with the Zone component -- - Attaching a light to an object (the camera) require "LuaScripts/Utilities/Sample" function Start() ...
mit
TeleDALAD/test1
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/items/simit_+1.lua
19
1287
----------------------------------------- -- ID: 5597 -- Item: simit_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 18 -- Vitality 4 -- Defense 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChe...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/loaf_of_black_bread.lua
18
1269
----------------------------------------- -- ID: 4364 -- Item: loaf_of_black_bread -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 8 -- Dexterity -1 -- Vitality 2 ----------------------------------------- require("scripts/globals/status"); -----------------------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/The_Garden_of_RuHmet/npcs/qm2.lua
13
2483
----------------------------------- -- 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
Silencer2K/wow-lib-s2k-mounts
LibS2kMounts-1.0.lua
1
9010
local MAJOR, MINOR = "LibS2kMounts-1.0", 201512051 local lib, oldMinor = LibStub:NewLibrary(MAJOR, MINOR) if not lib then return end S2K_MOUNTS_ID_TO_SPELL = { [6] = 458, [7] = 459, [8] = 468, [9] = 470, [11] = 472, [12] = 578, [13] = 579, [14] = 580, [15] = 581, [17] = 578...
mit
AdamGagorik/darkstar
scripts/zones/Southern_San_dOria/npcs/qm4.lua
13
1222
----------------------------------- -- Area: Southern San d'Oria -- NPC: The ??? on the stack of papers in 2nd Flr of Vemalpeau's house. -- General Info NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/g...
gpl-3.0
Hostle/luci
build/luadoc/luadoc/taglet/standard.lua
78
16474
------------------------------------------------------------------------------- -- @release $Id: standard.lua,v 1.39 2007/12/21 17:50:48 tomas Exp $ ------------------------------------------------------------------------------- local assert, pairs, tostring, type = assert, pairs, tostring, type local io = require "io...
apache-2.0
rigeirani/bbb
libs/dkjson.lua
3282
26558
-- Module options: local always_try_using_lpeg = true local register_global_module_table = false local global_module_name = 'json' --[==[ David Kolf's JSON module for Lua 5.1/5.2 ======================================== *Version 2.4* In the default configuration this module writes no global values...
gpl-2.0
adamryczkowski/puppet-bootstrap
files/prosody.config.lua
1
7954
-- This is a (by default, empty) list of accounts that are admins -- for the server. Note that you must create the accounts separately -- (see https://prosody.im/doc/creating_accounts for info) -- Example: admins = { "user1@example.com", "user2@example.net" } admins = { } -- Enable use of libevent for better performan...
gpl-2.0
ToxicFrog/gtkspellcast
ui/gtk/lc.lua
1
1352
ui.lc = { strings = {}, functions = {} } local lc = ui.lc local function message(key) return function(text) lc.strings[key] = text end end function lc.process(str, env) local function dofn(str) str = lc.process(str, env) local fn local name = str:match('^[^:]+') ...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/roast_carp.lua
18
1259
----------------------------------------- -- ID: 4537 -- Item: roast_carp -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 1 -- Mind -1 -- Ranged ATT % 14 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- On...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Southern_San_dOria_[S]/npcs/Elnonde.lua
13
1610
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Elnonde -- @zone 80 -- @pos 86 2 -0 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); require("scripts/globals/quests"); -----------...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/two-leaf_mandragora_bud.lua
18
1184
----------------------------------------- -- ID: 4368 -- Two-Leaf Mandragora Bud -- 5 Minutes, food effect, All Races ----------------------------------------- -- Agility +2 -- Vitality -4 ----------------------------------------- require("scripts/globals/status"); --------------------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Malfud.lua
13
1307
----------------------------------- -- Area: Aht Urhfan Whitegate -- NPC: Malfud -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"); require("scripts/g...
gpl-3.0
erikmuttersbach/PowerDNS-REST-Backend
pdns/powerdns-example-script.lua
1
2985
function preresolve ( remoteip, domain, qtype ) print ("prequery handler called for: ", remoteip, getlocaladdress(), domain, qtype) pdnslog("a test message.. received query from "..remoteip.." on "..getlocaladdress()); if domain == "www.donotcache.org." then print("making sure www.donotcache.org will never end u...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Caedarva_Mire/npcs/Runic_Portal.lua
25
2671
----------------------------------- -- Area: Caedarva Mire -- NPC: Runic Portal -- Caedarva Mire Teleporter Back to Aht Urhgan Whitegate -- @pos -264 -6 -28 79 (Dvucca) -- @pos 524 -28 -503 79 (Azouph) ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; --------------------...
gpl-3.0
sjznxd/lc-20130204
modules/admin-full/luasrc/model/cbi/admin_network/ifaces.lua
21
13942
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008-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 htt...
apache-2.0
Nathan22Miles/sile
languages/ru.lua
4
88327
SILE.hyphenator.languages["ru"] = {}; SILE.hyphenator.languages["ru"].patterns = { ".аб1р", ".аг1ро", ".ади2", ".аи2", ".ак1р", ".аль3я", ".ар2т1о2", ".ас1то", ".аст1р", ".ау2", ".би2о", ".во2б3л", ".во3ж2д", ".го2ф", ".дек2", ".де1кв", ".ди2ак", ".ди1о", ".до3п", ".до3т2", ".епи3", ".зав2р", ".за3м2н", ".за3п", ".и...
mit
AdamGagorik/darkstar
scripts/zones/Castle_Oztroja/npcs/Treasure_Coffer.lua
13
4295
----------------------------------- -- Area: Castle Oztroja -- NPC: Treasure Coffer -- @zone 151 -- @pos ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); requ...
gpl-3.0
D-m-L/evonara
conf.lua
1
4627
--require("libs/cupid") function love.conf(t) t.identity = DmLEvoAra -- The name of the save directory (string) t.author = "DmL Presents" t.version = "0.9.1" -- The LVE version this game was made for (string) t.console = false -- Attach a console (boolean,...
mit
mwharris333/serval
lib/cam.lua
2
5658
local thisFile = 'lib.cam' if (dbg) then dbg.file(thisFile) end -------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------- -- Cam class , virtual camera for drawing world map and g...
apache-2.0
AdamGagorik/darkstar
scripts/zones/Empyreal_Paradox/mobs/Promathia.lua
8
2777
----------------------------------- -- Area: Empyreal Paradox -- MOB: Promathia ----------------------------------- package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Empyreal_Paradox/TextIDs"); require("scripts/globals/status"); require("scripts/...
gpl-3.0
FrostOS-Team/FrostOS
programs/launcher.lua
1
3304
--FrostOS Launcher --Require LMNets UI API!! Banner = window.create(term.current(),1,1,xLen,1) xLen,yLen = term.getSize() Notify.run = false local aDesktop = {} local items = {} local programs = fs.list("Programs") local AppMenu = {} local DesktopMenu = {} local LinesWith = math.floor(xLen/5) local LinesDeep = math.f...
gpl-2.0
Hostle/luci
applications/luci-app-radvd/luasrc/model/cbi/radvd.lua
61
7968
-- Copyright 2010 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. m = Map("radvd", translate("Radvd"), translate("Radvd is a router advertisement daemon for IPv6. " .. "It listens to router solicitations and sends router advertisements " .. "as described in RFC 4861.")) ...
apache-2.0
AdamGagorik/darkstar
scripts/zones/Upper_Jeuno/npcs/Luto_Mewrilah.lua
13
1834
----------------------------------- -- Area: Upper Jeuno -- NPC: Luto Mewrilah -- @zone 244 -- @pos -53 0 45 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/weaponskills/namas_arrow.lua
7
1633
----------------------------------- -- Skill Level: N/A -- Description: Additional Effect: Temporarily improves Ranged Accuracy -- Aligned with the Light Gorget, Snow Gorget & Aqua Gorget. -- Properties -- Element: N/A -- Skillchain Properties: Light/Distortion -- Modifiers: STR: 40% AGI: 40% -- Damage Multipliers by T...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/weaponskills/blade_hi.lua
9
1653
----------------------------------- -- Blade HI -- Katana weapon skill -- Skill level: N/A -- Description: Deals quadruple damage. Chance of params.critical hit varies with TP. Kannagi: Aftermath. -- Available only when equipped with Kannagi (85)/(90)/(95)/(99) or Tobi +1/+2/+3. -- Aligned with the Shadow Gorget & Soil...
gpl-3.0
rinstrum/LUA-LIB
K400Examples/protobuf/pb/proto/grammar.lua
2
5582
#!/usr/bin/env lua -- Copyright (c) 2010-2011 by Robert G. Jakabosky <bobby@neoawareness.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 limi...
gpl-3.0
rigeirani/bbb
plugins/inpm.lua
53
3081
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
AdamGagorik/darkstar
scripts/globals/abilities/thunder_shot.lua
16
2989
----------------------------------- -- Ability: Thunder Shot -- Consumes a Thunder Card to enhance lightning-based debuffs. Deals lightning-based magic damage -- Shock Effect: Enhanced DoT and MND- ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scri...
gpl-3.0
TrurlMcByte/docker-prosody
etc/prosody-modules/mod_srvinjection/mod_srvinjection.lua
32
1246
module:set_global(); local adns = require "net.adns"; local map_config = module:get_option("srvinjection") or {}; local map = module:shared "s2s_map" for host, mapping in pairs(map_config) do if type(mapping) == "table" and type(mapping[1]) == "string" and (type(mapping[2]) == "number") then local connecthost, c...
mit
D-m-L/evonara
modules/libs/Peep/LoveFrames/objects/slider.lua
3
13089
--[[------------------------------------------------ -- Love Frames - A GUI library for LOVE -- -- Copyright (c) 2012-2014 Kenny Shields -- --]]------------------------------------------------ -- slider object local newobject = loveframes.NewObject("slider", "loveframes_object_slider", true) --[[-------------------...
mit
AdamGagorik/darkstar
scripts/globals/items/bluetail.lua
18
1308
----------------------------------------- -- ID: 4399 -- Item: Bluetail -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
rinstrum/LUA-LIB
K400Examples/protobuf/pb/proto/util.lua
2
2115
#!/usr/bin/env lua -- Copyright (c) 2007 Humberto Saraiva Nazareno dos Anjos. -- -- 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 right...
gpl-3.0
D-m-L/evonara
maps/splash01.lua
1
604506
return { version = "1.1", luaversion = "5.1", orientation = "orthogonal", width = 200, height = 200, tilewidth = 24, tileheight = 24, properties = {}, tilesets = { { name = "atlas1", firstgid = 1, tilewidth = 24, tileheight = 24, spacing = 0, margin = 0, i...
mit
Snazz2001/fbcunn
examples/imagenet/test.lua
4
4325
-- -- Copyright (c) 2014, 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. -- testLogger = opt...
bsd-3-clause
AdamGagorik/darkstar
scripts/zones/Beaucedine_Glacier/npcs/Ryunchi-Pauchi_WW.lua
13
3350
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Ryunchi-Pauchi, W.W. -- Type: Outpost Conquest Guards -- @pos -24.351 -60.421 -114.215 111 ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; ----------------------------------- require("scripts/...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/The_Shrine_of_RuAvitau/mobs/Kirin_s_Avatar.lua
7
2216
----------------------------------- -- Area: The Shrine of Ru'Avitau -- NPC: Kirin's Avatar: 17506675 ----------------------------------- package.loaded[ "scripts/zones/The_Shrine_of_RuAvitau/TextIDs" ] = nil; ----------------------------------- require( "scripts/zones/The_Shrine_of_RuAvitau/TextIDs" ); require( "scr...
gpl-3.0
teamactivebot/team-active
plugins/inpm.lua
18
9160
local function pre_process(msg) local to = msg.to.type local service = msg.service if to == 'user' and msg.fwd_from then if not is_support(msg.from.id) and not is_admin1(msg) then return end local user = 'user#id'..msg.from.id local from_id = msg.fwd_from.peer_id if msg.fwd_from.first_name then from_f...
gpl-2.0
yanc0/nginx
debian/modules/nginx-lua/t/lib/Redis.lua
49
35692
--[[ Copyright (c) 2009-2011 Daniele Alessandri 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, ...
bsd-2-clause
Czesti/BolScripts-1
JinxMechanics.lua
3
15692
--[[ _____ _____ __ .__ / \_______ / _ \________/ |_|__| ____ __ __ ____ ____ / \ / \_ __ \ / /_\ \_ __ \ __\ |/ ___\| | \/ \ / _ \ / Y \ | \/ / | \ | \/| | | \ \___| | / | ( <_> ) \____|__ /__| \___...
gpl-2.0
ModMountain/hash.js
plugins/lua/user_modules/x86.lua
5
9787
(getmetatable"" or {}).__index = function(self,k) if(type(k) == "number") then return self:sub(k,k); end return string[k]; end local function print() end local MEMORY_SIZE = 7; -- bytes of each ram of node local eax, ecx, edx, ebx, esp, ebp, esi, edi, eflags = 0, 1, 2, 3, 4, 5, 6, 7, 8; local ax, cx, dx, bx, sp, b...
cc0-1.0
AdamGagorik/darkstar
scripts/zones/Jugner_Forest_[S]/npcs/qm8.lua
30
1802
----------------------------------- -- Area: Jugner Forest (S) -- NPC: ??? -- Type: Quest NPC -- @pos -6 0 -295 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Jugner_Forest_[S]/TextIDs"); require("scri...
gpl-3.0
seppo0010/redis
deps/lua/test/life.lua
888
2635
-- life.lua -- original by Dave Bollinger <DBollinger@compuserve.com> posted to lua-l -- modified to use ANSI terminal escape sequences -- modified to use for instead of while local write=io.write ALIVE="¥" DEAD="þ" ALIVE="O" DEAD="-" function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary for i=1,10000 do...
bsd-3-clause
lidaohang/codis
extern/redis-2.8.13/deps/lua/test/life.lua
888
2635
-- life.lua -- original by Dave Bollinger <DBollinger@compuserve.com> posted to lua-l -- modified to use ANSI terminal escape sequences -- modified to use for instead of while local write=io.write ALIVE="¥" DEAD="þ" ALIVE="O" DEAD="-" function delay() -- NOTE: SYSTEM-DEPENDENT, adjust as necessary for i=1,10000 do...
mit
Wiladams/cream
ovs/lib/ovsdb_types.lua
1
6967
local ffi = require("ffi") --#include "compiler.h" require("ovs.lib.uuid") require("ovs.lib.json") ffi.cdef[[ /* An atomic type: one that OVSDB regards as a single unit of data. */ enum ovsdb_atomic_type { OVSDB_TYPE_VOID, /* No value. */ OVSDB_TYPE_INTEGER, /* Signed 64-bit integer. */ ...
mit
mikeboers/Flask-Lightroom
Flask.lrdevplugin/FlaskSandbox.lua
1
2979
local Lr = require 'Lr' local log = Lr.Logger() log:enable('print') local share = Lr.View.share local append = function(t, x) t[#t + 1] = x end Lr.Tasks.startAsyncTask(function() Lr.FunctionContext.callWithContext('FlaskSandbox', function(context) local catalog = Lr.Application:activeCatalog() local ui ...
bsd-3-clause
kahluamods/kore
Libs/AceLocale-3.0.lua
67
5637
--- **AceLocale-3.0** manages localization in addons, allowing for multiple locale to be registered with fallback to the base locale for untranslated strings. -- @class file -- @name AceLocale-3.0 -- @release $Id: AceLocale-3.0.lua 1035 2011-07-09 03:20:13Z kaelten $ local MAJOR,MINOR = "AceLocale-3.0", 6 local AceLoc...
apache-2.0
AdamGagorik/darkstar
scripts/zones/The_Eldieme_Necropolis/npcs/_5f6.lua
13
1076
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: Odin's Gate -- @pos 260 -34 110 195 ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Eldieme_Necropolis/TextIDs"); ------...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/weaponskills/stardiver.lua
11
1566
----------------------------------- -- Stardiver -- Polearm weapon skill -- Skill Level: MERIT -- Delivers a fourfold attack. Damage varies with TP. -- Will stack with Sneak Attack. reduces params.crit hit evasion by 5% -- Element: None -- Modifiers: STR:73~85% -- 100%TP 200%TP 300%TP -- 0.75 1.25 ...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/spells/massacre_elegy.lua
3
1842
----------------------------------------- -- Spell: Battlefield Elegy ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,tar...
gpl-3.0
TrurlMcByte/docker-prosody
etc/prosody-modules/mod_admin_web/admin_web/mod_admin_web.lua
1
9443
-- Copyright (C) 2010 Florian Zeitz -- -- This file is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- -- <session xmlns="http://prosody.im/streams/c2s" jid="alice@example.com/brussels"> -- <encrypted/> -- <compressed/> -- </session> -- <session xmlns="http://prosod...
mit
SilentStar/BolScripts-1
KayleMechanics.lua
21
15290
--[[ _____ _____ __ .__ / \_______ / _ \________/ |_|__| ____ __ __ ____ ____ / \ / \_ __ \ / /_\ \_ __ \ __\ |/ ___\| | \/ \ / _ \ / Y \ | \/ / | \ | \/| | | \ \___| | / | ( <_> ) \____|__ /__| \___...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/West_Sarutabaruta/npcs/Ipupu.lua
13
1410
----------------------------------- -- Area: West Sarutabaruta -- NPC: Ipupu -- Involved in Quest: Glyph Hanger -- @pos 251.745 -5.5 35.539 115 ----------------------------------- package.loaded["scripts/zones/West_Sarutabaruta/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Lufaise_Meadows/npcs/qm4.lua
15
1315
----------------------------------- -- Area: Lufaise Meadows -- NPC: ??? - spawns Splinterspine Grukjuk for quest "A Hard Day's Knight" -- @pos -38.605 -9.022 -290.700 24 ----------------------------------- package.loaded["scripts/zones/Lufaise_Meadows/TextIDs"] = nil; ----------------------------------- require("scr...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Spire_of_Vahzl/Zone.lua
30
1673
----------------------------------- -- -- Zone: Spire_of_Vahzl (23) -- ----------------------------------- package.loaded["scripts/zones/Spire_of_Vahzl/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Spire_of_Vahzl/TextIDs"); require("scripts/globals/mis...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Labyrinth_of_Onzozo/mobs/Goblin_Shepherd.lua
6
1075
----------------------------------- -- Area: Labyrinth of Onzozo -- MOB: Goblin Shepherd -- Note: Place holder Soulstealer Skullnix ----------------------------------- require("scripts/globals/groundsofvalor"); require("scripts/zones/Labyrinth_of_Onzozo/MobIDs"); ----------------------------------- -- onMobDeath ---...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Al_Zahbi/npcs/Banjanu.lua
13
1040
----------------------------------- -- Area: Al Zahbi -- NPC: Banjanu -- Type: Standard NPC -- @zone: 48 -- @pos -75.954 0.999 105.367 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ------------------------...
gpl-3.0
sjznxd/lc-20130204
modules/niu/luasrc/controller/niu/network.lua
49
1175
--[[ LuCI - Lua Development Framework Copyright 2009 Steven Barth <steven@midlink.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 $Id$ ]]-- modul...
apache-2.0
iotcafe/nodemcu-firmware
lua_modules/hdc1000/HDC1000.lua
79
2703
------------------------------------------------------- -- This library was written for the Texas Instruments -- HDC1000 temperature and humidity sensor. -- It should work for the HDC1008 too. -- Written by Francesco Truzzi (francesco@truzzi.me) -- Released under GNU GPL v2.0 license. ------------------------------...
mit
AdamGagorik/darkstar
scripts/globals/items/garlic_cracker_+1.lua
17
1327
----------------------------------------- -- ID: 4280 -- Item: garlic_cracker_+1 -- Food Effect: 5Min, All Races ----------------------------------------- -- Magic Regen While Healing 8 -- Undead Killer 5 -- Blind Resist 5 ----------------------------------------- require("scripts/globals/status"); ------------------...
gpl-3.0
Anarchid/Zero-K-Infrastructure
MissionEditor/MissionEditor2/MissionBase/LuaUI/Fonts/FreeSansBold_16.lua
18
35265
-- $Id: FreeSansBold_16.lua 3171 2008-11-06 09:06:29Z det $ local fontSpecs = { srcFile = [[FreeSansBold.ttf]], family = [[FreeSans]], style = [[Bold]], yStep = 17, height = 16, xTexSize = 512, yTexSize = 256, outlineRadius = 2, outlineWeight = 100, } local glyphs = {} gl...
gpl-3.0