Bugfix for items loaded from raws

Items loaded from the raws are failing to get at their iuse functions, because the mapping table wasn't being initialized soon enough.