The following restriction string in the PlayerMovement task returns "Nothing" when the player is in a closed room (without any "open" exits).
There is no route <# IF(%direction% = "up" OR %direction% = "down" OR %direction% = "in" OR %direction% = "out", "", "to the ") #>%LCase[%direction%]%, only %Player%.Location.Exits.List.
This is only a suggestion for a replacement (which I've used):
There is no route <# IF(%direction% = "up" OR %direction% = "down" OR %direction% = "in" OR %direction% = "out", "", "to the ") #>%LCase[%direction%]%<#IF(%Player%.Location.Exits.Count=0,". Maybe a door is closed?",", only "+%Player%.Location.Exits.List+".")#>
|