Auto Open Door

Posted by Whisperedecho on Fri 09 May 2008 09:55 PM — 2 posts, 11,362 views.

USA #0
I am using SmaugFUSS 1.9 on Windows.

I have been playing on some other MUD's and have noticed that some of them have an Auto Open feature.

The way it works is if you walk into a room and the east door is closed you can just walk east and the door will automatically be opened for you so you don't have to type in the "Open" command.

How would I go about adding this into the code for Smaug? Thanks.
Amended on Fri 09 May 2008 09:57 PM by Whisperedecho
USA #1
You would need to identify the point at which a character is blocked by a door when trying to move, and then insert a call to the door-open command -- if it succeeds, let the character's move continue, otherwise stop the move.