Cliff connection information

Post Reply
sparr
Smart Inserter
Smart Inserter
Posts: 1247
Joined: Fri Feb 14, 2014 5:52 pm
Contact:

Cliff connection information

Post by sparr »

Two cliffs with the same location and cliff_orientation have different size and sprite depending on which directions they connect to other cliffs. However, that connection information doesn't seem to be visible in the API. I'd like to be able to query it, perhaps as LuaEntity.cliff_connections referring to other cliff entities or just compass directions?

Further, I'd like to be able to specify it in create_entity, to avoid having to call update_connections if I know in advance which way the connections should go.

Rseding91
Factorio Staff
Factorio Staff
Posts: 12020
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Cliff connection information

Post by Rseding91 »

Ok, i've added it to entity.neighbours read for the next release.
If you want to get ahold of me I'm almost always on Discord.

Post Reply

Return to “Implemented mod requests”