moving - luxembourg/muxcode-clm GitHub Wiki
MOVING (continued)
- 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.
{ 'help moving3' for more }
MOVING (continued)
- 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: @adesc, @adrop, @aenter, @afail, @aleave, @asucc, @atport, @desc, @drop, @enter, @fail, @leave, @listen, @odesc, @odrop, @oenter, @ofail, @oleave, @osucc, @oxenter, @oxleave, @oxtport, @succ, @tport, move, @teleport, home, KEY, STICKY, DROP-TOS, FAILURE, SUCCESS.