PDA

View Full Version : <customdie> name that begins with F is matches to the fudge die dF.



Trenloe
December 23rd, 2019, 18:48
When creating custom dice using the <customdie> (https://www.fantasygrounds.com/refdoc/customdie.xcp) asset, if the name begins with F then FG thinks it's a Fudge die (dF), or at least processes some of the result as if it's a fudge die (showing - and + in the chat window).

For example, if I have:

<customdie name="dForce">
<model>d12</model>
<menuicon>customdice</menuicon>
</customdie>

The name "dForce" seems to get FGU confused at some point and thinks it's a dF (fudge dice).

Moon Wizard
December 28th, 2019, 00:16
I couldn't quickly see any obvious situations where this was occurring in the FGU code; so could you provide an example of where it's failing, so I can recreate?

Thanks,
JPG