Created
December 19, 2013 20:53
-
-
Save faried/8046102 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- dirs_2.h 1998-07-29 09:00:00.000000000 +0500 | |
+++ dirs_2_fn.h 2013-12-20 01:51:00.000000000 +0500 | |
@@ -40,17 +40,20 @@ | |
if(loc provides (i.door_dir) && metaclass(loc.(i.door_dir))~=nothing) | |
j++; | |
if (j == 0) "There are no obvious exits."; | |
- print "You can go "; | |
+ print "Exits: "; | |
objectloop(i in Compass) | |
{ | |
if(loc provides (i.door_dir) && metaclass(loc.(i.door_dir))~=nothing) | |
{ | |
LanguageDirection(i.door_dir); | |
#ifdef ShowRooms; | |
- print " (to ", (the) DirTo(i, loc), ")"; | |
+ if (loc.(i.door_dir) has visited) | |
+ { | |
+ print " to ", (the) DirTo(i, loc); | |
+ } | |
#endif; | |
j--; | |
- if (j == 1) print " or "; | |
+ if (j == 1) print " and "; | |
else if (j == 0) "."; | |
else print ", "; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment