Lethal Company
You are viewing a potentially older version of this package. View Latest Version
Install with App

Details

Date Uploaded
Downloads
533
Size
104KB

Ship_Layout_Restorer

Save your ship layout, lose the run, restore it later. Host only.

Needs ChatCommandAPI.

Commands

Type in chat. /f works instead of /furniture. # means a preset number. Type the number instead of #.

Command What it does
/furniture -s Saves your placed furniture to preset 0 (old save kept as a backup)
/furniture -r Restores preset 0, moving everything you own (terminal too)
/furniture -# Loads preset # (# = 0 to 10). Example: /furniture -3
/furniture -d# Shows what preset # would move and what is missing (# = 0 to 10). Example: /furniture -d3
/furniture -m Lists every missing item
/furniture -m# Lists the missing items for preset # (# = 0 to 10). Example: /furniture -m3
/furniture -s# Saves into your own slot # (# = 8, 9 or 10). Example: /furniture -s8
/furniture -n# Name Renames your own slot # (# = 8, 9 or 10). Example: /furniture -n8 My Ship
/furniture -c Stores all furniture and removes Cozy lights. Keeps cupboard and Signal translator
/furniture -h Quota helper: stores everything (not Cozy lights). Use again to bring your layout back (survives a restart)
/furniture -u Undo the last restore or clear (use again to redo)
/furniture -p Lists preset names
/furniture -l Total luck of your furniture. Welcome mat and Cozy lights always count
/furniture -cz Removes Cozy lights, or brings them back if they are removed
/furniture -cozy Same as -cz

Furniture you don't own yet is skipped and listed as missing. Commands only work in orbit or when landed.

Welcome mat and Cozy lights

The game can't store these. -c and -h can store the Welcome mat, and -h or -u brings it back.

Cozy lights have their own commands. -c removes them, and -cz or -cozy removes or restores them at any time. No other command (-h, -u, -0 to -10) changes them. They stay bought and only the host sees them removed. When they come back, they match the ship lights again.

Cozy lights and Welcome mat always count in -l, even when removed or stored.

Presets

  • 0 Saved (yours)
  • 1 My Setup
  • 2 Crazy Teleporter (teleporter on its side)
  • 3 Beehive
  • 4 Mirrored
  • 5 Inverted (every item upside down)
  • 6 Ceiling Furniture
  • 7 Outside Furniture Grid
  • 8-10 Your own slots

Presets 1-7 share the same light switch spot and can't be overwritten by -s.

Updating from an older version: your own slots 7-9 move to 8-10. Presets 1-7 reset to the shipped layouts.

Files

  • Crispy_Depression.Ship_Layout_Restorer.cfg: settings
    • Keep_On_Clear: what -c and -h leave on the ship
    • Store_Mat_And_Lights: lets -c and -h store Welcome mat, and -c remove Cozy lights
    • Auto_Place_Buys: new purchases go to their preset 0 spot
    • Presets_File: the preset list file below
  • Crispy_Depression.Ship_Layout_Restorer.Presets.txt: all 11 presets (sits next to the dll, made on first launch)

Each preset has one line per furniture: x, y, z | rotX, rotY, rotZ. Edit freely, any rotation works. default = original spot, empty = skip. Changes are picked up on the next command, no restart needed.

Install

Install with a mod manager. It also installs BepInEx and ChatCommandAPI. Only the host needs the mod.

Thunderstore development is made possible with ads. Please consider making an exception to your adblock.