You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
uniform-unstick may leave items marked assigned with no owner (orphaned in plotinfo.equipment.items_assigned) #6044
-Squad uniform slots stayed red even though plenty of matching gear was in bins. Selecting an item for the slot showed every match as “assigned” or in use by another soldier.
-For the affected positions, each red slot’s uniform spec had item=-1, so the position held no item for that slot.
-I audited every squad position’s equipment.assigned_items, quiver, backpack, flask and uniform spec items across all squads, and compared that with df.global.plotinfo.equipment.items_assigned. Before cleanup, 243 of 424 entries were orphaned: armor 26/40, shoes 69/89, shield 16/32, helm 27/38, gloves 39/63, pants 29/41, backpack 6/38. Only 181 items were claimed by any position, with no duplicate claims.
-I moved the orphaned entries from items_assigned back to items_unassigned (skipping items held by units), then used “Update Equipment” on the squad screen. The red slots resolved within days.
-Later, after I ran “Try to resolve conflicts” again, a few steel armor items became orphaned again.
Activity