|
bajanrose Beginner
Joined: 20 Mar 2003 Posts: 25
|
Posted: Sun Apr 26, 2009 2:01 pm
Need mapping help for Shadows of Isildur |
Alright, I'm not sure how to set up the configuration in the mapping for this. It keeps mapping the prompt when I move from room to room or it would just map the room direction which is annoying. I simply want it to just map the room name and room description. Below is an example of a room:
A Small Copse of Birch Trees
Exits: north east south west
This small copse of trees is made of thick, healthy birch
trees, providing some shade and a generally peaceful area between
the two large compounds that can be seen through the foliage to
the south and the north. A small, dirt trail leads through the
trees to the yard north, a small, locked gate in the fencing as
well as in the fencing to the south. A low building faces to the
east. To the west a forested area extends away down the hill. |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sun Apr 26, 2009 8:34 pm |
This is almost certain to require #TAG triggers, but it's really easy. Also, if your mud has a command to change the wordwrapping width you should either turn it off or set it as high as you can go; this makes it tons easier to match.
#trigger {^([%w%s])$} {#tag name "%1"}
#condition {^Exits: ([%w%s])$} {#tag exit "%1";RoomDesc = "";#T+ tRoomDesc}
#condition {match your prompt here} {#T- tRoomDesc;#tag desc @RoomDesc} {nocr|prompt}
#trigger "tRoomDesc" {^([%w%s,-.?!])$} {RoomDesc = %additem("%1",@RoomDesc)}
Enter the code into the command line, then reconfigure the mapper. Should get you (close to) working. |
|
_________________ EDIT: I didn't like my old signature |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Mon Apr 27, 2009 5:49 pm |
i use this to get rid of the prompt (in scrollback only)
#TR {<([~*])%s/([~|%s])> } {health=%len(%trim(%1));stamina=%len(%trim(%2));#SUB {}} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
bajanrose Beginner
Joined: 20 Mar 2003 Posts: 25
|
Posted: Sat May 02, 2009 2:17 am |
Thank you both. :)
|
|
|
|
azurerazor Beginner
Joined: 17 Dec 2001 Posts: 20 Location: USA
|
Posted: Thu May 24, 2018 10:00 pm |
Prompt looks like this
<****** / ^^^^^^ / ||||||>
Where * is for health, ^ is for trauma, and | is fatigue |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4691 Location: Pensacola, FL, USA
|
Posted: Fri May 25, 2018 12:01 pm |
#TR {<([~*%s])/([~^%s])/([~|%s])> } {health=%len(%trim(%1));trauma=%len(%trim(%2));fatigue=%len(%trim(%3));#SUB {}}
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
azurerazor Beginner
Joined: 17 Dec 2001 Posts: 20 Location: USA
|
Posted: Sat Jun 02, 2018 2:01 am |
Tried entering this with Command mode
#trigger {^([%w%s])$} {#tag name "%1"}
#condition {^Exits: ([%w%s])$} {#tag exit "%1";RoomDesc = "";#T+ tRoomDesc}
#condition {#TR {<([~*%s])/([~^%s])/([~|%s])> } {health=%len(%trim(%1));trauma=%len(%trim(%2));fatigue=%len(%trim(%3));#SUB {}}} {#T- tRoomDesc;#tag desc @RoomDesc} {nocr|prompt}
#trigger "tRoomDesc" {^([%w%s,-.?!])$} {RoomDesc = %additem("%1",@RoomDesc)}
Getting unmatched braces error... |
|
|
|
azurerazor Beginner
Joined: 17 Dec 2001 Posts: 20 Location: USA
|
|
|
|
|
|