Agricultural Tower output_inventory_slots has no effect
Agricultural Tower output_inventory_slots has no effect
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.
- IsaacOscar
- Filter Inserter
- Posts: 843
- Joined: Sat Nov 09, 2024 2:36 pm
- Contact:
Re: Agricultural Tower output_inventory_slots has no effect
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.
(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.