Agriculture Tower On Events

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
MichaelMichael
Burner Inserter
Burner Inserter
Posts: 8
Joined: Thu Nov 21, 2024 11:44 pm
Contact:

Agriculture Tower On Events

Post 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,
curiosity
Filter Inserter
Filter Inserter
Posts: 667
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: Agriculture Tower On Events

Post by curiosity »

Events would be nice, but it sounds like you are skirting around asking for quality on plants instead of asking directly.
Post Reply

Return to “Modding interface requests”