What does' disturbed' mean in quest

Example: this.disturbed<3

I'm thinking it might mean checking on the number of times a room has been entered.


It means whatever the author of the game set it to. It isn't one of Quest's core attributes.

If it's counting the number of times something has been touched, moved, or entered, then I would expect there is a line somewhere that looks like this.disturbed = this.disturbed + 1 to increase it.


I just looked again at the cloak of darkness game, which includes this line.
There's a turnscript in the room "bar", so it will run every turn while the player is there. It increases message.count by 1 every time, and if the count is already over 1 (so starting from the second turn in the room) it increases message.disturbed as well, and prints a message. message.count seems to be set back to zero when leaving the room.

So, in that game message.disturbed is the number of turns the player has spent in the bar, excluding the turn(s) they entered the room.


Hi mrange.
Yes it was clock of darkness that I discovered this command.
So that would mean the player needs to say in the bar for three turns (may be 4) for the message in the dust to say "You loss"
The moral of the game is to look at the obvious before looking at the last obvious.


This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums