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
AdamGagorik/darkstar
scripts/zones/Port_San_dOria/npcs/Joulet.lua
11
3462
----------------------------------- -- Area: Port San d'Oria -- NPC: Joulet -- Starts The Competition -- @zone: 232 -- @pos -18 -2 -45 ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs"...
gpl-3.0
TrurlMcByte/docker-prosody
etc/prosody-modules/mod_auth_imap/auth_imap/sasl_imap.lib.lua
32
6529
-- Dovecot authentication backend for Prosody -- -- Copyright (C) 2011 Kim Alvefur -- local log = require "util.logger".init("sasl_imap"); local setmetatable = setmetatable; local s_match = string.match; local t_concat = table.concat; local tostring, tonumber = tostring, tonumber; local socket = require "socket" lo...
mit
AdamGagorik/darkstar
scripts/zones/Promyvion-Vahzl/Zone.lua
13
5316
----------------------------------- -- -- Zone: Promyvion-Vahzl (22) -- ----------------------------------- package.loaded["scripts/zones/Promyvion-Vahzl/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/status"); require("scripts/globals/settings"); req...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Kunai.lua
7
1502
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Kunai ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEngag...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Southern_San_dOria/npcs/qm2.lua
13
1215
----------------------------------- -- Area: Southern San d'Oria -- NPC: The ??? on the Ink Well in 2nd Flr of Vemalpeau's house. -- General Info NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
ohmbase/OpenRA
mods/cnc/maps/nod04b/nod04b.lua
21
5939
NodUnitsBuggy = { 'bggy', 'bggy', 'bike', 'bike' } NodUnitsRocket = { 'e3', 'e3', 'e3', 'e3', 'e3', 'e3' } NodUnitsGunner = { 'e1', 'e1', 'e1', 'e1', 'e1', 'e1' } Apc3CellTriggerActivator = { CPos.New(28,58), CPos.New(27,58), CPos.New(28,57), CPos.New(27,57), CPos.New(28,56), CPos.New(27,56), CPos.New(28,55), CPos.New...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/RuLude_Gardens/npcs/Maat.lua
10
10016
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Maat -- Starts and Finishes Quest: Limit Break Quest 1-5 -- Involved in Quests: Beat Around the Bushin -- @zone 243 -- @pos 8 3 118 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; --------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/zebra_eel.lua
18
1391
----------------------------------------- -- ID: 4288 -- Item: Zebra Eel -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 -- Evasion 5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCh...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/abilities/chaos_roll.lua
5
4411
----------------------------------- -- Ability: Chaos Roll -- Enhances attack for party members within area of effect -- Optimal Job: Dark Knight -- Lucky Number: 4 -- Unlucky Number: 8 -- Level: 14 -- -- Die Roll |No DRK |With DRK -- -------- -------- ----------- -- 1 |6% |16% -- 2 |8...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/RuLude_Gardens/npcs/Trail_Markings.lua
12
2882
----------------------------------- -- Area: Rulude Gardens -- NPC: Trail Markings -- Dynamis-Jeuno Enter -- @pos 35 9 -51 243 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/glo...
gpl-3.0
aquileia/wesnoth
data/ai/micro_ais/mai-defs/misc.lua
8
1897
function wesnoth.micro_ais.assassin(cfg) local required_keys = { "[filter]", "[filter_second]" } local optional_keys = { "[prefer]" } local CA_parms = { ai_id = 'mai_assassin', { ca_id = 'attack', location = 'ca_simple_attack.lua', score = 110001 }, { ca_id = 'move', location = 'ca_assassin_move.lua', score = ...
gpl-2.0
padrinoo1/teleback
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/zones/Kazham/npcs/Nuh_Celodehki.lua
13
1169
----------------------------------- -- Area: Kazham -- NPC: Nuh Celodehki -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrad...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Newton_Movalpolos/npcs/Mining_Point.lua
13
1072
----------------------------------- -- Area: Newton Movalpolos -- NPC: Mining Point ----------------------------------- package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil; ------------------------------------- require("scripts/globals/mining"); require("scripts/zones/Newton_Movalpolos/TextIDs"); -----...
gpl-3.0
Hostle/luci
applications/luci-app-ddns/luasrc/controller/ddns.lua
1
9792
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Copyright 2013 Manuel Munz <freifunk at somakoma dot de> -- Copyright 2014 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed to the public under the Apache License 2.0. module("luci.c...
apache-2.0
FH3095/RollBot
ResultWindow.lua
1
5060
local RB = RollBot local libST = LibStub("ScrollingTable") local log = FH3095Debug.log local wnd = { vars = { rolls = {}, }, } local DEFAULT_POS = { LEFT = { relativePoint = "LEFT", xOfs = 200, yOfs = 0, }, WndHeight = 300, WndWidth = 400, } function wnd:showWindow() log("ResultWindow:showWindow") l...
gpl-3.0
rinstrum/LUA-LIB
src/rinLibrary/display/R400.lua
2
13130
------------------------------------------------------------------------------- -- R400 LCD Services -- Functions to add the R400 LCD to the display fields -- @module rinLibrary.Device.LCD -- @author Merrick Heley -- @copyright 2015 Rinstrum Pty Ltd ----------------------------------------------------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Boneyard_Gully/Zone.lua
32
1566
----------------------------------- -- -- Zone: Boneyard_Gully (8) -- ----------------------------------- package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Boneyard_Gully/TextIDs"); ----------------------------...
gpl-3.0
D-m-L/evonara
modules/entities.lua
1
1908
ents = {} ents.objects = {} ents.objpath = "modules/entities/" local register = {} local id = 0 function ents.Startup() register["crate"] = love.filesystem.load(ents.objpath .. "crate.lua" ) register["sinX"] = love.filesystem.load(ents.objpath .. "sinX.lua" ) register["cloud"] = love.filesystem.load(ents.objpath...
mit
khoshhalbot/khoshhal
plugins/warn2.lua
1
5878
do local function warn_by_username(extra, success, result) if success == 1 then local msg = result local target = extra.target local receiver = extra.receiver local hash = 'warn:'..target local value = redis:hget(hash, msg.id) local text = '' local name = '' if msg.first_name then name = string....
gpl-2.0
Hostle/luci
applications/luci-app-wifimanager/luasrc/controller/mobile/WifiManager.lua
1
1873
--[[ LuCI - Lua Configuration Interface $Id: wifimanager.lua 2/17/2016 by Hostle ]]-- module("luci.controller.mobile.WifiManager", package.seeall) function index() --## Multi User ##-- local fs = require "nixio.fs" local valid_users = {} --## load system users into tbl ##-- if fs.stat("/usr/lib/lua/luci/users.lu...
apache-2.0
mohammad25253/seed238
plugins/torrent_search.lua
223
1059
local https = require ('ssl.https') local ltn12 = require ("ltn12") local function search_kickass(query) local url = 'https://kat.cr/json.php?q='..URL.escape(query) local resp = {} local b,c = https.request { url = url, protocol = "tlsv1", sink = ltn12.sink.table(resp) } resp = table.concat(...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Gusgen_Mines/npcs/Degga.lua
12
1143
----------------------------------- -- Area: Gusgen Mines -- NPC: Degga -- Type: Standard Info NPC -- @pos 40 -68 -259 ----------------------------------- package.loaded["scripts/zones/Gusgen_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/weaponskills/smash_axe.lua
10
1537
----------------------------------- -- Smash Axe -- Axe weapon skill -- Skill level: 40 -- Stuns enemy. Duration of stun varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Snow Gorget & Aqua Gorget. -- Aligned with the Snow Belt & Aqua Belt. -- Element: None -- Modifiers: STR:100% -- 100%TP 200%TP ...
gpl-3.0
sjznxd/lc-20130204
libs/nixio/axTLS/www/lua/test_main.lua
176
1139
cgilua.htmlheader() cgilua.put[[ <html> <head><title>Script Lua Test</title></head> <body> cgi = { ]] for i,v in pairs (cgi) do if type(v) == "table" then local vv = "{" for a,b in pairs(v) do vv = string.format ("%s%s = %s<br>\n", vv, a, tostring(b)) end v = vv.."}" end cgilua.put (string.format ("%s =...
apache-2.0
hlieberman/sysdig
userspace/sysdig/chisels/httplog.lua
4
1715
--[[ Copyright (C) 2013-2018 Draios Inc dba Sysdig. This file is part of sysdig. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
gpl-2.0
neechbear/colloquy
src/swearing.lua
1
1187
-- some stuff to detect swearing etc... swears = {} function loadSwearWords(filename) local fh = openfile(filename, "r"); local l = ""; local word, exclusions; local et = {}; while (l) do l = read(fh, "*l"); if l then if strsub(l, 1, 1) ~= "#" then null, null, word, exclusions = strfind...
mit
AdamGagorik/darkstar
scripts/zones/Bhaflau_Thickets/npcs/HomePoint#1.lua
27
1274
----------------------------------- -- Area: Bhaflau Thickets -- NPC: HomePoint#1 -- @pos -98 -10 -493 52 ----------------------------------- package.loaded["scripts/zones/Bhaflau_Thickets/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Bhaflau_Thickets/TextIDs"); require("scripts/globa...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/weaponskills/blade_rin.lua
11
1362
----------------------------------- -- Blade Rin -- Katana weapon skill -- Skill Level: 5 -- Delivers a single-hit attack. Chance of params.critical varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Light Gorget. -- Aligned with the Light Belt. -- Element: None -- Modifiers: STR:20% ; DEX:20% -- 100%...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Bastok_Markets_[S]/Zone.lua
13
1403
----------------------------------- -- -- Zone: Bastok_Markets_[S] (87) -- ----------------------------------- package.loaded["scripts/zones/Bastok_Markets_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Bastok_Markets_[S]/TextIDs"); ---------------...
gpl-3.0
samuelwbaird/brogue
source/rascal/log.lua
1
2373
-- a shared logging endpoint for rascal -- can be configured to log to console or file -- logging is pushed via a 0MQ push/pull channel and serialised in this thread -- without blocking the client thread -- copyright 2014 Samuel Baird MIT Licence require('rascal.base') -- lua modules local io = require('io') local os...
mit
AdamGagorik/darkstar
scripts/zones/North_Gustaberg/npcs/Ennigreaud_RK.lua
13
3334
----------------------------------- -- Area: North Gustaberg -- NPC: Ennigreaud, R.K. -- Type: Outpost Conquest Guards -- @pos -584.687 39.107 54.281 106 ----------------------------------- package.loaded["scripts/zones/North_Gustaberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conq...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Upper_Jeuno/npcs/Mejuone.lua
13
1132
----------------------------------- -- Area: Upper Jeuno -- NPC: Mejuone -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
sjznxd/lc-20130204
modules/niu/luasrc/niulib.lua
49
1744
--[[ LuCI - Lua Configuration Interface 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$ ]]-- loc...
apache-2.0
AdamGagorik/darkstar
scripts/globals/spells/break.lua
45
1155
----------------------------------------- -- Spell: Breakga -- Temporarily blinds an enemy, greatly lowering its accuracy. ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ---------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Upper_Jeuno/npcs/Shalott.lua
13
1111
----------------------------------- -- Area: Upper Jeuno -- NPC: Shalott -- Optional Involvement in Quest: Save My Son -------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/quests"); --------------------------...
gpl-3.0
sjznxd/lc-20130204
applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpcmini.lua
68
1140
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 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 at h...
apache-2.0
AdamGagorik/darkstar
scripts/globals/spells/bluemagic/battle_dance.lua
27
1922
----------------------------------------- -- Spell: Battle Dance -- Delivers an area attack. Additional effect: DEX Down. Duration of effect varies with TP -- Spell cost: 12 MP -- Monster Type: Beastmen -- Spell Type: Physical (Slashing) -- Blue Magic Points: 3 -- Stat Bonus: DEX+2 -- Level: 12 -- Casting Time: 1 secon...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/spells/frost.lua
17
1849
----------------------------------------- -- Spell: Frost -- Deals ice damage that lowers an enemy's agility and gradually reduces its HP. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); -------------------------------...
gpl-3.0
diarmuidcwc/LuaDissectors
counter.lua
1
1289
-- -- This dissects the temperature reported from the BCU counter_proto = Proto("counter","Incrementing Counters") -- Declare a few fields that we are in f_counterror = ProtoField.bool("counter.error","Error",base.NONE) counter_proto.fields = {f_counterror} -- create a function to dissect it function coun...
gpl-2.0
paritoshmmmec/kong
spec/unit/dao/entities_schemas_spec.lua
13
9528
local api_schema = require "kong.dao.schemas.apis" local consumer_schema = require "kong.dao.schemas.consumers" local plugins_configurations_schema = require "kong.dao.schemas.plugins_configurations" local validations = require "kong.dao.schemas_validation" local validate_entity = validations.validate_entity require "...
mit
sjznxd/lc-20130204
modules/admin-core/luasrc/tools/webadmin.lua
88
3493
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 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 at h...
apache-2.0
AdamGagorik/darkstar
scripts/globals/abilities/ninja_roll.lua
4
2457
----------------------------------- -- Ability: Ninja Roll -- Enhances evasion for party members within area of effect -- Optimal Job: Ninja -- Lucky Number: 4 -- Unlucky Number: 8 -- Jobs: -- Corsair Level 8 -- -- Die Roll |With NIN -- -------- ---------- -- 1 |+4 -- 2 |+6 -- 3 |+8 ...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/weaponskills/seraph_strike.lua
11
1313
----------------------------------- -- Seraph Strike -- Club weapon skill -- Skill level: 40 -- Deals light elemental damage to enemy. Damage varies with TP. -- Aligned with the Thunder Gorget. -- Aligned with the Thunder Belt. -- Element: None -- Modifiers: STR:40% ; MND:40% -- 100%TP 200%TP 300%TP -- 2.125 ...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Sacrificial_Chamber/Zone.lua
30
1663
----------------------------------- -- -- Zone: Sacrificial_Chamber (163) -- ----------------------------------- package.loaded["scripts/zones/Sacrificial_Chamber/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/miss...
gpl-3.0
paritoshmmmec/kong
kong/tools/io.lua
8
3893
local yaml = require "yaml" local path = require("path").new("/") local stringy = require "stringy" local constants = require "kong.constants" local _M = {} _M.path = path function _M.file_exists(path) local f, err = io.open(path, "r") if f ~= nil then io.close(f) return true else return false, err...
mit
sbuettner/kong
kong/vendor/resty_http.lua
21
6248
local pairs = pairs local type = type local tonumber = tonumber local tostring = tostring local setmetatable = setmetatable local encode_args = ngx.encode_args local tcp = ngx.socket.tcp local concat = table.concat local insert = table.insert local upper = string.upper local lower = string.lower local sub ...
mit
Laeeth/dub
test/lua_simple_test.lua
2
12550
--[[------------------------------------------------------ dub.LuaBinder ------------- Test basic binding with the 'simple' class. --]]------------------------------------------------------ local lub = require 'lub' local lut = require 'lut' local should = lut.Test('dub.LuaBinder - simple', {coverage = false})...
mit
AdamGagorik/darkstar
scripts/zones/The_Shrouded_Maw/bcnms/darkness_named.lua
30
2857
----------------------------------- -- Area: The_Shrouded_Maw -- Name: darkness_named ----------------------------------- package.loaded["scripts/zones/The_Shrouded_Maw/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"); require("scripts/zones/Th...
gpl-3.0
sjznxd/lc-20130204
applications/luci-olsr/luasrc/controller/olsr.lua
16
9505
module("luci.controller.olsr", package.seeall) function index() if not nixio.fs.access("/etc/config/olsrd") then return end local page = node("admin", "status", "olsr") page.target = template("status-olsr/overview") page.title = _("OLSR") page.subindex = true local page = node("admin", "status", "olsr", ...
apache-2.0
AdamGagorik/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/Grounds_Tome.lua
30
1115
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Southern_San_dOria/npcs/Maleme.lua
15
1477
----------------------------------- -- Area: Southern San dOria -- NPC: Maleme -- Type: Weather Reporter -- Involved in Quest: Flyers for Regine ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings");...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Western_Altepa_Desert/npcs/_3h6.lua
13
1908
----------------------------------- -- Area: Western Altepa Desert -- NPC: _3h6 (Topaz Column) -- Notes: Mechanism for Altepa Gate -- @pos -260 10 -344 125 ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require("scripts/zo...
gpl-3.0
cresd/CressD
plugins/info.lua
51
9099
do local SUDO = 106164433 --put your id here(BOT OWNER ID) local function setrank(msg, name, value) -- setrank function local hash = nil if msg.to.type == 'chat' then hash = 'rank:'..msg.to.id..':variables' end if hash then redis:hset(hash, name, value) return send_msg('chat#id'..msg.to.id, 'مقام کا...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/abilities/double-up.lua
24
2654
----------------------------------- -- Ability: Double Up -- Enhances an active Phantom Roll effect that is eligible for Double-Up. -- Obtained: Corsair Level 5 -- Recast Time: 8 seconds -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); req...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/serving_of_leadafry.lua
18
1182
----------------------------------------- -- ID: 5161 -- Item: serving_of_leadafry -- Food Effect: 240Min, All Races ----------------------------------------- -- Agility 5 -- Vitality 2 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemChec...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Konschtat_Highlands/Zone.lua
13
4020
----------------------------------- -- -- Zone: Konschtat_Highlands (108) -- ----------------------------------- package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Konschtat_Highlands/Tex...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Port_San_dOria/npcs/Milva.lua
12
1867
----------------------------------- -- Area: Port San d'Oria -- NPC: Milva -- Only sells when San d'Oria has control of Sarutabaruta ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require(...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Windurst_Walls/npcs/Selulu.lua
13
1047
---------------------------------- -- Area: Windurst Walls -- NPC: Selulu -- Type: Item Deliverer -- @zone: 239 -- @pos 58.027 -2.5 -60.548 -- ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; require("scripts/zones/Windurst_Walls/TextIDs"); -----------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Northern_San_dOria/npcs/Gilipese.lua
13
1041
----------------------------------- -- Area: Northern San d'Oria -- NPC: Gilipese -- Type: Standard Dialogue NPC -- @zone: 231 -- @pos -155.088 0.000 120.300 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_dOria/TextIDs")...
gpl-3.0
jackbadlands/lovewidget
test_WidgetSystem1.lua
1
2081
love.widget = require "lovewidget" love.ui = require "loveui" local st = {} function love.load() local function drawcb(uiobj, data, absx, absy, w, h) love.graphics.setColor(data.r, data.g, data.b, data.a) love.graphics.rectangle("fill", absx, absy, w, h) return true end local function eventcb(uiobj, data, r...
unlicense
TrurlMcByte/docker-prosody
etc/prosody-modules/mod_s2s_keysize_policy/mod_s2s_keysize_policy.lua
32
1512
-- mod_s2s_keysize_policy.lua -- Requires LuaSec with this patch: https://github.com/brunoos/luasec/pull/12 module:set_global(); local datetime_parse = require"util.datetime".parse; local pat = "^([JFMAONSD][ceupao][glptbvyncr]) ?(%d%d?) (%d%d):(%d%d):(%d%d) (%d%d%d%d) GMT$"; local months = {Jan=1,Feb=2,Mar=3,Apr=4,...
mit
Anarchid/Zero-K-Infrastructure
PlanetWars.old/Mods/BA66PW.sdd/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
AdamGagorik/darkstar
scripts/zones/Rabao/npcs/Generoit.lua
13
1359
----------------------------------- -- Area: Rabao -- NPC: Generoit -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Rabao/TextIDs"] = nil; require("scripts/zones/Rabao/TextIDs"); ----------------------------------- -- onTrade Action ---------...
gpl-3.0
sjznxd/lc-20130204
libs/web/luasrc/template.lua
68
3061
--[[ LuCI - Template Parser Description: A template parser supporting includes, translations, Lua code blocks and more. It can be used either as a compiler or as an interpreter. FileId: $Id$ License: Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you...
apache-2.0
AdamGagorik/darkstar
scripts/zones/Windurst_Waters/npcs/Kerutoto.lua
25
12740
----------------------------------- -- Area: Windurst Waters -- NPC: Kerutoto -- Starts Quest Food For Thought -- Involved in Quest: Riding on the Clouds -- @zone 238 -- @pos 13 -5 -157 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Windurst_Walls/npcs/Five_of_Diamonds.lua
13
1063
----------------------------------- -- Area: Windurst Walls -- NPC: Five of Diamonds -- Type: Standard NPC -- @zone: 239 -- @pos -220.954 -0.001 -122.708 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Walls/TextIDs"] = nil; -...
gpl-3.0
pczarn/kollos
components/test/dev/simple_test2.lua
1
1563
-- luacheck: std lua51 require 'Test.More' plan(1) local kollos_external = require "kollos" local wrap = kollos_external.wrap local luif_err_none -- luacheck: ignore = kollos_external.error.code_by_name['LUIF_ERR_NONE'] -- luacheck: ignore local luif_err_unexpected_token -- luacheck: ignore = kollos_external.err...
mit
yaoqi/Atlas
examples/tutorial-keepalive.lua
40
7134
--[[ $%BEGINLICENSE%$ Copyright (c) 2007, 2009, Oracle and/or its affiliates. All rights reserved. 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 dis...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Donmo-Boronmo_WW.lua
13
3355
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Donmo-Boronmo, W.W. -- Type: Outpost Conquest Guards -- @pos -294.470 15.806 420.117 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scri...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Caedarva_Mire/npcs/qm3.lua
30
1349
----------------------------------- -- Area: Caedarva Mire -- NPC: ??? (Spawn Mahjlaef the Paintorn(ZNM T3)) -- @pos 695 -7 527 79 ----------------------------------- package.loaded["scripts/zones/Caedarva_Mire/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Caedarva_Mire/TextIDs"); require...
gpl-3.0
hlieberman/sysdig
userspace/sysdig/chisels/v_syscall_procs.lua
4
1901
--[[ Copyright (C) 2013-2018 Draios Inc dba Sysdig. This file is part of sysdig. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
gpl-2.0
Hostle/luci
modules/luci-base/luasrc/http/protocol/date.lua
68
1697
-- Copyright 2008 Freifunk Leipzig / Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. -- This class contains functions to parse, compare and format http dates. module("luci.http.protocol.date", package.seeall) require("luci.sys.zoneinfo") MONTHS = { "Jan", "Feb", "Mar", "Ap...
apache-2.0
AdamGagorik/darkstar
scripts/globals/items/prized_beef_stewpot.lua
18
1979
----------------------------------------- -- ID: 5549 -- Item: Prized Angler's Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 100 -- MP +20 -- Strength +4 -- Agility +2 -- Mind +2 -- HP Recovered while healing +9 -- MP Recovered while healing +3 -...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/jacknife.lua
18
1492
----------------------------------------- -- ID: 5123 -- Item: Jacknife -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -5 -- Vitality 4 -- Defence 16% Cap 50 ----------------------------------------- require("scripts/globals/status"); -----------------------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/spells/cryohelix.lua
26
1687
-------------------------------------- -- Spell: Cryohelix -- Deals ice damage that gradually reduces -- a target's HP. Damage dealt is greatly affected by the weather. -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magi...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Windurst_Woods/npcs/Spare_Five.lua
13
1498
----------------------------------- -- Area: Windurst Woods -- NPC: Spare Five -- Working 100% -- Involved in quest: A Greeting Cardian ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/globals/quests"] = nil; require("scripts/globals/quests"); package.loaded["...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Port_Windurst/npcs/Tohopka.lua
13
1047
----------------------------------- -- Area: Port Windurst -- NPC: Tohopka -- Type: Standard NPC -- @zone: 240 -- @pos -105.723 -10 83.813 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; -----------------...
gpl-3.0
GiantCyber/Giants_TM
plugins/owners.lua
1467
12478
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
agpl-3.0
botgro/groupanir
plugins/owners.lua
1467
12478
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
aquileia/wesnoth
data/ai/micro_ais/mai-defs/recruiting.lua
7
1435
local H = wesnoth.require "lua/helper.lua" local W = H.set_wml_action_metatable {} local function handle_default_recruitment(cfg) -- Also need to delete/add the default recruitment CA if cfg.action == 'add' then W.modify_ai { side = cfg.side, action = "try_delete", path = "stage[main_loop].candidate_actio...
gpl-2.0
hlieberman/sysdig
userspace/sysdig/chisels/v_kubernetes_deployments.lua
4
3180
--[[ Copyright (C) 2013-2018 Draios Inc dba Sysdig. This file is part of sysdig. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by ...
gpl-2.0
AdamGagorik/darkstar
scripts/zones/Temenos/mobs/Goblin_Theurgist.lua
7
1129
----------------------------------- -- Area: Temenos N T -- NPC: Goblin_Theurgist ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ----------------------------...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/The_Shrine_of_RuAvitau/npcs/qm1.lua
13
1362
----------------------------------- -- Area: The Shrine of Ru'Avitau -- NPC: ??? (Spawn Olla Pequena) -- @pos 851 0.1 92 178 ----------------------------------- package.loaded["scripts/zones/The_Shrine_of_RuAvitau/TextIDs"] = nil; ----------------------------------- require("scripts/zones/The_Shrine_of_RuAvitau/TextI...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/The_Eldieme_Necropolis_[S]/Zone.lua
25
1307
----------------------------------- -- -- Zone: The_Eldieme_Necropolis_[S] (175) -- ----------------------------------- package.loaded["scripts/zones/The_Eldieme_Necropolis_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/The_Eldieme_Necropolis_[S]/Te...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/items/sausage.lua
18
1644
----------------------------------------- -- ID: 4578 -- Item: sausage -- Food Effect: 30Min, All Races ----------------------------------------- -- Health % 3 -- Strength 3 -- Intelligence -1 -- Attack % 27 -- Attack Cap 30 -- Ranged ATT % 27 -- Ranged ATT Cap 30 ----------------------------------------- require("scr...
gpl-3.0
yaoqi/Atlas
lib/proxy/charset.lua
41
2873
module("proxy.charset", package.seeall) local config_file = string.format("proxy.conf.config_%s", proxy.global.config.instance) local config = require(config_file) local log = require("proxy.log") local level = log.level local write_log = log.write_log function modify_charset(tokens, c, s) write_log(level.DEBUG, "...
gpl-2.0
hadirahimi1380/-AhRiMaN-
plugins/translate.lua
674
1637
--[[ -- Translate text using Google Translate. -- http://translate.google.com/translate_a/single?client=t&ie=UTF-8&oe=UTF-8&hl=en&dt=t&tl=en&sl=auto&text=hello --]] do function translate(source_lang, target_lang, text) local path = "http://translate.google.com/translate_a/single" -- URL query parameters local p...
gpl-2.0
AdamGagorik/darkstar
scripts/globals/spells/bluemagic/flying_hip_press.lua
34
1384
----------------------------------------- -- Spell: Flying Hip Press -- Deals wind damage to enemies within range -- Spell cost: 125 MP -- Monster Type: Beastmen -- Spell Type: Magical (Wind) -- Blue Magic Points: 3 -- Stat Bonus: AGI+1 -- Level: 58 -- Casting Time: 5.75 seconds -- Recast Time: 34.5 seconds -- Magic Bu...
gpl-3.0
AdamGagorik/darkstar
scripts/globals/abilities/pets/wind_blade.lua
28
1333
--------------------------------------------------- -- Geocrush --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); --------------------------------------------------- ...
gpl-3.0
Wiladams/cream
ovs/openflow/openflow_1_5.lua
1
5676
local ffi = require("ffi") -- OpenFlow: protocol between controller and datapath. local common = require("openflow_common") local OFP_ASSERT = common.OFP_ASSERT; ffi.cdef[[ /* Group commands */ enum ofp15_group_mod_command { /* Present since OpenFlow 1.1 - 1.4 */ OFPGC15_ADD = 0, /* New group. */ ...
mit
yanc0/nginx
debian/modules/nginx-lua/t/lib/CRC32.lua
57
5575
--Copyright (c) 2007-2008 Neil Richardson (nrich@iinet.net.au) -- --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...
bsd-2-clause
Hostle/luci
applications/luci-app-asterisk/luasrc/model/cbi/asterisk/dialzones.lua
68
3276
-- Copyright 2008 Jo-Philipp Wich <jow@openwrt.org> -- Licensed to the public under the Apache License 2.0. local ast = require("luci.asterisk") local uci = require("luci.model.uci").cursor() --[[ Dialzone overview table ]] if not arg[1] then zonemap = Map("asterisk", "Dial Zones", [[ Dial zones hold patterns of...
apache-2.0
Tonny-Gu/Project-Habrew
HAP-NodeMCU/src_v2/Bed/init - 副本.lua
1
4529
DevID="4" DevType="Bed" MQTT_Server="192.168.1.1" MQTT_Port="1883" WiFi_SSID="taihenkaku" WiFi_PSK="18577288034" Temp=0 Humi=0 function wait(t) tmr.delay(t*1000) end function mseconds() return tmr.now()/1000 end function led_duty(r,g,b) pwm.setduty(7,1023-b) pwm.setduty(8,1023-g) pwm.setduty(5,102...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Davoi/npcs/_452.lua
13
1169
----------------------------------- -- Area: Davoi -- NPC: _452 (Elevator Lever) -- Notes: Used to operate Elevator @450 (actual npc script is _454) ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("s...
gpl-3.0
AdamGagorik/darkstar
scripts/zones/Beaucedine_Glacier/mobs/Calcabrina.lua
7
1944
----------------------------------- -- Area: Beaucedine Glacier -- NM: Calcabrina ----------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- ----------------------------------- -- onMobInitialize ----------------------------------- f...
gpl-3.0
Nathan22Miles/sile
packages/unichar.lua
1
1041
local function utf8encode(code) if code < 0 then error('Code point must not be negative.') elseif code <= 0x7f then return string.char(code) elseif code <= 0x7ff then local c1 = code / 64 + 192 local c2 = code % 64 + 128 return string.char(c1, c2) elseif code <= 0xffff then local c1 = co...
mit
Nathan22Miles/sile
languages/no.lua
4
276720
SILE.hyphenator.languages["no"] = {}; SILE.hyphenator.languages["no"].patterns = { ".a4", ".aa4", ".ab4ba", ".ab7be", ".ab6s5t", ".ac6tin", ".adel4s", ".ad8la.", ".ad6le.", ".ad2r", ".ad1s2", ".af7f", ".af5t4", ".af5f8u", ".ag6na.", ".ag6ne.", ".ag4r", ".ai2", ".a6k", ".ak6ka.", ".ak6ke.", ".ak3kl", ".ak3kr", ".ak6n...
mit
sjznxd/lc-20130204
applications/luci-asterisk/luasrc/model/cbi/asterisk-sip-connections.lua
80
3921
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 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 at h...
apache-2.0
antlad/route_solver_service
profiles/car.lua
1
19292
-- Car profile local find_access_tag = require("lib/access").find_access_tag local get_destination = require("lib/destination").get_destination local set_classification = require("lib/guidance").set_classification local get_turn_lanes = require("lib/guidance").get_turn_lanes -- Begin of globals barrier_whitelist = { [...
mit