Agriculture Tower On Events
Posted: Sat Jul 19, 2025 2:15 am
There are currently no on event handlers for Agricultural towers. It would be nice to have an event fired for OnSeedPlanted for example, and OnTreeHarvested.
Such that mods could better access and alter the behaviors of the ag tower - for example changing the quality of harvested materials.
You can for example use the event for robots or the player to detect the planting of seeds, but not an agricultural tower for some reason - it could even reuse the robot one!
I tried to listen for any event that fires when the Ag tower harvests or places a plant, but could not find any, and there are none in the API docs. So please direct me to what to use if it exists already, and I am mistaken.
Cheers,
Such that mods could better access and alter the behaviors of the ag tower - for example changing the quality of harvested materials.
You can for example use the event for robots or the player to detect the planting of seeds, but not an agricultural tower for some reason - it could even reuse the robot one!
I tried to listen for any event that fires when the Ag tower harvests or places a plant, but could not find any, and there are none in the API docs. So please direct me to what to use if it exists already, and I am mistaken.
Cheers,