Implemented range & type checks on repair, inn, merchant/shop, quest NPCs. Also added range checks on loot & objects.