I would like to make a rather large request.
Would it be possible to make a tool which removes ownership from all items in the fort?
Back in 40d (and 23a), one of the item flags was "owned by a dwarf" (flag 0x00010000), and clearing that flag would permit other dwarves to pick up the item and stockpile it (or, better yet, dump it). Clearing this flag wouldn't cause the item to stop
displaying as owned (that's stored in a vector elsewhere, along with information on where the object is contained, be it a creature or a container object), but it would permit another dwarf to claim it. I haven't checked lately in 0.31.xx, but all of this should still be the case.
[edit] I've just tested this in 0.31.25 and it works correctly.
As a side note, a bunch of the naked_itemflags values seem to be wrong - they're labeled as being correct in 40d, though I know for a fact that everything between "in_inventory" and "rotten" (and possibly several others) are off by 1.
Item flags:
0x00000001 - on ground
0x00000002 - tasked
0x00000004 - ?
0x00000008 - in inventory/container
0x00000010 - lost (artifact)
0x00000020 - part of building
0x00000040 - ?
0x00000080 - ?
0x00000100 - rotten
0x00000200 - ?
0x00000400 - ?
0x00000800 - ?
0x00001000 - ? (previously flagged artifacts)
0x00002000 - ?
0x00004000 - imported/foreign (in parentheses)
0x00008000 - ? (previously marked trade goods)
0x00010000 - owned by dwarf
0x00020000 - ?
0x00040000 - ?
0x00080000 - forbidden
0x00100000 - ?
0x00200000 - dump
0x00400000 - on fire
0x00800000 - melt
0x01000000 - hidden
0x02000000 - ?
0x04000000 - ?
0x08000000 - ?
0x10000000 - ?
0x20000000 - ?
0x40000000 - ?
0x80000000 - ?