Add input filters to Agricultural tower prototype

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

User avatar
safthelamb@gmail.com
Inserter
Inserter
Posts: 21
Joined: Tue Aug 22, 2023 8:45 am
Contact:

Add input filters to Agricultural tower prototype

Post by safthelamb@gmail.com »

TL;DR
Being able to set a filter for [Agricultural Tower](https://lua-api.factorio.com/latest/pro ... otype.html) input items would allow for better distinct agricultural towers in mods.
What?
Currently there is no way to limit what plants different agricultural towers can plant. This can somewhat be circumvented by limiting towers to different planets via surface conditions, but breaks down if surface condition barriers are crossed, or if mods want to implement multiple categories of plants to be used on the same surface.
Why?
Being able to filter would already be beneficial for the Algacultural bay from my mod Seabloom Algaculture, which has radius=1 and thus is imbalanced when allowed to plant trees and other plants intended for the 3-radius Agricultural tower:
picture of agricultural tower with radius=1 placing trees closer than normally allowed with radius=3
picture of agricultural tower with radius=1 placing trees closer than normally allowed with radius=3
02-23-2025, 23-08-31.png (889.96 KiB) Viewed 254 times
As mentioned above, this has been temporarily solved with surface conditions, but I want to re-use the algacultural bay for another mod. As the pressure level for this new surface is between Nauvis and Gleba, where it currently is locked to Aquilo's 300, relaxing the surface condition would reintroduce the above issue.

An analogous "crafting category" for plants would solve all of my use cases, as well as work for another modder's plans afaik. As the agricultural tower automatically updates the tooltip for "accepted items" based on the surface conditions for a planet, I hope this is a reasonable ask. To match the paradigm of crafting_category being specified on the recipe, it'd likely make sense to specify the "plant_category" on the PlantPrototype, which works for me. Let me know if you have any further questions!
Mod Portal Profile | Creator of mods like Seabloom Algaculture, Scrappy Industry, Flow Configuration, and Astroponics | novice kitbasher and lua learner
Post Reply

Return to “Ideas and Suggestions”