I understand how to change the size of a loot container's loot box. What I don't understand is how to make a mod that edits the amount of each item in the loot container.
For example, I know
<set xpath="/lootcontainers/lootcontainer[@id=25]/@size">7,6</set>
will change the bird nest's loot box size to 7x6.
However, how do I change the amount of eggs and feathers gained from each bird's nest? I don't understand how to point to "resourceFeather" to change the count. I know I can easily change the XML itself. What I'm asking is how do I make a modlet to edit this?
<lootcontainer id="25" count="1,2" size="6,2" sound_open="UseActions/open_garbage" sound_close="UseActions/close_garbage" loot_quality_template="qualBaseTemplate">
<item name="foodEgg" prob="0.25"/>
<item name="resourceFeather" count="1,5" prob="0.75"/>
</lootcontainer>
I've tried
<config> <set xpath="/loot/lootcontainer[@id='25']/@name='resourceFeather'/@count">5,10</set> </config>
and many other things but nothing works. Can't find any other mods to reverse engineer to make this work, either.