Examples
Room: prisonRoom{
isLocked: true
Event [Nav_Click, true, true] {
// Overrides the default Nav_Click event
// If the room is not locked or player has prisonRoomKey
// Move the player to this room
if (!isLocked || player.hasItem(prisonRoomKey))
isLocked = false
player.moveTo(this)
}
else
showTooltip("Room is locked")
// Shows the parsed text in a tooltip window
}
}