routine to grab number from input; dialog for sale of rations; better goal management for npcs