View Issue Details

IDProjectCategoryView StatusLast Update
0012728Dwarf FortressDwarf Mode -- Jobs, Burialpublic2024-03-14 20:21
Reportermyk002 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version50.11 
Summary0012728: Dwarves can be interred in tombs before the coffin is built
DescriptionIf a dwarf dies and is placed in a tomb, but the coffin in that tomb has been designated but not yet built, then the dwarf body will be placed "in" the unbuilt coffin. Once the coffin is successfully built, the both the body and coffin item will be marked as a building material.

Moreover, the body/skeleton will be displayed on the tile instead of the coffin forevermore.
Steps To Reproduce- Create a tomb zone and build a coffin in it
- Suspend the coffin build job
- Kill a dwarf
- The dwarf's body will be brought to the coffin
- Unsuspend the coffin build job and let it complete
- See the body/skeleton being listed first in the list of contained items, and the body is displayed instead of the coffin on that tile
Additional InformationWhen the body is brought to the unbuilt coffin, it is added to the contained_items vector and has use_mode == 0
When the coffin is brought to the already-interred body, the coffin building is "built", but the coffin is added *after* the body
Moreover, both the body and the coffin item are set to use_mode == 2. This indicates that instead of being placed "in" the building, the body was used to "build" the building.

I suspect what needs to happen is that when choosing a tomb to bury a body in, DF needs to check that the coffin building is fully built first.
Tagsburial, coffin, tomb

Activities

myk002

2024-03-14 13:30

reporter   ~0042099

I should note that this regularly happens even when the coffin build job is not suspended. If there are dwarves ready to be buried when a tomb site is designated and a coffin is planned, then the bodies can be brought to the new tomb site before the coffin is.

myk002

2024-03-14 13:48

reporter   ~0042100

this also appears to be related to dwarves trying to store clothes in unbuilt cabinets in bedroom zones, and may also be related to dwarves sometimes not being able to store items in location-associated chests (though that last one is speculation on my part)

ab9rf

2024-03-14 13:51

reporter   ~0042101

this is also likely related to the issue in which a dwarf will repeatedly store the same clothing item in their owned cabinet: the dwarf will store the owned item in the cabinet, but it doesn't go into the cabinet because the cabinet is bugged, resulting in the dwarf picking up the dropped owned item and storing it again, and again, and again...

this circumstance arises when the cabinet is scheduled to be built, but not yet built, at the time when the bedroom zone is created. if the cabinet is fully built when the zone is created, or is scheduled to be built after the zone has already been created, this behavior does not arise

JasonMel

2024-03-14 20:21

reporter   ~0042102

Sounds like nice work — are you folks able to link to these related issues?

Add Note

Note

Issue History

Date Modified Username Field Change
2024-03-14 13:26 myk002 New Issue
2024-03-14 13:26 myk002 Tag Attached: burial
2024-03-14 13:26 myk002 Tag Attached: coffin
2024-03-14 13:26 myk002 Tag Attached: tomb
2024-03-14 13:30 myk002 Note Added: 0042099
2024-03-14 13:48 myk002 Note Added: 0042100
2024-03-14 13:51 ab9rf Note Added: 0042101
2024-03-14 20:21 JasonMel Note Added: 0042102