Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 579 Bytes

File metadata and controls

25 lines (17 loc) · 579 Bytes

fix/item-occupancy

.. dfhack-tool::
    :summary: Fixes errors with phantom items occupying site.
    :tags: fort bugfix map

This tool diagnoses and fixes issues with nonexistant 'items occupying site', usually caused by hacking mishaps with items being improperly moved about.

Usage

fix/item-occupancy

Technical details

This tool checks that:

  1. Item has flags.on_ground <=> it is in the correct block item list
  2. A tile has items in block item list <=> it has occupancy.item
  3. The block item lists are sorted