User Tools

Site Tools


mud

Differences

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

Link to this comparison view

mud [2019/08/06 16:16]
nmckillop created
mud [2019/08/06 16:26] (current)
nmckillop
Line 48: Line 48:
 </​code>​ </​code>​
  
-This creates a new room (area) called Watchtower which you can access from My House by using the '​ladder'​. ​ When you are in the Watchtower you can return to My House by using the firepole.+This creates a new room (area) called Watchtower which you can access from My House by trying the name of the exit **''​ladder'​'**.  When you are in the Watchtower you can return to My House by typing ​the name of the exit; **''​firepole''​**. 
 + 
 +You can rename an exit (when you are in the room with it) by using the **''​@name''​** command: 
 + 
 +<​code>​@name ladder = stairs</​code>​ 
 + 
 +You can add more description to any exit using the **''​@desc''​** command: 
 + 
 +<​code>​@desc stairs = these steep stone steps are worn from use</​code>​ 
 + 
 +Then you can use the **''​look stairs''​** command to inspect the stairs and see the extra information. 
 + 
 +We can create another room now: 
 + 
 +<​code>​@dig Toilet = West, East</​code>​ 
 + 
 +Now we can navigate to the toilet by typing[moving] **''​West''​** and return using **''​East''​**. ​ We could add shortcuts to the navigation commands by listing them separated by semi-colons,​ like this: 
 + 
 +<​code>​@dig Toilet = West;w, East;​e</​code>​ 
 + 
 +Now we can move to and from the toilet using just the keys **''​W''​** and **''​E''​**. 
 + 
 +If we know the room ID (**''​@examine''​** when in a room) we can create more exits if desired using the @open command. ​ If we're in the bathroom (room #123), here is how we'd create a magic mirror that takes us back to the plush red carpeted room: 
 + 
 +<​code>​@open Magic mirror = #​123</​code>​ 
 + 
 +Then typing **''​magic mirror''​** or even just **''​mirror''​** would take us to that room.
  
  
mud.txt · Last modified: 2019/08/06 16:26 by nmckillop