Page 1 of 1

Agriculture Tower On Events

Posted: Sat Jul 19, 2025 2:15 am
by MichaelMichael
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,

Re: Agriculture Tower On Events

Posted: Sat Jul 19, 2025 8:03 am
by curiosity
Events would be nice, but it sounds like you are skirting around asking for quality on plants instead of asking directly.