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



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