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
bbn1234/uzzbot
plugins/yoda.lua
642
1199
local ltn12 = require "ltn12" local https = require "ssl.https" -- Edit data/mashape.lua with your Mashape API key -- http://docs.mashape.com/api-keys local mashape = load_from_file('data/mashape.lua', { api_key = '' }) local function request(text) local api = "https://yoda.p.mashape.com/yoda?" text = ...
gpl-2.0
cnbird1999/ABTestingGateway
lib/abtesting/utils/init.lua
15
1051
local modulename = "abtestingInit" local _M = {} _M._VERSION = '0.0.1' _M.redisConf = { ["uds"] = ngx.var.redis_uds , ["host"] = ngx.var.redis_host, ["port"] = ngx.var.redis_port, ["poolsize"] = ngx.var.redis_pool_size, ["idletime"] = ngx.var.redis_keepalive_timeout , ["timeout...
mit
LegionXI/darkstar
scripts/globals/spells/bluemagic/head_butt.lua
23
2018
----------------------------------------- -- Spell: Head Butt -- Damage varies with TP. Additional effect: "Stun" -- Spell cost: 12 MP -- Monster Type: Beastmen -- Spell Type: Physical (Blunt) -- Blue Magic Points: 3 -- Stat Bonus: DEX+2 -- Level: 12 -- Casting Time: 0.5 seconds -- Recast Time: 10 seconds -- Skillchain...
gpl-3.0
Codex-NG/otxserver
data/lib/compat/compat.lua
11
32604
TRUE = true FALSE = false result.getDataInt = result.getNumber result.getDataLong = result.getNumber result.getDataString = result.getString result.getDataStream = result.getStream LUA_ERROR = false LUA_NO_ERROR = true STACKPOS_GROUND = 0 STACKPOS_FIRST_ITEM_ABOVE_GROUNDTILE = 1 STACKPOS_SECOND_ITEM_ABOVE_GROUNDTILE...
gpl-2.0
naclander/tome
game/engines/default/engine/generator/map/GOL.lua
3
2056
-- 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
lbthomsen/openwrt-luci
libs/luci-lib-rpcc/luasrc/rpcc.lua
78
1593
-- Copyright 2009 Steven Barth <steven@midlink.org> -- Licensed to the public under the Apache License 2.0. local util = require "luci.util" local json = require "luci.json" local ltn12 = require "luci.ltn12" local nixio = require "nixio", require "nixio.util" local tostring, assert, setmetatable = tostring, assert, ...
apache-2.0
u20024804/skynet
lualib/snax/msgserver.lua
58
7383
local skynet = require "skynet" local gateserver = require "snax.gateserver" local netpack = require "netpack" local crypt = require "crypt" local socketdriver = require "socketdriver" local assert = assert local b64encode = crypt.base64encode local b64decode = crypt.base64decode --[[ Protocol: All the number type ...
mit
pokemoncentral/wiki-lua-modules
Wikilib-tables.lua
1
19096
-- luacheck: new_globals table -- Library table functions local t = {} -- Stateless iterator on non-integer keys local nextNonInt = function(tab, key) local nextKey, nextValue = key repeat nextKey, nextValue = next(tab, nextKey) until type(nextKey) ~= 'number' or math.floor(nextKey) ~= nextKey ...
cc0-1.0
Igalia/snabbswitch
src/lib/ptree/support/snabb-softwire-v2.lua
1
30844
-- Use of this source code is governed by the Apache 2.0 license; see COPYING. module(..., package.seeall) local ffi = require('ffi') local app = require('core.app') local corelib = require('core.lib') local equal = require('core.lib').equal local dirname = require('core.lib').dirname local mem = require('lib.stream.me...
apache-2.0
ibm2431/darkstar
scripts/globals/spells/foe_requiem_vi.lua
12
1936
----------------------------------------- -- Spell: Foe Requiem VI ----------------------------------------- require("scripts/globals/status") require("scripts/globals/magic") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 end fu...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/plate_of_octopus_sushi_+1.lua
35
1341
----------------------------------------- -- ID: 5694 -- Item: plate_of_octopus_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Strength 2 -- Accuracy % 17 (Unknown, assuming 1% more than NQ) ----------------------------------------- require("scripts/globals/status"); ...
gpl-3.0
ld-test/alnbox
spec/navigate_spec.lua
3
1045
-- alnbox, alignment viewer based on the curses library -- Copyright (C) 2015 Boris Nagaev -- See the LICENSE file for terms of use describe("alnbox.navigate", function() it("calls method moveUp when a user presses UP", function() local cursesConsts = require 'rote.cursesConsts' local times_up = 0 ...
mit
ibm2431/darkstar
scripts/zones/Hall_of_the_Gods/Zone.lua
11
1137
----------------------------------- -- -- Zone: Hall_of_the_Gods (251) -- ----------------------------------- local ID = require("scripts/zones/Hall_of_the_Gods/IDs") require("scripts/globals/conquest") require("scripts/globals/missions") require("scripts/globals/zone") ----------------------------------- function onI...
gpl-3.0
LegionXI/darkstar
scripts/zones/Toraimarai_Canal/npcs/qm9.lua
11
1435
----------------------------------- -- Area: Toraimarai Canal -- NPC: ??? -- Involved In Quest: Wild Card -- @pos -137 16 151 169 ----------------------------------- package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("script...
gpl-3.0
ibm2431/darkstar
scripts/globals/items/grape_daifuku_+1.lua
11
2011
----------------------------------------- -- ID: 6344 -- Item: grape_daifuku+1 -- Food Effect: 60 Min, All Races ----------------------------------------- -- HP + 30 (Pet & Master) -- Vitality + 4 (Pet & Master) -- Master MAB + 4 , Pet MAB + 15 -- Accuracy/Ranged Accuracy +11% (cap 54 on master, cap 81 on pet) --------...
gpl-3.0
ibm2431/darkstar
scripts/zones/Norg/Zone.lua
9
1622
----------------------------------- -- -- Zone: Norg (252) -- ----------------------------------- local ID = require("scripts/zones/Norg/IDs") require("scripts/globals/conquest") require("scripts/globals/keyitems") require("scripts/globals/missions") require("scripts/globals/chocobo") ----------------------------------...
gpl-3.0
LegionXI/darkstar
scripts/zones/Abyssea-Grauberg/npcs/Conflux_Surveyor.lua
49
3758
----------------------------------- -- Area: Abyssea - Grauberg -- NPC: Conflux Surveyor -- ----------------------------------- package.loaded["scripts/zones/Abyssea-Grauberg/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/abyssea"); require("scripts/...
gpl-3.0
greasydeal/darkstar
scripts/globals/dynamis.lua
12
50207
require("scripts/globals/status"); require("scripts/globals/keyitems"); ----------------------------------- -- Dynamis-Bastok ----------------------------------- -- 1: BST Vanguard Beasttender + Vanguard's Scorpion -- 2: WHM Vanguard Constable -- 3: PLD Vanguard Defender -- 4: DRG Vanguard Drakekeeper +...
gpl-3.0
LegionXI/darkstar
scripts/zones/Sauromugue_Champaign_[S]/npcs/Indescript_Markings.lua
26
1405
----------------------------------- -- Area: Sauromugue Champaign [S] -- NPC: Indescript Markings -- @pos 322 24 113 -- Quest NPC ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Sauromugue_Champaign_...
gpl-3.0
greasydeal/darkstar
scripts/globals/mobskills/Venom_Spray.lua
21
1044
--------------------------------------------- -- Venom -- -- Description: Deals damage in a fan shaped area. Additional effect: poison -- Type: Magical Water -- Utsusemi/Blink absorb: Ignores shadows -- Range: 10' cone -- Notes: Additional effect can be removed with Poisona. --------------------------------------...
gpl-3.0
LegionXI/darkstar
scripts/globals/items/crescent_fish.lua
12
1338
----------------------------------------- -- ID: 4473 -- Item: crescent_fish -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----...
gpl-3.0
greasydeal/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Fubruhn.lua
12
5990
----------------------------------- -- 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 inst...
gpl-3.0
lache/RacingKingLee
crazyclient/frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/ClippingRectangleNode.lua
17
2015
-------------------------------- -- @module ClippingRectangleNode -- @extend Node -- @parent_module cc -------------------------------- -- brief Get whether the clipping is enabled or not.<br> -- return Whether the clipping is enabled or not. Default is true. -- @function [parent=#ClippingRectangleNode] isClippingEna...
mit
ibm2431/darkstar
scripts/zones/Windurst_Waters/npcs/Machitata.lua
9
1096
----------------------------------- -- Area: Windurst Waters -- NPC: Machitata -- Involved in Quest: Hat in Hand -- !pos 163 0 -22 238 ----------------------------------- local ID = require("scripts/zones/Windurst_Waters/IDs"); require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/...
gpl-3.0
LegionXI/darkstar
scripts/zones/Quicksand_Caves/npcs/qm5.lua
14
2423
----------------------------------- -- Area: Quicksand Caves -- NPC: ??? (qm5) -- Involved in Quest: The Missing Piece -- positions: -- 1: @pos 770 0 -419 -- 2: @pos 657 0 -537 -- 3: @pos 749 0 -573 -- 4: @pos 451 -16 -739 -- 5: @pos 787 -16 -819 -- spawn in npc_list is 770 0 -419 ----------------------------------- p...
gpl-3.0
greasydeal/darkstar
scripts/globals/chocobo.lua
11
4978
------------------------------------------------- -- Author: santssoft -- Chocobo functions -- Info from: -- http://wiki.ffxiclopedia.org/wiki/Chocobo_Renter -- http://ffxi.allakhazam.com/wiki/Traveling_in_Vana'diel ------------------------------------------------- require("scripts/globals/settings"); --...
gpl-3.0
ricker75/Global-Server
data/npc/scripts/Duncan.lua
2
3676
local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, ms...
gpl-2.0
LegionXI/darkstar
scripts/globals/spells/bluemagic/mp_drainkiss.lua
21
1824
----------------------------------------- -- Spell: MP Drainkiss -- Steals an enemy's MP. Ineffective against undead -- Spell cost: 20 MP -- Monster Type: Amorphs -- Spell Type: Magical (Dark) -- Blue Magic Points: 4 -- Stat Bonus: MP+5 -- Level: 42 -- Casting Time: 4 seconds -- Recast Time: 90 seconds -- Magic Bursts ...
gpl-3.0
naclander/tome
game/modules/tome/data/quests/start-sunwall.lua
3
1815
-- 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
RezaShell32/robot2
libs/lua-redis.lua
31
35734
local redis = { _VERSION = 'redis-lua 2.0.4', _DESCRIPTION = 'A Lua client library for the redis key value storage system.', _COPYRIGHT = 'Copyright (C) 2009-2012 Daniele Alessandri', } -- The following line is used for backwards compatibility in order to keep the `Redis` -- global module name. Using...
gpl-3.0
ibm2431/darkstar
scripts/globals/weaponskills/heavy_swing.lua
10
1378
----------------------------------- -- Heavy Swing -- Staff weapon skill -- Skill Level: 5 -- Deacription:Delivers a single-hit attack. Damage varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Thunder Gorget. -- Aligned with the Thunder Belt. -- Element: None -- Modifiers: STR:30% -- 100%TP 200%TP...
gpl-3.0
ibm2431/darkstar
scripts/globals/mobskills/bai_wing.lua
11
1130
--------------------------------------------- -- Bai Wing -- -- Description: A dust storm deals Earth damage to enemies within a very wide area of effect. Additional effect: Slow -- Type: Magical -- Utsusemi/Blink absorb: Wipes shadows -- Range: 30' radial. -- Notes: Used only by Ouryu and Cuelebre while flying. ------...
gpl-3.0
Tommy228/TTTDamagelogs
lua/damagelogs/config/config.lua
1
4573
--[[User rights. First argument: name of usergroup (e. g. "user" or "admin"). Second argument: access level. Default value is 2 (will be used if a usergroup isn't here). 1 : Can't view 'Logs before your death' tab in !report frame 2 : Can't view logs of active rounds 3 : Can view logs of active rounds as a spect...
gpl-3.0
naclander/tome
game/modules/tome/data/general/objects/objects.lua
3
3061
-- 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/Southern_San_dOria_[S]/npcs/Rasdinice.lua
14
1090
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Rasdinice -- @zone 80 -- @pos -8 1 35 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria_[S]/TextIDs"] = nil; require("scripts/zones/Southern_San_dOria_[S]/TextIDs"); ----------------------------------- -- onTra...
gpl-3.0
greasydeal/darkstar
scripts/zones/Davoi/npcs/Quemaricond.lua
19
1774
----------------------------------- -- Area: Davoi -- NPC: Quemaricond -- Involved in Mission: Infiltrate Davoi -- @pos 23 0.1 -23 149 ----------------------------------- package.loaded["scripts/zones/Davoi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/glob...
gpl-3.0
greasydeal/darkstar
scripts/zones/Ghelsba_Outpost/bcnms/wings_of_fury.lua
13
1477
----------------------------------- -- Area: Ghelsba Outpost -- Name: Wings of Fury BCNM20 -- @pos -162 -11 78 140 ----------------------------------- package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/keyitems"...
gpl-3.0
greasydeal/darkstar
scripts/zones/Jugner_Forest/npcs/Bubchu-Bibinchu_WW.lua
30
3059
----------------------------------- -- Area: Jugner Forest -- NPC: Bubchu-Bibinchu, W.W. -- Type: Outpost Conquest Guards -- @pos 60.087 -0.602 -11.847 104 ----------------------------------- package.loaded["scripts/zones/Jugner_Forest/TextIDs"] = nil; ----------------------------------- require("scripts/globals/conq...
gpl-3.0
ibm2431/darkstar
scripts/globals/abilities/chakra.lua
12
1354
----------------------------------- -- Ability: Chakra -- Cures certain status effects and restores a small amount of HP to user. -- Obtained: Monk Level 35 -- Recast Time: 5:00 -- Duration: Instant ----------------------------------- require("scripts/globals/status") ----------------------------------- local ChakraSt...
gpl-3.0
naclander/tome
game/modules/tome/data/maps/vaults/plantlife.lua
3
1306
-- 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
LuaDist2/lzmq-timer
examples/perf2/lat/remote_lat.lua
15
1324
local ZMQ_NAME = "lzmq" local argc = select("#", ...) local argv = {...} if (argc < 3) or (argc > 4)then print("usage: local_lat <bind-to> <message-size> <roundtrip-count> [ffi]") return 1 end local connect_to = argv [1] local message_size = assert(tonumber(argv [2])) local roundtrip_count = assert(tonum...
mit
LegionXI/darkstar
scripts/globals/regimereward.lua
36
9093
------------------------------------------------- -- Regime Reward Database(s) ------------------------------------------------- -- ------------------------------------ -- FoV rewards -- ------------------------------------ function getFoVregimeReward(regimeid) local reward = { [1] = 270, [2] = 285...
gpl-3.0
naclander/tome
game/modules/tome/data/gfx/particles/shockwave.lua
3
2234
-- 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/The_Eldieme_Necropolis/npcs/_5fn.lua
14
2655
----------------------------------- -- Area: The Eldieme Necropolis -- NPC: North Plate -- @pos 180 -34 71 195 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- --...
gpl-3.0
greasydeal/darkstar
scripts/zones/Port_San_dOria/npcs/Vounebariont.lua
19
2017
----------------------------------- -- Area: Port San d'Oria -- NPC: Vounebariont -- Starts and Finishes Quest: Thick Shells ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scrip...
gpl-3.0
greasydeal/darkstar
scripts/zones/Northern_San_dOria/npcs/Telmoda.lua
19
1621
----------------------------------- -- Area: Northern San d'Oria -- NPC: Telmoda -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests"...
gpl-3.0
ibm2431/darkstar
scripts/globals/abilities/altruism.lua
12
1049
----------------------------------- -- Ability: Altruism -- Increases the accuracy of your next White Magic spell. -- 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
greasydeal/darkstar
scripts/zones/Northern_San_dOria/npcs/Guilerme.lua
34
2033
----------------------------------- -- Area: Northern San d'Oria -- NPC: Guillerme -- Involved in Quest: Rosel the Armorer -- @zone: 231 -- @pos -4.500 0.000 99.000 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- ...
gpl-3.0
ibm2431/darkstar
scripts/zones/Southern_San_dOria/npcs/Cletae.lua
9
1076
----------------------------------- -- Area: Southern San d'Oria -- NPC: Cletae -- Guild Merchant NPC: Leathercrafting Guild -- !pos -189.142 -8.800 14.449 230 ----------------------------------- local ID = require("scripts/zones/Southern_San_dOria/IDs") require("scripts/globals/shop") require("scripts/globals/craftin...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/clump_of_batagreens.lua
35
1214
----------------------------------------- -- ID: 4367 -- Item: clump_of_batagreens -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 2 -- Vitality -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- --...
gpl-3.0
A2AFMI/devams2
plugins/lockbot.lua
1
2494
--[[ منع البوتات @llX8Xll --]] local function isAntiBotEnabled (chatId) local hash = 'bot:lock:'..chatId local lock = redis:get(hash) return lock end local function enableAntiBot (chatId) local hash = 'bot:lock:'..chatId redis:set(hash, true) end local function disableAntiBot (chatId) local hash = 'bot:lock:'....
gpl-2.0
greasydeal/darkstar
scripts/zones/Rabao/npcs/Irmilant.lua
19
3756
----------------------------------- -- Area: Rabao -- NPC: Irmilant -- Starts and Ends Quests: The Immortal Lu Shang and Indomitable Spirit ----------------------------------- package.loaded["scripts/zones/Rabao/TextIDs"] = nil; require("scripts/globals/titles"); require("scripts/globals/settings"); require("...
gpl-3.0
LegionXI/darkstar
scripts/zones/Buburimu_Peninsula/npcs/Song_Runes.lua
20
1949
----------------------------------- -- Area: Buburimu Peninsula -- NPC: Song Runes -- Finishes Quest: The Old Monument ----------------------------------- package.loaded["scripts/zones/Buburimu_Peninsula/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals...
gpl-3.0
luckyuk/instead-sturman
fonts.lua
1
3366
-- example module require "sprite" require "theme" local std = stead local type = std.type local pairs = std.pairs local table = std.table local fnt = std.obj { nam = '$fnt'; { faces = {}; }; face = function(s, fn, name, size, scaled) if type(fn) ~= 'string' then std.err("Wrong argument to fnt:face()"..std....
mit
ibm2431/darkstar
scripts/globals/spells/valor_minuet_ii.lua
10
1564
----------------------------------------- -- Spell: Valor Minuet II -- Grants Attack bonus to all allies. ----------------------------------------- require("scripts/globals/status") require("scripts/globals/msg") ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0 e...
gpl-3.0
greasydeal/darkstar
scripts/zones/Northern_San_dOria/npcs/Ailbeche.lua
12
7352
----------------------------------- -- Area: Northern San d'Oria -- NPC: Ailbeche -- Starts and Finishes Quest: Father and Son, Sharpening the Sword, A Boy's Dream (start) -- @zone 231 -- @pos 4 -1 24 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; --------...
gpl-3.0
ibm2431/darkstar
scripts/zones/Castle_Oztroja_[S]/IDs.lua
11
1317
----------------------------------- -- Area: Castle_Oztroja_[S] ----------------------------------- require("scripts/globals/zone") ----------------------------------- zones = zones or {} zones[dsp.zone.CASTLE_OZTROJA_S] = { text = { ITEM_CANNOT_BE_OBTAINED = 6382, -- You cannot obtain the <item>. Com...
gpl-3.0
LegionXI/darkstar
scripts/globals/mobskills/Snatch_Morsel.lua
56
1530
--------------------------------------------------- -- Snatch Morsel -- Steals food effect --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); --------------------------------------------------- functio...
gpl-3.0
naclander/tome
game/modules/tome/data/texts/intro-dwarf.lua
3
1428
-- 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
chadouming/nodemcu-firmware
lua_examples/yet-another-bmp085.lua
65
2608
------------------------------------------------------------------------------ -- BMP085 query module -- -- LICENCE: http://opensource.org/licenses/MIT -- Vladimir Dronnikov <dronnikov@gmail.com> -- Heavily based on work of Christee <Christee@nodemcu.com> -- -- Example: -- dofile("bmp085.lua").read(sda, scl) ----------...
mit
cnbird1999/ABTestingGateway
diversion/diversion.lua
22
7762
local runtimeModule = require('abtesting.adapter.runtime') local redisModule = require('abtesting.utils.redis') local systemConf = require('abtesting.utils.init') local handler = require('abtesting.error.handler').handler local ERRORINFO = require('abtesting.error.errcode').info local cjson = requi...
mit
greasydeal/darkstar
scripts/globals/effects/addendum_white.lua
37
1964
----------------------------------- -- -- -- ----------------------------------- ----------------------------------- -- onEffectGain Action ----------------------------------- function onEffectGain(target,effect) target:recalculateAbilitiesTable(); local bonus = effect:getPower(); local regen = effect...
gpl-3.0
LegionXI/darkstar
scripts/globals/abilities/chi_blast.lua
30
1077
----------------------------------- -- Ability: Chi Blast -- Releases Chi to attack an enemy. -- Obtained: Monk Level 41 -- Recast Time: 3:00 -- Duration: Instant ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); ----------------------------------- -- onAbilit...
gpl-3.0
ibm2431/darkstar
scripts/globals/utils.lua
4
11324
require("scripts/globals/status") utils = {}; -- Shuffles a table and returns a copy of it, not the original. function utils.shuffle(tab) local copy = {} for k, v in pairs(tab) do copy[k] = v end local res = {} while next(copy) do res[#res + 1] = table.remove(copy, math.random(#co...
gpl-3.0
greasydeal/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Ajen-Myoojen.lua
56
1087
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Ajen-Myoojen -- Type: Standard NPC -- @pos -44.542 -5.999 238.996 94 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- ----------------------------------- -...
gpl-3.0
LegionXI/darkstar
scripts/globals/items/coffeecake_muffin.lua
12
1371
----------------------------------------- -- ID: 5655 -- Item: coffeecake_muffin -- Food Effect: 30Min, All Races ----------------------------------------- -- Mind 1 -- Strength -1 -- MP % 10 (cap 85) ----------------------------------------- require("scripts/globals/status"); ----------------------------------------...
gpl-3.0
ibm2431/darkstar
scripts/zones/Aht_Urhgan_Whitegate/npcs/Mazween.lua
12
1140
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Mazween -- Standard Merchant NPC ----------------------------------- local ID = require("scripts/zones/Aht_Urhgan_Whitegate/IDs") require("scripts/globals/shop") function onTrade(player,npc,trade) end function onTrigger(player,npc) local s...
gpl-3.0
greasydeal/darkstar
scripts/zones/Upper_Jeuno/npcs/Finnela.lua
38
1027
----------------------------------- -- Area: Upper Jeuno -- NPC: Finnela -- Type: Standard NPC -- @zone: 244 -- @pos -51.880 -1 106.486 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Upper_Jeuno/TextIDs"] = nil; ----------------------...
gpl-3.0
greasydeal/darkstar
scripts/zones/Alzadaal_Undersea_Ruins/npcs/_20m.lua
32
3590
----------------------------------- -- Area: Alzadaal Undersea Ruins -- Door: Runic Seal -- @pos 125 -2 20 72 ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/mis...
gpl-3.0
greasydeal/darkstar
scripts/zones/Dynamis-Xarcabard/mobs/Animated_Gun.lua
17
1468
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Animated Gun ----------------------------------- require("scripts/globals/status"); require("scripts/zones/Dynamis-Xarcabard/TextIDs"); ----------------------------------- -- onMobEngaged ----------------------------------- function ...
gpl-3.0
ibm2431/darkstar
scripts/globals/abilities/curing_waltz_v.lua
12
2445
----------------------------------- -- Ability: Curing Waltz V -- Restores target's HP -- Obtained: Dancer Level 87 -- TP Required: 80% -- Recast Time: 00:23 ----------------------------------- require("scripts/globals/settings") require("scripts/globals/status") require("scripts/globals/msg") -------------------------...
gpl-3.0
swedishhat/nodemcu-mqtt-thermo
project-files/rgbled_client/lua/i.lua
1
2172
--[[ init_man.lua by Patrick Lloyd Actual init file, but named something other than init.lua in order to manually test and debug initialization code. ]] -- Load all the global user-defined variables dofile("config.lua") sys_info = {} function get_sys_info() -- WiFi Info local ip, nm, gw = wifi.sta.getip() lo...
gpl-2.0
naclander/tome
game/modules/tome/data/texts/tutorial/stats/stats6.lua
3
1528
-- 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
ibm2431/darkstar
scripts/globals/spells/bluemagic/cannonball.lua
8
1527
----------------------------------------- -- Spell: Cannonball -- Damage varies with TP -- Spell cost: 66 MP -- Monster Type: Vermin -- Spell Type: Physical (Blunt) -- Blue Magic Points: 3 -- Stat Bonus: STR+1, DEX+1 -- Level: 70 -- Casting Time: 0.5 seconds -- Recast Time: 28.5 seconds -- Skillchain Element(s): Fusion...
gpl-3.0
naclander/tome
src/luajit2/src/jit/dis_arm.lua
99
19364
---------------------------------------------------------------------------- -- LuaJIT ARM disassembler module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h ---------------------------------------------------------------------------- -...
gpl-3.0
greasydeal/darkstar
scripts/globals/weaponskills/armor_break.lua
12
1757
----------------------------------- -- Armor Break -- Great Axe weapon skill -- Skill level: 100 -- Lowers enemy's defense. Duration of effect varies with TP. -- Lowers defense by as much as 25% if unresisted. -- Strong against: Antica, Bats, Cockatrice, Dhalmel, Lizards, Mandragora, Worms. -- Immune: Ahriman. ...
gpl-3.0
greasydeal/darkstar
scripts/zones/Southern_San_dOria/npcs/Melledanne.lua
34
1515
----------------------------------- -- Area: Southern San dOria -- NPC: Melledanne -- Type: Melody Minstrel NPC -- @zone: 230 -- @pos -33.194 0.000 34.662 ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts...
gpl-3.0
whd/data-pipeline
hindsight/io_modules/derived_stream/redshift/sql.lua
5
2893
-- This Source Code Form is subject to the terms of the Mozilla Public -- License, v. 2.0. If a copy of the MPL was not distributed with this -- file, You can obtain one at http://mozilla.org/MPL/2.0/. local M = {} local error = error local ipairs = ipairs local read_message = read_message local tostring = tostring lo...
mpl-2.0
LegionXI/darkstar
scripts/zones/Chateau_dOraguille/Zone.lua
17
2940
----------------------------------- -- -- Zone: Chateau_dOraguille (233) -- ----------------------------------- package.loaded["scripts/zones/Chateau_dOraguille/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/missio...
gpl-3.0
gwlim/luci
modules/base/luasrc/model/cbi/admin_network/proto_dhcp.lua
61
2076
--[[ LuCI - Lua Configuration Interface Copyright 2011-2012 Jo-Philipp Wich <xm@subsignal.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- loc...
apache-2.0
greasydeal/darkstar
scripts/globals/items/prime_seafood_stewpot.lua
36
1861
----------------------------------------- -- ID: 5239 -- Item: Prime Seafood Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 75 -- MP +15 -- Dexterity 1 -- Vitality 1 -- Agility 1 -- Mind 1 -- HP Recovered while healing 7 -- MP Recovered while heal...
gpl-3.0
greasydeal/darkstar
scripts/zones/Windurst_Waters/npcs/Ranpi-Monpi.lua
36
5449
----------------------------------- -- Area: Windurst Waters -- NPC: Ranpi-Monpi -- Starts and Finishes Quest: A Crisis in the Making -- Involved in quest: In a Stew, For Want of a Pot, The Dawn of Delectability -- @zone = 238 -- @pos = -116 -3 52 (outside the shop he is in) --------------------------------...
gpl-3.0
kbond/symfony
src/Symfony/Component/Semaphore/Store/Resources/redis_save.lua
7
1125
local key = KEYS[1] local weightKey = key .. ":weight" local timeKey = key .. ":time" local identifier = ARGV[1] local now = tonumber(ARGV[2]) local ttlInSecond = tonumber(ARGV[3]) local limit = tonumber(ARGV[4]) local weight = tonumber(ARGV[5]) -- Remove expired values redis.call("ZREMRANGEBYSCORE", timeKey, "-inf", ...
mit
greasydeal/darkstar
scripts/zones/Port_Windurst/npcs/Lebondur.lua
36
1564
----------------------------------- -- Area: Port Windurst -- NPC: Lebondur -- Regional Marchant NPC -- Only sells when Windurst controls Vollbow. -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["sc...
gpl-3.0
LegionXI/darkstar
scripts/zones/Alzadaal_Undersea_Ruins/npcs/_20m.lua
9
8247
----------------------------------- -- Area: Alzadaal Undersea Ruins -- Door: Runic Seal -- @pos 125 -2 20 72 ----------------------------------- package.loaded["scripts/zones/Alzadaal_Undersea_Ruins/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/globals/mis...
gpl-3.0
naclander/tome
src/luajit2/src/jit/dis_ppc.lua
99
20319
---------------------------------------------------------------------------- -- LuaJIT PPC disassembler module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- Released under the MIT/X license. See Copyright Notice in luajit.h ----------------------------------------------------------------------------...
gpl-3.0
aginor/wesnoth
data/ai/micro_ais/cas/ca_big_animals.lua
25
4308
local H = wesnoth.require "lua/helper.lua" local AH = wesnoth.require "ai/lua/ai_helper.lua" local LS = wesnoth.require "lua/location_set.lua" local MAIUV = wesnoth.require "ai/micro_ais/micro_ai_unit_variables.lua" local function get_big_animals(cfg) local big_animals = AH.get_units_with_moves { side = we...
gpl-2.0
naclander/tome
game/modules/tome/data/general/encounters/fareast.lua
1
3510
-- 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
gwlim/luci
applications/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan3/mwan3_member.lua
9
1556
-- ------ member configuration ------ -- ds = require "luci.dispatcher" m5 = Map("mwan3", translate("MWAN3 Multi-WAN Member Configuration")) m5:append(Template("mwan3/mwan3_config_css")) mwan_member = m5:section(TypedSection, "member", translate("Members"), translate("Members are profiles attaching a metric and ...
apache-2.0
LegionXI/darkstar
scripts/zones/East_Ronfaure/npcs/Cheval_River.lua
14
1696
----------------------------------- -- Area: East Ronfaure -- NPC: Cheval_River -- @pos 223 -58 426 101 -- Involved in Quest: Waters of Cheval ----------------------------------- package.loaded["scripts/zones/East_Ronfaure/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); re...
gpl-3.0
ibm2431/darkstar
scripts/zones/Port_Bastok/Zone.lua
9
2770
----------------------------------- -- -- Zone: Port_Bastok (236) -- ----------------------------------- local ID = require("scripts/zones/Port_Bastok/IDs"); require("scripts/globals/conquest") require("scripts/globals/missions") require("scripts/globals/settings") require("scripts/globals/zone") ----------------------...
gpl-3.0
greasydeal/darkstar
scripts/zones/Port_Windurst/npcs/Tokaka.lua
36
2843
----------------------------------- -- Area: Port Windurst -- NPC: Tokaka -- Starts & Finishes Repeatable Quest: Something Fishy ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scri...
gpl-3.0
greasydeal/darkstar
scripts/zones/Ghelsba_Outpost/npcs/Hut_Door.lua
12
2038
----------------------------------- -- Area: Ghelsba_Outpost -- NPC: Hut Door -- @pos -165.357 -11.672 77.771 140 ------------------------------------- package.loaded["scripts/zones/Ghelsba_Outpost/TextIDs"] = nil; package.loaded["scripts/globals/bcnm"] = nil; ------------------------------------- require("s...
gpl-3.0
naclander/tome
game/modules/tome/data/general/objects/world-artifacts-maj-eyal.lua
1
40283
-- 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
gwlim/luci
applications/luci-ntpc/luasrc/model/cbi/ntpc/ntpc.lua
68
1501
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at h...
apache-2.0
ediiknorand/yggdrai
USER_AI/lib/state.lua
1
2364
--[[ The MIT License (MIT) Copyright (c) 2015 ediiknorand 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...
mit
greasydeal/darkstar
scripts/zones/Sea_Serpent_Grotto/npcs/_4w4.lua
19
2628
----------------------------------- -- Area: Sea Serpent Grotto -- NPC: Gold Beastcoin Door -- @zone 176 -- @pos 60 8.55 -80 ----------------------------------- package.loaded["scripts/zones/Sea_Serpent_Grotto/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require(...
gpl-3.0
greasydeal/darkstar
scripts/globals/items/roast_mushroom.lua
35
1464
----------------------------------------- -- ID: 4410 -- Item: witch_kabob -- Food Effect: 30minutes, All Races ----------------------------------------- -- Magic Points 10 -- Strength -1 -- Mind 3 -- Enmity -1 -- MP Recovered While Healing 2 ----------------------------------------- require("scripts/globa...
gpl-3.0
naclander/tome
game/engines/default/engine/BSP.lua
3
3011
-- 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
greasydeal/darkstar
scripts/globals/weaponskills/crescent_moon.lua
30
1709
----------------------------------- -- Crescent Moon -- Great Sword weapon skill -- Skill level: 175 -- Delivers a single-hit attack. Damage varies with TP. -- Modifiers: STR:35% -- 100%TP 200%TP 300%TP -- 1.0 1.75 2.5 ----------------------------------- require("scripts/globals/status"); require("scripts...
gpl-3.0