Working inventory population script, at least for Materials and Rooms.