+ (cmd-emote room-cmd-emote)
+ ;; movement aliases
+ (go-north (exit-shorthand "north"))
+ (go-northeast (exit-shorthand "northeast"))
+ (go-east (exit-shorthand "east"))
+ (go-southeast (exit-shorthand "southeast"))
+ (go-south (exit-shorthand "south"))
+ (go-southwest (exit-shorthand "southwest"))
+ (go-west (exit-shorthand "west"))
+ (go-northwest (exit-shorthand "northwest"))
+ (go-up (exit-shorthand "up"))
+ (go-down (exit-shorthand "down")))))
+
+(define common-exit-aliases
+ '(("n" . "north")
+ ("ne" . "northeast")
+ ("e" . "east")
+ ("se" . "southeast")
+ ("s" . "south")
+ ("sw" . "southwest")
+ ("w" . "west")
+ ("nw" . "northwest")
+ ("u" . "up")
+ ("d" . "down")))
+
+(define (dealias-exit-name exit-name)
+ (or (assoc-ref common-exit-aliases exit-name)
+ exit-name))