From The Mana World
(Multiple units (bases) of the same type)
 
m (Jaxad0127 moved page Archive talk:Units.xml to Dev talk:Units.xml without leaving a redirect)
 
(3 intermediate revisions by the same user not shown)
Line 17: Line 17:


✎ [[User:Kess|Kess]]<sup>[[User talk:Kess|☽]]</sup> 16:44, 12 February 2009 (UTC)
✎ [[User:Kess|Kess]]<sup>[[User talk:Kess|☽]]</sup> 16:44, 12 February 2009 (UTC)
:Once we figure out how to handle that on the server and such, we can extend this. At the moment, the last definition of each type is used. &mdash; [[User:Jaxad0127|<span style="color: #160196">Jaxad</span>]][[User Talk:Jaxad0127|<span style="color: #5B038F">0127</span>]] 19:14, 12 February 2009 (UTC)

Latest revision as of 22:33, 1 July 2013

Multiple units (bases) of the same type

Not sure what the plans are, but an idea I have heard several times is to use several currencies (for different cultures) in TMW. Now I wonder if they could be expressed in this XML scheme.

Would something like this work, depending on whether type and base need to have unique values?

<units>
    <!-- Currency A -->
    <unit type="currency" base="GP" />

    <!-- Currency B -->
    <unit type="currency" base="Tonorian GP" />
    <unit type="currency" base="GP" variant="Tonorian" />
    <unit type="currency-2" base="GP" variant="Tonorian" />
    <unit type="currency-2" base="Tonorian GP" />
</units>

✎ Kess☽ 16:44, 12 February 2009 (UTC)

Once we figure out how to handle that on the server and such, we can extend this. At the moment, the last definition of each type is used. — Jaxad0127 19:14, 12 February 2009 (UTC)