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
kitala1/darkstar
scripts/globals/items/plate_of_sole_sushi_+1.lua
20
1529
----------------------------------------- -- ID: 5163 -- Item: plate_of_sole_sushi_+1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Health 20 -- Strength 5 -- Dexterity 6 -- Accuracy % 16 -- Ranged ACC % 16 -- Sleep Resist 5 ----------------------------------------- require...
gpl-3.0
paulosalvatore/maruim_server
data/spells/scripts/party/protect.lua
1
1985
local combat = Combat() combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) combat:setParameter(COMBAT_PARAM_AGGRESSIVE, false) combat:setArea(createCombatArea(AREA_CROSS5X5)) local condition = Condition(CONDITION_ATTRIBUTES) condition:setParameter(CONDITION_PARAM_SUBID, 2) condition:setParameter(CONDITION_P...
gpl-2.0
kitala1/darkstar
scripts/globals/items/bunch_of_gysahl_greens.lua
18
1506
----------------------------------------- -- ID: 4545 -- Item: Bunch of Gysahl Greens -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility +3 -- Vitality -5 -- Additional Effect with Chocobo Shirt -- Agility +10 ----------------------------------------- require("scripts/globals/status")...
gpl-3.0
kitala1/darkstar
scripts/globals/weaponskills/tachi_yukikaze.lua
30
1722
----------------------------------- -- Tachi Yukikaze -- Great Katana weapon skill -- Skill Level: 200 (Samurai only.) -- Blinds target. Damage varies with TP. -- Blind effect duration is 60 seconds when unresisted. -- Will stack with Sneak Attack. -- Tachi: Yukikaze appears to have an attack bonus of 50%. http:...
gpl-3.0
kitala1/darkstar
scripts/zones/Metalworks/npcs/Franziska.lua
13
1168
----------------------------------- -- Area: Metalworks -- NPC: Franziska -- Type: Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Metalworks/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Metalworks/TextIDs"); -------------------------------...
gpl-3.0
kitala1/darkstar
scripts/globals/items/flame_sword.lua
16
1029
----------------------------------------- -- ID: 16621 -- Item: Flame Sword -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action --------------------------------...
gpl-3.0
crabman77/minetest-minetestforfun-server
mods/snow/src/falling_snow.lua
9
7026
--[[ --================= --====================================== LazyJ's Fork of Splizard's "Snow" Mod by LazyJ version: Umpteen and 7/5ths something or another. 2014_04_12 --====================================== --================= ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ THE LIST OF CHANGES I'VE MADE ~~~~~~~~~~~~~~~~~~...
unlicense
kitala1/darkstar
scripts/zones/Chamber_of_Oracles/npcs/Pedestal_of_Dark.lua
12
2257
----------------------------------- -- Area: Chamber of Oracles -- NPC: Pedestal of Dark -- Involved in Zilart Mission 7 -- @pos 199 -2 36 168 ------------------------------------- package.loaded["scripts/zones/Chamber_of_Oracles/TextIDs"] = nil; ------------------------------------- require("scripts/globals...
gpl-3.0
kitala1/darkstar
scripts/zones/VeLugannon_Palace/npcs/qm1.lua
17
1949
----------------------------------- -- Area: VeLugannon Palace -- NPC: ??? (qm1) -- @pos -370.039 16.014 -274.378 177 ----------------------------------- package.loaded["scripts/zones/VeLugannon_Palace/TextIDs"] = nil; ----------------------------------- require("scripts/zones/VeLugannon_Palace/TextIDs"); ...
gpl-3.0
crabman77/minetest-minetestforfun-server
mods/carts/functions.lua
7
5082
function carts:get_sign(z) if z == 0 then return 0 else return z / math.abs(z) end end function carts:manage_attachment(player, status, obj) if not player then return end local player_name = player:get_player_name() if default.player_attached[player_name] == status then return end default.player_attac...
unlicense
JacobFischer/Joueur.lua
joueur/serializer.lua
2
1782
-- Serializer: functions to serialize and unserialize json communications strings local class = require("joueur.utilities.class") local BaseGameObject = require("joueur.baseGameObject") local serializer = {} function serializer.isEmptyExceptFor(obj, key) if type(obj) ~= "table" then return false end ...
mit
patrikrm13/feri
plugins/stats.lua
56
3988
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
CuteOne/ImoCuteOne
ProbablyEngine/libs/general.lua
1
2129
-- Initialize tables if not cute then cute = {} end -- Convert Spell ID to Spell Name function UnitBuffID(unit, spell, filter) if not unit or unit == nil or not UnitExists(unit) then return false end if spell then spell = GetSpellInfo(spell) else return false end if filter then return UnitBuff(uni...
gpl-2.0
kitala1/darkstar
scripts/zones/Meriphataud_Mountains/npcs/Muzeze.lua
38
1035
----------------------------------- -- Area: Meriphataud Mountains -- NPC: Muzeze -- Type: Armor Storer -- @pos -6.782 -18.428 208.185 119 ----------------------------------- package.loaded["scripts/zones/Meriphataud_Mountains/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Meriphataud...
gpl-3.0
kitala1/darkstar
scripts/globals/items/bowl_of_riverfin_soup.lua
36
1822
----------------------------------------- -- ID: 6069 -- Item: Bowl of Riverfin Soup -- Food Effect: 3 Hrs, All Races ----------------------------------------- -- Accuracy % 14 Cap 90 -- Ranged Accuracy % 14 Cap 90 -- Attack % 18 Cap 80 -- Ranged Attack % 18 Cap 80 -- Amorph Killer 5 -----------------------------------...
gpl-3.0
JacobFischer/Joueur.lua
games/catastrophe/player.lua
2
3334
-- Player: A player in this game. Every AI controls one player. -- DO NOT MODIFY THIS FILE -- Never try to directly create an instance of this class, or modify its member variables. -- Instead, you should only be reading its variables and calling its functions. local class = require("joueur.utilities.class") local Ga...
mit
kitala1/darkstar
scripts/globals/weaponskills/keen_edge.lua
30
1342
----------------------------------- -- Keen Edge -- Great Axe weapon skill -- Skill level: 150 -- Delivers a single hit attack. Chance of params.critical varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Shadow Gorget. -- Aligned with the Shadow Belt. -- Element: None -- Modifiers: STR:35% ...
gpl-3.0
kitala1/darkstar
scripts/commands/addallmaps.lua
24
1550
--------------------------------------------------------------------------------------------------- -- func: addallmaps -- desc: Adds all maps to the given player. --------------------------------------------------------------------------------------------------- cmdprops = { permission = 1, parameters...
gpl-3.0
fqrouter/luci
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
yemahuang/OpenBird
cocos2d/external/lua/luajit/src/dynasm/dasm_arm.lua
74
34483
------------------------------------------------------------------------------ -- DynASM ARM module. -- -- Copyright (C) 2005-2013 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. ------------------------------------------------------------------------------ -- Module information: local _in...
mit
paulosalvatore/maruim_server
data/creaturescripts/scripts/horestis.lua
1
1404
function onDeath(creature, corpse, killer, mostDamage, unjustified, mostDamage_unjustified) if creature:getName() == "Horestis" then local playerId = configHorestis.jogadorSala local player = Player(playerId) if not player then return true end if player:getStorageValue(Storage.Horestis.horestis) == 5 t...
gpl-2.0
kitala1/darkstar
scripts/zones/Boneyard_Gully/Zone.lua
28
1631
----------------------------------- -- -- Zone: Boneyard_Gully (8) -- ----------------------------------- package.loaded["scripts/zones/Boneyard_Gully/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Boneyard_Gully/TextIDs"); -----------------...
gpl-3.0
kitala1/darkstar
scripts/globals/spells/valor_minuet_iv.lua
13
1536
----------------------------------------- -- Spell: Valor Minuet IV -- Grants Attack bonus to all allies. ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function onMagicCastingCheck(caster...
gpl-3.0
kitala1/darkstar
scripts/zones/Bastok_Markets/npcs/Enu.lua
31
2454
----------------------------------- -- Area: Bastok Markets -- NPC: Enu -- Type: Quest NPC -- @zone: 235 -- @pos -253.673 -13 -92.326 ----------------------------------- package.loaded["scripts/zones/Bastok_Markets/TextIDs"] = nil; require("scripts/zones/Bastok_Markets/TextIDs"); require("scripts/globals/quests"...
gpl-3.0
kitala1/darkstar
scripts/commands/completequest.lua
25
1177
--------------------------------------------------------------------------------------------------- -- func: @completequest <logID> <questID> <player> -- desc: Completes the given quest for the GM or target player. --------------------------------------------------------------------------------------------------- ...
gpl-3.0
kitala1/darkstar
scripts/zones/Waughroon_Shrine/mobs/Maat.lua
27
1142
----------------------------------- -- Area: Waughroom Shrine -- NPC: Maat -- Genkai 5 Fight ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Waughroon_Shrine/TextIDs"); ---------------------------...
gpl-3.0
Nekc/sipml5
asterisk/etc/extensions.lua
317
5827
CONSOLE = "Console/dsp" -- Console interface for demo --CONSOLE = "DAHDI/1" --CONSOLE = "Phone/phone0" IAXINFO = "guest" -- IAXtel username/password --IAXINFO = "myuser:mypass" TRUNK = "DAHDI/G2" TRUNKMSD = 1 -- TRUNK = "IAX2/user:pass@provider" -- -- Extensions are expected to be defined in a global table ...
bsd-3-clause
kitala1/darkstar
scripts/zones/QuBia_Arena/mobs/Worgbut_of_Clan_Death.lua
11
2523
----------------------------------- -- Area: QuBia_Arena -- Mission 9-2 SANDO ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/status"); require("scripts/globals/missions"); require("scripts/zones/QuBia_Arena/TextIDs"); ----------------------------------- -- onMobSpawn A...
gpl-3.0
kitala1/darkstar
scripts/zones/Southern_San_dOria/Zone.lua
28
2885
----------------------------------- -- -- Zone: Southern_San_dOria (230) -- ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/events/harvest_festivals"); require("scripts/globals/zone"); require("...
gpl-3.0
n1tehawk/luaext
luaext/table.lua
1
1952
-- luaext.table module -- This file is part of the luaext library. local _M = {} local luaext_lib = require("luaext_lib") -- import module functions from C library _M.keyof = luaext_lib.table_keyof _M.keys = luaext_lib.table_keys --[[-- create a "mapping" table. This function takes a table plus a value (or value f...
mit
amirkingred/nod2
plugins/bot_manager.lua
89
6427
local function set_bot_photo(msg, success, result) local receiver = get_receiver(msg) if success then local file = 'data/photos/bot.jpg' print('File downloaded to:', result) os.rename(result, file) print('File moved to:', file) set_profile_photo(file, ok_cb, false) send_large_msg(receiver, '...
gpl-2.0
d-o/LUA-LIB
src/rinSystem/IOSockets.lua
2
2146
------------------------------------------------------------------------------- --- Module that manages IO functions -- @module rinSystem.IOSockets -- @author Merrick Heley -- @copyright 2013 Rinstrum Pty Ltd ------------------------------------------------------------------------------- local posix = require "posix" ...
gpl-3.0
nicodinh/cuberite
lib/tolua++/src/bin/lua/define.lua
43
1317
-- tolua: define class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: define.lua,v 1.2 1999/07/28 22:21:08 celes Exp $ -- This code is free software; you can redistribute it and/or modify it. -- The software provided hereunder is on an "as is" basis, and -- the author has no obligation to provide ...
apache-2.0
kitala1/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Pelftrix.lua
34
1248
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Pelftrix -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/zones/Windurst...
gpl-3.0
kitala1/darkstar
scripts/zones/Riverne-Site_B01/npcs/qm1.lua
8
1269
----------------------------------- -- Area: Riverne Site #B01 -- NPC: Unstable Displacement ----------------------------------- package.loaded["scripts/zones/Riverne-Site_B01/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/zones/Riverne-Site_B01/Text...
gpl-3.0
ZenityRTS/Zenity
libs/chonsole/luaui/widgets/ui_chonsole.lua
1
28850
function widget:GetInfo() return { name = "Chonsole", desc = "Chili Console", author = "gajop", date = "in the future", license = "GPL-v2", layer = 0, enabled = true, } end VFS.Include(CHONSOLE_FOLDER .. "/luaui/config/globals.lua", nil, VFS.DEF_MODE) -- conte...
gpl-2.0
fqrouter/luci
applications/luci-p910nd/luasrc/model/cbi/p910nd.lua
74
1512
--[[ LuCI p910nd (c) 2008 Yanira <forum-2008@email.de> (c) 2012 Jo-Philipp Wich <jow@openwrt.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...
apache-2.0
kitala1/darkstar
scripts/zones/Lower_Jeuno/npcs/Yin_Pocanakhu.lua
19
1368
----------------------------------- -- Area: Lower Jeuno -- NPC: Yin Pocanakhu -- Involved in Quest: Borghertz's Hands (1st quest only) -- @zone 245 -- @pos 35 4 -43 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
sylvanaar/IDLua
resources/stdlibrary52/string.lua
2
8269
-- Copyright 2013 Jon S Akhtar (Sylvanaar) -- -- Licensed under the Apache License, Version 2.0 (the "License"); -- you may not use this file except in compliance with the License. -- You may obtain a copy of the License at -- -- http://www.apache.org/licenses/LICENSE-2.0 -- -- Unless required by appl...
apache-2.0
crabman77/minetest-minetestforfun-server
mods/moreblocks/stairsplus/microblocks.lua
7
3503
--[[ More Blocks: microblock definitions Copyright (c) 2011-2015 Calinou and contributors. Licensed under the zlib license. See LICENSE.md for more information. --]] local S = moreblocks.intllib -- Node will be called <modname>:micro_<subname> function register_micro(modname, subname, recipeitem, groups, images, de...
unlicense
kitala1/darkstar
scripts/zones/The_Boyahda_Tree/npcs/Grounds_Tome.lua
34
1137
----------------------------------- -- Area: The Boyahda Tree -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrad...
gpl-3.0
kitala1/darkstar
scripts/globals/spells/cura.lua
13
3144
----------------------------------------- -- Spell: Cura -- Restores hp in area of effect. Self target only -- From what I understand, Cura's base potency is the same as Cure's. -- With Afflatus Misery Bonus, it can be as potent as a Curaga II -- Modeled after our Cure.lua, which was modeled after the below reference -...
gpl-3.0
Roblox/Core-Scripts
CoreScriptsRoot/Modules/Server/ClientChat/DefaultClientChatModules/MessageCreatorModules/Util.lua
1
12289
-- // FileName: Util.lua -- // Written by: Xsitsu, TheGamer101 -- // Description: Module for shared code between MessageCreatorModules. --[[ Creating a message creator module: 1) Create a new module inside the MessageCreatorModules folder. 2) Create a function that takes a messageData object and returns: { KEY_BASE_F...
apache-2.0
fastmailops/prosody
core/storagemanager.lua
4
3952
local error, type, pairs = error, type, pairs; local setmetatable = setmetatable; local config = require "core.configmanager"; local datamanager = require "util.datamanager"; local modulemanager = require "core.modulemanager"; local multitable = require "util.multitable"; local hosts = hosts; local log = require "uti...
mit
dangerrr/dangerrr
plugins/img_google.lua
660
3196
do local mime = require("mime") local google_config = load_from_file('data/google.lua') local cache = {} --[[ local function send_request(url) local t = {} local options = { url = url, sink = ltn12.sink.table(t), method = "GET" } local a, code, headers, status = http.request(options) return tabl...
gpl-2.0
hanxi/cocos2d-x-v3.1
frameworks/cocos2d-x/cocos/scripting/lua-bindings/auto/api/PhysicsContactPreSolve.lua
3
1124
-------------------------------- -- @module PhysicsContactPreSolve -------------------------------- -- @function [parent=#PhysicsContactPreSolve] getFriction -- @param self -- @return float#float ret (return value: float) -------------------------------- -- @function [parent=#PhysicsContactPreSolve] getRest...
mit
kitala1/darkstar
scripts/zones/Toraimarai_Canal/npcs/Treasure_Coffer.lua
12
3886
----------------------------------- -- Area: Toraimarai Canal -- NPC: Treasure Coffer -- Involved In Quest: Wild Card -- @zone 169 -- @pos 220 16 -50 ----------------------------------- package.loaded["scripts/zones/Toraimarai_Canal/TextIDs"] = nil; ----------------------------------- require("scripts/globa...
gpl-3.0
kitala1/darkstar
scripts/globals/items/shogun_rice_ball.lua
14
1764
----------------------------------------- -- ID: 4278 -- Item: shogun_rice_ball -- Food Effect: 60Min, All Races ----------------------------------------- -- HP +20, Dex +4, Vit +4, Chr +4. (Atk +50, Def +30, DA% +5) * number of enhancing gear ----------------------------------------- require("scripts/globals...
gpl-3.0
kitala1/darkstar
scripts/globals/items/plate_of_homemade_risotto.lua
35
1131
----------------------------------------- -- ID: 5229 -- Item: plate_of_homemade_risotto -- Food Effect: 30Min, All Races ----------------------------------------- -- Mind 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck...
gpl-3.0
raingloom/thranduil
TestTheme.lua
3
8267
local TestTheme = {} TestTheme.Button = {} TestTheme.Button.draw = function(self) love.graphics.setColor(64, 64, 64) if self.hot then love.graphics.setColor(96, 96, 96) end if self.down then love.graphics.setColor(32, 32, 32) end love.graphics.rectangle('fill', self.x, self.y, self.w, self.h) if se...
mit
kitala1/darkstar
scripts/zones/Windurst_Waters_[S]/npcs/Pahpe_Rauulih.lua
38
1053
----------------------------------- -- Area: Windurst Waters (S) -- NPC: Pahpe Rauulih -- Type: Standard NPC -- @zone: 94 -- @pos -39.740 -4.499 53.223 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Waters_[S]/TextIDs"] = n...
gpl-3.0
kitala1/darkstar
scripts/zones/Western_Altepa_Desert/Zone.lua
27
4592
----------------------------------- -- -- Zone: Western_Altepa_Desert (125) -- ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; package.loaded["scripts/globals/chocobo_digging"] = nil; ----------------------------------- require("scripts/zones/Western_Al...
gpl-3.0
ZenityRTS/Zenity
LuaUI/Widgets/gui_chili_docking.lua
2
11916
function widget:GetInfo() return { name = "Chili Docking", desc = "Provides docking and position saving for chili windows", author = "Licho, jK", date = "2010, 2013", license = "GNU GPL, v2 or later", layer = 50, experimental = false, enabled = true -- loade...
gpl-2.0
shahabsaf1/uzz-bot
plugins/time.lua
771
2865
-- Implement a command !time [area] which uses -- 2 Google APIs to get the desired result: -- 1. Geocoding to get from area to a lat/long pair -- 2. Timezone to get the local time in that lat/long location -- Globals -- If you have a google api key for the geocoding/timezone api api_key = nil base_api = "https://m...
gpl-2.0
mamadtnt/edit-
plugins/welcome.lua
7
3674
local add_user_cfg = load_from_file('data/add_user_cfg.lua') local function template_add_user(base, to_username, from_username, chat_name, chat_id) base = base or '' to_username = '@' .. (to_username or '') from_username = '@' .. (from_username or '') chat_name = string.gsub(chat_name, '_', ' ') or '' c...
gpl-2.0
Roblox/Core-Scripts
CoreScriptsRoot/Modules/Settings/Pages/ShareGame/Components/ConversationList.lua
1
6958
local CorePackages = game:GetService("CorePackages") local HttpRbxApiService = game:GetService("HttpRbxApiService") local AppTempCommon = CorePackages.AppTempCommon local CoreGui = game:GetService("CoreGui") local RobloxGui = CoreGui:WaitForChild("RobloxGui") local RobloxTranslator = require(RobloxGui.Modules.RobloxTr...
apache-2.0
mohammads15/new-super
plugins/saveplug.lua
19
1055
--Created by: @WaderTGTeam --Powered by: @WaderTGTeam --âڑ ï¸ڈCopyRight all right reservedâڑ ï¸ڈ local function saveplug(extra, success, result) local msg = extra.msg local name = extra.name local receiver = get_receiver(msg) if success then local file = 'plugins/'..name..'.lua' print('File saving to:'...
gpl-2.0
libcg/gSquare
game/levels/easy6.lua
1
1892
function getInfo() -- Title local title = { "Day 6.", "Jour 6." } levelText(title[getLanguageID()+1]) end function setGame() -- Music setMusic("./audio/c418-repetition.mp3") -- Player varPlayerX(16*1) varPlayerY(16*2) -- Gravity varGravityDir(3) end function setLevel() -- Temporary level ...
gpl-3.0
leezhongshan/skynet
lualib/mqueue.lua
115
1798
-- This is a deprecated module, use skynet.queue instead. local skynet = require "skynet" local c = require "skynet.core" local mqueue = {} local init_once local thread_id local message_queue = {} skynet.register_protocol { name = "queue", -- please read skynet.h for magic number 8 id = 8, pack = skynet.pack, u...
mit
kitala1/darkstar
scripts/globals/weaponskills/cloudsplitter.lua
30
1393
----------------------------------- -- Cloudsplitter -- Axe weapon skill -- Skill level: NA -- Description: Deals lightning elemental damage. Damage varies with TP. Farsha: Aftermath. -- Available only when equipped with Farsha (85), Farsha (90) or Alard's Axe +1. -- Elemental gorgets do not affect damage. Rairin...
gpl-3.0
kitala1/darkstar
scripts/globals/items/rolanberry_(864_ce).lua
35
1205
----------------------------------------- -- ID: 4531 -- Item: rolanberry_864_ce) -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility -3 -- Intelligence 1 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- ...
gpl-3.0
kitala1/darkstar
scripts/zones/Port_San_dOria/npcs/Jaireto.lua
36
1373
----------------------------------- -- Area: Port San d'Oria -- NPC: Jaireto -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/TextI...
gpl-3.0
kitala1/darkstar
scripts/globals/spells/bluemagic/uppercut.lua
28
1859
----------------------------------------- -- Spell: Uppercut -- Damage varies with TP -- Spell cost: 31 MP -- Monster Type: Plantoids -- Spell Type: Physical (Blunt) -- Blue Magic Points: 3 -- Stat Bonus: STR+2, DEX+1 -- Level: 38 -- Casting Time: 0.5 seconds -- Recast Time: 17.75 seconds -- Skillchain Eleme...
gpl-3.0
ChronoPong/corona
ChronoPong/scenes/alertBoxScn.lua
1
4407
local composer = require( "composer" ) local scene = composer.newScene() -- ----------------------------------------------------------------------------------------------------------------- -- All code outside of the listener functions will only be executed ONCE unless "composer.removeScene()" is called. -- ----------...
gpl-2.0
tetoali605/THETETOO_A7A
VIPTEAM/VIPTEAM.lua
1
7735
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("./VIPTEAM/utils") local f = assert(io.popen('/usr/bin/git describe --tags', 'r')) VERSION = assert(f:read('*a')) f:close() -- This function...
gpl-2.0
hassanhp/TOPNOB
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
CTPST/resizebot
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
UB12/lionbot
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
kitala1/darkstar
scripts/globals/items/plate_of_witch_risotto.lua
35
1537
----------------------------------------- -- ID: 4330 -- Item: witch_risotto -- Food Effect: 4hours, All Races ----------------------------------------- -- Magic Points 35 -- Strength -1 -- Vitality 3 -- Mind 3 -- MP Recovered While Healing 2 -- Enmity -1 ----------------------------------------- require(...
gpl-3.0
kitala1/darkstar
scripts/globals/spells/aurorastorm.lua
31
1161
-------------------------------------- -- Spell: Aurorastorm -- Changes the weather around target party member to "auroras." -------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); ------------------------------------...
gpl-3.0
kitala1/darkstar
scripts/globals/items/bowl_of_vegetable_broth.lua
35
1399
----------------------------------------- -- ID: 4323 -- Item: bowl_of_vegetable_broth -- Food Effect: 4Hrs, All Races ----------------------------------------- -- Vitality -1 -- Agility 5 -- Ranged Accuracy 6 -- HP Recovered While Healing 3 ----------------------------------------- require("scripts/globals...
gpl-3.0
xsolinsx/AISashaAPI
plugins/fileconversion.lua
1
1631
local function run(msg, matches) if matches[1]:lower() == 'to' and mediaDictionary[matches[2]:lower()] then local file_id, file_name, file_size, media_type if msg.reply then file_id, file_name, file_size = extractMediaDetails(msg.reply_to_message) media_type = msg.reply_to_me...
gpl-2.0
umbrellaTG/sphero
plugins/location.lua
185
1565
-- 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
kitala1/darkstar
scripts/zones/Southern_San_dOria/npcs/Hae_Jakhya.lua
19
1856
----------------------------------- -- Area: Southern San d'Oria -- NPC: Hae Jakhya -- General Info NPC ------------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/que...
gpl-3.0
xuyjun/CarrotFantasy
StageModel.lua
2
5057
StageModel = class("StageModel") StageModel.__index = StageModel StageModel._money = 0 StageModel._totalWave = 0 StageModel._curWave = 0 StageModel._life = 0 StageModel._paths = {} StageModel._waves = {} StageModel._grid = {} StageModel._towers = {} StageModel._monstersCount = 0 StageModel._objectsCount = 0 StageM...
mit
kitala1/darkstar
scripts/globals/weaponskills/last_stand.lua
30
1763
----------------------------------- -- Skill Level: 357 -- Description: Attacks once or twice, depending on remaining ammunition. Damage dealt varies with TP. -- If the first shot of the weapon skill does enough damage to defeat the target, the second shot will not be used. -- To obtain Last Stand, the quest Martia...
gpl-3.0
CaptainMaelstrom/animato
scripts/helpers.lua
1
6114
--helper functions function loadResources(a, b) local base_folder, resource_table if type(a) == 'string' then base_folder = a elseif type(b) == 'string' then base_folder = b else base_folder = '' end if type(a) == 'table' then resource_table = a elseif type(b...
mit
Taracque/epgp
libs/AceGUI-3.0/widgets/AceGUIWidget-DropDown-Items.lua
6
11075
--[[ $Id: AceGUIWidget-DropDown-Items.lua 996 2010-12-01 18:34:17Z nevcairiel $ ]]-- local AceGUI = LibStub("AceGUI-3.0") -- Lua APIs local select, assert = select, assert -- WoW APIs local PlaySound = PlaySound local CreateFrame = CreateFrame local function fixlevels(parent,...) local i = 1 local ch...
bsd-3-clause
fqrouter/luci
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
kitala1/darkstar
scripts/zones/Bibiki_Bay/npcs/Noih_Tahparawh.lua
12
3518
----------------------------------- -- Area: Bibiki Bay -- NPC: Noih Tahparawh -- Type: Manaclipper -- @pos -392 -3 -385 4 ----------------------------------- package.loaded["scripts/zones/Bibiki_Bay/TextIDs"] = nil; require("scripts/zones/Bibiki_Bay/TextIDs"); ----------------------------------- -- onTrade Act...
gpl-3.0
fastmailops/prosody
tests/test.lua
1
7320
-- Prosody IM -- Copyright (C) 2008-2010 Matthew Wild -- Copyright (C) 2008-2010 Waqas Hussain -- -- This project is MIT/X11 licensed. Please see the -- COPYING file in the source package for more information. -- function run_all_tests() package.loaded["net.connlisteners"] = { get = function () return {} end }; d...
mit
kitala1/darkstar
scripts/globals/items/marinara_pizza.lua
21
1752
----------------------------------------- -- ID: 5743 -- Item: marinara_pizza -- Food Effect: 3hours, All Races ----------------------------------------- -- Health Points 20 -- Attack +20% (cap 50 @ 250 base attack) -- Accuracy +10% (cap 40+ @ 400+ base accuracy) *Wiki doesnt know for sure, its uncorfirmed on h...
gpl-3.0
apletnev/koreader
spec/unit/device_spec.lua
2
10122
describe("device module", function() -- luacheck: push ignore local mock_fb, mock_input local iopen = io.open local osgetenv = os.getenv setup(function() mock_fb = { new = function() return { getSize = function() return {w = 600, h = 800} end,...
agpl-3.0
fqrouter/luci
applications/luci-hd-idle/luasrc/model/cbi/hd_idle.lua
44
1102
--[[ LuCI hd-idle (c) 2008 Yanira <forum-2008@email.de> 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("nixio.fs") m = Map...
apache-2.0
kitala1/darkstar
scripts/zones/Castle_Oztroja/mobs/Tzee_Xicu_the_Manifest.lua
27
1224
----------------------------------- -- Area: Castle Oztroja -- NPC: Tzee Xicu the Manifest ----------------------------------- require("scripts/globals/titles"); require("scripts/zones/Castle_Oztroja/TextIDs"); ----------------------------------- -- onMobSpawn Action ----------------------------------- ...
gpl-3.0
dangerrr/dangerrr
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
kitala1/darkstar
scripts/zones/Western_Altepa_Desert/npcs/_3h8.lua
17
1899
----------------------------------- -- Area: Western Altepa Desert -- NPC: _3h8 (Sapphire Column) -- Notes: Mechanism for Altepa Gate -- @pos -499 10 224 125 ----------------------------------- package.loaded["scripts/zones/Western_Altepa_Desert/TextIDs"] = nil; ----------------------------------- require(...
gpl-3.0
kitala1/darkstar
scripts/zones/Spire_of_Mea/npcs/Radiant_Aureole.lua
17
1077
----------------------------------- -- Area: Spire of Mea -- NPC: Radiant Aureole ----------------------------------- package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Spire_of_Mea/TextIDs"); ----------------------------------- -- onTrade...
gpl-3.0
kitala1/darkstar
scripts/globals/items/cherry_muffin.lua
37
1344
----------------------------------------- -- ID: 5653 -- Item: Cherry Muffin -- Food Effect: 30Min, All Races ----------------------------------------- -- Intelligence 1 -- Magic % 10 -- Magic Cap 80 -- Agility -1 ----------------------------------------- require("scripts/globals/status"); --------------...
gpl-3.0
Roblox/Core-Scripts
CoreScriptsRoot/Modules/DevConsole/Components/DataStores/DataStoresChart.lua
1
7450
local CorePackages = game:GetService("CorePackages") local Roact = require(CorePackages.Roact) local Components = script.Parent.Parent.Parent.Components local DataConsumer = require(Components.DataConsumer) local CellLabel = require(Components.CellLabel) local BannerButton = require(Components.BannerButton) local Line...
apache-2.0
kitala1/darkstar
scripts/zones/Yhoator_Jungle/npcs/Mugha_Dovajaiho.lua
17
1848
----------------------------------- -- Area: Yhoator Jungle -- NPC: Mugha Dovajaiho -- @pos 202 0 -82 124 ----------------------------------- package.loaded["scripts/zones/Yhoator_Jungle/TextIDs"] = nil; ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest");...
gpl-3.0
selaselah/thrift
lib/lua/TBinaryProtocol.lua
90
6141
-- -- Licensed to the Apache Software Foundation (ASF) under one -- or more contributor license agreements. See the NOTICE file -- distributed with this work for additional information -- regarding copyright ownership. The ASF licenses this file -- to you under the Apache License, Version 2.0 (the -- "License"); you ma...
apache-2.0
LaurieJohnson/iguana-web-apps
shared/unittest.lua
2
1124
unittest = {} function unittest.findTest(Name) local T = Name:split('%.') local F = _G; for i=1, #T do F = F[T[i]] end return F end local function compare(Expected, Actual) if (type(Expected) ~= type(Actual)) then -- Type don't match return false end if (type(Expected) == '...
mit
kitala1/darkstar
scripts/zones/Windurst_Waters/npcs/Akkeke.lua
36
1418
----------------------------------- -- Area: Windurst Waters -- NPC: Akkeke -- Involved in Quest: Making the Grade -- Working 100% -- @zone = 238 -- @pos = 135 -6 165 ----------------------------------- package.loaded["scripts/zones/Windurst_Waters/TextIDs"] = nil; ----------------------------------- r...
gpl-3.0
elkingtonmcb/shogun
examples/undocumented/lua_modular/kernel_comm_word_string_modular.lua
21
1375
require 'modshogun' require 'load' traindat = load_dna('../data/fm_train_dna.dat') testdat = load_dna('../data/fm_test_dna.dat') parameter_list = {{traindat,testdat,4,0,false, false},{traindat,testdat,4,0,False,False}} function kernel_comm_word_string_modular (fm_train_dna,fm_test_dna, order, gap, reverse, use_sign) ...
gpl-3.0
kitala1/darkstar
scripts/globals/items/fire_sword.lua
16
1027
----------------------------------------- -- ID: 16543 -- Item: Fire Sword -- Additional Effect: Fire Damage ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); ----------------------------------- -- onAdditionalEffect Action ---------------------------------...
gpl-3.0
JavidTeam/TeleJavid
plugins/banhammer.lua
1
41663
local function pre_process(msg) if msg.to.type ~= 'pv' then chat = msg.to.id user = msg.from.id local function check_newmember(arg, data) test = load_data(_config.moderation.data) lock_bots = test[arg.chat_id]['settings']['lock_bots'] local hash = "gp_lang:"..arg.chat_id local lang = redis:get(hash) if data...
gpl-3.0
chucksellick/factorio-portal-research
src/control.lua
1
19836
--[[ Portals! And Space. By Doc --]] require("mod-gui") require("silo-script") require("lib.util") require("lib.table") local inspect = require("lib.inspect") -- TODO: Intentionally global now to avoid cross-references between modules causing -- recursion. Could try the package.loaded[...] solution from: -- ht...
mit
kitala1/darkstar
scripts/globals/items/culinarians_belt.lua
30
1201
----------------------------------------- -- ID: 15451 -- Item: Culinarian's Belt -- Enchantment: Synthesis image support -- 2Min, All Races ----------------------------------------- -- Enchantment: Synthesis image support -- Duration: 2Min -- Alchemy Skill +3 ----------------------------------------- requi...
gpl-3.0
mamadtnt/edit-
plugins/banhammer.lua
6
12758
local function pre_process(msg) -- SERVICE MESSAGE if msg.action and msg.action.type then local action = msg.action.type -- Check if banned user joins chat by link if action == 'chat_add_user_link' then local user_id = msg.from.id print('درحال بررسی شخص اینوایت شده '..user_id) local b...
gpl-2.0