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
mrbangi/deviilbot
plugins/wlc.lua
114
3529
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
Fatalerror66/ffxi-a
scripts/zones/Ordelles_Caves/npcs/qm3.lua
2
1668
----------------------------------- -- Area: Ordelle's Caves -- NPC: ??? -- Involved in Quest: A Squire's Test II -- @zone 193 -- @pos -139 0 264 ------------------------------------- package.loaded["scripts/zones/Ordelles_Caves/TextIDs"] = nil; ------------------------------------- require("scripts/globals/settings"...
gpl-3.0
tboox/xmake-repo
packages/l/libxml2/xmake.lua
1
1851
package("libxml2") set_homepage("http://xmlsoft.org/") set_description("The XML C parser and toolkit of Gnome.") set_urls("http://xmlsoft.org/sources/libxml2-$(version).tar.gz", "https://ftp.osuosl.org/pub/blfs/conglomeration/libxml2/libxml2-$(version).tar.gz") add_urls("https://gitlab.g...
apache-2.0
Fatalerror66/ffxi-a
scripts/zones/King_Ranperres_Tomb/Zone.lua
2
1300
----------------------------------- -- -- Zone: King_Ranperres_Tomb (190) -- ----------------------------------- package.loaded["scripts/zones/King_Ranperres_Tomb/TextIDs"] = nil; require("scripts/globals/settings"); require("scripts/zones/King_Ranperres_Tomb/TextIDs"); ----------------------------------- ...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Tavnazian_Safehold/npcs/Melleupaux.lua
6
1256
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Melleupaux -- Standard Merchant NPC ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; require("scripts/zones/Tavnazian_Safehold/TextIDs"); ----------------------...
gpl-3.0
actionless/awesome
lib/awful/popup.lua
1
15095
--------------------------------------------------------------------------- --- An auto-resized, free floating or modal wibox built around a widget. -- -- This type of widget box (wibox) is auto closed when being clicked on and is -- automatically resized to the size of its main widget. -- -- Note that the widget itsel...
gpl-2.0
actionless/awesome
lib/awful/widget/prompt.lua
1
6748
--------------------------------------------------------------------------- -- The widget version of `awful.prompt`. -- -- @DOC_wibox_awidget_defaults_prompt_EXAMPLE@ -- -- @author Julien Danjou <julien@danjou.info> -- @copyright 2009 Julien Danjou -- @copyright 2018 Aire-One -- @widgetmod awful.widget.prompt -- ...
gpl-2.0
kidaa/FFXIOrgins
scripts/zones/Port_San_dOria/npcs/Nazar.lua
7
1033
----------------------------------- -- Area: Port San d'Oria -- NPC: Nazar -- Type: Standard NPC -- @zone: 232 -- @pos -31.922 -3 44.240 -- -- Auto-Script: Requires Verification (Verified by Brawndo) ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/items/head_of_napa.lua
2
1134
----------------------------------------- -- ID: 5235 -- Item: head_of_napa -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 1 -- Vitality -3 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItem...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Northern_San_dOria/npcs/Hunt_Registry.lua
2
1086
----------------------------------- -- Area: Northern San d'Oria -- NPC: Hunt Registry -- @zone 231 -- @pos -174.000, 4.000, 74.000 ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); requ...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/weaponskills/crescent_moon.lua
6
1453
----------------------------------- -- 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/settings"); require(...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/weaponskills/camlanns_torment.lua
4
1127
----------------------------------- -- Camlann's Torment -- Polearm weapon skill -- Skill Level: EMPYREAN -- Delivers a triple damage attack. DEF ignored varies with TP. -- Will stack with Sneak Attack. -- Element: None -- Modifiers: VIT:60% -- 100%TP 200%TP 300%TP -- 3.00 3 3 ----------------...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/items/serving_of_flounder_meuniere_+1.lua
1
1594
----------------------------------------- -- ID: 4345 -- Item: serving_of_flounder_meuniere_+1 -- Food Effect: 240Min, All Races ----------------------------------------- -- Dexterity 6 -- Vitality 1 -- Mind -1 -- Ranged ACC 15 -- Ranged ATT % 14 -- Ranged ATT Cap 30 -- Enmity -3 ---------------------------------------...
gpl-3.0
jiang42/Algorithm-Implementations
Shell_Sort/Lua/Yonaba/shell_sort_test.lua
27
1367
-- Tests for shell_sort.lua local shell_sort = require 'shell_sort' local total, pass = 0, 0 local function dec(str, len) return #str < len and str .. (('.'):rep(len-#str)) or str:sub(1,len) end local function run(message, f) total = total + 1 local ok, err = pcall(f) if ok then pass = pass + 1 end loca...
mit
MyAOSP/external_skia
tools/lua/skia.lua
207
1863
-- Experimental helpers for skia -- function string.startsWith(String,Start) return string.sub(String,1,string.len(Start))==Start end function string.endsWith(String,End) return End=='' or string.sub(String,-string.len(End))==End end Sk = {} function Sk.isFinite(x) return x * 0 == 0 end ----------------...
bsd-3-clause
sapohl/data-pipeline
hindsight/modules/fx/ping.lua
2
5998
-- 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 ipairs = ipairs local pairs = pairs local pcall = pcall local tonumber = tonumber loca...
mpl-2.0
roboxt/ss
plugins/id.lua
2
6343
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
mahdibagheri/mahdi1234
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
hfjgjfg/seed48
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
kiarash14/tel
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
mrbangi/mr--bangi
plugins/all.lua
1321
4661
do data = load_data(_config.moderation.data) local function get_msgs_user_chat(user_id, chat_id) local user_info = {} local uhash = 'user:'..user_id local user = redis:hgetall(uhash) local um_hash = 'msgs:'..user_id..':'..chat_id user_info.msgs = tonumber(redis:get(um_hash) or 0) user_info.name = user_print...
gpl-2.0
Fatalerror66/ffxi-a
scripts/globals/spells/dia_ii.lua
2
1894
----------------------------------------- -- Spell: Dia II -- Lowers an enemy's defense and gradually deals light elemental damage. ----------------------------------------- require("scripts/globals/settings"); require("scripts/globals/status"); require("scripts/globals/magic"); -----------------------------...
gpl-3.0
aliafshar250/b
bot/permissions.lua
43
1333
local sudos = { "plugins", "rank_admin", "bot", "lang_install", "set_lang", "tosupergroup", "gban_installer" } local admins = { "rank_mod", "gban", "ungban", "setrules", "setphoto", "creategroup", "setname", "addbots", "setlink", "rank_guest", "description", "export_...
gpl-2.0
Fatalerror66/ffxi-a
scripts/globals/items/uskumru.lua
3
1194
----------------------------------------- -- ID: 5452 -- Item: Uskumru -- Food Effect: 5Min, Mithra only ----------------------------------------- -- Dexterity 3 -- Mind -5 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck -----------...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/abilities/pets/hydro_breath.lua
4
1222
--------------------------------------------------- -- Hydro Breath --------------------------------------------------- require("/scripts/globals/settings"); require("/scripts/globals/status"); require("/scripts/globals/monstertpmoves"); --------------------------------------------------- function OnAbilityCheck(pla...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Port_Windurst/npcs/Hohbiba-Mubiba.lua
17
1689
----------------------------------- -- Area: Port Windurst -- NPC: Hohbiba-Mubiba -- Standard Merchant NPC -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); package.loaded["scripts/zones/Port_Windurst/TextIDs"] = nil; require("scripts/zones/Port_Windurst/TextIDs"...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/items/balik_sis_+1.lua
2
1603
----------------------------------------- -- ID: 5601 -- Item: Balik Sis +1 -- Food Effect: 60Min, All Races ----------------------------------------- -- Dexterity 5 -- Mind -2 -- Attack % 15 -- Attack Cap 45 -- Ranged ACC 1 -- Ranged ATT % 15 -- Ranged ATT Cap 45 ----------------------------------------- ...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/spells/victory_march.lua
6
1418
----------------------------------------- -- Spell: Victory March -- Gives party members Haste ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnSpellCast ----------------------------------------- function OnMagicCastingCheck(caster,target,spe...
gpl-3.0
rigeirani/1kh
plugins/webshot.lua
110
1424
local helpers = require "OAuth.helpers" local base = 'https://screenshotmachine.com/' local url = base .. 'processor.php' local function get_webshot_url(param) local response_body = {} local request_constructor = { url = url, method = "GET", sink = ltn12.sink.table(response_body), header...
gpl-2.0
sini370/flux
plugins/groupcontrol.lua
1
42882
do -- make sure to set with value that not higher than stats.lua local NUM_MSG_MAX = 4 local TIME_CHECK = 4 -- seconds local function generate_link(cb_extra, success, result) local receiver = cb_extra.receiver local data = cb_extra.data local user_id = cb_extra.user_id local chat_id = string.gsub(rece...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Inner_Horutoto_Ruins/npcs/_5ct.lua
2
2450
----------------------------------- -- Area: Inner Horutoto Ruins -- NPC: Magical Gizmo #5 (T out of P, Q, R, S, T, U) -- Involved In Mission: The Horutoto Ruins Experiment ----------------------------------- package.loaded["scripts/zones/Inner_Horutoto_Ruins/TextIDs"] = nil; -----------------------------------...
gpl-3.0
e1d1s1/OpenRA
mods/cnc/maps/nod05/nod05.lua
10
10833
NodUnitsVehicle = { 'bike', 'bike', 'bggy', 'ltnk', 'bike', 'bike' } NodUnitsRocket = { 'e1', 'e1', 'e1', 'e1' } NodUnitsGunner = { 'e3', 'e3', 'e3', 'e3' } GDIReinforceUnits = { 'e2', 'e2', 'e2', 'e2', 'e2' } Gdi1Units = { ['e1'] = 3, ['e2'] = 1 } Gdi2Units = { ['e1'] = 2, ['e2'] = 1 } Gdi3Units = { ['jeep'] = 1 } Gd...
gpl-3.0
e-m-c/x-y
libs/JSON.lua
2
35894
-- -*- coding: utf-8 -*- -- -- Simple JSON encoding and decoding in pure Lua. -- -- Copyright 2010-2014 Jeffrey Friedl -- http://regex.info/blog/ -- -- Latest version: http://regex.info/blog/lua/json -- -- This code is released under a Creative Commons CC-BY "Attribution" License: -- http://creativecommons.or...
gpl-2.0
ld-test/adoc_cmd_ext
test/cmd_util_spec.lua
3
1519
local CU = require( "adoc_cmd_ext.cmd_util" ) local U = require( "adoc_cmd_ext.util" ) local cmdStr = [=[/= sub_def[:name: final][ :salt: ] --> == {name}[[{name}]] {salt} =/]=] local multiCmdStr = [=[ /= sub_def[:name: final] --> == {name}[[{name}]] =/ /= sub[:name:] --> <<{name}>> =/ ]=] local multiSingleLineCmd...
mit
kidaa/FFXIOrgins
scripts/zones/FeiYin/npcs/Grounds_Tome.lua
30
1074
----------------------------------- -- Area: Fei'Yin -- NPC: Grounds Tome ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/groundsofvalor"); ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) e...
gpl-3.0
LuaDist2/adoc_cmd_ext
lib/adoc_cmd_ext/pattern.lua
3
2132
local L = require( "lpeg" ) local LU = require( "adoc_cmd_ext.lpeg_util" ) -------------------------------------------------------------------------------- local function nP( p ) return ( 1 - p )^0 end -------------------------------------------------------------------------------- -- /= -- sub_def[:name:] -- --...
mit
Fatalerror66/ffxi-a
scripts/zones/Misareaux_Coast/npcs/qm1.lua
2
1338
----------------------------------- -- Area: Misareaux_Coast -- NPC: ??? (Spawn Gration) -- Pzone 25 -- @pos 113.563 -16.302 38.912 25 ------------------------------------- package.loaded["scripts/zones/Misareaux_Coast/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Misareaux_Coas...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/items/bunch_of_pamamas.lua
36
2212
----------------------------------------- -- ID: 4468 -- Item: Bunch of Pamamas -- Food Effect: 30Min, All Races ----------------------------------------- -- Strength -3 -- Intelligence 1 -- Additional Effect with Opo-Opo Crown -- HP 50 -- MP 50 -- CHR 14 -- Additional Effect with Kinkobo or -- Primate Staff -- DELAY ...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Windurst_Waters/npcs/Prestapiq.lua
16
1546
----------------------------------- -- Area: Windurst Waters -- NPC: Prestapiq -- Only sells when Windurst controls Movalpolos -- Confirmed shop stock, August 2013 ----------------------------------- require("scripts/globals/shop"); require("scripts/globals/conquest"); package.loaded["scripts/zones/Windurst_Waters/Te...
gpl-3.0
DeNA/dworker
lib/lua/fetchWorkersToRecover.lua
1
1255
-- Input parameters -- KEYS[1] global hash key. (gh) - unused -- KEYS[2] worker list hash. (wh) -- KEYS[3] broker list hash. (bh) - unused -- KEYS[4] recovery sets (rz) -- ARGV[1] Current time. -- ARGV[2] Worker TTL in milliseconds -- ARGV[3] Max number of workers to fetch -- Output parameters local now ...
mit
AIE-Guild/GreenWall
Settings.lua
1
10297
--[[----------------------------------------------------------------------- The MIT License (MIT) Copyright (c) 2010-2020 Mark Rogaski 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 res...
mit
kidaa/FFXIOrgins
scripts/zones/Spire_of_Mea/npcs/_0l2.lua
8
1251
----------------------------------- -- Area: Spire_of_Mea -- NPC: web of regret ----------------------------------- package.loaded["scripts/zones/Spire_of_Mea/TextIDs"] = nil; ----------------------------------- require("scripts/globals/bcnm"); require("scripts/zones/Spire_of_Mea/TextIDs"); -------------------------...
gpl-3.0
LingJiJian/uLui
build/luajit-2.1.0/dynasm/dasm_ppc.lua
1
59408
------------------------------------------------------------------------------ -- DynASM PPC/PPC64 module. -- -- Copyright (C) 2005-2015 Mike Pall. All rights reserved. -- See dynasm.lua for full copyright notice. -- -- Support for various extensions contributed by Caio Souza Oliveira. --------------------------...
mit
kidaa/FFXIOrgins
scripts/zones/Southern_San_dOria_[S]/npcs/Achtelle1.lua
38
1029
----------------------------------- -- Area: Southern SandOria [S] -- NPC: Achtelle -- @zone 80 -- @pos 108 2 -11 ----------------------------------- ----------------------------------- -- onTrade Action ----------------------------------- function onTrade(player,npc,trade) end; ----------------------------------- -...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Ifrits_Cauldron/npcs/Flame_Spout.lua
2
1640
---------------------------------- -- Area: Ifrit's Cauldron -- NPC: Flame Spout -- @pos 205 -- @pos 193.967 -0.400 19.492 205 ----------------------------------- require("scripts/zones/Ifrits_Cauldron/TextIDs"); ----------------------------------- require("scripts/globals/settings"); require("scripts/global...
gpl-3.0
BTAxis/naev
dat/missions/shark/sh06_arandon.lua
1
4633
--[[ This is the seventh mission of the Shark's teeth campaign. The player has to meet the FLF in Arandon. Stages : 0) Way to Arandon 1) Way back to Darkshed --]] include "numstring.lua" title = {} text = {} osd_msg = {} npc_desc = {} bar_desc = {} title[1] = _("Let's go") text[1] = _([["Is your ship ...
gpl-3.0
FilthyPeasantDEV/PokeBot
main.lua
1
4697
-- OPTIONS RESET_FOR_TIME = false -- Set to true if you're trying to break the record, not just finish a run BEAST_MODE = false -- WARNING: Do not engage. Will yolo everything, and reset at every opportunity in the quest for 1:47. INITIAL_SPEED = 750 AFTER_BROCK_SPEED = 350 RUNS_FILE = "C:/Users/rjrhy/Desktop/Pokebo...
mit
kidaa/FFXIOrgins
scripts/zones/Dynamis-Qufim/bcnms/dynamis_Qufim.lua
8
1057
----------------------------------- -- Area: dynamis_Qufim -- Name: dynamis_Qufim ----------------------------------- -- After registering the BCNM via bcnmRegister(bcnmid) function OnBcnmRegister(player,instance) SetServerVariable("[DynaQufim]UniqueID",player:getDynamisUniqueID(1288)); SetServerVariable("[DynaQ...
gpl-3.0
Wedge009/wesnoth
data/campaigns/World_Conquest/lua/game_mechanics/bonus_point_definitions.lua
7
15850
local _ = wesnoth.textdomain 'wesnoth-wc' local STR_BONUS_SHIP_NAMES = { _"Point", _"Rest", _"Ruin", _"Rocks", _"Bane", _"Waters", _"Route", _"Vestige", _"Disaster", _"Massacre", _"Expedition", _"Cargo" } local STR_BONUS_BONES_NAMES = { _"Point", _"Rest", _"Lair", _"Exile", _"Bane", _"Passage", _"Curse" } local STR_...
gpl-2.0
Wedge009/wesnoth
data/lua/wml/modify_side.lua
7
2993
local utils = wesnoth.require "wml-utils" local T = wml.tag local side_changes_needing_redraw = { 'shroud', 'fog', 'reset_map', 'reset_view', 'shroud_data', 'share_vision', 'share_maps', 'share_view', 'color', 'flag', } function wesnoth.wml_actions.modify_side(cfg) local sides = utils.get_sides(cfg) for i,side i...
gpl-2.0
frutjus/OpenRA
mods/cnc/maps/gdi05b/gdi05b.lua
19
5853
AllToHuntTrigger = { Silo1, Proc1, Silo2, Silo3, Silo4, Afld1, Hand1, Nuke1, Nuke2, Nuke3, Fact1 } AtkRoute1 = { waypoint4.Location, waypoint5.Location, waypoint6.Location, waypoint7.Location, waypoint8.Location } AtkRoute2 = { waypoint0.Location, waypoint1.Location, waypoint2.Location, waypoint3.Location } AutoCrea...
gpl-3.0
pquentin/wesnoth
data/lua/backwards-compatibility.lua
22
1644
--! #textdomain wesnoth -- This file may provide an implementation of Lua functions removed from the engine. local helper = wesnoth.require "lua/helper.lua" local get_side = function(i) return wesnoth.sides[i] end wesnoth.get_side = helper.deprecate("wesnoth.get_side is deprecated, use wesnoth.sides instead", get_s...
gpl-2.0
kidaa/FFXIOrgins
scripts/globals/items/clump_of_beaugreens.lua
1
1166
----------------------------------------- -- ID: 4571 -- Item: clump_of_beaugreens -- Food Effect: 5Min, All Races ----------------------------------------- -- Agility 2 -- Vitality -4 ----------------------------------------- require("scripts/globals/status"); ----------------------------------------- -- OnItemCheck...
gpl-3.0
paintdream/DontStarveLuaJIT
src/luajit/src/host/genminilua.lua
9
11962
---------------------------------------------------------------------------- -- Lua script to generate a customized, minified version of Lua. -- The resulting 'minilua' is used for the build process of LuaJIT. ---------------------------------------------------------------------------- -- Copyright (C) 2005-2016 Mike P...
mit
kidaa/FFXIOrgins
scripts/zones/RuLude_Gardens/npcs/Magian_Moogle_Blue.lua
48
1855
----------------------------------- -- Area: Ru'Lude Gardens -- NPC: Magian Moogle (Blue Bobble) -- Type: Magian Trials NPC (Relic Armor) -- @pos -6.843 2.459 121.9 64 ----------------------------------- package.loaded["scripts/zones/RuLude_Gardens/TextIDs"] = nil; package.loaded["scripts/globals/magiantrials"] = nil;...
gpl-3.0
UB12/mr690
plugins/ingroup.lua
24
53144
do -- Check Member local function check_member_autorealm(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 -- Group configuration data[tostr...
gpl-2.0
roboxt/ss
plugins/spam.lua
34
1560
-------------------------------------------------- -- ____ ____ _____ -- -- | \| _ )_ _|___ ____ __ __ -- -- | |_ ) _ \ | |/ ·__| _ \_| \/ | -- -- |____/|____/ |_|\____/\_____|_/\/\_| -- -- -- --------------...
gpl-2.0
emoses/hammerspoon
extensions/base64/init.lua
18
1412
--- === hs.base64 === --- --- Base64 encoding and decoding --- --- Portions sourced from (https://gist.github.com/shpakovski/1902994). local module = require("hs.base64.internal") -- private variables and methods ----------------------------------------- -- Public interface -----------------------------------------...
mit
kidaa/FFXIOrgins
scripts/zones/Aht_Urhgan_Whitegate/npcs/Ratihb.lua
2
3224
----------------------------------- -- Area: Aht Urhgan Whitegate -- NPC: Ratihb -- Standard Info NPC -- @pos 75.225 -6.000 -137.203 50 ----------------------------------- package.loaded["scripts/zones/Aht_Urhgan_Whitegate/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); requir...
gpl-3.0
aurelien-defossez/ecusson
game/lib/ecusson/DeferredTaskHandler.lua
3
3036
----------------------------------------------------------------------------------------- -- -- Author: Aurélien Defossez -- (c) 2014 Tabemasu Games (www.tabemasu.com) -- -- DeferredTaskHandler.lua -- -- An event handler that piles events for a deferred resolution -- ----------------------------------------------------...
lgpl-3.0
kidaa/FFXIOrgins
scripts/globals/weaponskills/shoulder_tackle.lua
4
1376
----------------------------------- -- Shoulder Tackle -- Hand-to-Hand weapon skill -- Skill Level: 40 -- Stuns target. Chance of stunning varies with TP. -- Will stack with Sneak Attack. -- Aligned with the Aqua Gorget & Thunder Gorget. -- Aligned with the Aqua Belt & Thunder Belt. -- Element: None -- Modifiers: VIT:3...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Riverne-Site_A01/Zone.lua
1
1818
----------------------------------- -- -- Zone: Riverne-Site_A01 -- ----------------------------------- package.loaded["scripts/zones/Riverne-Site_A01/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Riverne-Site_A01/TextIDs"); require("scripts/globals/status"); require("scripts/globals/se...
gpl-3.0
MarcoQin/AyrLand
scripts/behaviourtree/test.lua
1
1631
local t = 0 math.random() math.random() math.random() math.random() function GetTime() return t -- return os.time() end local test1root = SequenceNode( { ActionNode( function() print("Looking") end, "LookNode" ), ConditionWaitNode( ...
mit
kidaa/FFXIOrgins
scripts/zones/Arrapago_Reef/npcs/qm10.lua
4
2891
----------------------------------- -- Area: Arrapago Reef -- NPC: ??? -- Starts: Corsair Af1 ,AF2 ,AF3 -- @pos 457.128 -8.249 60.795 54 ----------------------------------- require("scripts/globals/status"); require("scripts/globals/quests"); require("scripts/globals/titles"); require("scripts/zones/Arrapago_Reef/Tex...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/mobskills/Havoc_Spiral.lua
10
1098
--------------------------------------------- -- Havoc Spiral -- -- Description: Deals damage to players in an area of effect. Additional effect: Sleep -- Type: Physical -- 2-3 Shadows -- Range: Unknown -- Special weaponskill unique to Ark Angel MR. Deals ~100-300 damage. -----------------------------------------...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Northern_San_dOria/npcs/Calovour.lua
36
1427
----------------------------------- -- Area: Northern San d'Oria -- NPC: Calovour -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Northern_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globals/quests...
gpl-3.0
MOSAVI17/Security1
plugins/meme.lua
637
5791
local helpers = require "OAuth.helpers" local _file_memes = './data/memes.lua' local _cache = {} local function post_petition(url, arguments) local response_body = {} local request_constructor = { url = url, method = "POST", sink = ltn12.sink.table(response_body), headers = {}, red...
gpl-2.0
lordporya/lord-dark
plugins/meme.lua
637
5791
local helpers = require "OAuth.helpers" local _file_memes = './data/memes.lua' local _cache = {} local function post_petition(url, arguments) local response_body = {} local request_constructor = { url = url, method = "POST", sink = ltn12.sink.table(response_body), headers = {}, red...
gpl-2.0
RockySeven3161/Unknown.
plugins/meme.lua
637
5791
local helpers = require "OAuth.helpers" local _file_memes = './data/memes.lua' local _cache = {} local function post_petition(url, arguments) local response_body = {} local request_constructor = { url = url, method = "POST", sink = ltn12.sink.table(response_body), headers = {}, red...
gpl-2.0
Clavus/LD32
engine/classes/sprite/sprite.lua
2
2649
------------------------ -- Sprite class. -- Your standard animated sprite class. -- -- Derived from @{Object}. -- @cl Sprite local Sprite = class("Sprite") function Sprite:initialize( sData ) self._image = sData.image self._offset = sData.offset or Vector(0,0) self._size = sData.size or Vector(self._image:getWid...
mit
kidaa/FFXIOrgins
scripts/zones/Tavnazian_Safehold/npcs/Pradiulot.lua
4
2321
----------------------------------- -- Area: Tavnazian Safehold -- NPC: Pradiulot -- Involved in Quest: Unforgiven -- @zone 26 -- @pos -20.814 -22 8.399 ----------------------------------- package.loaded["scripts/zones/Tavnazian_Safehold/TextIDs"] = nil; ----------------------------------- require("scripts/zones/Tavnaz...
gpl-3.0
BTAxis/naev
dat/ai/include/atk_fighter.lua
9
4835
--[[This file contains the attack profiles by ship type. --commonly used range and condition-based attack patterns are found in another file --Think functions for determining who to attack are found in another file --]] -- Initializes the fighter function atk_fighter_init () mem.atk_think = atk_fighter_think me...
gpl-3.0
kidaa/FFXIOrgins
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
ChaosForge/doomrl
bin/lua/klass.lua
2
8777
function DoomRL.load_klasses() register_klass "marine" { name = "Marine", char = "M", traits = { { id = "ironman", max = 3, max_12 = 5 }, { id = "finesse", max = 2, max_12 = 3 }, { id = "hellrunner", max = 2, max_12 = 3 }, { id = "nails", max = 2, max_12 = 3 }, { id = "b...
gpl-2.0
oralius/gto
plugins/welcome.lua
5
5348
------------------------------------------ -- DBTeam DBTeam DBTeam DBTeam DBTeam --- -- Welcome by @xxdamage --- -- multilanguage and fix by@Jarriz --- ------------------------------------------ function chat_new_user(msg) local name = msg.action.user.first_name:gsub('_', ' ') local id = msg....
gpl-2.0
ForgedAddons/StayFocused_AutoShot
Config.lua
1
2609
local frame = CreateFrame("Frame", nil, InterfaceOptionsFramePanelContainer) frame.name = "Auto Shot (plugin)" frame.parent = "Stay Focused!" frame:Hide() local title, subtitle = LibStub("tekKonfig-Heading").new(frame, "|cffa0a0f0Stay Focused!|r Auto Shot", "Options for auto shot bar.") local ICONSIZE, ICONGAP, GAP, ...
apache-2.0
samueljackson92/scripts
love/roguelike/gui/gui.lua
1
1075
GUI = { fonts = { DEFAULT = love.graphics.getFont(), MAIN_HEADING = love.graphics.newFont("images/GODOFWAR.TTF", 50), MENU_LARGE = love.graphics.newFont("images/GODOFWAR.TTF", 20), MAIN_SUBHEADING = love.graphics.newFont("images/MORPHEUS.TTF", 20), }, } -- Basic UI Components require "gui/guicomponent.lua"...
mit
raziel-carvajal/splay-daemon
src/lua/modules/splay/urpc.lua
2
13616
--[[ Splay ### v1.3 ### Copyright 2006-2011 http://www.splay-project.org ]] --[[ This file is part of Splay. Splay 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 L...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Dynamis-Xarcabard/mobs/Icon_Prototype.lua
2
1391
----------------------------------- -- Area: Dynamis Xarcabard -- NPC: Icon Prototype ----------------------------------- package.loaded["scripts/zones/Dynamis-Xarcabard/TextIDs"] = nil; ----------------------------------- require("scripts/globals/status"); require("scripts/globals/dynamis"); require("sc...
gpl-3.0
kidaa/FFXIOrgins
scripts/globals/items/bowl_of_pea_soup.lua
1
1338
----------------------------------------- -- ID: 4416 -- Item: bowl_of_pea_soup -- Food Effect: 3Hrs, All Races ----------------------------------------- -- Vitality -1 -- Agility 1 -- Ranged Accuracy 5 -- HP Recovered While Healing 3 ----------------------------------------- require("scripts/globals/status"); ------...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Kazham/Zone.lua
4
1292
----------------------------------- -- -- Zone: Kazham (250) -- ----------------------------------- ----------------------------------- -- onInitialize ----------------------------------- function onInitialize(zone) end; ----------------------------------- -- onZoneIn ---------------------------------...
gpl-3.0
mohammadjkh/PowerTeam
plugins/extra.lua
1
4021
local action = function(msg, blocks, ln) if msg.chat.type == 'private' then return end if blocks[1] == 'extra' then if not is_mod(msg) then return end if not blocks[2] then return end if not blocks[3] and not msg.reply then return end if msg.reply and not blocks[3] then local file_id, media_wi...
gpl-2.0
Fatalerror66/ffxi-a
scripts/zones/Sauromugue_Champaign/npcs/qm3.lua
4
1464
----------------------------------- -- Area: Sauromugue Champaign -- NPC: qm3 (Tower 3) -- Type: Standard NPC -- -- THF Quest "As Thick As Thieves" -- @zone: 120 -- @where x414, y16, z-131 ----------------------------------- package.loaded["scripts/zones/Sauromugue_Champaign/TextIDs"] = nil; ----------------------...
gpl-3.0
xia-lixun/libvsthostm
Trunk/hetero/Release/host.lua
1
6674
--#!/bin/lua --configurations for simple vst host --lixun.2016 --------------------------------------- -- OBS! DON'T TOUCH SECTION BELOW! -- --------------------------------------- GlobalModuleCount = 0 --13 InputModuleSize = 0 --2 OutputModuleSize = 0 --2 PluginModuleSize = 0 --9 InputModul...
mit
sinaw1/igroup
plugins/owners.lua
284
12473
local function lock_group_namemod(msg, data, target) local group_name_set = data[tostring(target)]['settings']['set_name'] local group_name_lock = data[tostring(target)]['settings']['lock_name'] if group_name_lock == 'yes' then return 'Group name is already locked' else data[tostring(target)]['setting...
gpl-2.0
alikineh/ali_kineh
plugins/boobs.lua
731
1601
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
Fatalerror66/ffxi-a
scripts/zones/Dynamis-Windurst/npcs/qm1.lua
2
1228
----------------------------------- -- Area: Dynamis Windurst -- NPC: ??? (Spawn when mega is defeated) ----------------------------------- package.loaded["scripts/zones/Dynamis-Windurst/TextIDs"] = nil; ----------------------------------- require("scripts/globals/keyitems"); require("scripts/zones/Dynamis-Wi...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/weaponskills/backhand_blow.lua
6
1226
----------------------------------- -- Backhand Blow -- Hand-to-Hand weapon skill -- Skill Level: 100 -- Deals params.critical damage. Chance of params.critical hit varies with TP. -- Aligned with the Breeze Gorget. -- Aligned with the Breeze Belt. -- Element: None -- Modifiers: STR:30% ; DEX:30% -- 1...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Port_Jeuno/npcs/_6u8.lua
4
1512
----------------------------------- -- Area: Port Jeuno -- NPC: Door: Departures Exit (for Kahzam) -- @zone 246 -- @pos -12 8 54 ----------------------------------- package.loaded["scripts/zones/Port_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/globals/settings"); require("scripts/globa...
gpl-3.0
FilthyPeasantDEV/PokeBot
BizHawk-1.11.6/Lua/SNES/Contra 3.lua
7
3522
---------------------------------------------- -----Contra III hitbox viewer script SNES----- ---------------------------------------------- --Player Colors: --Gold = Invuln --Blue = Vulnerable --Enemy colors: --Red = Can be touched and hit with projectiles --Green = Can be hit with projectiles but has no collision ...
mit
Fatalerror66/ffxi-a
scripts/zones/Windurst_Woods/npcs/Mheca_Khetashipah.lua
5
1047
----------------------------------- -- Area: Windurst Woods -- NPC: Mheca Khetashipah -- Type: Standard NPC -- @zone: 241 -- @pos: 66.881 -6.249 185.752 -- -- Auto-Script: Requires Verification (Verfied by Brawndo) ----------------------------------- package.loaded["scripts/zones/Windurst_Woods/TextIDs"] = nil; --...
gpl-3.0
kidaa/FFXIOrgins
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
Fatalerror66/ffxi-a
scripts/zones/Bastok-Jeuno_Airship/Zone.lua
7
1324
----------------------------------- -- -- Zone: Bastok-Jeuno_Airship -- ----------------------------------- ----------------------------------- -- onInitialize ----------------------------------- function onInitialize(zone) end; ----------------------------------- -- onZoneIn ----------------------...
gpl-3.0
Fatalerror66/ffxi-a
scripts/globals/items/bowl_of_whitefish_stew.lua
2
1484
----------------------------------------- -- ID: 4440 -- Item: Bowl of Whitefish Stew -- Food Effect: 180Min, All Races ----------------------------------------- -- Health 10 -- Dexterity 3 -- Mind -3 -- Accuracy 3 -- Ranged ACC % 7 -- Ranged ACC Cap 10 ----------------------------------------- require("s...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Lower_Jeuno/npcs/Kurou-Morou.lua
2
5247
----------------------------------- -- Area: Lower Jeuno -- Starts and Finishes Quest: Your -- Crystal Ball & Never to return -- @zone 245 -- @pos -4 -6 -28 ----------------------------------- package.loaded["scripts/zones/Lower_Jeuno/TextIDs"] = nil; ----------------------------------- require("scripts/glob...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/Port_San_dOria/npcs/Arminibit.lua
4
1536
----------------------------------- -- Area: Port San d'Oria -- NPC: Arminibit -- Standard Info NPC ----------------------------------- package.loaded["scripts/zones/Port_San_dOria/TextIDs"] = nil; ----------------------------------- require("scripts/globals/quests"); require("scripts/zones/Port_San_dOria/TextIDs"); ...
gpl-3.0
Fatalerror66/ffxi-a
scripts/zones/Balgas_Dais/npcs/Armoury_Crate.lua
36
1024
----------------------------------- -- Area: Balgas Dais -- NPC: Armoury Crate -- Balgas Dais Burning Cicrcle Armoury Crate ----------------------------------- package.loaded["scripts/zones/Balgas_Dais/TextIDs"] = nil; ------------------------------------- require("scripts/globals/titles"); require("scripts/...
gpl-3.0
kidaa/FFXIOrgins
scripts/zones/FeiYin/npcs/Underground_Pool.lua
2
2233
----------------------------------- -- Area: FeiYin -- NPC: Underground Pool -- Involved In Quest: Scattered into Shadow -- @pos 7 0 32 204 (H-8) -- @pos 7 0 247 204 (H-5) -- @pos -168 0 247 204 (F-5) ----------------------------------- package.loaded["scripts/zones/FeiYin/TextIDs"] = nil; ----------------------------...
gpl-3.0
wizawu/meeci-worker
worker.lua
1
7111
#!/usr/bin/luajit local io = require("io") local os = require("os") local string = require("string") local http = require("socket.http") local json = require("dkjson") local memcache = require("memcached") local nonblock = require("nonblock") -- check effective uid if io.popen("whoami"):read("*l") ~= "root" then ...
mit
droid4control/esp8266-luasdp
init.lua
1
1266
local function start(nextfile) -- This code is based on https://github.com/marcoskirsch/nodemcu-httpserver local compileAndRemoveIfNeeded = function(f) if file.open(f) then file.close() print('Compiling:', f) node.compile(f) file.remove(f) print('Compiled:', f) collectgarbage() return 1 end ...
mit