MADS: Clean up the Rex object IDs a bit
MADS: Replace some more magic values for inventory items and actions