Differential D1718 Diff 7440 binaries/data/mods/public/simulation/templates/gaia/flora_tree_dead.xml
Changeset View
Changeset View
Standalone View
Standalone View
binaries/data/mods/public/simulation/templates/gaia/flora_tree_dead.xml
<?xml version="1.0" encoding="utf-8"?> | <?xml version="1.0" encoding="utf-8"?> | ||||
<Entity parent="template_gaia_flora_tree"> | <Entity parent="template_gaia_flora_tree"> | ||||
<Identity> | <Identity> | ||||
<SpecificName>Dead Tree</SpecificName> | <SpecificName>Dead Tree</SpecificName> | ||||
</Identity> | </Identity> | ||||
<ResourceSupply> | |||||
<RegenBonus> | |||||
<Decay> | |||||
<Amount>-0.5</Amount> | |||||
<Interval>1000</Interval> | |||||
</Decay> | |||||
elexis: I see another downside with the current `anyName` implementation; if the code is parsed the… | |||||
Done Inline ActionsIt's just an example, I haven't touched the needed templates yet. Stan: It's just an example, I haven't touched the needed templates yet. | |||||
</RegenBonus> | |||||
</ResourceSupply> | |||||
<VisualActor> | <VisualActor> | ||||
<Actor>flora/trees/tree_dead.xml</Actor> | <Actor>flora/trees/tree_dead.xml</Actor> | ||||
</VisualActor> | </VisualActor> | ||||
</Entity> | </Entity> |
Wildfire Games · Phabricator
I see another downside with the current anyName implementation; if the code is parsed the same way in all cases.
The item is named decayand the rate is negative, so one could wonder whether this isn't a double negation (negative decay = bonus).
Nescios variant wouldn't have that issue.
Apart from that, not sure that all untouched trees should disappear from the volcano map after 7 or N minutes.