<.p>I’m playing around with banners, and I’ve hit a snag with the display options: I can only figure out how to make bannerSay() display a single string.
The goal was the have the banner serve as a status window displaying several parameters stored as properties in the player character, so for instance:
player: Actor
location = startRoom
LV = 1
EXP = 0
HP = 150
MaxHP = 150
;
startRoom: Room 'Starting Room'
"This is the start room. "
;
The information that I’d wish to display on the banner would be, if I could use double quoted strings, something like this:
[code]statusWindow: CustomBannerWindow
bannerArgs = [nil, BannerAfter, statuslineBanner, BannerTypeText,
BannerAlignRight, 10, BannerSizeAbsolute, BannerStyleBorder]
currentContents = stats
stats
{
"LV : <<player.LV>>
<.p>HP : <<player.HP>>/<<player.MaxHP>>
<.p>EXP : <<player.EXP>>/100 ";
}
;[/code]
So that the end result would look like this:
But of course, I can’t use a double quoted string. I can’t even figure out how to use more than a single-quoted string or property. I’ve found that several other things meant for single-quoted strings have ways to insert double-quoted ones instead ( like using {:" "} insteadof ’ ’ for EventLists). Is there some equivalent here, or am I out of luck?