Cliff connection information

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
Post Reply
sparr
Smart Inserter
Smart Inserter
Posts: 1243
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.

Post Reply

Return to “Modding interface requests”