How to check inventory for object

goosey
14 Dec 2023, 19:39

How do you have a room and or character print a message in response to something in your inventory? like if the player has a FreshCookie in their inventory I'd want a character to print "whats that smell?"


mrangel
16 Dec 2023, 10:40

You could do something like:

if (Got (FreshCookie)) {
  msg ("What's that smell?")
}