null) { if (HasScript(oldRoom, "onexit")) { do (oldRoom, "onexit") } } } on ready { if ((not GetBoolean(game.pov.parent, "visited")) and HasScript(game.pov.parent, "beforefirstenter")) { do (game.pov.parent, "beforefirstenter") } on ready { if (HasScript(game.pov.parent, "beforeenter")) { do (game.pov.parent, "beforeenter") } on ready { if (game.gridmap) { Grid_CalculateMapCoordinates (game.pov.parent) Grid_DrawPlayerInRoom (game.pov.parent) } if (IsDefined("oldRoom")) { if (oldRoom <> null) { msg ("") } } request (UpdateLocation, CapFirst(GetDisplayName(game.pov.parent))) msg ("" + GetDisplayName(game.pov.parent)) + "") roomFrameExists = false if (HasString(game.pov.parent, "picture")) { if (LengthOf(game.pov.parent.picture) > 0) { roomFrameExists = true SetFramePicture (game.pov.parent.picture) } } if (game.clearframe and not roomFrameExists) { ClearFramePicture } if (not GetBoolean(game, "brief") and (GetBoolean(game, "verbose") or not GetBoolean(game.pov.parent, "visited"))) { ShowRoomDescription } if ((not GetBoolean(game.pov.parent, "visited")) and HasScript(game.pov.parent, "firstenter")) { do (game.pov.parent, "firstenter") } on ready { if (HasScript(game.pov.parent, "enter")) { do (game.pov.parent, "enter") } } set (game.pov.parent, "visited", true) } } } ]]> 0) { msg (desc) desc = "" } do (game.pov.parent, descriptionfield) if (game.autodescription_description_newline) { msg ("") } } else { desc = AddDescriptionLine(desc, GetRoomDescription()) if (game.autodescription_description_newline) { msg (desc) desc = "" } } } } if (LengthOf(desc) > 0) { msg (desc) } } else { if (HasScript(game.pov.parent, descriptionfield)) { do (game.pov.parent, descriptionfield) } else { fulldesc = GetRoomDescription() if (LengthOf(fulldesc) > 0) { msg (fulldesc) } } } ]]>