• Mods are now organized as resources. Use the Mods link above to browse for or submit a mod, tool, or prefab.

    The TFP Official Modding Forum Policy establishes the rules and guidelines for mod creators and mod users.

A18 Help Modlet

BadCops

Refugee
I would like to remove the seed from the tree or change treePlantedWinterPine1m - treePlantedMountainPine1m - treePlantedOak1m to ressourFiber

but my modlet do not work

<config>


<set xpath="/blocks/block/drop[@event=Destroy][@name=treePlantedWinterPine1m]/@count">0</set>



<set xpath="/blocks/block/drop[@event=Destroy][@name=treePlantedMountainPine1m]/@count">0</set>



<set xpath="/blocks/block/drop[@event=Destroy][@name=treePlantedOak1m]/@count">0</set>



</config>


what is wrong with my code

 
I would like to remove the seed from the tree or change treePlantedWinterPine1m - treePlantedMountainPine1m - treePlantedOak1m to ressourFiber
but my modlet do not work

<config>


<set xpath="/blocks/block/drop[@event=Destroy][@name=treePlantedWinterPine1m]/@count">0</set>



<set xpath="/blocks/block/drop[@event=Destroy][@name=treePlantedMountainPine1m]/@count">0</set>



<set xpath="/blocks/block/drop[@event=Destroy][@name=treePlantedOak1m]/@count">0</set>



</config>


what is wrong with my code
Your syntax is incorrect.

It should be:

<config>

<set xpath="/blocks/block/drop[@event=Destroy' and @name='treePlantedWinterPine1m]/@count">0</set>

<set xpath="/blocks/block/drop[@event=Destroy and @name='treePlantedMountainPine1m]/@count">0</set>

<set xpath="/blocks/block/drop[@event=Destroy' and @name='treePlantedOak1m]/@count">0</set>

</config>

 
Back
Top