Hello. I am using Harlowe 2.0.1 and Twine online (2.1.3) I am trying to have the character not being able to go to one room before he's visited the bathroom. I have managed to do this with 2 variables, but when I go back to the first room from the bathroom, I still have to re-do everything in that passage before I can go on to the next room I want. (when I get to the point I can continue on just fine, but it would make no sens in the story to redo everything in the room twice.
(set: $toiletVisit to false)
(if: $visit2 is true) [(set: $toiletVisit to true)]
Zzzzzzzz.....
Zzzzzz....
Light streaming in through the windows finally reached my face and I blinked my eyes open. In my half awake state, I glanced around the room and wondered where I [was]<myRoom|.
(click: ?myRoom) [The room wassmall with only one bed in it, to the left of the bed was a [window]<annoyingWindow|. Sitting up, I could see my bag dropped by the end of the bed. A [[door->doorBath]] to the bathroom was besides the [door]<doorDown| downstairs.]
(click-replace:?annoyingWindow) [dysty window that somehow still let those traitorus beams of sunlight through to hit my face.]
(click: ?doorDown) [(if: $toiletVisit is false)[I should freshen up first]
(if: $toiletVisit is true) [I should head [[downstairs]]]
]
-------------------------------------
(set: $toiletVisit to true)
(set: $visit2 to true)
The bathroom was tiny. Only a small sink with a [mirror]<appearance| and a toilet. If I am finished oing my business, I guess I am finished [[here->Morning]].
(click: ?appearance) [You looked at yourself in the mirror. You looked like you just woke up.]
The first code snippet is the first room you're in. the second is the bathroom I want to enter and then leave to go back to the first room.
I hope I was clear enough in my question, and any help would be apprechiated