Agricultural Tower Extended Controls


More circuit controls for agricultural towers: read the number of matured plants; disable harvesting while still allowing planting.

Tweaks
20 days ago
2.0
99
Factorio: Space Age Icon Space Age Mod
Mining Circuit network
Owner:
FiveYellowMice
Source:
https://github.com/FiveYellowMice/fac...
Homepage:
https://github.com/FiveYellowMice/fac...
License:
Mozilla Public License 2.0
Created:
21 days ago
Latest Version:
0.1.2 (20 days ago)
Factorio version:
2.0
Downloaded by:
99 users

Agricultural Tower Extended Controls

Mod Portal | GitHub

This Factorio mod adds more circuit controls for agricultural towers, namely:

  • Reads the number of fully-grown plants within the range of this agricultural tower.
  • Use a circuit condition to enable/disable harvesting of plants while still allowing planting.

Usage

Connect a circuit wire to an agricultural tower, and open its GUI.

Technical Characteristics

  • Computations for both features are run only when necessary. Minimal per-tick logic.
  • Does not scan the world for every agricultural tower, so building more agricultural towers does not make it slower.
  • Circuit control settings can be configured for entity ghosts before they are built.
  • Supports copy-pasting, blueprints, undoing.
  • Handles other mods teleporting/cloning the agricultural tower.
  • Handles when multiple players are configuring the same agricultural tower.

Todo

  • Preserve settings for quick-replacements to modded towers.
  • Sweep aux entities, rebuild index on configuration changed
  • Fix control settings not saved in redo on entity marked for desconstruction
  • Add remote interface: get/set control settings