Agricultural Tower output_inventory_slots has no effect

Things that we aren't going to implement
sh4dow
Burner Inserter
Burner Inserter
Posts: 17
Joined: Sun May 26, 2019 8:50 pm
Contact:

Agricultural Tower output_inventory_slots has no effect

Post by sh4dow »

Changing output_inventory_slots of agricultural towers currently (2.0.28) has no effect ingame. I'm not sure if this counts as a bug, documentation issue or a feature request, but I tried adding a "planter tower" that couldn't harvest anything (to allow a separate tower to harvest plants planted by this), and it still had 3 output_inventory_slots.
User avatar
IsaacOscar
Filter Inserter
Filter Inserter
Posts: 843
Joined: Sat Nov 09, 2024 2:36 pm
Contact:

Re: Agricultural Tower output_inventory_slots has no effect

Post by IsaacOscar »

Hmm good idea!
(I assume you meant output_inventory_size https://lua-api.factorio.com/latest/pro ... ntory_size)

Strangely the documentation says it defaults to 0, but it's not set in the game files https://github.com/wube/factorio-data/b ... .lua#L1251, however input_inventory_size is set to 3 (the same as the number of output slots in game); does changing that field affect the number of output slots?

Also agricultural towers apparently can't harvest plants planeted by other towers, see viewtopic.php?p=630422#p630422. I couldn't find anything in the API docs that could let you change which tower it thinks planted it. So you'd probably have to destroy and recreate the trees automatically ny script, so they won't be considered grown by an agricultural tower

If you're ok with having only one tower, and have it switch between planting and harvesting, you could have a script modify the inventory (e.g. fill up the inventory with junk when you don't want it fo harvest, I don't know how to stop inserters from taking the items though...)

Personally, I would like to allow the harvesting functionality to be controlled by the circuit network, e.g. you send signals with all the plant types you want it to hravest. I don't know how I'd mod that in though.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16761
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Agricultural Tower output_inventory_slots has no effect

Post by Rseding91 »

Agricultural towers do not support "plant only" or "harvest only" modes. Towers won't harvest things they didn't plant so if such a mode existed it would render the tower functionally useless.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Won't implement”