repo_name
stringlengths
6
78
path
stringlengths
4
206
copies
stringclasses
281 values
size
stringlengths
4
7
content
stringlengths
625
1.05M
license
stringclasses
15 values
HeavensSword/darkstar
scripts/zones/West_Ronfaure/npcs/qm4.lua
5
1454
----------------------------------- -- Area: West Ronfaure -- NPC: qm4 (???) -- Involved in Mission: San d'Orian Mission 7-1 (Prestige of the Papsque) -- !pos -695 -40 21 100 ----------------------------------- package.loaded["scripts/zones/West_Ronfaure/TextIDs"] = nil; ----------------------------------- require("sc...
gpl-3.0
HeavensSword/darkstar
scripts/globals/spells/blind.lua
5
1586
----------------------------------------- -- Spell: Blind ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------------- function onMagicCastingCheck(caster,target,spell) return 0; end; functi...
gpl-3.0
mohammadclashclash/uzzbot
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
xtao/ntopng
scripts/lua/host_pkt_distro.lua
2
1188
-- -- (C) 2013-14 - ntop.org -- dirs = ntop.getDirs() package.path = dirs.installdir .. "/scripts/lua/modules/?.lua;" .. package.path require "lua_utils" sendHTTPHeader('text/html; charset=iso-8859-1') interface.find(ifname) mode = _GET["mode"] type = _GET["type"] host_info = url2hostinfo(_GET) host = interface.ge...
gpl-3.0
HeavensSword/darkstar
scripts/zones/The_Garden_of_RuHmet/mobs/Ix_aern_drg.lua
4
1617
----------------------------------- -- Area: The Garden of Ru'Hmet -- MOB: Ix'aern (drg) ----------------------------------- require("scripts/globals/status"); ----------------------------------- function onMobSpawn(mob) if (math.random(0,99) < 78) then SetDropRate(4396,1870,1000); -- Deed Of Sensib. ...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Beadeaux/npcs/Treasure_Chest.lua
5
2585
----------------------------------- -- Area: Beadeaux -- NPC: Treasure Chest -- !zone 147 ----------------------------------- package.loaded["scripts/zones/Beadeaux/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Beadeaux/TextIDs"); require("scripts/globals/settings"); require("scripts/glob...
gpl-3.0
HeavensSword/darkstar
scripts/globals/weaponskills/final_heaven.lua
3
1899
------------------------------- -- Skill: Final Heaven -- H2H weapon skill -- Skill Level N/A -- Additional effect: temporarily enhances Subtle Blow effect. -- Mods : VIT:60% -- 100%TP 200%TP 300%TP -- 3.0x 3.0x 3.0x -- +10 Subtle Blow for a short duration after using the weapon skill. (Not implement...
gpl-3.0
cogwerkz/gUI4
gUI4/elements/themes.lua
1
4226
local _, gUI4 = ... -- Lua API local pairs = pairs local rawget = rawget local setmetatable = setmetatable local tinsert, tsort = table.insert, table.sort local tostring = tostring local THEME = {} local DEFAULT_THEME = "Warcraft" -- fallback theme when none is given. all modules using themes MUST have thi...
mit
ryangmor/lolsh
plugins/rae.lua
616
1312
do function getDulcinea( text ) -- Powered by https://github.com/javierhonduco/dulcinea local api = "http://dulcinea.herokuapp.com/api/?query=" local query_url = api..text local b, code = http.request(query_url) if code ~= 200 then return "Error: HTTP Connection" end dulcinea = json:decode(b) ...
gpl-2.0
HeavensSword/darkstar
scripts/globals/items/prized_beef_stewpot.lua
3
1635
----------------------------------------- -- ID: 5549 -- Item: Prized Angler's Stewpot -- Food Effect: 4 Hrs, All Races ----------------------------------------- -- TODO: Group Effect -- HP +10% Cap 100 -- MP +20 -- Strength +4 -- Agility +2 -- Mind +2 -- HP Recovered while healing +9 -- MP Recovered while healing +3 -...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Wajaom_Woodlands/npcs/Watisa.lua
3
1361
----------------------------------- -- Area: Wajaom Woodlands -- NPC: Watisa -- Type: Chocobo Renter -- !pos -201 -11 93 51 ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/keyitems"); require("scripts/globals/chocobo"); require("scripts/globals/status"); -------------...
gpl-3.0
shahifaqeer/my-luci-bismark-0.11
protocols/ipv6/luasrc/model/cbi/admin_network/proto_dhcpv6.lua
10
1771
--[[ LuCI - Lua Configuration Interface Copyright 2013 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 ]]-- local map...
apache-2.0
forivall-mirrors/orxonox-game-code
src/external/tolua/lua/class.lua
1
6393
-- tolua: class class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: $ -- 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 maintenance, support, updates, -- enhancements, ...
gpl-2.0
peymankhanas8487/Horror_Avatar
plugins/moderation.lua
336
9979
do local function check_member(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local msg = cb_extra.msg for k,v in pairs(result.members) do local member_id = v.id if member_id ~= our_id then local username = v.username data[tostring(m...
gpl-2.0
pd2-linux/tina
feeds/luci/modules/base/luasrc/model/firewall.lua
84
11156
--[[ LuCI - Firewall model Copyright 2009 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 Unless required by applica...
gpl-2.0
pd2-linux/tina
feeds/luci/applications/luci-qos/luasrc/model/cbi/qos/qos.lua
41
2689
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- loc...
gpl-2.0
icrazyboy/-
plugins/id.lua
355
2795
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, resu...
gpl-2.0
kimonline/PGE
lua/samples/utils/netdialog/script.lua
1
2388
if not pge.require("pge.font") then error("Error loading module.") end if not pge.require("pge.gfx") then error("Error loading module.") end if not pge.require("pge.utils") then error("Error loading module.") end if not pge.require("pge.controls") then error("Error loading module.") end if not pge.require("pge....
gpl-3.0
HeavensSword/darkstar
scripts/zones/Southern_San_dOria/npcs/Ostalie.lua
5
2196
----------------------------------- -- Area: Southern San d'Oria -- NPC: Ostalie -- Standard Merchant NPC ----------------------------------- package.loaded["scripts/zones/Southern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/shop"); requi...
gpl-3.0
shahifaqeer/my-luci-bismark-0.11
applications/luci-diag-devinfo/luasrc/model/cbi/luci_diag/smap_devinfo.lua
12
1087
--[[ 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: smap_devinfo.lua 5448 2009-10...
apache-2.0
pd2-linux/tina
feeds/luci/modules/admin-full/luasrc/model/cbi/admin_system/leds.lua
83
3272
--[[ LuCI - Lua Configuration Interface Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- m = ...
gpl-2.0
haolly/slua_source_note
jit/jit/v.lua
54
5783
---------------------------------------------------------------------------- -- Verbose mode of the LuaJIT compiler. -- -- Copyright (C) 2005-2017 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
mit
Wedmer/luci
modules/luci-base/luasrc/ltn12.lua
84
8954
--[[ LuaSocket 2.0.2 license 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, me...
apache-2.0
HeavensSword/darkstar
scripts/zones/Tahrongi_Canyon/TextIDs.lua
5
2454
-- Variable TextID Description text -- General Texts ITEM_CANNOT_BE_OBTAINED = 6562; -- You cannot obtain the item <item> come back again after sorting your inventory. ITEM_OBTAINED = 6568; -- Obtained: <item>. GIL_OBTAINED = 6569; -- Obtained <number> gil. KEYITEM_OBT...
gpl-3.0
mosy210/fast-spam
plugins/id.lua
226
4260
local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name..' ' end if user.lastname then text = text..user.last_name end return text end local function returnids(cb_extra, success, result) local re...
gpl-2.0
HeavensSword/darkstar
scripts/globals/abilities/gallants_roll.lua
1
2852
----------------------------------- -- Ability: Gallant's Roll -- Reduces physical damage taken by party members within area of effect -- Optimal Job: Paladin -- Lucky Number: 3 -- Unlucky Number: 7 -- Level: 55 -- Phantom Roll +1 Value: 2.34 -- -- Die Roll |No PLD |With PLD -- -------- ------- ----------- -- 1...
gpl-3.0
ryangmor/lolsh
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
mosy210/fast-spam
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
HeavensSword/darkstar
scripts/globals/abilities/pets/meteor_strike.lua
4
1331
--------------------------------------------------- -- Geocrush --------------------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/monstertpmoves"); require("scripts/globals/magic"); --------------------------------------------------- f...
gpl-3.0
mahdib9/99
plugins/location.lua
93
1704
-- 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
wsmith323/hammerspoon
extensions/tabs/init.lua
9
6069
--- === hs.tabs === --- --- Place the windows of an application into tabs drawn on its titlebar local tabs = {} local drawing = require "hs.drawing" local uielement = require "hs.uielement" local watcher = uielement.watcher local fnutils = require "hs.fnutils" local timer = require "hs.timer" local application = requi...
mit
mahdib9/99
plugins/boobs.lua
90
1731
do -- Recursive function local function getRandomButts(attempt) attempt = attempt or 0 attempt = attempt + 1 local res,status = http.request("http://api.obutts.ru/noise/1") if status ~= 200 then return nil end local data = json:decode(res)[1] -- The OpenBoobs API sometimes returns an empty array if no...
gpl-2.0
dromozoa/dromozoa-http
dromozoa/http/user_agent.lua
1
7071
-- Copyright (C) 2015-2019 Tomoyuki Fujimori <moyu@dromozoa.com> -- -- This file is part of dromozoa-http. -- -- dromozoa-http 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,...
gpl-3.0
olhodedeus/Redlol
plugins/sobre.lua
1
1653
local config = require 'config' local u = require 'utilities' local api = require 'methods' local plugin = {} function plugin.onTextMessage(msg, blocks) if blocks[1] == 'sossobr' then local message = [[ Comandos do usuário: /regras - Ver regras do grupo /addregras - Adicionar regras ao grupo ]] sendMessage(ms...
gpl-2.0
trevorbennett/dst-pangaea
scripts/map/levels/pangaea.lua
1
1172
require("map/network") require("map/terrain") require("map/rooms/forest") -- roomList = {"Marsh","Forest","BarePlain","Plain","Clearing","BGSavanna", "BeeClearing", "Pondopolis", "BGGrass", "BGRocky", "Graveyard", "DeepForest", "CritterDen", "Rocky", "SlightlyMermySwamp", -- "BeeClearing", "FlowerPatch", "BeeQ...
mit
HeavensSword/darkstar
scripts/globals/items/bastore_bream.lua
3
1076
----------------------------------------- -- ID: 4461 -- Item: Bastore Bream -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 4 -- Mind -6 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- function onItemCheck(...
gpl-3.0
pd2-linux/tina
feeds/packages/net/mwan3-luci/files/usr/lib/lua/luci/model/cbi/mwan/interfaceconfig.lua
26
7228
-- ------ extra functions ------ -- function interfaceCheck() metricValue = ut.trim(sys.exec("uci get -p /var/state network." .. arg[1] .. ".metric")) if metricValue == "" then -- no metric errorNoMetric = 1 else -- if metric exists create list of interface metrics to compare against for duplicates uci.cursor()...
gpl-2.0
HeavensSword/darkstar
scripts/zones/Port_Windurst/npcs/Erabu-Fumulubu.lua
3
1502
----------------------------------- -- Area: Port Windurst -- NPC: Erabu-Fumulubu -- Type: Fishing Synthesis Image Support -- !pos -178.900 -2.789 76.200 240 ----------------------------------- package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/sta...
gpl-3.0
jesboat/fbthrift
thrift/lib/lua/TProtocol.lua
2
5139
-- -- 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
shahifaqeer/my-luci-bismark-0.11
protocols/ipv6/luasrc/model/network/proto_4x6.lua
63
1522
--[[ LuCI - Network model - 6to4, 6in4 & 6rd protocol extensions Copyright 2011 Jo-Philipp Wich <xm@subsignal.org> Copyright 2013 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of ...
apache-2.0
DipColor/test
plugins/reddit.lua
11
1605
do local function run(msg, matches) -- comment this line if you want reddit.lua works in private message. if not is_chat_msg(msg) then return nil end if is_chat_msg(msg) then thread_limit = 5 else thread_limit = 8 end if matches[1] then if matches[1]:match('^r/') then ...
gpl-2.0
yongkangchen/slua
build/luajit-2.1.0/src/jit/bcsave.lua
28
18091
---------------------------------------------------------------------------- -- LuaJIT module to save/list bytecode. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- Released under the MIT license. See Copyright Notice in luajit.h -------------------------------------------------------------------------...
mit
404rq/GTW-RPG
[misc]/scoreboard/dxscoreboard_shared.lua
14
1267
MAX_PRIRORITY_SLOT = 500 function getNextFreePrioritySlot( startAt ) startAt = tonumber( startAt ) or 1 local priorities = {} for key, value in ipairs( scoreboardColumns ) do priorities[tonumber(value.priority)] = true end local freePriority = startAt while ( priorities[freePriority] ) do freePriority = free...
bsd-2-clause
HeavensSword/darkstar
scripts/globals/weaponskills/shockwave.lua
3
1540
----------------------------------- -- Shockwave -- Great Sword weapon skill -- Skill level: 150 -- Delivers an area of effect attack. Sleeps enemies. Duration of effect varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Aqua Gorget. -- Aligned with the Aqua Belt. -- Element: None -- Modifiers: STR:30...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/tonosama_rice_ball.lua
3
1092
----------------------------------------- -- ID: 4277 -- Item: Tonosama Rice Ball -- Food Effect: 30Min, All Races ----------------------------------------- -- HP +15 -- Dex +3 -- Vit +3 -- Chr +3 -- Effect with enhancing equipment (Note: these are latents on gear with the effect) -- Atk +50 -- Def +30 -- Double Attack...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Al_Zahbi/npcs/Gidappa.lua
3
1970
----------------------------------- -- Area: Al Zahbi -- NPC: Gidappa -- Type: Clothcraft Normal/Adv. Image Support -- !pos 70.228 -7 -54.089 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("sc...
gpl-3.0
cogwerkz/gUI4
gUI4/libs/GP_Ace3/GP_AceGUI-3.0/widgets/AceGUIWidget-Label.lua
1
4616
--[[----------------------------------------------------------------------------- Label Widget Displays text and optionally an icon. -------------------------------------------------------------------------------]] local Type, Version = "Label", 23 local AceGUI = GP_LibStub and GP_LibStub("GP_AceGUI-3.0", true) i...
mit
pd2-linux/tina
feeds/luci/libs/nixio/lua/nixio/util.lua
179
5824
--[[ nixio - Linux I/O library for lua Copyright 2009 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]]-- local...
gpl-2.0
RyderG67/vice-players
Vendor/CEGUI/cegui/src/ScriptingModules/LuaScriptModule/support/tolua++bin/lua/class.lua
7
5636
-- tolua: class class -- Written by Waldemar Celes -- TeCGraf/PUC-Rio -- Jul 1998 -- $Id: class.lua 1004 2006-02-27 13:03:20Z lindquist $ -- 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 ma...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/aspir_knife.lua
7
1093
----------------------------------------- -- ID: 16509 -- Item: Aspir Knife -- Additional effect: MP Drain ----------------------------------------- require("scripts/globals/status"); require("scripts/globals/magic"); require("scripts/globals/msg"); ----------------------------------- function onAdditionalEffect(playe...
gpl-3.0
dlannan/webdruino
deps/turbo-1.0.0/turbo/structs/deque.lua
2
4003
-- Turbo.lua Double ended queue implementation -- -- Copyright 2013 John Abrahamsen -- -- 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 -- -- ...
mit
HeavensSword/darkstar
scripts/globals/items/murgleis.lua
3
4191
----------------------------------------- -- ID: 18995 -- Item: Murgleis ----------------------------------------- require("scripts/globals/msg"); require("scripts/globals/status"); require("scripts/globals/weaponskills"); require("scripts/globals/weaponskillids"); ----------------------------------- local NAME_WEAPON...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Konschtat_Highlands/npcs/Shattered_Telepoint.lua
5
1997
----------------------------------- -- Area: Konschtat Highlands -- NPC: Shattered telepoint -- !pos 135 19 220 108 ----------------------------------- package.loaded["scripts/zones/Konschtat_Highlands/TextIDs"] = nil; ----------------------------------- require("scripts/globals/missions"); require("scripts/zones/Kons...
gpl-3.0
dani-sj/komil
bot/utils.lua
646
23489
URL = require "socket.url" http = require "socket.http" https = require "ssl.https" ltn12 = require "ltn12" serpent = require "serpent" feedparser = require "feedparser" json = (loadfile "./libs/JSON.lua")() mimetype = (loadfile "./libs/mimetype.lua")() redis = (loadfile "./libs/redis.lua")() JSON = (loadfile "./libs/...
gpl-2.0
ignacio/LuaNode
deps/luacppbridge51/Test/tests/test.lua
3
2377
module(..., lunit.testcase, package.seeall) local function isInstanceOf(instance, class) return getmetatable(instance) == class end function test_tostring() local obj = Test.ClaseHibridaConProperties() assert_equal("overridden tostring (ClaseHibridaConProps)", tostring(obj)) end ---[=====[ function te...
mit
HeavensSword/darkstar
scripts/zones/Temple_of_Uggalepih/npcs/_4f3.lua
4
1669
----------------------------------- -- Area: Temple of Uggalepih -- NPC: _4f3 -- Notes: Tonberry Priest Room (Offers Tonberry Hate Reset) -- !pos 60.001 -1.653 -147.755 159 ----------------------------------- package.loaded["scripts/zones/Temple_of_Uggalepih/TextIDs"] = nil; ----------------------------------- requi...
gpl-3.0
msva/LDoc
ldoc/markup.lua
3
11584
-------------- -- Handling markup transformation. -- Currently just does Markdown, but this is intended to -- be the general module for managing other formats as well. local doc = require 'ldoc.doc' local utils = require 'pl.utils' local stringx = require 'pl.stringx' local prettify = require 'ldoc.prettify' local qui...
mit
shahifaqeer/my-luci-bismark-0.11
modules/admin-mini/luasrc/controller/mini/system.lua
5
6712
--[[ 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
Deiz/naev
dat/scripts/jumpdist.lua
16
2247
--[[ -- @brief Fetches an array of systems from min to max jumps away from the given -- system sys. -- -- The following example gets a random Sirius M class planet between 1 to 6 jumps away. -- -- @code -- local planets = {} -- getsysatdistance( system.cur(), 1, 6, -- function(s) -- for i, v in ipair...
gpl-3.0
astrellon/Rouge
data/defs/wooden.lua
1
1151
do local game = am.engine.game() -- Wooden Sword local item = am.item.new() :item_fullname("Sword", "Wooden") :item_type("sword") :graphic(am.sprite.new("items/sword:main"), true) :ground_graphic(am.sprite.new("items/sword:ground")) :inventory_size(1, 2) :description("This sword be wooden!") :add_bod...
mit
Wedmer/luci
applications/luci-app-travelmate/luasrc/model/cbi/travelmate/configuration_tab.lua
7
1025
-- Copyright 2017 Dirk Brenken (dev@brenken.org) -- This is free software, licensed under the Apache License, Version 2.0 local fs = require("nixio.fs") local util = require("luci.util") local trminput = "/etc/config/travelmate" if not nixio.fs.access(trminput) then m = SimpleForm("error", nil, translate("Input file...
apache-2.0
LuaDevelopmentTools/luadocumentor
template/functiontypedef.lua
3
4187
-------------------------------------------------------------------------------- -- Copyright (c) 2012 Sierra Wireless. -- All rights reserved. This program and the accompanying materials -- are made available under the terms of the Eclipse Public License v1.0 -- which accompanies this distribution, and is availabl...
epl-1.0
HeavensSword/darkstar
scripts/globals/weaponskills/rampage.lua
25
1504
----------------------------------- -- Rampage -- Axe weapon skill -- Skill level: 175 -- Delivers a five-hit attack. Chance of params.critical varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Soil Gorget. -- Aligned with the Soil Belt. -- Element: None -- Modifiers: STR:50% -- 100%TP 200%TP 3...
gpl-3.0
shahifaqeer/my-luci-bismark-0.11
applications/luci-statistics/luasrc/statistics/rrdtool/definitions/disk.lua
86
1449
--[[ Luci statistics - df plugin diagram definition (c) 2008 Freifunk Leipzig / 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 http://www.apache....
apache-2.0
shahifaqeer/my-luci-bismark-0.11
libs/lucid-rpc/luasrc/lucid/rpc.lua
52
1197
--[[ LuCI - Lua Development Framework Copyright 2009 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ ]] local re...
apache-2.0
HeavensSword/darkstar
scripts/zones/Port_Windurst/npcs/Sachetan_IM.lua
5
2528
----------------------------------- -- Area: Port Windurst -- NPC: Sachetan, I.M. -- !pos -82 -5 165 z 240 -- X Grant Signet -- X Recharge Emperor Band, Empress Band, or Chariot Band -- X Accepts traded Crystals to fill up the Rank bar to open new Missions. -- X Sells items in exchange for Conquest Points -- X Start S...
gpl-3.0
cogwerkz/gUI4
gUI4/libs/GP_Ace3/GP_AceBucket-3.0/GP_AceBucket-3.0.lua
1
10787
--- A bucket to catch events in. **AceBucket-3.0** provides throttling of events that fire in bursts and -- your addon only needs to know about the full burst. -- -- This Bucket implementation works as follows:\\ -- Initially, no schedule is running, and its waiting for the first event to happen.\\ -- The fir...
mit
mohammadclashclash/uzzbot
plugins/banhammer.lua
294
10470
local function is_user_whitelisted(id) local hash = 'whitelist:user#id'..id local white = redis:get(hash) or false return white end local function is_chat_whitelisted(id) local hash = 'whitelist:chat#id'..id local white = redis:get(hash) or false return white end local function kick_user(user_id, chat_id)...
gpl-2.0
Deiz/naev
dat/missions/neutral/crimelord.lua
2
6838
--[[ Test for a chase mission In this mission, you will be chased by a pirate fleet across several systems. MISSION: Chase Test DESCRIPTION: Pirates chase you to Ogat. ]]-- include "fleethelper.lua" lang = naev.lang() if lang == "es" then else --I guess you know this ...
gpl-3.0
HeavensSword/darkstar
scripts/commands/takexp.lua
22
1123
--------------------------------------------------------------------------------------------------- -- func: takexp <amount> <player> -- desc: Removes experience points from the target player. --------------------------------------------------------------------------------------------------- cmdprops = { permissio...
gpl-3.0
ignacio/LuaNode
lib/luanode/__private_url.lua
2
10041
----------------------------------------------------------------------------- -- URI parsing, composition and relative URL resolution -- LuaSocket toolkit. -- Author: Diego Nehab ----------------------------------------------------------------------------- -- Made some modifications to the original code (mostly format...
mit
olhodedeus/Redlol
plugins/floodmanager.lua
1
6546
local config = require 'config' local u = require 'utilities' local api = require 'methods' local plugin = {} local function get_button_description(key) if key == 'num' then return _("⚖ Current sensitivity. Tap on the + or the - to change it") elseif key == 'voice' then return _([[Choose which...
gpl-2.0
devlaith/DEVLAITH-HL
plugins/invite.lua
43
1335
do local function callbackres(extra, success, result) --vardump(result) local user = 'user#id'..result.peer_id local chat = 'chat#id'..extra.chatid local channel = 'channel#id'..extra.chatid if is_banned(result.id, extra.chatid) then send_large_msg(chat, 'User is banned.') send_large_msg(c...
gpl-2.0
HeavensSword/darkstar
scripts/zones/Rolanberry_Fields/npcs/Cavernous_Maw.lua
4
2592
----------------------------------- -- Area: Rolanberry Fields -- NPC: Cavernous Maw -- !pos -198 8 361 110 -- Teleports Players to Rolanberry Fields [S] ----------------------------------- package.loaded["scripts/zones/Rolanberry_Fields/TextIDs"] = nil; ----------------------------------- require("scripts/globals/set...
gpl-3.0
HeavensSword/darkstar
scripts/globals/items/blackened_frog.lua
3
1475
----------------------------------------- -- ID: 4536 -- Item: Blackened Frog -- Food Effect: 30Min, All Races ----------------------------------------- -- Dexterity 2 -- Agility 2 -- Mind -2 -- Attack % 14 -- Attack Cap 75 -- Ranged ATT % 14 -- Ranged ATT Cap 75 -- Evasion +5 ----------------------------------------- ...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Waughroon_Shrine/bcnms/prehistoric_pigeons.lua
5
1821
----------------------------------- -- Area: Waughroon_Shrine -- Name: Prehistoric Pigeons -- KSNM30 ----------------------------------- package.loaded["scripts/zones/Waughroon_Shrine/TextIDs"] = nil; ----------------------------------- require("scripts/globals/titles"); require("scripts/globals/quests"); require("scr...
gpl-3.0
269724033/lor
bin/scaffold/nginx/config.lua
1
1610
local pairs = pairs local ogetenv = os.getenv local utils = require 'bin.scaffold.utils' local app_run_env = ogetenv("LOR_ENV") or 'dev' local lor_ngx_conf = {} lor_ngx_conf.common = { -- directives LOR_ENV = app_run_env, -- INIT_BY_LUA_FILE = './app/nginx/init.lua', -- LUA_PACKAGE_PATH = '', -- LUA_PACKAGE_CPATH ...
mit
LOVE-Party/Love-LD18
states/lost.lua
1
1047
Gamestate.lost = Gamestate.new() local state = Gamestate.lost local font local largefont local score function state:enter(last, sc) if not font then font = love.graphics.newFont("fonts/Chunkfive.otf", 14) end if not largefont then largefont = love.graphics.newFont("fonts/Chunkfive.otf", 48) end score = sc end ...
mit
Wedmer/luci
applications/luci-app-adblock/luasrc/model/cbi/adblock/overview_tab.lua
1
10426
-- Copyright 2017-2018 Dirk Brenken (dev@brenken.org) -- This is free software, licensed under the Apache License, Version 2.0 local fs = require("nixio.fs") local uci = require("luci.model.uci").cursor() local sys = require("luci.sys") local util = require("luci.util") local dump = util.ubus("...
apache-2.0
Deiz/naev
dat/scripts/fleet_form.lua
5
20571
--[[ Control fleets, assign formations, have ships stick together. Created by Loki and BTAxis Usage: First create a fleet with pilot.add() Then pass that to the Forma:new() function. Then use Forma:setTask() to control the fleader -usage is: Forma:new(fleet,"formation",combat_dist, preferred_fleet_lead...
gpl-3.0
269724033/lor
lib/lor/lib/view.lua
1
1279
local error = error local pairs = pairs local type = type local setmetatable = setmetatable local tostring = tostring local template = require "resty.template" local template_new = template.new local View = {} function View:new(view_config) local instance = {} instance.view_enable = view_config.view_enable ...
mit
404rq/GTW-RPG
[misc]/scoreboard/dxscoreboard_http.lua
12
2213
-- Original file by jbeta local httpColumns = {} local httpRows = {} local updateInterval = 1000 local lastUpdateTime = 0 function getScoreboardColumns() -- Only update http data if someone is looking if getTickCount() - lastUpdateTime > updateInterval then lastUpdateTime = getTickCount() refreshServerScoreboard...
bsd-2-clause
vmercierfr/kong
kong/plugins/ratelimiting/access.lua
12
2222
local constants = require "kong.constants" local timestamp = require "kong.tools.timestamp" local responses = require "kong.tools.responses" local _M = {} function _M.execute(conf) local current_timestamp = timestamp.get_utc() -- Consumer is identified by ip address or authenticated_entity id local identifier ...
mit
HeavensSword/darkstar
scripts/zones/Western_Adoulin/npcs/Dewalt.lua
7
1754
----------------------------------- -- Area: Western Adoulin -- NPC: Dewalt -- Type: Standard NPC and Quest NPC -- Involved with Quests: 'Flavors of our Lives' -- 'Dont Ever Leaf Me' -- @zone 256 -- !pos -23 0 28 256 ----------------------------------- require("scripts/globals/quests"); -----...
gpl-3.0
dkorolev/tarantool
test/box/alter_limits.test.lua
2
14202
-- ---------------------------------------------------------------- -- LIMITS -- ---------------------------------------------------------------- box.schema.SYSTEM_ID_MIN box.schema.FIELD_MAX box.schema.INDEX_FIELD_MAX box.schema.NAME_MAX box.schema.INDEX_ID box.schema.SPACE_ID box.schema.INDEX_MAX box.schema.SPACE_MAX...
bsd-2-clause
HeavensSword/darkstar
scripts/globals/mobskills/crystal_weapon.lua
37
1031
--------------------------------------------- -- Crystal Weapon -- -- Description: Invokes the power of a crystal to deal magical damage of a random element to a single target. -- Type: Magical -- Utsusemi/Blink absorb: Ignores shadows -- Range: Unknown -- Notes: Can be Fire, Earth, Wind, or Water element. Funct...
gpl-3.0
jleclanche/pywow
old/addons/MMOCViewer/MMOCAnimationList.lua
1
21537
-- Namespace local _, internal = ... -- Localized internal.AnimationList = {} -- Locals AL = internal.AnimationList -- Animation list AL[0] = "Stand" AL[1] = "Death" AL[2] = "Spell" AL[3] = "Stop" AL[4] = "Walk" AL[5] = "Run" AL[6] = "Dead" AL[7] = "Rise" AL[8] = "StandWound" AL[9] = "CombatWound" AL[10] = "CombatCr...
cc0-1.0
HeavensSword/darkstar
scripts/globals/weaponskills/cataclysm.lua
23
1521
----------------------------------- -- Cataclysm -- Skill level: 290 -- Delivers light elemental damage. Additional effect: Flash. Chance of effect varies with TP. -- Generates a significant amount of Enmity. -- Does not stack with Sneak Attack -- Aligned with Aqua Gorget. -- Aligned with Aqua Belt. -- Properties: -- E...
gpl-3.0
shahifaqeer/my-luci-bismark-0.11
libs/sgi-wsapi/luasrc/sgi/wsapi.lua
12
1844
--[[ LuCI - SGI-Module for WSAPI Description: Server Gateway Interface for WSAPI FileId: $Id: wsapi.lua 2656 2008-07-23 18:52:12Z Cyrus $ License: Copyright 2008 Steven Barth <steven@midlink.org> Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the ...
apache-2.0
abbasgh12345/s
plugins/groupmanager.lua
6
7406
local function add_by_reply(extra, success, result) result = backward_msg_format(result) local msg = result local chat = msg.to.id local user = msg.from.id if msg.to.type == 'chat' then chat_add_user('chat#id'..chat, 'user#id'..user, ok_cb, false) elseif msg.to.type == 'channel' then ...
gpl-2.0
qwook/dpsht
assets/maps/willsthebest.lua
2
253240
return { version = "1.1", luaversion = "5.1", orientation = "orthogonal", width = 100, height = 100, tilewidth = 32, tileheight = 32, properties = {}, tilesets = { { name = "collision", firstgid = 1, tilewidth = 32, tileheight = 32, spacing = 0, margin = 0, ...
mit
DipColor/test
plugins/stats.lua
458
4098
-- Saves the number of messages from a user -- Can check the number of messages with !stats do local NUM_MSG_MAX = 5 local TIME_CHECK = 4 -- seconds local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name....
gpl-2.0
ryangmor/lolsh
plugins/stats.lua
458
4098
-- Saves the number of messages from a user -- Can check the number of messages with !stats do local NUM_MSG_MAX = 5 local TIME_CHECK = 4 -- seconds local function user_print_name(user) if user.print_name then return user.print_name end local text = '' if user.first_name then text = user.last_name....
gpl-2.0
pd2-linux/tina
feeds/luci/modules/base/luasrc/ccache.lua
82
1863
--[[ 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...
gpl-2.0
HeavensSword/darkstar
scripts/zones/Kazham/npcs/Bubupp.lua
5
2959
----------------------------------- -- Area: Kazham -- NPC: Bubupp -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Kazham/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Kazham/TextIDs"); ----------------------------------- function onTrade(player,npc...
gpl-3.0
HeavensSword/darkstar
scripts/zones/Al_Zahbi/npcs/Falzuuk.lua
3
2700
----------------------------------- -- Area: Al Zahbi -- NPC: Falzuuk -- Type: Imperial Gate Guard -- !pos -60.486 0.999 105.397 48 ----------------------------------- package.loaded["scripts/zones/Al_Zahbi/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals...
gpl-3.0
barbarubra/Don-t-know-What-i-m-doing.
lua/luasocket/src/http.lua
121
12193
----------------------------------------------------------------------------- -- HTTP/1.1 client support for the Lua language. -- LuaSocket toolkit. -- Author: Diego Nehab -- RCS ID: $Id: http.lua,v 1.71 2007/10/13 23:55:20 diego Exp $ ----------------------------------------------------------------------------- -----...
apache-2.0
HeavensSword/darkstar
scripts/zones/Port_San_dOria/npcs/Bonmaurieut.lua
5
1613
----------------------------------- -- Area: Port San d'Oria -- NPC: Bonmaurieut -- Only sells when San d'Oria controlls Elshimo Uplands ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Port_San_dOria/TextIDs");...
gpl-3.0
wsmith323/hammerspoon
extensions/messages/init.lua
22
1501
--- === hs.messages === --- --- Send messages via iMessage and SMS Relay (note, SMS Relay requires OS X 10.10 and an established SMS Relay pairing between your Mac and an iPhone running iOS8) --- --- Note: This extension works by controlling the OS X "Messages" app via AppleScript, so you will need that app to be signe...
mit
cogwerkz/gUI4
gUI4_Objectives/elements/orderhall.lua
1
3597
local addon,ns = ... local gUI4 = GP_LibStub("GP_AceAddon-3.0"):GetAddon("gUI4", true) if not gUI4 then return end local parent = gUI4:GetModule("gUI4_Objectives", true) if not parent then return end local module = parent:NewModule("OrderHall", "GP_AceEvent-3.0") local L = GP_LibStub("GP_AceLocale-3.0"):GetLocale("...
mit