Agricultural tower placement helper

by Quezler

Shows you the difference between tiles that require artificial soil vs (yet to unlock) overgrowth soil.

Utilities
a day ago
2.0
622
Factorio: Space Age Icon Space Age Mod
Environment Manufacturing

i Tower Placement Graphics

29 days ago

I have an idea to change the graphics to instead show where the best place to put an agricultural tower is, instead of the soil quality. Because the tower can only plant in a 3x3 location, what if the dot for each tile was colored based on the number of valid 3x3 sectors within the 21x21 area around that tile?

To give an example, let's say you've got a 7x7 patch of green tiles. If you place the agricultural tower's center two tiles away from the edge, (remember towers are 3x3 themselves, so this would make the tower's edge flush with the edge of the 7x7 patch) it will line up two 3x3 sectors within that 7x7 patch, with one line of tiles leftover. But, if you place it three tiles from the edge, it will only be able to line up a single sector within that 7x7 patch; this is because the first 3x3 sector will have 6/9 growable tiles, the second 3x3 sector will have 9/9 growable tiles, and the third sector will have 3/9 growable tiles. Therefore, placing the tower two tiles away would give double the amount of growable 3x3 sectors than placing it three tiles away from the edge of the 7x7 patch.

This would greatly aid the early game, and not matter once you've gotten to the point where you can place artificial soil. I was thinking you could change the colors to be something like this: (You'd probably need to restrict it to search only the area around where the cursor holding the tower ghost is.) Green tiles give the highest amount of growable sectors within the nearby area, yellow tiles give between half of the maximum and one less than the max, and red tiles give less than half the max.

29 days ago

unfortunately the game does not allow easy access to the cursor's location

29 days ago

Then how about within an area of the player's location? That means it wouldn't work in remote view, but it would still help.

29 days ago

actually remote view has a position you can read, in fact this & the senpai mod use this to only scan for chunks in the currently visible area, but only exactly highlighting that position doesn't work nice either

23 hours ago

If my eyes aren't deceiving me (they probably are, damned colorblind eyes), there is a very slight difference in the vanilla 3x3 block overlay between "can plant now" and "could plant with artificial terrain". Just being able to customize the intensity and colors of that overlay would probably make this just about perfect.

New response