Skip to content

Instantly share code, notes, and snippets.

View Mkeefeus's full-sized avatar
🎯
Focusing

Malcolm Keefe Mkeefeus

🎯
Focusing
View GitHub Profile
@Mkeefeus
Mkeefeus / DH1AnyPotions.md
Last active July 28, 2023 21:53
Dishonored Any% Mana Potion Breakdown

Dishonored Any% Mana Potion Breakdown

Note: This route is based off of Long John Steven's / Lurvens PBs/WR as of 7/28/2023. It will detail what potions are picked up, and how many are in inventory at the start and end of each "Screen". After each pickup in parenthesies will be how many potions the player has in their inventory after the pickup.

The Outsider

Screen 1 (The Void)

lib.addCommand({
name = {'additem', 'giveitem'},
description = "Give an item to a player",
groups = {'admin', 'moderator'},
args = {
{
name = "target",
description = "Server ID",
type = "number",
required = true
@Mkeefeus
Mkeefeus / missingmodels.lua
Created December 28, 2022 23:10
Get vehicles missing from vehicle list
RegisterCommand('models', function ()
local models = GetAllVehicleModels()
local missingVehicles = {}
for i = 1, #models do
if not VehicleList[models[i]] then
missingVehicles[#missingVehicles+1] = models[i]
end
end
lib.setClipboard(json.encode(missingVehicles))
end)
@Mkeefeus
Mkeefeus / QBInputToOx_lib.lua
Created November 14, 2022 20:43
Convert qb-input to ox_lib
local function convertToOx(data)
local name = data.header
local oxData = {}
local names = {}
local required = {}
local nextLabel = nil
for k, v in ipairs(data.inputs) do
if v.isRequired then
required[k] = true
end
@Mkeefeus
Mkeefeus / QBMenuToOx_Lib.lua
Created November 14, 2022 20:36
QBMenu to ox_lib
local function convertToOx(data)
local oxData = {
id = 'qbmenu_convert',
title = nil,
onExit = function()
if curCB then
curCB(nil)
curCB = nil
end
end,