Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
None
Purpose of change
Make use of palette parameters to shrink the size of the JSON contents for the modular shelter.
Describe the solution
Use palette parameters to consolidate beds into a single set of blueprints (instead of one set per type of bed), as well as doing the same with the construction materials.
Describe alternatives you've considered
Add additional construction materials. As there's already a non standard "normal" wall in the mix the result wouldn't have been a standard set anyway.
Add logic to deconstruct furniture rather than just replace it. Considered to be out of scope.
Not make use of fbmc_modular_shack.json palettes for beds. Since the files are called "fbmc" it was thought to be reasonable to make use of this somewhat out of scope definitions.
Testing
Constructed the full set of facilities except the radio tower (too much work to test something that remains unchanged) using log, brazier, and makshift beds on the first pass, inspecting things as construction progresses and killing the game after the final inspection. Repeat with rock, fireplace, and regular beds but no other common things, then "standard", wood stove, and makeshift beds, followed by just the next construction material (and brazier, as the cooking facility is a requirement to unlock construction), repeated for the last material.
Additional context
Had to add flags to specify items are allowed, as the door of the first room replaces a cabinet that has items in it. It's possible some of the other rooms have the same issue, but the flag was added to all of them (and the player may well drop things anyway).
It seems someone has made down mattresses useless cluttering red herrings by not allowing them to be used in bed construction any more. I'm quite sure regular and down mattresses used to be interchangeable.