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
ArmanIr/restore
plugins/search_youtube.lua
674
1270
do local google_config = load_from_file('data/google.lua') local function httpsRequest(url) print(url) local res,code = https.request(url) if code ~= 200 then return nil end return json:decode(res) end local function searchYoutubeVideos(text) local url = 'https://www.googleapis.com/youtube/v3/search?' u...
gpl-2.0
cliffano/swaggy-jenkins
clients/lua/generated/spec/user_spec.lua
1
1513
--[[ Swaggy Jenkins Jenkins API clients generated from Swagger / Open API specification The version of the OpenAPI document: 1.5.1-pre.0 Contact: blah@cliffano.com Generated by: https://openapi-generator.tech ]] --[[ Unit tests for openapiclient.model.user Automatically generated by openapi-generator (http...
mit
nyczducky/darkstar
scripts/zones/Northern_San_dOria/npcs/Mevreauche.lua
9
2114
----------------------------------- -- Area: Northern San d'Oria -- NPC: Mevreauche -- Type: Smithing Guild Master -- @pos -193.584 10 148.655 231 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Northern_Sa...
gpl-3.0
nyczducky/darkstar
scripts/zones/Southern_San_dOria/npcs/Clainomille.lua
14
1305
----------------------------------- -- Area: Southern San d'Oria -- NPC: Clainomille -- Type: Standard NPC -- @zone 230 -- @pos -72.771 0.999 -6.112 -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----...
gpl-3.0
nyczducky/darkstar
scripts/globals/spells/yurin_ichi.lua
27
1606
----------------------------------------- -- Spell: Yurin: Ichi ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster,target,...
gpl-3.0
ddRPB/rpb-pacs
conquest/web/rpbWeasisseriesxml.lua
1
1807
--TODO: check if reading StudyDescription and SeriesDescription from DB instead of DICOM helps with special character encoding (ä,..) --TODO: or other way of handling special characters as ASCII print('Content-Type: application/xml\n') local patid = string.gsub(series2, ':.*$', '') local seriesuid = string.gsub(serie...
gpl-3.0
nyczducky/darkstar
scripts/zones/Bastok_Markets/npcs/Wulfnoth.lua
53
1818
----------------------------------- -- Area: Bastok Markets -- NPC: Wulfnoth -- Type: Goldsmithing Synthesis Image Support -- @pos -211.937 -7.814 -56.292 235 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; ----------------------------------- require("scripts/globals/...
gpl-3.0
jbeich/Aquaria
files/scripts/entities/mia.lua
6
1691
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
esbullington/snabbp4
syntax/symbols/statements.lua
1
1878
local class = require("snabbp4.syntax.utils.middleclass") local utils = require("snabbp4.syntax.utils.debug") -- base symbol local base = require("snabbp4.syntax.symbols.base") local BaseSymbol = base.BaseSymbol -- precedence values local precedence = require("snabbp4.syntax.precedence") local Metadat...
apache-2.0
nyczducky/darkstar
scripts/zones/Abyssea-Vunkerl/mobs/Sippoy.lua
16
1198
----------------------------------- -- Area: Abyssea - Vunkerl -- Mob: Sippoy ----------------------------------- require("scripts/globals/status"); require("scripts/globals/titles"); ----------------------------------- -- onMobInitialize ----------------------------------- function onMobInitialize(mob) end; ------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Labyrinth_of_Onzozo/npcs/Treasure_Chest.lua
17
4123
----------------------------------- -- Area: Labyrinth of Onzozo -- NPC: Treasure Chest -- @zone 213 ----------------------------------- package.loaded["scripts/zones/Labyrinth_of_Onzozo/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); requ...
gpl-3.0
hadess/libquvi-scripts-iplayer
share/lua/website/tcmag.lua
4
2776
-- libquvi-scripts -- Copyright (C) 2011 quvi project -- -- This file is part of libquvi-scripts <http://quvi.sourceforge.net/>. -- -- This library is free software; you can redistribute it and/or -- modify it under the terms of the GNU Lesser General Public -- License as published by the Free Software Foundation; ei...
lgpl-2.1
AquariaOSE/Aquaria
game_scripts/_mods/aquariaeditortutorial/scripts/node_intro.lua
6
2058
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
nyczducky/darkstar
scripts/zones/Dynamis-San_dOria/mobs/Overlord_s_Tombstone.lua
22
1435
----------------------------------- -- Area: Dynamis San d'Oria -- MOB: Overlord's Tombstone ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/dynamis"); ----------------------------------- -- onMobSpawn Action ----------------------------------- function onMobSpawn(mob...
gpl-3.0
abcdefg30/OpenRA
mods/ra/maps/siberian-conflict-3-wasteland/wasteland-AI.lua
7
5606
--[[ Copyright 2007-2022 The OpenRA Developers (see AUTHORS) This file is part of OpenRA, which is free software. It is made available to you under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later vers...
gpl-3.0
nyczducky/darkstar
scripts/zones/Dynamis-Valkurm/mobs/Goblin_Replica.lua
22
1131
----------------------------------- -- Area: Dynamis Valkurm -- MOB: Goblin Replica ----------------------------------- package.loaded["scripts/zones/Dynamis-Valkurm/TextIDs"] = nil; ----------------------------------- require("scripts/globals/dynamis"); require("scripts/zones/Dynamis-Valkurm/TextIDs"); -----------...
gpl-3.0
jbeich/Aquaria
files/scripts/entities/sporechildflower.lua
6
1138
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
AquariaOSE/Aquaria
files/scripts/entities/sporechildflower.lua
6
1138
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
takaaptech/lua_promise
src/promise.lua
2
3115
local function null_or_unpack(val) if val then return unpack(val) else return nil end end Promise = { -- -- server functions -- reject = function(self, ...) local arg = {...} assert(self:state() == 'pending') self._value = arg self._state = 'rejected' for i,v in ipairs(self....
unlicense
nyczducky/darkstar
scripts/zones/Bastok_Markets_[S]/npcs/Adelbrecht.lua
53
4980
----------------------------------- -- Area: Bastok Markets (S) -- NPC: Adelbrecht -- Starts Quests: The Fighting Fourth -- Involved in Missions: Back to the Beginning -- CS IDs: -- 139 = 0x008B = Greetings, civilian. The Seventh Cohors of the Republican Legion's Fourth Division is currently recruiting new troops. -- ...
gpl-3.0
cliffano/swaggy-jenkins
clients/lua/generated/spec/github_scm_spec.lua
1
1545
--[[ Swaggy Jenkins Jenkins API clients generated from Swagger / Open API specification The version of the OpenAPI document: 1.5.1-pre.0 Contact: blah@cliffano.com Generated by: https://openapi-generator.tech ]] --[[ Unit tests for openapiclient.model.github_scm Automatically generated by openapi-generator...
mit
guangbin79/Lua_5.1.5-iOS
lua-script/wsapi/fastcgi.lua
2
1271
----------------------------------------------------------------------------- -- Fastcgi WSAPI handler -- -- Author: Fabio Mascarenhas -- Copyright (c) 2007 Kepler Project -- ----------------------------------------------------------------------------- local lfcgi = require"lfcgi" local os = require"os" local io = req...
mit
nyczducky/darkstar
scripts/zones/Tavnazian_Safehold/npcs/Gennoue.lua
30
1060
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Gennoue -- Type: Weather Reporter ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Tavnazian_S...
gpl-3.0
nyczducky/darkstar
scripts/zones/Port_San_dOria/npcs/Ambleon.lua
14
1059
----------------------------------- -- Area: Port San d'Oria -- NPC: Ambleon -- Type: NPC World Pass Dealer -- @zone 232 -- @pos 71.622 -17 -137.134 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; -----...
gpl-3.0
dtrip/awesome
lib/awful/client.lua
2
57172
--------------------------------------------------------------------------- --- Useful client manipulation functions. -- -- @author Julien Danjou &lt;julien@danjou.info&gt; -- @copyright 2008 Julien Danjou -- @module client --------------------------------------------------------------------------- -- Grab environment...
gpl-2.0
sjznxd/lc-20121231
modules/rpc/luasrc/jsonrpcbind/uci.lua
81
1914
--[[ 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 ht...
apache-2.0
nyczducky/darkstar
scripts/zones/Lufaise_Meadows/TextIDs.lua
7
1194
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6379; -- You cannot obtain the item <item>. Come back after sorting your inventory. ITEM_OBTAINED = 6385; -- Obtained: <item>. GIL_OBTAINED = 6386; -- Obtained <number> gil. KEYITEM_OBTAINED = 6...
gpl-3.0
nyczducky/darkstar
scripts/zones/Davoi/npcs/Hide_Flap.lua
14
2842
----------------------------------- -- Area: Davoi -- NPC: Hide Flap -- Involved in Quest: The Doorman, The First Meeting -- @pos 293 3 -213 149 (WAR)(K-9) -- @pos -124 3 -43 149 (MNK)(F-7) ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- re...
gpl-3.0
mynameiscraziu/mycaty
plugins/get.lua
613
1067
local function get_variables_hash(msg) if msg.to.type == 'chat' then return 'chat:'..msg.to.id..':variables' end if msg.to.type == 'user' then return 'user:'..msg.from.id..':variables' end end local function list_variables(msg) local hash = get_variables_hash(msg) if hash then local names =...
gpl-2.0
amwdrizz/factorio_Bulldozer
bulldozer-fixed/GUI.lua
1
2354
Observer = { onNotify = function(self, entity, event) end } GUI = { styleprefix = "bull_", defaultStyles = { label = "label", button = "button", checkbox = "checkbox" }, bindings = {}, callbacks = {}, new = function(index, player) local new = {} setmetatab...
mit
dtrip/awesome
tests/examples/shims/root.lua
3
4718
local root = {_tags={}} local gtable = require("gears.table") function root:tags() return root._tags end function root.size() local geo = {x1 = math.huge, y1 = math.huge, x2 = 0, y2 = 0} for s in screen do geo.x1 = math.min( geo.x1, s.geometry.x ) geo.y1 = math.min( geo...
gpl-2.0
wenhulove333/ScutServer
Sample/Koudai/Client/lua/config/language/ZH_CN/GuideConfigInfo.lua
1
7091
------------------------------------------------------------------ -- GuideConfigInfo.lua -- Author : Zonglin Liu -- Version : 1.0 -- Date : -- Description: ------------------------------------------------------------------ module("GuideConfigInfo", package.seeall) -- -- --1001 第一次副本战斗 ...
mit
AquariaOSE/Aquaria
files/scripts/entities/shocker.lua
6
4381
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
lumail/lumail
t/test.stack.lua
4
1834
-- -- Configure a sane load-path -- package.path = package.path .. ";t/?.lua;../lib/?.lua;lib/?.lua" -- -- Require our unit-testing framework. -- luaunit = require 'luaunit' -- -- Require the library we're testing -- Stack = require "stack" -- -- Basic testing -- function testStack () -- -- The stack functions ...
gpl-2.0
medoo3131/NEW-BOT3
plugins/invite.lua
2
1331
do local function callbackres(extra, success, result) --vardump(result) local user = 'user#id'..result.peer_id local chat = 'chat#id'..extra.chatid local channel = 'channel#id'..extra.chatid if is_banned(result.id, extra.chatid) then send_large_msg(chat, 'User is banned.') send_large_msg(c...
gpl-2.0
nyczducky/darkstar
scripts/zones/Bastok_Mines/Zone.lua
12
2795
----------------------------------- -- -- Zone: Bastok_Mines (234) -- ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/globals/events/harvest_festivals"); require("scripts/globals/zone"); require("scripts/globals/settings"); require("scripts/zones/Bastok_...
gpl-3.0
AquariaOSE/Aquaria
files/scripts/entities/collectiblegear.lua
6
1361
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
nyczducky/darkstar
scripts/zones/Lower_Jeuno/npcs/Mesukiki.lua
14
1047
---------------------------------- -- Area: Lower Jeuno -- NPC: Mesukiki -- Type: Item Deliverer -- @zone 245 -- @pos -19.832 -0.101 -39.075 -- ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; require("scripts/zones/Lower_Jeuno/TextIDs"); -----------------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Windurst_Woods/npcs/Matata.lua
14
1832
----------------------------------- -- Area: Windurst Woods -- NPC: Matata -- Type: Standard NPC -- @zone 241 -- @pos 131 -5 -109 -- Involved in quest: In a Stew ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"); require("scripts/globals/titles"); require("s...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/broiled_carp.lua
12
1384
----------------------------------------- -- ID: 4586 -- Item: Broiled Carp -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 2 -- Mind -1 -- Ranged ATT % 14 (cap 45) ----------------------------------------- require("scripts/globals/status"); ------------------------------------...
gpl-3.0
AlCormack/JetiLua
MHSFAApp/MHSFACrse.lua
1
16672
--[[ --------------------------------------------------------- Generates all the alarms and average speed needed for a typical speed pilot using the MHSFA rules. (c) Alastair Cormack - alastair.cormack@gmail.com Ver 1.1 - 22nd Dec 2017 - Added in average speed and corrected title of ...
apache-2.0
jbeich/Aquaria
files/scripts/entities/_unused/cc_lostincave.lua
5
3902
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
jakianroy/NGUI_To_Be_Best
LuaEncoder/luajit/jit/dump.lua
84
19509
---------------------------------------------------------------------------- -- LuaJIT compiler dump module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -- -...
gpl-3.0
nyczducky/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Fubruhn.lua
17
5863
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Fubruhn -- Mog Locker NPC -- -- Event IDs: -- 0x0258 = Not a mercenary + mog locker options -- 1st arg = Amount of time left on lease, as seconds past 2001/12/31 15:00:00. -- If this is 0, it shows the not a mecenary message instead. -- ...
gpl-3.0
nyczducky/darkstar
scripts/zones/Port_Bastok/npcs/Ominous_Cloud.lua
14
6572
----------------------------------- -- Area: Port Bastok -- NPC: Ominous Cloud -- Type: Traveling Merchant NPC -- @zone 236 -- @pos 146.962 7.499 -63.316 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; ----...
gpl-3.0
sudheesh001/RFID-DBSync
cardpeek-0.8.3/dot_cardpeek_dir/scripts/e-passport.lua
16
19873
-- -- This file is part of Cardpeek, the smartcard reader utility. -- -- Copyright 2009-2013 by 'L1L1' -- -- Cardpeek is free software: you can redistribute it and/or modify -- it under the terms of the GNU General Public License as published by -- the Free Software Foundation, either version 3 of the License, or -- (a...
gpl-2.0
AquariaOSE/Aquaria
files/scripts/entities/templestatue.lua
6
3026
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
jbeich/Aquaria
files/scripts/maps/node_hint_bindmermen.lua
6
1152
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
wenhulove333/ScutServer
Sample/Koudai/Client/lua/scenes/WorldBossToScene.lua
1
36531
------------------------------------------------------------------ -- WorldBossToScene.lua.lua -- Author : yeyq -- Version : 1.0 -- Date : -- Description: ------------------------------------------------------------------ module("WorldBossToScene", package.seeall) -- ³¡¾°ÖÐÓõ½µÄ³ÉÔ±±äÁ¿ÒªÔÚ...
mit
kingmiladee/Test
bot/utils.lua
473
24167
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
nyczducky/darkstar
scripts/zones/PsoXja/npcs/_09d.lua
14
2875
----------------------------------- -- Area: Pso'Xja -- NPC: _09d (Stone Gate) -- Notes: Spawns Gargoyle when triggered -- @pos 301.600 -1.925 -10.000 9 ----------------------------------- package.loaded["scripts/zones/PsoXja/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); re...
gpl-3.0
nyczducky/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Staff.lua
17
1486
----------------------------------- -- Area: Dynamis Xarcabard -- MOB: Animated Staff ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function onMobEngag...
gpl-3.0
nyczducky/darkstar
scripts/zones/Abyssea-Attohwa/npcs/qm4.lua
9
1341
----------------------------------- -- Zone: Abyssea-Attohwa -- NPC: qm4 (???) -- Spawns Kharon -- @pos ? ? ? 215 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[[ ...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/fish_mithkabob.lua
12
1464
----------------------------------------- -- ID: 4398 -- Item: fish_mithkabob -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 1 -- Vitality 2 -- Mind -1 -- Defense % 25 -- Defense Cap 90 ----------------------------------------- require("scripts/globals/status"); --------------...
gpl-3.0
nyczducky/darkstar
scripts/globals/abilities/dark_shot.lua
10
2991
----------------------------------- -- Ability: Dark Shot -- Consumes a Dark Card to enhance dark-based debuffs. Additional effect: Dark-based Dispel -- Bio Effect: Attack Down Effect +5% and DoT + 3 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("sc...
gpl-3.0
trelemar/Dither
guifunctions.lua
2
19184
gui = {} function gui.load() menus = {} gooi.desktopMode() gooi.setStyle(raisedbutton) --redo = nB({text = "REDO", w = dp(112), h = dp(36)}):setIcon("icons/white/ic_redo_variant.png"):setAlign("right") undo = nB({text = "UNDO", x = dp(112), y = dp(16), w = dp(112), h = dp(36)}):setIcon("icons/white/ic_undo_variant...
mit
bncastle/love2d-tutorial
lib/EntityMgr.lua
1
1799
local Class = require("lib.Class") local U = require("lib.Utils") local EM = Class:derive("EntityMgr") local function layer_compare(e1, e2) return e1.layer < e2.layer end function EM:new() self.entities = {} end function EM:add(entity) if U.contains(self.entities, entity) then return end --Add addi...
mit
nyczducky/darkstar
scripts/zones/Temenos/mobs/Goblin_Slaughterman.lua
23
1065
----------------------------------- -- Area: Temenos N T -- NPC: Goblin_Slaughterman ----------------------------------- package.loaded["scripts/zones/Temenos/TextIDs"] = nil; ----------------------------------- require("scripts/globals/limbus"); require("scripts/zones/Temenos/TextIDs"); ------------------------...
gpl-3.0
nyczducky/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Hagakoff.lua
17
2103
----------------------------------- -- 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
nyczducky/darkstar
scripts/zones/Abyssea-Attohwa/npcs/qm8.lua
9
1342
----------------------------------- -- Zone: Abyssea-Attohwa -- NPC: qm8 (???) -- Spawns Berstuk -- @pos ? ? ? 215 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) --[[ ...
gpl-3.0
wordsforthewise/esp8266-send-thingspeak
readTS.lua
1
4737
local moduleName = ... local M = {} _G[moduleName] = M local readkey local channelID local address = "184.106.153.149" -- IP for api.thingspeak.com local function loadKeys(fileName) if file.open(fileName) then local line = file.readline() channelID = string.sub(line,1,string.len(line)-1) -- hack t...
mit
lgeek/koreader
frontend/ui/elements/filemanager_menu_order.lua
1
3065
local order = { ["KOMenu:menu_buttons"] = { "filemanager_settings", "setting", "tools", "search", "plus_menu", "main", }, filemanager_settings = { "filemanager_display_mode", "show_hidden_files", "items_per_page", "-------------...
agpl-3.0
lumail/lumail
t/test.tests.lua
4
2730
-- -- Test that all the functions defined in t/*.lua match the pattern -- "test" - which means they will be executed by luaunit. -- -- Filter out some known-good exceptions (mocked functions). -- ---- -- -- Configure a sane load-path -- package.path = package.path .. ";t/?.lua;../lib/?.lua;lib/?.lua" -- -- Require o...
gpl-2.0
jbeich/Aquaria
game_scripts/_mods/guert_mod/tempo/seedcommon.lua
10
3064
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
nyczducky/darkstar
scripts/globals/abilities/tabula_rasa.lua
24
1264
----------------------------------- -- Ability: Tabula Rasa -- Optimizes both white and black magic capabilities while allowing charge-free stratagem use. -- Obtained: Scholar Level 1 -- Recast Time: 1:00:00 -- Duration: 0:03:00 ----------------------------------- require("scripts/globals/settings"); require("scripts/...
gpl-3.0
nyczducky/darkstar
scripts/zones/Xarcabard/Zone.lua
11
2954
----------------------------------- -- -- Zone: Xarcabard (112) -- ----------------------------------- package.loaded[ "scripts/zones/Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Xarcabard/TextIDs"); require("scripts/globals/icanheararainbow"); require("scripts/globals/keyitems...
gpl-3.0
AquariaOSE/Aquaria
files/scripts/entities/icechunksmall.lua
6
1251
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
JohnWich/MEGA-john-wich
bot/bot.lua
3
7791
package.path = package.path .. ';.luarocks/share/lua/5.2/?.lua' ..';.luarocks/share/lua/5.2/?/init.lua' package.cpath = package.cpath .. ';.luarocks/lib/lua/5.2/?.so' require("./bot/utils") require("./bot/permissions") local f = assert(io.popen('/usr/bin/git describe --tags', 'r')) VERSION = assert(f:read('*a')) f:...
gpl-2.0
rfaday/SuperAdmin-bot
plugins/webshot.lua
919
1473
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
nyczducky/darkstar
scripts/globals/items/cream_puff.lua
12
1196
----------------------------------------- -- ID: 5718 -- Item: Cream Puff -- Food Effect: 30 mintutes, All Races ----------------------------------------- -- Intelligence +7 -- HP -10 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ...
gpl-3.0
nyczducky/darkstar
scripts/zones/Davoi/npcs/Bernal.lua
14
1152
----------------------------------- -- Area: Davoi -- NPC: Bernal -- @pos 177 -3 -127 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/zones/Davoi/...
gpl-3.0
nyczducky/darkstar
scripts/zones/Western_Altepa_Desert/mobs/King_Vinegarroon.lua
16
2333
----------------------------------- -- Area: Western Altepa Desert -- NM: King Vinegarroon ----------------------------------- require("scripts/globals/status"); require("scripts/globals/titles"); require("scripts/globals/weather"); ----------------------------------- -- onMobInitialize Action ---------------------...
gpl-3.0
jbeich/Aquaria
files/scripts/include/nodecollectibletemplate.lua
6
1248
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
alirezafodaji/tele-IR
plugins/translate.lua
1
1870
--[[ -- 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 p...
gpl-2.0
nyczducky/darkstar
scripts/zones/Windurst_Waters/npcs/Ohbiru-Dohbiru.lua
28
12066
----------------------------------- -- Area: Windurst Waters -- NPC: Ohbiru-Dohbiru -- Involved in quest: Food For Thought, Say It with Flowers -- Starts and finishes quest: Toraimarai Turmoil ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; require("scripts/globa...
gpl-3.0
guangbin79/Lua_5.1.5-iOS
xavante-2.4.0/src/webdav/davFileRepository.lua
1
5335
----------------------------------------------------------------------------- -- Xavante webDAV file repository -- Author: Javier Guerra -- Copyright (c) 2005 Javier Guerra ----------------------------------------------------------------------------- local lfs = require "lfs" require "xavante.mime" local source_mt = ...
mit
nyczducky/darkstar
scripts/zones/Mhaura/npcs/Hagain.lua
17
2279
----------------------------------- -- Area: Mhaura -- NPC: Hagain -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mhaura/TextIDs"); require("scripts/globals/keyitems"); require("scripts/globals/qu...
gpl-3.0
ashkan1996/hunter001
plugins/stats.lua
866
4001
do -- Returns a table with `name` and `msgs` local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_prin...
gpl-2.0
sevu/wesnoth
data/lua/cave_map_generator.lua
6
5039
local MG = wesnoth.require "mapgen_helper" local LS = wesnoth.require "location_set" local random = mathx.random local callbacks = {} function callbacks.generate_map(params) local map = MG.create_map(params.map_width, params.map_height, params.terrain_wall) local function build_chamber(x, y, locs_set, size, jagged...
gpl-2.0
sevu/wesnoth
data/campaigns/World_Conquest/lua/map/generator/utilities.lua
6
6320
function flatten1(list) local res = {} assert(type(list) == "table") for i1, v1 in ipairs(list) do assert(type(v1) == "table") for i2, v2 in ipairs(v1) do res[#res + 1] = v2 end end return res end function dr_height(height, terrain) return { height = height, terrain = terrain, } end -- dr_convert...
gpl-2.0
mehrpouya81/giantbot
plugins/id.lua
355
2795
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, resu...
gpl-2.0
jbeich/Aquaria
files/scripts/entities/nautilus.lua
12
4455
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
sjznxd/lc-20121231
applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua
141
1038
--[[ smap_devinfo - SIP Device Information (c) 2009 Daniel Dickinson Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- require("luci.i18n") re...
apache-2.0
sjznxd/lc-20121231
modules/admin-full/luasrc/model/cbi/admin_system/leds.lua
83
3272
--[[ LuCI - Lua Configuration Interface Copyright 2008 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$ ]]-- m = ...
apache-2.0
dtrip/awesome
tests/examples/wibox/widget/progressbar/encapsulation.lua
6
3420
--DOC_GEN_IMAGE --DOC_HIDE local parent = ... --DOC_NO_USAGE --DOC_NO_DASH --DOC_HIDE local wibox = require("wibox") --DOC_HIDE local color = require("gears.color") --DOC_HIDE local beautiful = require("beautiful") --DOC_HIDE local grad1 = color{ type = "linear", from = { 0, 0 }, to = { 20, 0 }, --DOC_HIDE stops...
gpl-2.0
nyczducky/darkstar
scripts/zones/Western_Adoulin/npcs/Pagnelle.lua
14
4477
----------------------------------- -- Area: Western Adoulin -- NPC: Pagnelle -- Type: Standard NPC and Quest NPC -- Starts, Involved with, and Finishes Quest: 'Raptor Rapture' -- @zone 256 -- @pos -8 0 -100 256 ----------------------------------- package.loaded["scripts/zones/Western_Adoulin/TextIDs"] = nil; ---...
gpl-3.0
nyczducky/darkstar
scripts/zones/Selbina/npcs/Vobo.lua
14
1535
----------------------------------- -- Area: Selbina -- NPC: Vobo -- Involved in Quest: Riding on the Clouds -- @pos 37 -14 81 248 ----------------------------------- package.loaded["scripts/zones/Selbina/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Selbina/TextIDs"); require("scripts/...
gpl-3.0
nyczducky/darkstar
scripts/globals/items/jar_of_ground_wasabi.lua
12
1589
----------------------------------------- -- ID: 5164 -- Item: jar_of_ground_wasabi -- Food Effect: 5Min, All Races ----------------------------------------- -- Strength -1 -- Dexterity -1 -- Agility -1 -- Vitality -1 -- Intelligence -1 -- Mind -1 -- Charisma -1 ----------------------------------------- require("scrip...
gpl-3.0
nyczducky/darkstar
scripts/zones/Morimar_Basalt_Fields/Zone.lua
17
1243
----------------------------------- -- -- Zone: Morimar Basalt Fields -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Morimar_Basalt_Fields/TextIDs"] = nil; require("scripts/zones/Morimar_Basalt_Fields/TextIDs"); ----------------------------------- -- onIni...
gpl-3.0
Wiladams/LJIT2libc
testy/sysstat/common.lua
1
27201
--[[ sar, sadc, sadf, mpstat and iostat common routines. --]] local ffi = require("ffi") local bit = require("bit") local lshift, rshift = bit.lshift, bit.rshift; require("common_h") require("stdio") require("string") require("stdlib") #include <time.h> #include <errno.h> #include <unistd.h> --[[ For STDOUT_FILE...
mit
jbeich/Aquaria
files/scripts/include/sporefungus.lua
6
1812
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
omidtarh/elbot
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
mynameiscraziu/mycaty
plugins/minecraft.lua
624
2605
local usage = { "!mine [ip]: Searches Minecraft server on specified ip and sends info. Default port: 25565", "!mine [ip] [port]: Searches Minecraft server on specified ip and port and sends info.", } local ltn12 = require "ltn12" local function mineSearch(ip, port, receiver) --25565 local responseText = "" l...
gpl-2.0
nyczducky/darkstar
scripts/globals/items/hellsteak_+1.lua
12
1923
----------------------------------------- -- ID: 5610 -- Item: hellsteak_+1 -- Food Effect: 240Min, All Races ----------------------------------------- -- Health 22 -- Strength 7 -- Intelligence -3 -- Health Regen While Healing 2 -- hMP +1 -- Attack % 20 (cap 150) -- Ranged ATT % 20 (cap 150) -- Dragon Killer 5 -------...
gpl-3.0
alirezafodaji/tele-IR
plugins/boobs.lua
90
1731
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
wenhulove333/ScutServer
Sample/ClientSource/scripting/lua/script/AudioEngine.lua
1
2505
--Encapsulate SimpleAudioEngine to AudioEngine,Play music and sound effects. local M = {} local sharedEngine = SimpleAudioEngine:sharedEngine() function M.stopAllEffects() sharedEngine:stopAllEffects() end function M.getMusicVolume() return sharedEngine:getBackgroundMusicVolume() end function M....
mit
wenhulove333/ScutServer
Sample/ClientSource/scripting/lua/luajit/LuaJIT-2.0.1/dynasm/dynasm.lua
1
32040
------------------------------------------------------------------------------ -- DynASM. A dynamic assembler for code generation engines. -- Originally designed and implemented for LuaJIT. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- See below for full copyright notice. ----------------------...
mit
nyczducky/darkstar
scripts/zones/Upper_Jeuno/npcs/Constance.lua
14
1835
----------------------------------- -- Area: Upper Jeuno -- NPC: Constance -- Involved in Quests: Save the Clock Tower -- @zone 244 -- @pos -48 0 4 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); req...
gpl-3.0
jbeich/Aquaria
files/scripts/entities/momeyes.lua
6
2323
-- Copyright (C) 2007, 2010 - Bit-Blot -- -- This file is part of Aquaria. -- -- Aquaria 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 vers...
gpl-2.0
nyczducky/darkstar
scripts/globals/mobskills/Dragon_Breath.lua
34
1375
--------------------------------------------- -- Dragon Breath -- -- Description: Deals Fire damage to enemies within a fan-shaped area. -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: Used only by Fafnir, Nidhogg, Cynoprosopi, and Wyrm. Because of the high damage output...
gpl-3.0