hi, I'm partially color-blind and have a lot of trouble with the agricultural tower.
I noticed when I pick up artificial soil, it draws white squares around tiles that would benefit from the soil near a tower.
I would like to mod the tower so that when choosing a spot to place the tower, I can customize to do something similar as the soil. I want to draw white square around areas that are ready for seed, yellow where artificial soil is needed and red squares where overgrowth would be required, and no squares if the tile doesn't support planting.
I can't seem to figure out how to get the position that the ghost or item is hovering over to draw an overlay. How can I accomplish this?
need help creating mod to add visualization aids
Re: need help creating mod to add visualization aids
Far as I'm aware you can't, because cursor position isn't part of the game state, just their cursor_stack. You'd have to draw the overlay over the entire possible area for as long as the player has the tower in hand.

