cursor's terrain building area (R)

Place to get help with not working mods / modding interface.
mophydeen
Filter Inserter
Filter Inserter
Posts: 529
Joined: Sun Nov 22, 2015 5:02 pm
Contact:

cursor's terrain building area (R)

Post by mophydeen »

Is there a way to read the current terrain building area.

eg. you can use + or - to size the concrete.

I'd like to know the size eg. 1, 2, ... , 10

as in 1x1, 2x2, 10x10


Thank you
Rseding91
Factorio Staff
Factorio Staff
Posts: 16442
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: cursor's terrain building area (R)

Post by Rseding91 »

No, that value isn't stored in the game state and as such can't be read from mods.
If you want to get ahold of me I'm almost always on Discord.
Rseding91
Factorio Staff
Factorio Staff
Posts: 16442
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: cursor's terrain building area (R)

Post by Rseding91 »

mophydeen wrote:the problem is when placing tiles and listening to 'on_player_built_tile'

It's not always a square.
So? It doesn't have to be square.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Modding help”