Pretty much what the title says. Here is my code:
Cave is south of Field. "A dark, low cave that continues east. You need a lit torch to continue further." Further in the Cave is a dark room. It is east of Cave. "You have walked in the home of a Troll! You can not flee and need to fight it.".
I would like the description of the room ‘Cave’ to be “A dark, low cave that continues east.” if the player already has the item ‘flaming torch’. I’d also like to have the room ‘Further in the Cave’ to not be accesible if the player hasn’t got the flaming torch. Can anyone help me?