ZDDduesseldorf / zdd_adventure2023

Old-school text adventure playing in the ZDD building.
MIT License
7 stars 6 forks source link

New recipe added for Meatballs #64

Open redibaj opened 10 months ago

redibaj commented 10 months ago

As we like to open a new corner with meatball sandiwiches, we created a new special perfect recipe that will make every student and professor fall in love with our product.

The meatballs recipe is written inside zdd_adventure2023, in zdd_rooms file.

Jxshyz commented 10 months ago

Code looks fine, only two points could be a problem

1: The Meatball recipe is supposed to be an Item for my understanding but is created as an own class. I don't know if that's a problem but it might be 2: When running the code the meatball recipe will be printed. Try adding a trigger for that like "if inspect == True" for the recipe

julietteyek commented 10 months ago

Hi, I agree with Joshua pointing out that the recipe should only be shown after an input is done. You could do a short introduction to / description of the room and then, maybe, when the player is asked to pick up a book and he/she says yes, the recipe could be displayed. Or any other trigger :) Also, there doesn't seem to be an Item in the room: Perhaps let the player take a recipe into the inventory?

But also kind of a funny thing to let the recipe act as a room, so you get confronted with it if you want or not: after all you typed "enter meatballrecipe" :D