Dwarf Fortress Bug Tracker - Dwarf Fortress
View Issue Details
0010373Dwarf FortressDwarf Mode -- Reclaimpublic2017-11-27 09:252018-01-03 22:51
Toady One 
x84-64Windows10 - 1709
0010373: Artifacts in pedestals are duplicated when a fortress is retired
When I retired and unretired a fortress after placing a retrieved slab in a pedestal, the slab appeared outside the pedestal, but it was still in the pedestal at the same time.
- Send a squad to retrieve an artifact
- Place the artifact in a pedestal
- Retire the fortress
- Unretire it
http://dffd.bay12games.com/file.php?id=13352 [^] (0.44.03)
related to 0001179acknowledged lethosor Artifacts picked up in Adventure Mode get duplicated and disappear when leaving site 
related to 0010457confirmed Detros Adventurer inventory items found duplicated as loot in lairs, caves, etc. 
has duplicate 0010427resolved Loci Items prefer pedestals to backpacks 
Issue History
2017-11-27 09:25CharizardNew Issue
2017-12-23 07:42QuietustNote Added: 0037386
2017-12-23 07:42QuietustNote Edited: 0037386bug_revision_view_page.php?bugnote_id=0037386#r15094
2017-12-26 04:39CharizardTag Attached: artifacts
2017-12-27 08:55lethosorRelationship addedrelated to 0001179
2017-12-27 08:56lethosorNote Added: 0037409
2017-12-27 08:56lethosorTag Detached: artifacts
2017-12-27 09:43CharizardNote Added: 0037411
2017-12-27 11:55lethosorDescription Updatedbug_revision_view_page.php?rev_id=15100#r15100
2017-12-27 11:56lethosorRelationship addedrelated to 0010457
2017-12-27 12:08lethosorNote Added: 0037413
2017-12-27 12:08lethosorAssigned To => lethosor
2017-12-27 12:08lethosorStatusnew => confirmed
2017-12-27 12:09lethosorTag Attached: 0.44.03
2017-12-27 12:09lethosorNote Edited: 0037413bug_revision_view_page.php?bugnote_id=0037413#r15102
2017-12-27 12:17lethosorNote Edited: 0037413bug_revision_view_page.php?bugnote_id=0037413#r15103
2017-12-27 12:17lethosorAdditional Information Updatedbug_revision_view_page.php?rev_id=15105#r15105
2018-01-03 22:51Toady OneNote Added: 0037491
2018-01-03 22:51Toady OneStatusconfirmed => resolved
2018-01-03 22:51Toady OneFixed in Version => Next Version
2018-01-03 22:51Toady OneResolutionopen => fixed
2018-01-03 22:51Toady OneAssigned Tolethosor => Toady One
2018-05-06 16:39LociRelationship addedhas duplicate 0010427

2017-12-23 07:42   
Possibly related to 0001179.

2017-12-27 08:56   
"the slab appeared outside the fortress"

Does this mean on the local map but outside of the display case, or somewhere else in the world?
2017-12-27 09:43   
On the local map.
2017-12-27 12:08   
(edited on: 2017-12-27 12:17)
Confirmed with a display case in 0.44.03. Some notes:

- The items are actually the same item_slabst instance, with an ID of 0
- The position of the item is outside of the display case, so zooming to it from the stocks screen goes there
- Dismantling the display case leaves just the display case

In other words, the display case doesn't actually contain the item, but the building's vectors (the two at the end of building_display_furniturest, separated by a pointer) still refer to it.

Edit: the save I tested: http://dffd.bay12games.com/file.php?id=13352 [^]

Toady One   
2018-01-03 22:51   
I've fixed this, though displayed items from old-version retired forts may scatter now (as the data couldn't be preserved.) They shouldn't scatter in the new version for new forts.