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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Function Install-WinGet { | |
########################################################################################################## | |
<# | |
.SYNOPSIS | |
Installs the latest github release of WinGet to the local machine. | |
.DESCRIPTION | |
This function downloads the latest release of WinGet from the github repository and installs it to the local machine. | |
The function will download the msixbundle and dependencies zip file to a temporary directory, extract the dependencies | |
and install the msixbundle. The temporary files will be removed after the installation is complete. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |