Event for when a agri-tower prototype plants trees?
-
- Manual Inserter
- Posts: 2
- Joined: Wed Dec 11, 2024 11:31 pm
- Contact:
Event for when a agri-tower prototype plants trees?
I'm looking at on_robot_built_entity and on_built_entity , but it seems there isn't an event that runs when the agricultural tower plants a tree. - It would be nice to have for controlling the properties of planted trees.
This would allow, for example, if a mod wants to change properties for a tree entity based on the soil it's planted on.
Re: Event for when a agri-tower prototype plants trees?
This would be nice to have.
Right now, the best we can do is scan the area around agricultural towers, which is how Diversitree works, but an event would be a big improvement.
Last edited by s6x on Thu Dec 12, 2024 4:30 am, edited 1 time in total.
Re: Event for when a agri-tower prototype plants trees?
Does a created effect on tree not work?
Re: Event for when a agri-tower prototype plants trees?
Works great, actually! Thanks.
-
- Manual Inserter
- Posts: 2
- Joined: Wed Dec 11, 2024 11:31 pm
- Contact:
Re: Event for when a agri-tower prototype plants trees?
I guess that works, I was struggling to understand the api docs. - It's probably enough to use triggers then.
Re: Event for when a agri-tower prototype plants trees?
Still seems like an event would be helpful, since it would presumably pass the tower that did the planting and save needing to find it.
In fact, if the event also passed the item that was planted, that would allow for quality plantables - you could check if the seed was quality and if so replace the tree with a quality tree.
In fact, if the event also passed the item that was planted, that would allow for quality plantables - you could check if the seed was quality and if so replace the tree with a quality tree.
"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark Twain
"True friends stab you in the front." - Oscar Wilde
"True friends stab you in the front." - Oscar Wilde
Re: Event for when a agri-tower prototype plants trees?
The tower is a good point, in case there is overlap.
Seems to me like you should instead ask for plants to have quality.MaxAstro wrote: Thu Dec 19, 2024 7:49 pm In fact, if the event also passed the item that was planted, that would allow for quality plantables - you could check if the seed was quality and if so replace the tree with a quality tree.
Re: Event for when a agri-tower prototype plants trees?
Seems to me like you should check the Not Going to Implement forum, unfortunately.curiosity wrote: Thu Dec 19, 2024 8:02 pmSeems to me like you should instead ask for plants to have quality.
"I thoroughly disapprove of duels. If a man should challenge me, I would take him kindly and forgivingly by the hand and lead him to a quiet place and kill him." - Mark Twain
"True friends stab you in the front." - Oscar Wilde
"True friends stab you in the front." - Oscar Wilde
Re: Event for when a agri-tower prototype plants trees?
You mean viewtopic.php?f=221&t=124708 ? That would be funny, because boskid all but spelled out what I suggested.MaxAstro wrote: Fri Dec 20, 2024 2:35 pm Seems to me like you should check the Not Going to Implement forum, unfortunately.