Exemple #1
0
 def make_instant_soup():
     utils.eat(self.bread)
     utils.remove_from_inventory(self.bread.name)
     game.show_message(
         "You eat a whole loaf of bread. That's a lot of bread to eat in 5 minutes."
     )
     self.check_cookable()
Exemple #2
0
 def make_instant_noodles():
     utils.eat(self.instant_noodles)
     utils.remove_from_inventory(self.instant_noodles.name)
     game.show_message(
         "You cook some Instant noodles and eat them. The flavoring is a little bit off."
     )
     self.check_cookable()
Exemple #3
0
 def make_instant_soup():
     utils.eat(self.instant_soup)
     utils.remove_from_inventory(self.instant_soup.name)
     game.show_message(
         "You cook a cup of Instant soup. It doesn't taste amazing, but at least it's hot."
     )
     self.check_cookable()
Exemple #4
0
 def eat():
     #eat
     game.game_state.show_message("The food is edible.")
     self.last_lunch = game.game_state.time.replace(hour=0,
                                                    minute=0,
                                                    second=0)
     lunch = utils.Food(name="Canteen lunch", saturation=.5)
     utils.eat(lunch)