dfhack icon indicating copy to clipboard operation
dfhack copied to clipboard

Automatically make beds and burial receptacles available for use

Open maxinfet opened this issue 3 years ago • 1 comments

This is an idea I'm going to look into but I wanted to make an issue for it in case I don't get around to it. After I place beds I have to wait for my dwarves to come place them before I can click r to make them into a bedroom.

A similar issue exist with burial receptacles where when I place a burial receptacle I have to wait for the dwarves to get there and then press q to turn it into a usable burial receptacle.

Because of this generally half my beds or coffins are not currently in use just because I haven't hit r or q on them. I'm not sure what the easiest way to do this would be. It could be something like a auto unsuspend where it runs periodically and looks for rooms that are not turned into bedrooms or coffins that are not assigned. I'm also not sure if these properties are exposed through DF hack yet.

maxinfet avatar Feb 13 '22 02:02 maxinfet

Burial receptacles are handled with the burial script, but I'm not aware of anything for beds.

Beds are a little trickier, though, since there are more uses for beds than bedrooms: rented rooms for taverns, barracks, dormitories

You could filter out beds that are already within the bounds of an existing room. That might solve the problem.

Another solution is to use quickfort to place the beds and then turn them all into rooms with a blueprint.

Burial script: https://docs.dfhack.org/en/stable/docs/_auto/base.html#burial

Quickfort: https://docs.dfhack.org/en/stable/docs/_auto/base.html#quickfort

Example quickfort bedroom level blueprint: https://docs.google.com/spreadsheets/d/1QNHORq6YmYfuVVMP5yGAFCQluary_JbgZ-UXACqKs9g/edit?usp=drivesdk

myk002 avatar Feb 13 '22 03:02 myk002