Sandbox command list


In BitRooms 1.2, I've made some previously developer-only commands accessible on gamesaves with the sandbox mode. This is a list of them.

Free stuff

give - adds items to your inventory. Takes the item's name or numerical ID and the desired amount (optional) as inputs. Examples: "give energybar", "give 0", "give knife 5"

giveeqp - adds equipment (clothing/backpacks) to your inventory. Takes the name or numerical ID as inputs. Examples: "giveeqp shirt", "giveeqp 0"

prop - spawns a prop on the player's current position, and moves the player. Takes the prop's numerical ID as input. Examples "prop 0" (spawns a wooden crate), "prop 57" (spawns a washing machine)

vehicle - adds a vehicle object as an item. For now the only working option is a drone. Examples: "vehicle 0"


Player

clear - clears the inventory

tp - teleports you to the provided coordinates. Example: "tp 0 0"

kill - instantly kills you.

setspawn - sets your respawn point to your current location.

heal - sets your hp to full and removes all injuries.

fullness - sets your fullness (hunger bar). Example: "fullness 0.7" (30% hungry)

hydration - sets your hydration (thirst bar). Example: "hydration 0.7" (30% thirsty)

tired - sets your tiredness. Example: "tired 0.5"


Entities

summon - spawns an entity near the player. Takes the entity's numerical ID and amount (optional) as input. Examples: "summon 1" (spawns a duller)"summon 1 20" (spawns 20 dullers)

killall - kills all entities. Doesn't kill the player.


World

unloadall - unloads all chunks, making the game load them again in a second.

drain - removes all liquids from loaded chunks.

temptest - colors all nearby tiles based on their temperature.

map - exports a map image with specified loading distance (in chunks).  May take a while to finish. Example: "map 4"

exportchunk - exports the chunk you're currently in as a structure, that can be opened in the level editor.

lootdbg - counts all items in loaded chunks. You can set the loading distance if you want to. Example "lootdbg 10"

portaldbg - counts all portals (level doors) in loaded chunks. You can set the loading distance if you want to. Example "portaldbg 10"


Level
setlevel - sends you to the specified level. Examples: "setlevel 1", "setlevel 68"

event - sets the current level event based on a provided numerical ID. Example: "event 1" (starts a lights off event)

endevent - stops the current level event.

light - sets the ambient light brightness on the level. Example: "light 0.7"


Other

save - saves the game.

timewarp - multiplies the delta time, making everything go faster/slower. Example: "timewarp 5"

Get BitRooms

Leave a comment

Log in with itch.io to leave a comment.