TERSE, VERBOSE and BRIEF

The Pixie
22 Nov 2013, 20:29
With this library added, the player will see the name of the room plus a description when he first enters the room, but only the name subsequently. He can get full descriptions evety time with the VERBOSE command, and no descriptions at all with BRIEF; back to normal with TERSE.

With this library installed, the built-in function OnEnterRoom is replaced.


tbritton
23 Nov 2013, 00:35
Hey Pixie,

Works great other than one small issue. The first time you enter a room the room name is listed twice, once in a standard font and once in bold (based on "You are in" being disabled in my example). After that it is only listed once, but in a standard font rather than bold, so it's not following the settings. See attached example

The Pixie
23 Nov 2013, 09:45
I have updated it; try it now. I do not use autodescriptions, soit was fine for me.

tbritton
23 Nov 2013, 19:46
Thanks a lot Pixie. I added CapFirst to the following line to get the room name capitalized (which I prefer, but may not be for everyone) and it works perfectly.

msg ("<b>" + CapFirst(GetDisplayName(game.pov.parent))) + "</b>")


Just out of curiosity, what's the advantage of not using autodescriptions? I've seen that option but wasn't sure why I would use it.

The Pixie
24 Nov 2013, 11:15
I prefer to list exits in the description ("a large set of double doors leads to the library to the north"), and not to have a "You are in"; I just think it reads better.