Shattered Kingdoms
https://www.shatteredkingdoms.org/forums/

Default Prompt with Stance Information
https://www.shatteredkingdoms.org/forums/viewtopic.php?f=42&t=24262
Page 2 of 2

Author:  archaicsmurf [ Tue Oct 08, 2013 7:00 am ]
Post subject:  Re: Default Prompt with Stance Information

A major flaw with this trigger is that it does not cause me to blink three times when something mundane happens. Please fix.

Author:  grep [ Tue Oct 08, 2013 5:19 pm ]
Post subject:  Re: Default Prompt with Stance Information

MsPooperTrooper wrote:
FinneyOwnzU wrote:
If you use a custom prompt, you will need to post the format and when I get time I will modify the trigger to work with it.


My prompt is pretty basic, the only addition I have to it is the time. This trigger is fantastic, thank you for working on it! If you do have time to spare for it, though, could you post how to add the time between PE and stance?

This is how my prompt appears:
[HP:100][ME:100][PE:100][9pm]

I'll be trying to figure it out myself, so if I do, I'll post it.



Madam,

You may benefit from a multi-line prompt.

Usually my prompts include multi-lines. One of them is the basic HP I want to see, and others are strings that I will never, ever see from the MUD normally.

Then, I write a trigger that replaces those lines with the information I want to see.

I can provide you with an example if you would like, but it isn't in the same CMUD syntax that Finney uses, so you'll have to adjust it.

Author:  MsPooperTrooper [ Tue Nov 05, 2013 9:50 am ]
Post subject:  Re: Default Prompt with Stance Information

Ah, right, I forgot to figure out how to apply this to my current prompt.

I suddenly have renewed interest in this now. Thanks again for your efforts, Finney!

Author:  MsPooperTrooper [ Tue Nov 05, 2013 10:40 am ]
Post subject:  Re: Default Prompt with Stance Information

Okay, here's my clumsy attempt at placing time between PE and stance. It seems to work for me. I also changed the colors to better reflect my personal preferences.

#TRIGGER {~[HP:(*)~] ~[ME:(*)~] ~[PE:(*)~] ~[(*)~]} {#SUB {%ansi(purple)~[%ansi(gray)HP:%ansi(red,hi)%1%ansi(purple)~] %ansi(purple)~[%ansi(gray)ME:%ansi(cyan,hi)%2%ansi(purple)~] %ansi(purple)~[%ansi(gray)PE:%ansi(yellow,hi)%3%ansi(purple)~] %ansi(purple)~[%ansi(gray)%4%ansi(purple)~] %ansi(purple)~(%ansi(gray)@stance%ansi(purple)~)}}

Oh, and I also amended all of my triggers that indicated prone to also set my stance variable to neutral. Example:

#TRIGGER {Your bash misses and you fall flat on your face!} {
#co hotpink
#say ">>>PRONE<<<"
#variable stance neutral
}

Author:  alvarro [ Tue Nov 05, 2013 11:06 am ]
Post subject:  Re: Default Prompt with Stance Information

No work in CMud :/

[HP:100%] [ME:100%] [PE: 95%] ()
> mood neutral
You assume a neutral stance.

[HP:100%] [ME:100%] [PE: 95%] ()

Author:  MsPooperTrooper [ Tue Nov 05, 2013 11:18 am ]
Post subject:  Re: Default Prompt with Stance Information

Mm, it could be that you need to alter the wording in the trigger to change the stance variable now.

#TRIGGER {Your stance is now (*).} {#VARIABLE stance %1}

That's Finney's trigger, and it's worded as such because I think that's how it was worded before this new change. Now, however..

Quote:
mood defensive
You assume a defensive stance.

[HP:100] [ME: 43] [PE: 97] [4am] (defensive)
mood aggressive
You assume an aggressive stance.

[HP:100] [ME: 43] [PE: 94] [4am] (aggressive)


I had to add two triggers, myself, to account for the "an" and "a" prior to aggressive and defensive/neutral respectively. So this is what I have:

#TRIGGER {You assume a (*) stance.} {#VARIABLE stance %1}
#TRIGGER {You assume an (*) stance.} {#VARIABLE stance %1}

Does that help?

(edit after Finney's post below:) {a|an} Two birds, one stone. ^_^ Thanks!

Author:  FinneyOwnzU [ Tue Nov 05, 2013 11:27 am ]
Post subject:  Re: Default Prompt with Stance Information

only posting in gd from now - thx and have a nice day

Author:  alvarro [ Wed Nov 06, 2013 6:04 am ]
Post subject:  Re: Default Prompt with Stance Information

Thanks, sugardaddy :)

Author:  FinneyOwnzU [ Wed Nov 06, 2013 11:49 am ]
Post subject:  Re: Default Prompt with Stance Information

only posting in gd from now - thx and have a nice day

Author:  Mcbeth [ Wed Nov 06, 2013 8:17 pm ]
Post subject:  Re: Default Prompt with Stance Information

Let's add...
Code:
#TRIGGER {Agony erupts through your body as * body crushes you to the ground! } {#VARIABLE stance neutral}

Page 2 of 2 All times are UTC - 8 hours
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/