Hey, y’all. How would I go about changing the “look” text of a room when specific items are present? I want to add “It smells terrible” onto the preexisting description of any room a pile of laundry enters, and take it away when it leaves without having to make “if” statements for every single room. How can I add “It smells terrible” to a preexisting description?
After looking when the pile of laundry is touchable:
say "It smells terrible.";
continue the action.
This will print it if the laundry is in the room and can be touched by the player, i.e. not in a sealed container. You can replace “touchable” with “visible” if you don’t care about this requirement.
Perfect. Thanks a billion.