 |
McLay Newbie
Joined: 03 Apr 2006 Posts: 2 Location: Russia
|
Posted: Mon Apr 03, 2006 10:40 pm
Automapper problem in Genesis MUD. |
Hallo. I have a problem with automapper in Genesis mud.
MUD response format:
Code: |
> look
These are the lands of Silverdell. You are standing on a beautiful green
hilltop. Cold air blows across your face as you stand gazing at the expansive view to the north.
Thera is one obvious exit: north.
A tutorial sign (The Expanded Tutorial and Lars' Gift).
> |
There is no room name. And i disabled it on automapper config. Problmes with directions i solve by writting these triggers:
Code: |
#TRIGGER {^There is one obvious exit: (%w).$} {#TAG exit %1}
#TRIGGER {^There are %w obvious exits: (%w%s).$} {#TAG exit %1}
#TRIGGER {^There is no obvious exit %w.$} {#NODIR} |
Its work! But i have problem with room description. When automapper reading response from mud and create new room, it use a WHOLE response as room description. From "These are the lands of Silverdell." to "A tutorial sign (The Expanded Tutorial and Lars' Gift).". I tried to change
many different options(such as paragraph number, multiline on/off and so on), but... nothing.
How i can limit it to one first paragraph?
ps. sry my english ) thanks. |
|
|
 |
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Apr 03, 2006 11:15 pm |
Create triggers to match all the stuff you don't want mapped and use #NOMAP.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
 |
McLay Newbie
Joined: 03 Apr 2006 Posts: 2 Location: Russia
|
Posted: Wed Apr 05, 2006 7:01 pm |
i tried:
Code: |
#TRIGGER {^There %w %w obvious exit} {#NOMAP} |
It works ONLY when i disable "Room Exits". But automaper without exit determination isn't automapper ) |
|
|
 |
|
|