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
smikail/Botgood
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
mt246/mt
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
TeleSudo/TeleRedStar
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...
agpl-3.0
Enignite/darkstar
scripts/globals/mobskills/Hydro_Canon.lua
18
1278
--------------------------------------------------- -- Hydro_Canon -- Description: -- Type: Magical -- additional effect : 40hp/tick Poison --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); -----...
gpl-3.0
florian-shellfire/luci
applications/luci-app-olsr/luasrc/model/cbi/olsr/olsrdhna.lua
73
1639
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Copyright 2011 Manuel Munz <freifunk at somakoma dot de> -- Licensed to the public under the Apache License 2.0. local uci = require "luci.model.uci".cursor() local ipv = uci:get_first("olsrd", "olsrd", "IpVersion", "4") mh = Map("olsrd", translate("OLSR - HNA-A...
apache-2.0
fcpxhacks/fcpxhacks
src/plugins/finder/preferences/panel.lua
2
1658
--- === plugins.finder.preferences.panel === --- --- General Preferences Panel local require = require local image = require "hs.image" local i18n = require "cp.i18n" local tools = require "cp.tools" local iconFallback = tools.iconFallback local imageFromPath = image.imageFromPath l...
mit
Maliv/TeleGuard
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
Enignite/darkstar
scripts/zones/Crawlers_Nest_[S]/npcs/Kalsu-Kalasu.lua
21
1845
----------------------------------- -- Area: Crawlers Nest [S] -- NPC: Kalsu-Kalasu -- @pos 304.768 -33.519 -19.168 171 -- Notes: Gives Green Letter required to start "Snake on the plains" ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest_[S]/TextIDs"] = nil; ----------------------...
gpl-3.0
Enignite/darkstar
scripts/zones/Northern_San_dOria/npcs/Pala_Korin.lua
36
1428
----------------------------------- -- Area: Northern San d'Oria -- NPC: Pala_Korin -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/ques...
gpl-3.0
Enignite/darkstar
scripts/zones/Xarcabard/npcs/qm1.lua
16
1408
----------------------------------- -- Area: Xarcabard -- NPC: qm1 (???) -- Involved in Quests: The Three Magi (for Boreal Hound) -- @pos -331 -29 -49 112 ----------------------------------- package.loaded["scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
Enignite/darkstar
scripts/globals/weaponskills/dulling_arrow.lua
30
1343
----------------------------------- -- Dulling Arrow -- Archery weapon skill -- Skill level: 80 -- Lowers enemy's INT. Chance of params.critical varies with TP. -- Aligned with the Flame Gorget & Light Gorget. -- Aligned with the Flame Belt & Light Belt. -- Element: None -- Modifiers: STR:16% ; AGI:25% -- 100%...
gpl-3.0
zendey/Flashcard_mobile_app
scripts/classes/screen/HomeScreen.lua
1
1412
----------------------------------------------------------------------------------------- -- -- HomeScreen.lua -- Home screen class. -- ----------------------------------------------------------------------------------------- local HomeScreen = {} -- Create new loading screen. function HomeScreen.new( options ) ---...
gpl-2.0
Enignite/darkstar
scripts/zones/Port_Jeuno/npcs/Squintrox_Dryeyes.lua
19
4412
----------------------------------- -- Area: Port Jeuno -- NPC: Squintrox Dryeyes -- Type: Addon Mission Merchant -- @pos -100.071 -1 11.869 246 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); re...
gpl-3.0
Enignite/darkstar
scripts/globals/weaponskills/retribution.lua
30
1636
----------------------------------- -- Retribution -- Staff weapon skill -- Skill Level: 230 -- Delivers a single-hit attack. Damage varies with TP. -- In order to obtain Retribution, the quest Blood and Glory must be completed. -- Despite the appearance of throwing the staff, this is not a long-range Weapon Skil...
gpl-3.0
Enignite/darkstar
scripts/zones/Castle_Oztroja/npcs/_479.lua
17
1659
----------------------------------- -- Area: Castle Oztroja -- NPC: _479 (Brass Door) -- Involved in Mission "Saintly Invitation" -- @pos -99 -59 84 151 ----------------------------------- package.loaded["scripts/zones/Castle_Oztroja/TextIDs"] = nil; ----------------------------------- require("scripts/zon...
gpl-3.0
bhillmann/dex
packs/Dex1/Scripts/commonpatterns.lua
2
2699
execScript("common.lua") -- pNickBarrage: spawns a single wall function pNickBarrage(mStep) delay = getPerfectDelay(THICKNESS) * 5.6 nickBarrage(mStep) wait(delay) wait(delay) end function pNickDoubleBarrage(mStep) delay = getPerfectDelay(THICKNESS) * 5.6 nickBarrage(mStep) nickBarrage(mStep+3) wait(del...
mit
MinimalOS-AOSP/platform_external_skia
tools/lua/dump_clipstack_at_restore.lua
147
1096
function sk_scrape_startcanvas(c, fileName) canvas = c clipstack = {} restoreCount = 0 end function sk_scrape_endcanvas(c, fileName) canvas = nil end function sk_scrape_accumulate(t) if (t.verb == "restore") then restoreCount = restoreCount + 1; -- io.write("Clip Stack at restore #...
bsd-3-clause
Enignite/darkstar
scripts/zones/Temenos/mobs/Airi.lua
16
1281
----------------------------------- -- Area: Temenos Central 1floor -- NPC: Airi ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ----------------------...
gpl-3.0
aqasaeed/telebot
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
Enignite/darkstar
scripts/zones/Pashhow_Marshlands/npcs/Ioupie_RK.lua
30
3064
----------------------------------- -- Area: Pashhow Marshlands -- NPC: Ioupie, R.K. -- Type: Border Conquest Guards -- @pos 536.291 23.517 694.063 109 ----------------------------------- package.loaded["scripts/zones/Pashhow_Marshlands/TextIDs"] = nil; ----------------------------------- require("scripts/globals/con...
gpl-3.0
Enignite/darkstar
scripts/zones/Northern_San_dOria/npcs/Coullene.lua
14
1489
----------------------------------- -- Area: Northern San d'Oria -- NPC: Coullene -- Type: Involved in Quest (Flyers for Regine) -- @zone: 231 -- @pos 146.420 0.000 127.601 -- ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; require("scripts/zones/Northern_San_...
gpl-3.0
mkarer/SezzUnitFrames
Elements/ThreatBar.lua
1
6845
--[[ s:UI Unit Frame Element: Threat Bar Only uses threat data available from the current target! When (If) Carbine implements a better API or someone creates a nifty library I'll add that. Martin Karer / Sezz, 2014 http://www.sezz.at --]] local MAJOR, MINOR = "Sezz:UnitFrameElement:ThreatBar-0.1", 1; local A...
mit
smikail/Botgood
plugins/anti_spam.lua
435
3886
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
UB12/yellowhat
plugins/anti_spam.lua
435
3886
--An empty table for solving multiple kicking problem(thanks to @topkecleon ) kicktable = {} do local TIME_CHECK = 2 -- seconds local data = load_data(_config.moderation.data) -- Save stats, ban user local function pre_process(msg) -- Ignore service msg if msg.service then return msg end if msg.from.id =...
gpl-2.0
roelofr/GMod-ParticleMaker
particle-maker/lua/autorun/client/particlemaker_error.lua
1
1145
--[[ Copyright 2016 Roelof Roos (SirQuack) Part of Particle Maker Garry's Mod Tool 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 app...
apache-2.0
Enignite/darkstar
scripts/zones/Temenos/mobs/Telchines_Monk.lua
16
1135
----------------------------------- -- Area: Temenos N T -- NPC: Telchines_Monk ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ----------------------...
gpl-3.0
doofus-01/wesnoth
data/campaigns/World_Conquest/lua/map/generator/savannah.lua
7
2031
local function generate(length, villages, castle, iterations, size, players, island) local res = wct_generator_settings_arguments( length, villages, castle, iterations, size, players, island) res.max_lakes=10 res.min_lake_height=150 res.lake_size=125 res.river_frequency=100 res.temperature_size=8 res.roads=12 ...
gpl-2.0
Enignite/darkstar
scripts/zones/The_Sanctuary_of_ZiTah/npcs/qm4.lua
19
1724
----------------------------------- -- Area: The Sanctuary of Zitah -- NPC: ??? -- Finishes Quest: Lovers in the Dusk -- @zone 121 ----------------------------------- package.loaded["scripts/zones/The_Sanctuary_of_ZiTah/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require(...
gpl-3.0
florian-shellfire/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
WUTiAM/LUAnity
Source/LuaJIT-2.0.4/src/jit/bc.lua
88
5606
---------------------------------------------------------------------------- -- LuaJIT bytecode listing module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -...
mit
Im-dex/xray-162
code/3rd-party/luajit/src/jit/bc.lua
88
5606
---------------------------------------------------------------------------- -- LuaJIT bytecode listing module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -...
apache-2.0
Enignite/darkstar
scripts/zones/Windurst_Waters/npcs/Otete.lua
36
1453
----------------------------------- -- Area: Windurst_Waters -- NPC: Otete -- Only sells when Windurst controlls Li'Telor Region -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Windurs...
gpl-3.0
Enignite/darkstar
scripts/zones/Kazham/npcs/Bubupp.lua
15
3442
----------------------------------- -- Area: Kazham -- NPC: Bubupp -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------...
gpl-3.0
tks2103/angel-test
Code/Tools/BuildScripts/lua-lib/penlight-1.0.2/tests/test-array.lua
20
1397
local array = require 'pl.array2d' local asserteq = require('pl.test').asserteq local L = require 'pl.utils'. string_lambda local A = { {1,2,3,4}, {10,20,30,40}, {100,200,300,400}, {1000,2000,3000,4000}, } asserteq(array.column(A,2),{2,20,200,2000}) asserteq(array.reduce_rows('+',A),{10,100,1000,10000}) asserteq(...
bsd-3-clause
Enignite/darkstar
scripts/zones/Xarcabard/mobs/Biast.lua
37
1116
----------------------------------- -- Area: Xarcabard -- NM: Biast -- ID: 17235988 ----------------------------------- require("scripts/globals/status"); ----------------------------------- ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) ...
gpl-3.0
Enignite/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Uricca-Koricca.lua
38
1051
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Uricca-Koricca -- Type: Standard NPC -- @zone: 94 -- @pos -102.221 -3 48.791 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil...
gpl-3.0
Enignite/darkstar
scripts/zones/Port_San_dOria/npcs/HomePoint#2.lua
17
1255
----------------------------------- -- Area: Port San dOria -- NPC: HomePoint#2 -- @pos 48 -12.000 -105 232 ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Port_San_dOria/TextIDs"); require("script...
gpl-3.0
Enignite/darkstar
scripts/zones/Marjami_Ravine/npcs/HomePoint#1.lua
17
1196
----------------------------------- -- Area: Marjami Ravine -- NPC: HomePoint#1 -- @pos -23 0 174 50 ----------------------------------- package.loaded["scripts/zones/Marjami_Ravine/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Marjami_Ravine/TextIDs"); require("scripts/globals/homepo...
gpl-3.0
Enignite/darkstar
scripts/globals/items/dolphin_staff.lua
41
1077
----------------------------------------- -- ID: 17134 -- Item: Dolphin Staff -- Additional Effect: Water Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -----------------------------...
gpl-3.0
jahwag/cheese-lua
dynamic metal/mapconfig/map_metal_layout.lua
1
2815
return { spots = { {x = 6909, z = 3444, metal = 1.5}, {x = 4916, z = 2525, metal = 1.5}, {x = 6758, z = 3280, metal = 1.5}, {x = 3243, z = 3627, metal = 1.5}, {x = 3093, z = 3391, metal = 1.5}, {x = 5119, z = 7405, metal = 1.5}, {x = 7639, z = 5397, metal = 1.5}, {x = 7405, z = 5225, metal = 1.5}, {x = 7756, z = 5003, ...
apache-2.0
THISISAGOODNAME/luajitcpp
luajitcpp-win/luajit/lua/jit/v.lua
42
5755
---------------------------------------------------------------------------- -- Verbose mode of the LuaJIT compiler. -- -- Copyright (C) 2005-2016 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
mit
Enignite/darkstar
scripts/globals/items/bataquiche_+1.lua
35
1474
----------------------------------------- -- ID: 5169 -- Item: Bataquiche +1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Magic 10 -- Agility 1 -- Vitality -1 -- Ranged ATT % 7 -- Ranged ATT Cap 20 ----------------------------------------- require("scripts/globals/status");...
gpl-3.0
araeisy/araeisy
plugins/msg_checks.lua
149
11202
--Begin msg_checks.lua --Begin pre_process function local function pre_process(msg) -- Begin 'RondoMsgChecks' text checks by @rondoozle if is_chat_msg(msg) or is_super_group(msg) then if msg and not is_momod(msg) and not is_whitelisted(msg.from.id) then --if regular user local data = load_data(_config.moderatio...
mit
Enignite/darkstar
scripts/zones/Leujaoam_Sanctum/IDs.lua
33
3149
Leujaoam = { text = { -- General Texts ITEM_CANNOT_BE_OBTAINED = 6378, -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6381, -- Obtained: <item> GIL_OBTAINED = 6384, -- Obtained <number> gil KEYITEM_OBTAINED = 6384, -- Obtain...
gpl-3.0
ArmanIr/irbotttgcli
plugins/Fake.lua
45
6690
local function kick_user(user_id, chat_id) local chat = 'chat#id'..chat_id local user = 'user#id'..user_id chat_del_user(chat, user, ok_cb, true) end local function ban_user(user_id, chat_id) -- Save to redis local hash = 'banned:'..chat_id..':'..user_id redis:set(hash, true) -- Kick from chat kick_us...
gpl-2.0
Enignite/darkstar
scripts/zones/Vunkerl_Inlet_[S]/Zone.lua
34
1337
----------------------------------- -- -- Zone: Vunkerl_Inlet_[S] (83) -- ----------------------------------- package.loaded["scripts/zones/Vunkerl_Inlet_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Vunkerl_Inlet_[S]/TextIDs"); -------...
gpl-3.0
Enignite/darkstar
scripts/globals/items/elshimo_frog.lua
18
1478
----------------------------------------- -- ID: 4290 -- Item: elshimo_frog -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Agility 2 -- Mind -4 -- Evasion 5 ----------------------------------------- require("scripts/globals/status"); ------------------------...
gpl-3.0
Enignite/darkstar
scripts/zones/Apollyon/mobs/Jidra.lua
16
2173
----------------------------------- -- Area: Apollyon SW -- NPC: Jidra ----------------------------------- package.loaded["scripts/zones/Apollyon/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Apollyon/TextIDs"); -----------------------------...
gpl-3.0
florian-shellfire/luci
build/luadoc/luadoc/doclet/debug.lua
175
1048
----------------------------------------------------------------- -- LuaDoc debugging facilities. -- @release $Id: debug.lua,v 1.3 2007/04/18 14:28:39 tomas Exp $ ----------------------------------------------------------------- module "luadoc.doclet.debug" function printline() print(string.rep('-', 79)) end ------...
apache-2.0
troopizer/ot-server
data/actions/scripts/other/doors.lua
3
2054
function onUse(player, item, fromPosition, target, toPosition, isHotkey) local itemId = item:getId() if table.contains(questDoors, itemId) then if player:getStorageValue(item.actionid) ~= -1 then item:transform(itemId + 1) player:teleportTo(toPosition, true) else player:sendTextMessage(MESSAGE_INFO_DESCR...
gpl-2.0
Enignite/darkstar
scripts/zones/Selbina/npcs/Dohdjuma.lua
34
1424
----------------------------------- -- Area: Selbina -- NPC: Dohdjuma -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/globals/shop"); ----------...
gpl-3.0
Enignite/darkstar
scripts/zones/FeiYin/npcs/Dry_Fountain.lua
17
1456
----------------------------------- -- Area: FeiYin -- NPC: Dry Fountain -- Involved In Quest: Peace for the Spirit -- @pos -17 -16 71 204 ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); requir...
gpl-3.0
Enignite/darkstar
scripts/zones/PsoXja/npcs/qm1.lua
17
1465
----------------------------------- -- Area: Pso'xja -- NPC: ??? (qm1) -- Notes: Used to spawn Golden-Tongued Culberry -- @pos -270.063 31.395 256.812 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/zones/PsoXja/TextIDs...
gpl-3.0
Enignite/darkstar
scripts/zones/Windurst_Woods/npcs/Mono_Nchaa.lua
36
1426
----------------------------------- -- Area: Windurst Woods -- NPC: Mono Nchaa -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; require("scripts/zones/Windurst_Woods...
gpl-3.0
Enignite/darkstar
scripts/zones/Celennia_Memorial_Library/Zone.lua
17
1350
----------------------------------- -- -- Zone: Celennia Memorial Library (284) -- ----------------------------------- package.loaded["scripts/zones/Celennia_Memorial_Library/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Celennia_Memorial_Libr...
gpl-3.0
makhtomi/su
plugins/warn.lua
5
6293
local function warn_by_username(extra, success, result) -- /warn <@username> 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 the...
gpl-2.0
oliverychen/oliverychen.github.io
vendor/cache/ruby/2.1.0/gems/pygments.rb-0.6.2/vendor/pygments-main/tests/examplefiles/example.lua
102
8677
--[[ Auctioneer Advanced Version: <%version%> (<%codename%>) Revision: $Id: CoreMain.lua 2233 2007-09-25 03:57:33Z norganna $ URL: http://auctioneeraddon.com/ This is an addon for World of Warcraft that adds statistical history to the auction data that is collected when the auction is scanned, so that you can ea...
mit
Enignite/darkstar
scripts/zones/FeiYin/npcs/Grounds_Tome.lua
34
1116
----------------------------------- -- Area: Fei'Yin -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,...
gpl-3.0
Enignite/darkstar
scripts/zones/Qulun_Dome/npcs/The_Mute.lua
19
1089
----------------------------------- -- Area: Qulun Dome -- NPC: The Mute -- @zone 148 -- @pos <many> ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Beadeaux/TextIDs"); ----------------------------------- -- onTrad...
gpl-3.0
Enignite/darkstar
scripts/globals/items/lungfish.lua
18
1256
----------------------------------------- -- ID: 4315 -- Item: Lungfish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -2 -- Mind 4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ----------...
gpl-3.0
Enignite/darkstar
scripts/zones/Beaucedine_Glacier/npcs/Rattling_Rain_IM.lua
30
3071
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Rattling Rain, I.M. -- Type: Border Conquest Guards -- @pos -227.956 -81.475 260.442 111 ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; ----------------------------------- require("scripts/gl...
gpl-3.0
Enignite/darkstar
scripts/zones/Sacrarium/TextIDs.lua
7
2147
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6383; -- Obtained: <item> GIL_OBTAINED = 6384; -- Obtained <number> gil KEYITEM_OBTAINED = 6386; -- Obtain...
gpl-3.0
aqasaeed/telebot
plugins/plugins.lua
257
4732
do -- Returns the key (index) in the config.enabled_plugins table local function plugin_enabled( name ) for k,v in pairs(_config.enabled_plugins) do if name == v then return k end end -- If not found return false end -- Returns true if file exists in plugins folder local function plugin_exists( ...
gpl-2.0
Enignite/darkstar
scripts/globals/spells/poisonga_ii.lua
18
1099
----------------------------------------- -- Spell: Poisonga II ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target...
gpl-3.0
sanger-pathogens/annot-nf
bin/sample_ref_genes.lua
4
2905
#!/usr/bin/env gt --[[ Author: Sascha Steinbiss <ss34@sanger.ac.uk> Copyright (c) 2014 Genome Research Ltd Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all co...
isc
Enignite/darkstar
scripts/zones/Attohwa_Chasm/npcs/Jakaka.lua
19
2419
----------------------------------- -- Area: Attohwa Chasm -- NPC: Jakaka -- Type: ENM -- @pos -144.711 6.246 -250.309 7 ----------------------------------- package.loaded["scripts/zones/Attohwa_Chasm/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Attohwa_Chasm/TextIDs"); require("scr...
gpl-3.0
razem-io/dotfiles-16bit
.config/awesome/themes/16bit/theme.lua
1
5599
--------------------------------- -- "Solarized" awesome theme -- -- By Gwenhael Le Moine -- --------------------------------- -- Alternative icon sets and widget icons: -- * http://awesome.naquadah.org/wiki/Nice_Icons -- {{{ Main theme = {} theme.default_themes_path = "/usr/share/awesome/themes" theme.wall...
gpl-3.0
dwdm/snabbswitch
src/apps/bridge/flooding.lua
14
1178
-- This class derives from lib.bridge.base and implements the simplest -- possible bridge, which floods a packet arriving on a port to all -- destination ports within its scope according to the split-horizon -- topology. module(..., package.seeall) local bridge_base = require("apps.bridge.base").bridge local packet =...
apache-2.0
florian-shellfire/luci
applications/luci-app-ddns/luasrc/tools/ddns.lua
32
8848
-- Copyright 2014 Christian Schoenebeck <christian dot schoenebeck at gmail dot com> -- Licensed to the public under the Apache License 2.0. module("luci.tools.ddns", package.seeall) local NX = require "nixio" local NXFS = require "nixio.fs" local OPKG = require "luci.model.ipkg" local UCI = require "luci.model.uc...
apache-2.0
Enignite/darkstar
scripts/zones/La_Theine_Plateau/npcs/Coumaine.lua
28
1756
----------------------------------- -- Area: La Theine Plateau -- NPC: Coumaine -- Type: Chocobo Vendor ----------------------------------- require("scripts/globals/chocobo"); require("scripts/globals/keyitems"); require("scripts/globals/settings"); require("scripts/globals/status"); ---------------------...
gpl-3.0
Enignite/darkstar
scripts/globals/abilities/shikikoyo.lua
17
1096
----------------------------------- -- Ability: Shikikoyo -- Share TP above 100 with a party member. -- Obtained: Samurai Level 75 -- Recast Time: 5:00 -- Duration: Instant -- Target: Party member, cannot target self. ----------------------------------- require("scripts/globals/settings"); require("scripts/g...
gpl-3.0
Enignite/darkstar
scripts/globals/spells/sleep.lua
18
1054
----------------------------------------- -- Spell: Sleep I ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,targ...
gpl-3.0
zendey/Flashcard_mobile_app
scripts/classes/file/DelimiterSeparator.lua
1
1602
----------------------------------------------------------------------------------------- -- -- DelimiterSeparator.lua -- DelimiterSeparator class. -- ----------------------------------------------------------------------------------------- local DelimiterSeparator = {} -- DelimiterSeparator class. function Delimit...
gpl-2.0
thoaionline/vlc
share/lua/playlist/cue.lua
12
3748
--[[ Parse CUE files $Id$ Copyright (C) 2009 Laurent Aimar 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 pro...
gpl-2.0
Enignite/darkstar
scripts/zones/Yhoator_Jungle/npcs/Ilieumort_RK.lua
30
3052
----------------------------------- -- Area: Yhoator Jungle -- NPC: Ilieumort, R.K. -- Outpost Conquest Guards -- @pos 200.254 -1 -80.324 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); requi...
gpl-3.0
zeus-ff/test
dd/owners1.lua
2
23721
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)]['settings'...
gpl-2.0
dani-sj/rengerbot
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
Enignite/darkstar
scripts/zones/Port_San_dOria/npcs/Raqtibahl.lua
34
1377
----------------------------------- -- Area: Port San d'Oria -- NPC: Raqtibahl -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/Tex...
gpl-3.0
1bardesign/corpus
lua/corpus_derive.lua
1
8627
local utf8 = require "utf8" local json_string = require "json_string" --[[ corpus_derive.lua will derive an effective codebook for a given corpus this script will load entire files into memory to avoid complications with utf8 code and alignment splitting across block-based IO... So, for a big corpus, it's mor...
mit
Enignite/darkstar
scripts/zones/Kazham/npcs/Khifo_Ryuhkowa.lua
37
1500
----------------------------------- -- Area: Kazham -- NPC: Khifo Ryuhkowa -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTr...
gpl-3.0
Twinkiee/AuraMastery
AuraMasteryConfig.lua
1
79978
require "Window" require "ICComm" local AuraMasteryConfig = {} AuraMasteryConfig .__index = AuraMasteryConfig local IconText = nil setmetatable(AuraMasteryConfig, { __call = function (cls, ...) return cls.new(...) end, }) local keys = {} keys[45] = "INS" keys[46] = "DEL" keys[36] = "HOME" keys[35] = "END"...
gpl-2.0
Stevie-O/SharpLua
test_suite/literals.lua
19
6682
print('testing scanner') local function dostring (x) return assert(loadstring(x))() end dostring("x = 'a\0a'") assert(x == 'a\0a' and string.len(x) == 3) -- escape sequences assert('\n\"\'\\' == [[ "'\]]) assert(string.find("\a\b\f\n\r\t\v", "^%c%c%c%c%c%c%c$")) -- assume ASCII just for tests: assert("\09912" == ...
mit
Enignite/darkstar
scripts/zones/Bastok_Mines/npcs/Black_Mud.lua
36
2759
----------------------------------- -- Area: Bastok Mines -- NPC: Black Mud -- Starts & Finishes Quest: Drachenfall ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/se...
gpl-3.0
Enignite/darkstar
scripts/globals/mobskills/Seismostomp.lua
51
1154
--------------------------------------------- -- Seismostomp -- -- Description: Damage varies with TP. Additional effect: "Stun." -- Type: Physical (Blunt) -- -- --------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmov...
gpl-3.0
ld-test/dub
dub/Class.lua
4
5089
--[[------------------------------------------------------ # C++ Class definition. (internal) A C++ class/struct definition. --]]------------------------------------------------------ local lub = require 'lub' local dub = require 'dub' local lib = lub.class('dub.Class', { is_class = true, is_scope ...
mit
walterfan/snippets
lua/insert_sort.lua
1
1667
----------------------------------------------------------------------------- -- This is a test program when I learn Lua. -- -- (c) 2013 Walter Fan -- -- License: MIT ----------------------------------------------------------------------------- MIN_ARR_IDX = 1 ------------------------------------------------------...
apache-2.0
apung/prosody-modules
mod_json_streams/mod_json_streams.lua
32
4474
-- -- XEP-0295: JSON Encodings for XMPP -- module.host = "*" local httpserver = require "net.httpserver"; local filters = require "util.filters" local json = require "util.json" local json_escapes = { ["\""] = "\\\"", ["\\"] = "\\\\", ["\b"] = "\\b", ["\f"] = "\\f", ["\n"] = "\\n", ["\r"] = "\\r", ["\t"] = "\\t"};...
mit
omidtarh/hasan
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
Enignite/darkstar
scripts/zones/Inner_Horutoto_Ruins/npcs/Grounds_Tome.lua
34
1157
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function on...
gpl-3.0
Tri125/MCServer
lib/tolua++/src/bin/lua/_driver.lua
13
1797
-- Allow debugging by ZBS, if run under the IDE: local mobdebugfound, mobdebug = pcall(require, "mobdebug") if mobdebugfound then mobdebug.start() end -- Disable buffering for stdout, so that the results appear immediately: io.output():setvbuf("no") -- The list of valid arguments that the ToLua scripts can process: ...
apache-2.0
Enignite/darkstar
scripts/zones/Yuhtunga_Jungle/npcs/Richacha_WW.lua
30
3055
----------------------------------- -- Area: Yuhtunga Jungle -- NPC: Richacha, W.W. -- Border Conquest Guards -- @pos -241.334 -1 478.602 123 ----------------------------------- package.loaded["scripts/zones/Yuhtunga_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conquest"); requ...
gpl-3.0
asfdfdfd/fceux
output/luaScripts/Subtitler.lua
9
12580
--FCEUX Subtitler Express v2, by FatRatKnight -- I find the built-in subtitles for FCEUX's .fm2 is somewhat inconvenient. -- This script should make the process smoother. -- Run the script. Type whatever you like. Letters and such will appear at the -- top of the game display. The script can output a line of text...
gpl-2.0
Enignite/darkstar
scripts/zones/Bastok-Jeuno_Airship/TextIDs.lua
7
1080
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item> come back again after sorting your inventory ITEM_OBTAINED = 6383; -- Obtained: <item> GIL_OBTAINED = 6384; -- Obtained <number> gil KEYITEM_OBTAINED = 6386; -- Obtain...
gpl-3.0
florian-shellfire/luci
modules/luci-mod-admin-full/luasrc/model/cbi/admin_network/dhcp.lua
11
8340
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local ipc = require "luci.ip" m = Map("dhcp", translate("DHCP and DNS"), translate("Dnsmasq is a combined <abbr title=\"Dynamic Host Configuration Protocol" .. "\">DHCP</abbr>-Server and <abbr title=\"Domain...
apache-2.0
sanger-pathogens/annot-nf
bin/iproscan_gaf_merge.lua
4
6435
#!/usr/bin/env gt --[[ Author: Sascha Steinbiss <ss34@sanger.ac.uk> Copyright (c) 2014-2015 Genome Research Ltd Permission to use, copy, modify, and distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in a...
isc
Enignite/darkstar
scripts/zones/Bibiki_Bay/npcs/Toh_Zonikki.lua
19
4706
----------------------------------- -- Area: Bibiki Bay -- NPC: Toh Zonikki -- Type: Clamming NPC -- @pos -371 -1 -421 4 ----------------------------------- package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil; require("scripts/zones/Bibiki_Bay/TextIDs"); require("scripts/globals/keyitems"); -------------------...
gpl-3.0
Enignite/darkstar
scripts/zones/Al_Zahbi/npcs/Nudahaal.lua
53
2311
----------------------------------- -- Area: Al Zahbi -- NPC: Nudahaal -- Type: Bonecraft Normal/Adv. Image Support -- @pos -57.056 -7 -88.377 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("...
gpl-3.0
Tri125/MCServer
MCServer/Plugins/DumpInfo/Init.lua
18
1333
function Initialize(a_Plugin) a_Plugin:SetName("DumpInfo") a_Plugin:SetVersion(1) -- Check if the infodump file exists. if (not cFile:Exists("Plugins/InfoDump.lua")) then LOGWARN("[DumpInfo] InfoDump.lua was not found.") return false end -- Add the webtab. a_Plugin:AddWebTab("DumpPlugin", HandleDumpPlugi...
apache-2.0
juur/rot.lua
class.lua
1
1051
Class = { classes = {}, newClass = function (self,name,super) assert(self and name and type(self) == 'table' and type(name) == 'string', "Invalid arguments to Class.newClass(self,name[,super])") if Class.classes[name] then return Class.classes[name] end if super then assert(type(super) == '...
bsd-3-clause
srifqi/amgmt_plugin
init.lua
1
1565
-- Plugin for Another Map Generator mod for Minetest [amgmt_plugin] -- by Muhammad Rifqi Priyo Susanto (srifqi) -- License: CC0 1.0 Universal -- Dependencies: amgmt, default print("[amgmt_plugin] (Plugin for Another Map Generator for Minetest)") -- parameter local ACTIVATED_PLUGIN = {"floating_island"} local DEBUG = ...
cc0-1.0