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

tree farm lag

Grandpa Minion asked me to post this from another thread into this one





Full post below

Grandpa's mod only affects tree with seed counts of 2, it levels all the drops to 1 seed only.  So if you change the value to 0, you don't get drops in trees where the count was 2 (which I believe are player planted trees) but keeps trees in the forest at 1 drop

If you want to remove ALL seed drops, copy his code into a second line and make the following changes:

<set xpath="/blocks/block[starts-with(@name,'tree') and not(contains(@name, 'Grass')) and not(contains(@name, 'Master'))]/drop[contains(@event, 'Destroy') and contains(@name, 'treePlanted') and contains(@count, '1')]/@count">0</set>




Or keep the original line and remove the following bit 

and contains(@count, '2')




so basically the line would now be:

<set xpath="/blocks/block[starts-with(@name,'tree') and not(contains(@name, 'Grass')) and not(contains(@name, 'Master'))]/drop[contains(@event, 'Destroy') and contains(@name, 'treePlanted')]/@count">0</set> 




Once you do that, the only drops you would see are from driftwoods (30% chance of dropping one seed)

To increase harvest count, you can use Grandpa's code but make a minor adjustment

Code:
[COLOR=#e8bd89]<set[/COLOR][COLOR=#ebe7e3] [/COLOR][COLOR=#df897a]xpath[/COLOR][COLOR=#d9b180]=[/COLOR][COLOR=#7ea9c4]"/blocks/block[starts-with(@name,'tree') and not(contains(@name, 'Grass')) and not(contains(@name, 'Master'))]/drop[contains(@event, 'Harvest') and contains(@name, 'resourceWood')]/@count"[/COLOR][COLOR=#e8bd89]>[/COLOR][COLOR=#ebe7e3]20000[/COLOR][COLOR=#e8bd89]</set>[/COLOR][COLOR=#ebe7e3] [/COLOR]
 
Back
Top