huntsfromshadow
April 6th, 2020, 23:11
For the fun of it, I decided to look through CoreRPG's ruleset to understand it.
I hit something I can't find a good answer for.
In the gameelements.xml I find two definitions for diebox.
<diebox version=">=4">
<frame name="diebox" offset="9,4,9,4" />
<font expression="diceexpr" total="diemod" dieresult="dieresult"/>
<icons secret="gmdieicon" defaultdie="die_general_icon" />
</diebox>
<diebox version="<4">
<frame name="diebox" />
<margin value="16" numbertailmargin="10" />
<secreticon name="gmdie" />
</diebox>
I can pretty much guess the version attribute is controlling which one is loaded.
(Confirmed by me futzing with the code).
My question is what is version 4? Is that Unity?
I hit something I can't find a good answer for.
In the gameelements.xml I find two definitions for diebox.
<diebox version=">=4">
<frame name="diebox" offset="9,4,9,4" />
<font expression="diceexpr" total="diemod" dieresult="dieresult"/>
<icons secret="gmdieicon" defaultdie="die_general_icon" />
</diebox>
<diebox version="<4">
<frame name="diebox" />
<margin value="16" numbertailmargin="10" />
<secreticon name="gmdie" />
</diebox>
I can pretty much guess the version attribute is controlling which one is loaded.
(Confirmed by me futzing with the code).
My question is what is version 4? Is that Unity?