User Tools

Site Tools


mud:moving

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

mud:moving [2019/08/08 14:40] (current)
admin created
Line 1: Line 1:
 +A number of things happen when you leave one location and enter another (assuming you pass the lock on the exit or have permission to enter the object or to teleport to the location). ​ The following list describes the actions that MUX takes when an object moves from one place to another.
 +
 +Note that if an indicated attribute is not set, no message is displayed (or no action is performed).
 +
 +  * If you are using an exit (as opposed to teleporting,​ entering an object, or going home), You receive the SUCC message for the exit, others in the old location receive the exit's OSUCC message, and the exit runs its ASUCC action list.
 +  * If you are teleporting or being teleported, others in the old location receive your OXTPORT attribute.
 +  * If you are a player or have your LISTEN attribute set to something, and if the old location is not dark and you are not dark, you receive the LEAVE message for the old location, others in the old location receive the OLEAVE message, and the old location runs its ALEAVE action list. Others in the new location receive the OXENTER message from the old location, and others in the old location receive the message '<​your name> has left.'
 +  * You are moved to the new location. ​ If you are entering an object, teleporting,​ or going home, all KEY objects are stripped from you.
 +  * If the new location is a room, you receive the room's DESC, others in the room receive the ODESC, and the room runs its ADESC. ​ If you pass the room's lock do the same with SUCC, OSUCC, and ASUCC, otherwise use FAIL, OFAIL, and AFAIL.
 +  * If the new location is a player or an object, you receive the location'​s IDESC (or DESC if the IDESC is not set).  In either event, others in the same location see the ODESC message and the location runs its ADESC action list.
 +  * You are shown the contents and visible exits if the location is not DARK.
 +  * If you used an exit, then you receive the DROP message for the exit, others in the new room receive the exit's ODROP message, and the exit runs its ADROP action list.
 +  * If you are teleporting or being teleported, you receive your TPORT attribute, others in your new location receive your OTPORT attribute, and your ATPORT attribute is run.
 +  * You receive your MOVE attribute, others in your new location receive your OMOVE attribute, and your AMOVE attribute is run.
 +  * If you are a player, or have your LISTEN attribute set to something, and if the old location is not dark and you are not dark, you receive the ENTER message for the new room, others in the new room receive the OENTER
 +    message, and the new room runs its AENTER action list. Others in the room you just left receive the new room's OXLEAVE message, and others in the old location receive the message '<​your name> has arrived.'​
 +  * If the old location is a STICKY room and has its drop-to set, see if objects in that room should be sent to the drop-to location. ​ If so, do it.
 +  * If you are a player, you have a chance of finding some money.
 +
 +Related Topics: [[mud:​@adesc]],​ [[mud:​@adrop]],​ [[mud:​@aenter]],​ [[mud:​@afail]],​ [[mud:​@aleave]],​ [[mud:​@asucc]],​ [[mud:​@atport]],​ [[mud:​@desc]],​ [[mud:​@drop]],​ [[mud:​@enter]],​ [[mud:​@fail]],​ [[mud:​@leave]],​ [[mud:​@listen]],​ [[mud:​@odesc]],​ [[mud:​@odrop]],​ [[mud:​@oenter]],​ [[mud:​@ofail]],​ [[mud:​@oleave]],​ [[mud:​@osucc]],​ [[mud:​@oxenter]],​ [[mud:​@oxleave]],​ [[mud:​@oxtport]],​ [[mud:​@succ]],​ [[mud:​@tport]],​ [[mud:​move]],​ [[mud:​@teleport]],​ [[mud:​home]],​ [[mud:​KEY]],​ [[mud:​STICKY]],​ [[mud:​DROP-TOS]],​ [[mud:​FAILURE]],​ [[mud:​SUCCESS]].
  
mud/moving.txt ยท Last modified: 2019/08/08 14:40 by admin