Changeset View
Standalone View
binaries/data/mods/public/simulation/templates/special/player_gaia.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<Entity> | <Entity> | ||||
<Player> | <Player/> | ||||
elexis: Isn't this replacing the Player entry and instead should use filtered="" too or do I recall… | |||||
Not Done Inline ActionsI'd originally put <Player merge=""> as that is what's used in the special_filter/* templates, but through testing before uploading it seems that it's unnecessary... s0600204: I'd originally put `<Player merge="">` as that is what's used in the `special_filter/*`… | |||||
Not Done Inline ActionsAh, reading rP19302 again, merge="" was used to only add the attribute if the parent has the attribute too, while it is actually merged in both cases. So adding the merge="" here could be done to make this template not add Player if player.xml for any reason (mods?) removed it too. elexis: Ah, reading rP19302 again, `merge=""` was used to only add the attribute if the parent has the… | |||||
Done Inline Actionsdo we still need such inheritance? mimo: do we still need such inheritance? | |||||
Not Done Inline ActionsSo long as no staff member, contributor, or modder adds a non-optional property to the Player component, no. s0600204: So long as no staff member, contributor, or modder adds a non-optional property to the `Player`… | |||||
Not Done Inline ActionsThey shouldn't. leper: They shouldn't. | |||||
<SharedLosTech/> | |||||
<SharedDropsitesTech/> | |||||
<SpyCostMultiplier>1.0</SpyCostMultiplier> | |||||
<BarterMultiplier> | |||||
<Buy> | |||||
<food>1.0</food> | |||||
<wood>1.0</wood> | |||||
<stone>1.0</stone> | |||||
<metal>1.0</metal> | |||||
</Buy> | |||||
<Sell> | |||||
<food>1.0</food> | |||||
<wood>1.0</wood> | |||||
<stone>1.0</stone> | |||||
<metal>1.0</metal> | |||||
</Sell> | |||||
</BarterMultiplier> | |||||
</Player> | |||||
</Entity> | </Entity> |
Isn't this replacing the Player entry and instead should use filtered="" too or do I recall incorrectly?