Simplify.
Add an 'item_slot' option (#9275).

Works much like spell_slot.
Make a function static.
#define a magic position.