# BasedItemSaving

Saves the exact position, rotation and variant of every item on the ship. Items placed on furniture also save. And TZP fuel, Spray Paint/Weed Killer fuel and battery charge. And item saving in the cruiser.

Note that items that don't use the vanilla mesh/material variant fields in their item properties will not save, as they use their own methods to apply variants to items, such as [UpturnedVariety](https://thunderstore.io/c/lethal-company/p/ButteryStancakes/UpturnedVariety/).

**`Item saving` in DawnLib's config must be set to false for this mod to work. False means DawnLib's Item Saving IS enabled.**

## Config

Unlockables can be excluded using their namespaced keys, because some unlockables handle item restoration themselves or don't play well with items reparenting to them. By default, all pocket rooms from [Pocket Rooms MelanieMelicious](https://old.thunderstore.io/c/lethal-company/p/MelanieMelicious/Pocket_Rooms_MelanieMelicious/), [Beanies Pocket Rooms](https://old.thunderstore.io/c/lethal-company/p/Beaniebe/Beanies_Pocket_Rooms/) and [MisideItems](https://old.thunderstore.io/c/lethal-company/p/mr_hat/MisideItems/), and all unlockables from [Melanie Crafting Core](https://old.thunderstore.io/c/lethal-company/p/MelanieMelicious/Melanie_Crafting_Core/) and [Farming and Cooking Mod MelanieMelicious](https://old.thunderstore.io/c/lethal-company/p/MelanieMelicious/Farming_and_Cooking_Mod_MelanieMelicious/) are blacklisted by default.

## Recommendation

- [Matty Fixes](https://old.thunderstore.io/c/lethal-company/p/mattymatty/Matty_Fixes/)
	- Fixes bad item rotations. Also important if you want vanilla items to reparent to furniture properly with this mod
- [BasedDecorPlacement](https://old.thunderstore.io/c/lethal-company/p/mr_hat/BasedDecorPlacement/)

## Credits

- [XuXiaolan](https://thunderstore.io/c/lethal-company/p/XuXiaolan/) and contributors for creating DawnLib.