[ZSDF] 'Currency' Block

Remember, just because you request it, that doesn't mean you'll get it.

Moderator: GZDoom Developers

User avatar
amv2k9
Posts: 2178
Joined: Sun Jan 10, 2010 4:05 pm
Location: Southern California

[ZSDF] 'Currency' Block

Post by amv2k9 »

Some of you may have noticed that in Strife's conversations, the amount of money you're carrying is now displayed at the bottom left, so you don't need to back out of the conversation to check on how much cash you have. Handy. Thing is, if you're using a different currency actor than vanilla Strife's 'Gold', or you use more than one currency in different parts of a conversation, you can't currently change that counter. Not so handy. So, this block is suggested. It's intended to be used in the 'page' block, and, as suggested, would take three parameters:

item: The item used for the counter.
icon: The icon to display to the left of the counter. If this parameter is unspecified, the icon defaults to the Inventory.Icon property of the actor.
size: Sets the number of digits, like 'size' does with SBARINFO's DrawNumber.

Return to “Feature Suggestions [GZDoom]”