JasonX
Refugee
Hi,
I'm trying to mod the probability for wild animals in entitygroups.xml, but getting errors for each line...
"XML patch for "entitygroups.xml" from mod "..." did not apply: <set xpath="/entity_groups/entity_group[@name='WildGameForest"]/entity[@name='animalBoar']/@prob"
etc.
I tried switching "prob" to "value" but no difference. Maybe "prob" hasn't been implemented?
I'm trying to mod the probability for wild animals in entitygroups.xml, but getting errors for each line...
"XML patch for "entitygroups.xml" from mod "..." did not apply: <set xpath="/entity_groups/entity_group[@name='WildGameForest"]/entity[@name='animalBoar']/@prob"
etc.
I tried switching "prob" to "value" but no difference. Maybe "prob" hasn't been implemented?
Code:
<configs>
<set xpath="/entity_groups/entity_group[@name='WildGameForest']/entity[@name='animalBoar']/@prob">10</set>
<set xpath="/entity_groups/entity_group[@name='WildGameForest']/entity[@name='animalStag']/@prob">10</set>
<set xpath="/entity_groups/entity_group[@name='WildGameForest']/entity[@name='animalDoe']/@prob">10</set>
<set xpath="/entity_groups/entity_group[@name='WildGameForest']/entity[@name='animalWolf']/@prob">10</set>
</configs>