You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
world.enterRoom=function(exit){if(currentLocation.beforeEnter===undefined){returnerrormsg("This room, "+currentLocation.name+", has no 'beforeEnter` function defined. This is probably because it is not actually a room (it was not created with 'createRoom' and has not got the DEFAULT_ROOM template), but is an item. It is not clear what state the game will continue in.")}// Modified to disable all exit links when changing locationsif(typeofitemLinks!='undefined')itemLinks.disableAllLinks("exit-link");// End of modsettings.beforeEnter(exit)if(currentLocation.visited===0){if(currentLocation.roomSet){currentLocation.roomSetOrder=1for(constelofsettings.roomSetList[currentLocation.roomSet]){if(el.visited)currentLocation.roomSetOrder++if(el.name===currentLocation.name)el.visited=true}}currentLocation.beforeFirstEnter(exit)}currentLocation.beforeEnter(exit)world.enterRoomAfterScripts(exit);}
That makes the link behave just like the links in msg ("You can go {exitsHere:{exits}}.").
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
By default, if we do
msg ("You can go {exit:north}."), the link will remain active after leaving that room. To fix that:Also:
That makes the link behave just like the links in
msg ("You can go {exitsHere:{exits}}.").Beta Was this translation helpful? Give feedback.
All reactions