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

Details

Date Uploaded
Downloads
535
Size
102KB

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.

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 -1 ... -9 Loads that preset
/furniture -d3 Shows what preset 3 would move and what is missing
/furniture -m Lists every missing item
/furniture -s7 Saves into your own slot (7, 8 or 9)
/furniture -n7 Name Renames slot 7, 8 or 9
/furniture -c Stores all furniture. Keeps cupboard and Signal translator
/furniture -h Quota helper: stores everything. 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 furniture placed on the ship (not stored)

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

Store Welcome mat and Cozy lights (experimental)

The game can't store these. -c and -h can store them, and -h or -u brings them back. Turn it off with Store_Mat_And_Lights.

Presets

  • 0 Saved (yours)
  • 1 My Setup
  • 2 Crazy Teleporter (teleporter on its side)
  • 3 Beehive
  • 4 Mirrored
  • 5 Ceiling Furniture
  • 6 Outside Furniture Grid
  • 7-9 Your own slots

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

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 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 10 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.

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