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

Make mod to remove tree seeds?

TheDevilsBunny

New member
can you make a current mod to disable the loss of pine seedlings so that trees are not planted and a current mod to prohibit the use of transport inventory? this would be very helpful to many

 
Я предполагаю, что вы хотите, чтобы это остановило задержку в работе лесной фермы?
Yes, so that the player could not get seeds from the tree for a new planting)) 
They're planting forests that are causing lags for everyone. Server FPS drops three times

 
Yes, so that the player could not get seeds from the tree for a new planting)) 
They're planting forests that are causing lags for everyone. Server FPS drops three times
totally understandable, several mods already exist that do that.. i can write a quick one that we use if you need? on our server i only allow one seed given to prevent players making tree farms. Very easy to adjust amount just change 1 to 0 and no seeds would be given/  you need?

 
вполне понятно, уже существует несколько модов, которые это делают.. я могу написать быстрый мод, который мы будем использовать, если вам нужно? на нашем сервере я разрешаю давать только одно семя, чтобы игроки не создавали фермы деревьев. Очень легко настроить количество, просто измените 1 на 0, и семена не будут выдаваться/вам нужно?
I will be immensely grateful for this mod!! He will save the disobedient very much.

 
вот, и любой может свободно использовать его, если хочет, чтобы лесные фермы не вызывали задержек на серверах

https://drive.google.com/file/d/1EFA5fnQcAUFvh6bz-mfyk-TZeOZbUWzj/view?usp=sharing

View attachment 33436
Thank you very much!

вот, и любой может свободно использовать его, если хочет, чтобы лесные фермы не вызывали задержек на серверах

https://drive.google.com/file/d/1EFA5fnQcAUFvh6bz-mfyk-TZeOZbUWzj/view?usp=sharing

View attachment 33436
Can you tell me a place where you can look for useful mods and tools for the server and the game?

 
использовать этот вместо этого пришлось обновить modinfo.xml

https://drive.google.com/file/d/1WmrplELcnS0Sunu4lDq-DMtCG0sBILQe/view?usp=drive_link

View attachment 33437

I installed the mod, it works super well. But when I change the values to 0, the seeds fall out anyway, maybe I didn't specify it correctly?)


    <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, '2')]/@count">0</set> 

But even this is 1,000 times better than it was.

 
I installed the mod, it works super well. But when I change the values to 0, the seeds fall out anyway, maybe I didn't specify it correctly?)


    <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, '2')]/@count">0</set> 

But even this is 1,000 times better than it was.
hmmm, im not a coder or modder but setting that to 0 would keep seeds from dropping unless there is other trees that need to be added. Are all trees giving seed when you put it on 0? is correct=@count">0</set> 

 
Yes, they do, but there are 1/15 trees that need to be cut down, I think even this value will discourage players from planting forests.


In addition to this, I'm still looking for a mod to make ore, iron, lead, shale and the rest not 600, but 20,000))) no matter what mines are being dug. I am also looking for a mod to increase the coolant of trees from 1000 to 20,000, so there will be no desire to dig holes and plant forests)

 
Yes, they do, but there are 1/15 trees that need to be cut down, I think even this value will discourage players from planting forests.
yeah, ive been running this mod several years havent had an issue with tree farm lag

forgot all about it but if tree farm lag still exists this well definately help

 
I installed the mod, it works super well. But when I change the values to 0, the seeds fall out anyway, maybe I didn't specify it correctly?)


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:
<set xpath="/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">20000</set> 
 
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

<set xpath="/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">20000</set> 

Thank you, not a single seed from 50 trees

 
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
thanks! can you post all that info in 






 
Back
Top