To issue run-time problem messages arising from the world model.
[ RunTimeProblemShowWM n par1 par2 par3; switch(n) { RTP_BACKDROP: print "Tried to move ", (the) par1, " (a backdrop) to ", (the) par2, ", which is not a region.^"; RTP_CANTCHANGE: print "Tried to change player to ", (the) par1, ", which is not a person.^"; RTP_NOEXIT: print "Tried to change ", (the) par2, " exit of ", (the) par1, ", but it didn't seem to have such an exit to change.^"; RTP_EXITDOOR: print "Tried to change ", (the) par2, " exit of ", (the) par1, ", but it led to a door, not a room.^"; RTP_TOOMANYEVENTS: print "Too many timed events are going on at once.^"; RTP_CANTMOVENOTHING: print "You can't move nothing.^"; RTP_CANTREMOVENOTHING: print "You can't remove nothing from play.^"; RTP_NOTBACKDROP: print "Tried to move ", (the) par1, " (not a backdrop) to ", (the) par2, ", which is a region.^"; RTP_NOTINAROOM: print "Attempt to test if the current location is '", (the) par1, "', which is not a room or region.^"; RTP_BADTOPIC: print "Attempt to see if a snippet of text matches something which is not a topic.^"; RTP_DONTIGNORETURNSEQUENCE: print "Attempt to ignore the turn sequence rules.^"; RTP_SAYINVALIDSNIPPET: print "Attempt to say a snippet value which is currently invalid: words ", par1, " to ", par2, ".^"; RTP_SPLICEINVALIDSNIPPET: print "Attempt to splice a snippet value which is currently invalid: words ", par1, " to ", par2, ".^"; RTP_INCLUDEINVALIDSNIPPET: print "Attempt to match a snippet value which is currently invalid: words ", par1, " to ", par2, ".^"; RTP_CANTREMOVEPLAYER: print "Attempt to remove the player from play.^"; RTP_CANTBEOFFSTAGE: print "Attempt to move the player off-stage.^"; RTP_CANTREMOVEDOORS: print "Attempt to remove a door from play.^"; RTP_CANTCHANGEOFFSTAGE: print "Attempt to change the player to a person off-stage.^"; RTP_BACKDROPONLY: print "Only backdrops can be moved to multiple places.^"; RTP_NOTTHING: print "Tried to move ", (the) par1, " (not a thing) to ", (the) par2, ", but only things can move around.^"; RTP_CANTMAKEPART: print "Tried to make the player part of something: ", (the) par1, ".^"; RTP_REGIONSNOTADJACENT: print "You can't test whether something is adjacent to a region: ", "such as, in this case, ", (the) par1, ".^"; RTP_SCENEHASNTSTARTED: print "The scene ", (PrintSceneName) par1, " hasn't started, so you can't ask when it did.^"; RTP_SCENEHASNTENDED: print "The scene ", (PrintSceneName) par1, " hasn't ended, so you can't ask when it did.^"; } ];