• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

A18 Help Modlet

BadCops

New member
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