lots of work on npc upkeep-orders / ai / cleaning up orders item code