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
chadouming/nodemcu-firmware
lua_examples/mqtt/mqtt_file.lua
68
1667
-- test transfer files over mqtt. m_dis={} function dispatch(m,t,pl) if pl~=nil and m_dis[t] then m_dis[t](m,pl) end end function pubfile(m,filename) file.close() file.open(filename) repeat local pl=file.read(1024) if pl then m:publish("/topic2",pl,0,0) end until not pl file.close() end -- payload...
mit
bittorf/luci
modules/luci-base/luasrc/model/uci.lua
18
5082
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local os = require "os" local uci = require "uci" local util = require "luci.util" local table = require "table" local setmetatable, rawget, rawset = setmetatable, rawget, rawset local require, getmetata...
apache-2.0
Source-advan/AdvanSource
system/commands.lua
25
32008
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = (loadfile "./system/libs/serpent.lua")() feedparser = (loadfile "./system/libs/feedparser.lua")() json = (loadfile "./system/libs/JSON.lua")() mimetype = (loadfile "./system/libs/mimetype.lua")() redis...
gpl-2.0
LegionXI/darkstar
scripts/globals/items/vongola_clam.lua
12
1688
----------------------------------------- -- ID: 5131 -- Item: Vongola Clam -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity -5 -- Vitality 4 -- Defense +17% - 50 Cap -- HP 5% - 50 Cap ----------------------------------------- require("scripts/globals/status"); ----------------...
gpl-3.0
LegionXI/darkstar
scripts/zones/Jugner_Forest_[S]/npcs/Logging_Point.lua
17
1097
----------------------------------- -- Area: Jugner Forest [S] -- NPC: Logging Point ----------------------------------- package.loaded["scripts/zones/Jugner_Forest_[S]/TextIDs"] = nil; ------------------------------------- require("scripts/globals/logging"); require("scripts/zones/Jugner_Forest_[S]/TextIDs"); ---...
gpl-3.0
ibm2431/darkstar
scripts/globals/abilities/tranquility.lua
12
1064
----------------------------------- -- Ability: Tranquility -- Your next white magic spell will generate less enmity. -- Obtained: Scholar Level 75 Tier 2 Merit Points -- Recast Time: Stratagem Charge -- Duration: 1 white magic spell or 60 seconds, whichever occurs first -- -- Level |Charges |Recharge Time per Charge...
gpl-3.0
LegionXI/darkstar
scripts/globals/items/dark_bass.lua
12
1336
----------------------------------------- -- ID: 4428 -- Item: dark_bass -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 2 -- Mind -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck ---------...
gpl-3.0
ibm2431/darkstar
scripts/zones/The_Shrine_of_RuAvitau/npcs/blank_4.lua
9
4925
----------------------------------- -- Area: The Shrine of Ru'Avitau -- NPC: ??? divine might mission -- !pos -40 0 -151 178 ----------------------------------- local ID = require("scripts/zones/The_Shrine_of_RuAvitau/IDs"); require("scripts/globals/missions"); require("scripts/globals/quests"); require("scripts/globa...
gpl-3.0
ibm2431/darkstar
scripts/globals/spells/bluemagic/smite_of_rage.lua
8
1478
----------------------------------------- -- Spell: Smite of Rage -- Damage varies with TP -- Spell cost: 28 MP -- Monster Type: Arcana -- Spell Type: Physical (Slashing) -- Blue Magic Points: 3 -- Stat Bonus: AGI+3 -- Level: 34 -- Casting Time: 0.5 seconds -- Recast Time: 13 seconds -- Skillchain Element(s): Wind (can...
gpl-3.0
ChaoticMind/OpenRA
mods/ra/maps/soviet-03/soviet03.lua
8
14594
if Map.Difficulty == "Easy" then remainingTime = DateTime.Minutes(7) elseif Map.Difficulty == "Normal" then remainingTime = DateTime.Minutes(6) elseif Map.Difficulty == "Hard" then remainingTime = DateTime.Minutes(5) end USSRReinforcements1 = { "dog", "dog", "dog", "dog", "dog" } USSRReinforcements2 = { "e1", "e2",...
gpl-3.0
lbthomsen/openwrt-luci
libs/luci-lib-nixio/docsrc/nixio.fs.lua
16
7908
--- Low-level and high-level filesystem manipulation library. module "nixio.fs" --- Check user's permission on a file. -- @class function -- @name nixio.fs.access -- @param path Path -- @param mode1 First Mode to check ["f", "r", "w", "x"] -- @param ... More Modes to check [-"-] -- @return true --- Strip the dire...
apache-2.0
greasydeal/darkstar
scripts/globals/items/chunk_of_orobon_meat.lua
18
1516
----------------------------------------- -- ID: 5563 -- Item: Chunk of Orobon Meat -- Effect: 5 Minutes, food effect, Galka Only ----------------------------------------- -- HP 10 -- MP -10 -- Strength +6 -- Intelligence -8 -- Demon Killer 10 ----------------------------------------- require("scripts/globals/status")...
gpl-3.0
LegionXI/darkstar
scripts/zones/Gusgen_Mines/TextIDs.lua
7
1706
-- 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 = 6384; -- Obtained: <item>. GIL_OBTAINED = 6385; -- Obtained <number> gil. KEYITEM_OBTAINED = 6387; -- Obtained...
gpl-3.0
Igalia/snabbswitch
lib/ljsyscall/syscall/netbsd/util.lua
24
4508
-- NetBSD utility functions local require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string = require, error, assert, tonumber, tostring, setmetatable, pairs, ipairs, unpack, rawget, rawset, pcall, type, table, string local function init(S) local abi...
apache-2.0
LegionXI/darkstar
scripts/globals/abilities/drain_samba_iii.lua
25
1439
----------------------------------- -- Ability: Drain Samba III -- Inflicts the next target you strike with Drain daze, allowing party members engaged in battle with it to drain its HP. -- Obtained: Dancer Level 65 -- TP Required: 40% -- Recast Time: 1:00 -- Duration: 1:30 ----------------------------------- require(...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/whale_staff.lua
16
1034
----------------------------------------- -- ID: 17533 -- Item: Whale Staff -- Additional Effect: Water Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action -------------------------------...
gpl-3.0
LegionXI/darkstar
scripts/zones/Empyreal_Paradox/npcs/Transcendental.lua
17
1696
----------------------------------- -- Area: Empyreal_Paradox -- NPC: Transcendental ----------------------------------- package.loaded["scripts/zones/Empyreal_Paradox/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Empyreal_Paradox/TextIDs"); require("...
gpl-3.0
ibm2431/darkstar
scripts/zones/Bastok_Markets/npcs/Reinberta.lua
12
1610
----------------------------------- -- Area: Bastok Markets -- NPC: Reinberta -- Type: Goldsmithing Guild Master -- !pos -190.605 -7.814 -59.432 235 ----------------------------------- local ID = require("scripts/zones/Bastok_Markets/IDs"); require("scripts/globals/crafting"); require("scripts/globals/status"); ------...
gpl-3.0
ibm2431/darkstar
scripts/globals/spells/invisible.lua
11
1123
----------------------------------------- -- Spell: Invisible -- Lessens chance of being detected by sight. -- Duration is random number between 30 seconds and 5 minutes. ----------------------------------------- require("scripts/globals/magic") require("scripts/globals/msg") require("scripts/globals/settings") require...
gpl-3.0
greasydeal/darkstar
scripts/zones/Arrapago_Reef/npcs/qm1.lua
8
1169
----------------------------------- -- Area: Arrapago Reef -- NPC: ??? (Spawn Lil'Apkallu(ZNM T1)) -- @pos 488 -1 166 54 ----------------------------------- package.loaded["scripts/zones/Arrapago_Reef/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Arrapago_Reef/TextIDs"); ---------------...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/boiled_tuna_head.lua
35
1602
----------------------------------------- -- ID: 4540 -- Item: Boiled Tuna Head -- Food Effect: 180Min, All Races ----------------------------------------- -- Magic 20 -- Dexterity 3 -- Intelligence 4 -- Mind -3 -- Magic Regen While Healing 2 -- Accuracy 5 -- Evasion 5 --------------------------------------...
gpl-3.0
LegionXI/darkstar
scripts/zones/Abyssea-Uleguerand/npcs/qm4.lua
9
1348
----------------------------------- -- Zone: Abyssea-Uleguerand -- NPC: qm4 (???) -- Spawns Yaguarogui -- @pos ? ? ? 253 ----------------------------------- require("scripts/globals/status"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) ...
gpl-3.0
naclander/tome
game/modules/tome/data/zones/town-point-zero/npcs.lua
1
7886
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
LegionXI/darkstar
scripts/globals/mobskills/Amon_Drive.lua
33
1211
--------------------------------------------- -- Amon Drive -- -- Description: Performs an area of effect weaponskill. Additional effect: Paralysis + Petrification + Poison -- Type: Physical -- 2-3 Shadows? -- Range: Melee range radial -- Special weaponskill unique to Ark Angel TT. Deals ~100-400 damage. --------...
gpl-3.0
master00041/aminasli
plugins/all.lua
2
4783
do data = load_data(_config.moderation.data) 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_print...
gpl-2.0
chrislbennett/NodeMCU-SensorFramework
src/ReaderProcess.lua
1
3152
--setup the temp sensor t=require("ds18b20") t.setup(5) --setup the distance sensor dofile("hcsr04.lua") device = hcsr04.init() --setup the LED pin ledpin=0 gpio.mode(ledpin,gpio.OUTPUT) led_state=0 -- init mqtt client with keepalive timer 120sec mqttconnected = 0 --Used to establish the mqtt connecttion function c...
mit
lache/RacingKingLee
crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/TextAtlas.lua
12
3041
-------------------------------- -- @module TextAtlas -- @extend Widget -- @parent_module ccui -------------------------------- -- Gets the string length of the label.<br> -- Note: This length will be larger than the raw string length,<br> -- if you want to get the raw string length, you should call this->getString()...
mit
greasydeal/darkstar
scripts/globals/items/piece_of_bubble_chocolate.lua
35
1170
----------------------------------------- -- ID: 4496 -- Item: piece_of_bubble_chocolate -- Food Effect: 30Min, All Races ----------------------------------------- -- Magic Regen While Healing 1 ----------------------------------------- require("scripts/globals/status"); ------------------------------------...
gpl-3.0
greasydeal/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/_mf8.lua
17
1401
----------------------------------- -- Area: Temple of Uggalepih -- NPC: _mf8 (Granite Door) -- Notes: Opens with Prelate Key -- @pos -11 -8 -99 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- require("scripts/zo...
gpl-3.0
greasydeal/darkstar
scripts/zones/Mount_Zhayolm/npcs/Bapokk.lua
17
1458
----------------------------------- -- Area: Mount Zhayolm -- NPC: Bapokk -- Handles access to Alzadaal Ruins -- @pos -20 -6 276 61 ----------------------------------- package.loaded["scripts/zones/Mount_Zhayolm/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Mount_Zhayolm/TextIDs...
gpl-3.0
ibm2431/darkstar
scripts/globals/items/kohlrouladen_+1.lua
11
1538
----------------------------------------- -- ID: 5761 -- Item: kohlrouladen -- Food Effect: 4hr, All Races ----------------------------------------- -- Strength 4 -- Agility 4 -- Intelligence -4 -- RACC +10% (cap 65) -- RATT +16% (cap 70) -- Enmity -5 -- Subtle Blow +6 ----------------------------------------- require(...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/marinara_pizza_+1.lua
21
1716
----------------------------------------- -- ID: 5744 -- Item: marinara_pizza +1 -- Food Effect: 4hours, All Races ----------------------------------------- -- Health Points 25 -- Attack +21% (cap 55) -- Accuracy +11% (cap 44+) *Wiki doesnt know for sure, its uncorfirmed on how hight the accuracy caps at, so i ...
gpl-3.0
pokemoncentral/wiki-lua-modules
static/MovePokés-data.lua
1
3024
#!/usr/bin/lua --[[ Offline generator of module MovePokés-data. Running this locally creates automatically the data module in the parent directory. Supposing this is inside the "static" subdir of wiki-lua-modules this creates the module in the right place for local testing, and of course the result can be uploaded by...
cc0-1.0
LegionXI/darkstar
scripts/zones/Reisenjima_Henge/Zone.lua
27
1443
----------------------------------- -- -- Zone: Reisenjima_Henge (292) -- ----------------------------------- package.loaded["scripts/zones/Reisenjima_Henge/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Reisenjima_Henge/TextIDs"); require("scripts/globals/settings"); require("scripts/globa...
gpl-3.0
naclander/tome
game/engines/default/modules/boot/dialogs/UpdateAll.lua
3
6520
-- TE4 - T-Engine 4 -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later version....
gpl-3.0
LegionXI/darkstar
scripts/zones/Port_Bastok/npcs/Ravorara.lua
14
1041
----------------------------------- -- Area: Port Bastok -- NPC: Ravorara -- Type: Quest Giver -- @zone 236 -- @pos -151.062 -7 -7.243 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_Bastok/TextIDs"] = nil; -----------------------...
gpl-3.0
greasydeal/darkstar
scripts/zones/Port_Bastok/npcs/Ominous_Cloud.lua
19
5262
----------------------------------- -- 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
greasydeal/darkstar
scripts/zones/Northern_San_dOria/npcs/Synergy_Engineer.lua
38
1056
----------------------------------- -- Area: Northern San d'Oria -- NPC: Synergy Engineer -- Type: Standard NPC -- @zone: 231 -- @pos -123.000 10.5 244.000 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] ...
gpl-3.0
naclander/tome
game/modules/tome/data/talents/techniques/bow.lua
1
5107
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
greasydeal/darkstar
scripts/globals/mobskills/PW_Decussate.lua
25
1030
--------------------------------------------- -- Decussate -- -- Description: Performs a cross attack on nearby targets. -- Type: Magical -- Utsusemi/Blink absorb: 2-3 shadows? -- Range: Less than or equal to 10.0 -- Notes: Only used by Gulool Ja Ja when below 35% health. ---------------------------------------...
gpl-3.0
ibm2431/darkstar
scripts/globals/quests.lua
9
55423
require("scripts/globals/log_ids") require("scripts/globals/zone") dsp = dsp or {} dsp.quest = dsp.quest or {} ----------------------------------- -- -- QUESTS ID -- ----------------------------------- QUEST_AVAILABLE = 0; QUEST_ACCEPTED = 1; QUEST_COMPLETED = 2; -- Log IDs defined as "enums" here to tie into que...
gpl-3.0
LegionXI/darkstar
scripts/globals/items/choco-katana.lua
12
1197
----------------------------------------- -- ID: 5918 -- Item: Choco-katana -- Food Effect: 3 Min, All Races ----------------------------------------- -- Agility 1 -- Speed 12.5% ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
naclander/tome
game/modules/tome/data/general/events/spellblaze-scar.lua
3
1865
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
LegionXI/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Narito-Pettito.lua
14
1067
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Narito-Pettito -- Type: Standard NPC -- @zone 94 -- @pos -52.674 -5.999 90.403 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni...
gpl-3.0
ibm2431/darkstar
scripts/globals/mobskills/cyclone_wing.lua
11
1194
--------------------------------------------- -- Cyclone Wing -- -- Description: Deals darkness damage to enemies within a very wide area of effect. Additional effect: Sleep -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: 30' radial. -- Notes: Used only by Vrtra and Azdaja ---------------------------...
gpl-3.0
ibm2431/darkstar
scripts/globals/mobskills/acrid_stream.lua
11
1090
--------------------------------------------- -- Acrid Stream -- -- Description: Deals water damage to enemies within a fan-shaped area originating from the caster. Additional effect: Lowers target's Magic Defense. -- Type: Magical (Water) -- -- --------------------------------------------- require("scripts/globals/...
gpl-3.0
LegionXI/darkstar
scripts/globals/spells/bluemagic/spinal_cleave.lua
35
1794
----------------------------------------- -- Spell: Spinal Cleave -- Accuracy varies with TP -- Spell cost: 61 MP -- Monster Type: Undead -- Spell Type: Physical (Slashing) -- Blue Magic Points: 4 -- Stat Bonus: VIT+2, INT+1, MND+1 -- Level: 63 -- Casting Time: 0.5 seconds -- Recast Time: 28.5 seconds -- Skillchain Ele...
gpl-3.0
LegionXI/darkstar
scripts/zones/Crawlers_Nest_[S]/Zone.lua
27
1276
----------------------------------- -- -- Zone: Crawlers_Nest_[S] (171) -- ----------------------------------- package.loaded["scripts/zones/Crawlers_Nest_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Crawlers_Nest_[S]/TextIDs"); -----------------...
gpl-3.0
LegionXI/darkstar
scripts/zones/Bastok_Mines/npcs/Gorvik.lua
14
1058
----------------------------------- -- Area: Bastok Mines -- NPC: Gorvik -- Type: Past Event Watcher -- @zone 234 -- @pos 21.033 -1 -98.486 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Bastok_Mines/TextIDs"] = nil; require("scripts/...
gpl-3.0
LegionXI/darkstar
scripts/zones/Windurst_Walls/npcs/_6n8.lua
30
1321
----------------------------------- -- Area: Windurst Walls -- Door: Priming Gate -- Involved in quest: Toraimarai Turmoil ----------------------------------- require("scripts/globals/quests"); require("scripts/globals/settings"); require("scripts/zones/Windurst_Walls/TextIDs"); ----------------------------------- ...
gpl-3.0
greasydeal/darkstar
scripts/zones/Mhaura/Zone.lua
12
2908
----------------------------------- -- -- Zone: Mhaura (249) -- ----------------------------------- package.loaded["scripts/zones/Mhaura/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/zone"); require("scripts/zones/Mhaura/TextIDs"); require...
gpl-3.0
LegionXI/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Mindala-Andola_CC.lua
14
1072
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Mindala-Andola, C.C. -- Type: Sigil -- @zone 94 -- @pos -31.869 -6.009 226.793 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = ni...
gpl-3.0
shadog/shado
lock_username.lua
3
1099
--[[ # #ـــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ #:(( # For More Information ....! #manstir : < @alasmr_199 > # our channel: # Version: 1.1 #:)) #ــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــــ # ]] local function run(ms...
gpl-2.0
greasydeal/darkstar
scripts/globals/spells/bluemagic/mandibular_bite.lua
27
1745
----------------------------------------- -- Spell: Mandibular Bite -- Damage varies with TP -- Spell cost: 38 MP -- Monster Type: Vermin -- Spell Type: Physical (Slashing) -- Blue Magic Points: 2 -- Stat Bonus: INT+1 -- Level: 44 -- Casting Time: 0.5 seconds -- Recast Time: 19.25 seconds -- Skillchain prope...
gpl-3.0
LegionXI/darkstar
scripts/globals/spells/cure.lua
26
4531
----------------------------------------- -- Spell: Cure -- Restores target's HP. -- Shamelessly stolen from http://members.shaw.ca/pizza_steve/cure/Cure_Calculator.html ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ...
gpl-3.0
ibm2431/darkstar
scripts/globals/items/nopales_salad_+1.lua
11
1060
----------------------------------------- -- ID: 5702 -- Item: Nopales Salad +1 -- Food Effect: 3Hrs, All Races ----------------------------------------- -- Strength 2 -- Agility 7 -- Ranged Accuracy +25 -- Ranged Attack +15 ----------------------------------------- require("scripts/globals/status") require("scripts/gl...
gpl-3.0
destroyerdust/Class-Hall
Libs/AceGUI-3.0/widgets/AceGUIWidget-Button.lua
31
2865
--[[----------------------------------------------------------------------------- Button Widget Graphical Button. -------------------------------------------------------------------------------]] local Type, Version = "Button", 23 local AceGUI = LibStub and LibStub("AceGUI-3.0", true) if not AceGUI or (AceGUI:GetWidget...
mit
greasydeal/darkstar
scripts/globals/items/timbre_timbers_taco.lua
35
1566
----------------------------------------- -- ID: 5173 -- Item: timbre_timbers_taco -- Food Effect: 1hour, All Races ----------------------------------------- -- MP 20 -- Vitality -1 -- Agility 5 -- MP Recovered While Healing 3 -- Ranged Accuracy % 8 (cap 15) ----------------------------------------- requir...
gpl-3.0
Igalia/snabbswitch
lib/luajit/testsuite/test/opt/sink/alloc.lua
6
2946
local assert = assert do --- DCE or sink trivial TNEW or TDUP. for i=1,100 do local t={} end for i=1,100 do local t={1} end end do --- Sink TNEW/TDUP + ASTORE/HSTORE. for i=1,100 do local t={i}; assert(t[1] == i) end for i=1,100 do local t={foo=i}; assert(t.foo == i) end for i=1,100 do local t={1,i}; assert...
apache-2.0
LegionXI/darkstar
scripts/zones/Kazham/npcs/Cha_Tigunalhgo.lua
17
1072
----------------------------------- -- Area: Kazham -- NPC: Cha Tigunalhgo -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; require("scripts/zones/Kazham/TextIDs"); ----------------------------------- -- onTrade Action ----------------------------------- ...
gpl-3.0
LegionXI/darkstar
scripts/zones/North_Gustaberg/TextIDs.lua
7
1306
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED_TWICE = 6559; -- You cannot obtain the item <item>. ITEM_CANNOT_BE_OBTAINED = 6560; -- You cannot obtain the item <item>. Come back after sorting your inventory. FULL_INVENTORY_AFTER_TRADE = 6564; -- You cannot obtain the #. Try tr...
gpl-3.0
swedishhat/nodemcu-mqtt-thermo
project-files/rgbled_client/lua/config.lua
1
1504
-- config.lua for light strip -- by Patrick Lloyd -- Global variable configuration file for better portability -- Change for your particular setup. This assumes default Mosquitto config -- Pin Declarations PIN_WS2812 = 4 -- This is GPIO2 on ESP8266. No idea why NodeMCU does this... -- WiFi WIFI_SSID = "" WIFI_PASS...
gpl-2.0
greasydeal/darkstar
scripts/zones/Bostaunieux_Oubliette/Zone.lua
6
2296
----------------------------------- -- -- Zone: Bostaunieux_Oubliette (167) -- ----------------------------------- package.loaded["scripts/zones/Bostaunieux_Oubliette/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Bostaunieux_Oubliette/TextIDs"...
gpl-3.0
caidongyun/Dato-Core
src/unity/python/graphlab/lua/pl/func.lua
13
10437
--- Functional helpers like composition, binding and placeholder expressions. -- Placeholder expressions are useful for short anonymous functions, and were -- inspired by the Boost Lambda library. -- -- > utils.import 'pl.func' -- > ls = List{10,20,30} -- > = ls:map(_1+1) -- {11,21,31} -- -- They can also b...
agpl-3.0
ibm2431/darkstar
scripts/zones/The_Shrouded_Maw/mobs/Diabolos.lua
9
2139
----------------------------------- -- Area: The Shrouded Maw -- Mob: Diabolos ----------------------------------- local ID = require("scripts/zones/The_Shrouded_Maw/IDs"); -- TODO: CoP Diabolos -- 1) Make the diremites in the pit all aggro said player that falls into region. Should have a respawn time of 10 seconds....
gpl-3.0
greasydeal/darkstar
scripts/globals/spells/frost.lua
11
1580
----------------------------------------- -- 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
greasydeal/darkstar
scripts/globals/abilities/accession.lua
28
1230
----------------------------------- -- Ability: Accession -- Extends the effect of your next healing or enhancing white magic spell to party members within range. -- MP cost and casting time are doubled. -- Obtained: Scholar Level 40 -- Recast Time: Stratagem Charge -- Duration: 1 compatible white magic spell or ...
gpl-3.0
ibm2431/darkstar
scripts/globals/effects/dynamis.lua
10
2474
----------------------------------- -- -- dsp.effect.DYNAMIS -- ----------------------------------- require("scripts/globals/keyitems") ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:setLocalVar("dynamis_lasttimeupdate"...
gpl-3.0
greasydeal/darkstar
scripts/zones/Dangruf_Wadi/npcs/qm2.lua
29
1455
----------------------------------- -- Area: Dangruf Wadi -- NPC: ??? (QM2) -- Type: Item Giver -- @pos -120.041 2.621 415.989 191 -- Starts and Finishes: Breaking Stones, An Empty Vessel -- Only spawns if the weather is SUNNY or CLEAR ----------------------------------- package.loaded["scripts/zones/Dan...
gpl-3.0
LegionXI/darkstar
scripts/globals/abilities/stutter_step.lua
14
7929
----------------------------------- -- Ability: Stutter Step -- Applies Weakened Daze. Lowers the targets magic resistance. If successful, you will earn two Finishing Moves. -- Obtained: Dancer Level 40 -- TP Required: 10% -- Recast Time: 00:05 -- Duration: First Step lasts 1 minute, each following Step extends its cur...
gpl-3.0
greasydeal/darkstar
scripts/zones/Phomiuna_Aqueducts/npcs/_0ru.lua
17
1609
----------------------------------- -- Area: Phomiuna_Aqueducts -- NPC: Oil lamp -- @pos -63.699 -26.227 43.009 27 ----------------------------------- package.loaded["scripts/zones/Phomiuna_Aqueducts/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zo...
gpl-3.0
everhopingandwaiting/telegram-bot
plugins/location.lua
625
1564
-- Implement a command !loc [area] which uses -- the static map API to get a location image -- Not sure if this is the proper way -- Intent: get_latlong is in time.lua, we need it here -- loadfile "time.lua" -- Globals -- If you have a google api key for the geocoding/timezone api do local api_key = nil local base_...
gpl-2.0
greasydeal/darkstar
scripts/zones/Batallia_Downs/npcs/qm3.lua
8
1855
----------------------------------- -- Area: Batallia Downs -- NPC: qm3 (???) -- Involved in Mission 9-1 (San dOria) ----------------------------------- package.loaded["scripts/zones/Batallia_Downs/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Batallia_Downs/TextIDs"); require(...
gpl-3.0
ibm2431/darkstar
scripts/zones/La_Theine_Plateau/npcs/Shattered_Telepoint.lua
9
1890
----------------------------------- -- Area: La_Theine Plateau -- NPC: Shattered Telepoint -- !pos 334 19 -60 102 ----------------------------------- require("scripts/globals/missions"); local ID = require("scripts/zones/La_Theine_Plateau/IDs"); ----------------------------------- function onTrade(player,npc,trade) e...
gpl-3.0
LegionXI/darkstar
scripts/zones/Bastok_Markets/npcs/Matthias.lua
17
7587
----------------------------------- -- Area: Bastok Markets -- NPC: Matthias -- Standard Info NPC -- Involved in Quest: ----------------------------------- require("scripts/globals/quests"); package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/zones/Bastok_Markets/TextIDs"); -----------------...
gpl-3.0
LegionXI/darkstar
scripts/globals/mobskills/Geotic_Breath.lua
33
1224
--------------------------------------------- -- Geotic Breath -- -- Description: Deals Earth damage to enemies within a fan-shaped area. -- Type: Breath -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown cone -- Notes: Used only by Ouryu --------------------------------------------- require("scripts/glo...
gpl-3.0
SorBlackPlus/AntiSpam
libs/url.lua
567
9183
--[[ Copyright 2004-2007 Diego Nehab. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute,...
gpl-3.0
LegionXI/darkstar
scripts/zones/Eastern_Adoulin/Zone.lua
17
1224
----------------------------------- -- -- Zone: Eastern Adoulin -- ----------------------------------- require("scripts/globals/settings"); package.loaded["scripts/zones/Eastern_Adoulin/TextIDs"] = nil; require("scripts/zones/Eastern_Adoulin/TextIDs"); ----------------------------------- -- onInitialize ----------...
gpl-3.0
ibm2431/darkstar
scripts/globals/abilities/pets/ecliptic_growl.lua
12
1821
--------------------------------------------- -- Ecliptic Growl --------------------------------------------- require("scripts/globals/monstertpmoves") require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/utils") require("scripts/globals/msg") ----------------------------------...
gpl-3.0
LegionXI/darkstar
scripts/zones/Upper_Jeuno/npcs/HomePoint#2.lua
27
1256
----------------------------------- -- Area: Upper Jeuno -- NPC: HomePoint#2 -- @pos 32 -1 -44 244 ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Upper_Jeuno/TextIDs"); require("scripts/globals/homepoint"); -...
gpl-3.0
LegionXI/darkstar
scripts/zones/Abyssea-La_Theine/npcs/Cavernous_Maw.lua
29
1199
----------------------------------- -- Area: Abyssea - La Theine -- NPC: Cavernous Maw -- @pos -480.009, 0.000, 799.927 132 -- Teleports Players to La Theine Plateau ----------------------------------- package.loaded["scripts/zones/Abyssea-La_Theine/TextIDs"] = nil; ----------------------------------- require("script...
gpl-3.0
wizardbottttt/wizard
plugins/weather.lua
351
1443
do local BASE_URL = "http://api.openweathermap.org/data/2.5/weather" local function get_weather(location) print("Finding weather in ", location) local url = BASE_URL url = url..'?q='..location url = url..'&units=metric' local b, c, h = http.request(url) if c ~= 200 then return nil end local weather = ...
gpl-2.0
LegionXI/darkstar
scripts/globals/items/plate_of_ikra_gunkan_+1.lua
12
1738
----------------------------------------- -- ID: 5220 -- Item: plate_of_ikra_gunkan_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 30 -- Magic 12 -- Dexterity 3 -- Mind -1 -- Accuracy % 18 -- Accuracy Cap 30 -- Ranged ACC % 18 -- Ranged ACC Cap 30 -------------------------------...
gpl-3.0
ibm2431/darkstar
scripts/zones/Outer_Horutoto_Ruins/npcs/_5e9.lua
9
1085
----------------------------------- -- Area: Outer Horutoto Ruins -- NPC: Gate: Magical Gizmo -- Involved In Mission: The Heart of the Matter -- !pos 584 0 -660 194 ----------------------------------- local ID = require("scripts/zones/Outer_Horutoto_Ruins/IDs") require("scripts/globals/keyitems") require("scripts/glob...
gpl-3.0
ibm2431/darkstar
scripts/globals/abilities/pets/attachments/auto-repair_kit_ii.lua
11
1500
----------------------------------- -- Attachment: Auto-repair Kit II ----------------------------------- require("scripts/globals/automaton") require("scripts/globals/status") ----------------------------------- function onEquip(pet) -- We do not have support to do a fraction of a percent so we rounded local ...
gpl-3.0
naclander/tome
game/modules/tome/data/maps/vaults/zigzag-chambers.lua
3
2102
-- ToME - Tales of Maj'Eyal -- Copyright (C) 2009 - 2014 Nicolas Casalini -- -- 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 3 of the License, or -- (at your option) any later ...
gpl-3.0
alerque/sile
packages/masters/init.lua
1
4596
local base = require("packages.base") local package = pl.class(base) package._name = "masters" local _currentMaster local function defineMaster (_, args) SU.required(args, "id", "defining master") SU.required(args, "frames", "defining master") SU.required(args, "firstContentFrame", "defining master") SILE.sc...
mit
greasydeal/darkstar
scripts/zones/Beaucedine_Glacier/npcs/Trail_Markings.lua
6
2832
----------------------------------- -- Area: Beaucedine Glacier -- NPC: Trail Markings -- Dynamis-Beaucedine Enter -- @pos -284 -39 -422 111 ----------------------------------- package.loaded["scripts/zones/Beaucedine_Glacier/TextIDs"] = nil; ----------------------------------- require("scripts/globals/setti...
gpl-3.0
lbthomsen/openwrt-luci
modules/luci-base/luasrc/sys.lua
1
13406
-- Copyright 2008 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local io = require "io" local os = require "os" local table = require "table" local nixio = require "nixio" local fs = require "nixio.fs" local uci = require "luci.model.uci" local luci = {} l...
apache-2.0
LegionXI/darkstar
scripts/zones/La_Theine_Plateau/npcs/qm2.lua
17
1928
----------------------------------- -- Area: La Theine Plateau -- NPC: ??? (qm2) -- Involved in Quest: HITTING_THE_MARQUISATE (THF AF3) ----------------------------------- package.loaded["scripts/zones/La_Theine_Plateau/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require(...
gpl-3.0
ibm2431/darkstar
scripts/globals/effects/addendum_white.lua
24
1830
----------------------------------- -- -- -- ----------------------------------- function onEffectGain(target,effect) target:recalculateAbilitiesTable() local bonus = effect:getPower() local regen = effect:getSubPower() target:addMod(dsp.mod.WHITE_MAGIC_COST, -bonus) target:addMod(dsp.mod.WHITE_MA...
gpl-3.0
ibm2431/darkstar
scripts/globals/spells/absorb-dex.lua
12
1566
-------------------------------------- -- Spell: Absorb-DEX -- Steals an enemy's dexterity. -------------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onM...
gpl-3.0
ibm2431/darkstar
scripts/zones/Port_Bastok/npcs/Ronan.lua
9
2271
----------------------------------- -- Area: Port Bastok -- NPC: Ronan -- Start & Finishes Quest: Out of One's Shell ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/titles"); require("scripts/globals/quests"); local ID = require("scripts/zones/Port_Bastok/IDs"); ------...
gpl-3.0
greasydeal/darkstar
scripts/zones/Newton_Movalpolos/npcs/HomePoint#1.lua
12
1209
----------------------------------- -- Area: Newton Movalpolos -- NPC: HomePoint#1 -- @pos -415 -63.2 409 265 ----------------------------------- package.loaded["scripts/zones/Newton_Movalpolos/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/Newton_Movalpolos/TextIDs"); require("scripts/...
gpl-3.0
LegionXI/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Runic_Portal.lua
28
3118
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Runic Portal -- Aht Urhgan Teleporter to Other Areas ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Aht_Urhgan_Whitegate/TextIDs"...
gpl-3.0
kellyjf/wireshark
test/lua/listener.lua
32
8639
-- test script for various Lua functions -- use with dhcp.pcap in test/captures directory ------------- general test helper funcs ------------ local FRAME = "frame" local ETH = "eth" local IP = "ip" local BOOTP = "bootp" local OTHER = "other" local PDISS = "postdissector" local packet_counts = {} local function incP...
gpl-2.0
greasydeal/darkstar
scripts/globals/items/piece_of_raisin_bread.lua
35
1280
----------------------------------------- -- ID: 4546 -- Item: piece_of_raisin_bread -- Food Effect: 30Min, All Races ----------------------------------------- -- Health 20 -- Dexterity -1 -- Vitality 4 ----------------------------------------- require("scripts/globals/status"); --------------------------...
gpl-3.0
wizardbottttt/wizard
plugins/tweet.lua
634
7120
local OAuth = require "OAuth" local consumer_key = "" local consumer_secret = "" local access_token = "" local access_token_secret = "" local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json" local client = OAuth.new(consumer_key, consumer_secret, ...
gpl-2.0
TeleDALAD/harchi
plugins/tweet.lua
634
7120
local OAuth = require "OAuth" local consumer_key = "" local consumer_secret = "" local access_token = "" local access_token_secret = "" local twitter_url = "https://api.twitter.com/1.1/statuses/user_timeline.json" local client = OAuth.new(consumer_key, consumer_secret, ...
gpl-2.0
ibm2431/darkstar
scripts/zones/PsoXja/Zone.lua
9
3707
----------------------------------- -- -- Zone: PsoXja (9) -- ----------------------------------- local ID = require("scripts/zones/PsoXja/IDs"); require("scripts/globals/conquest"); require("scripts/globals/missions"); require("scripts/globals/settings"); require("scripts/globals/treasure") require("scripts/globals/st...
gpl-3.0