Support order in autoplace for tiles

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
DeadMG
Long Handed Inserter
Long Handed Inserter
Posts: 92
Joined: Thu Oct 22, 2020 7:56 am
Contact:

Support order in autoplace for tiles

Post by DeadMG »

Hey guys, currently I'm looking at making a mod where the player spawns with a few tiles, kinda like a Seablock-esque thing. The problem I'm encountering is that there's no way to make the starter tiles minable. This seems to be because the autoplace expression can only autoplace the top tile, not hidden tiles or double hidden tiles.

I'd like to suggest that the order property in autoplace specifications should be respected for tiles, with the behaviour that if tile A is ordered after tile B, and both appear according to the noise expressions, tile A is placed on top of tile B. Ideally this would also work for double hidden tiles, so you could make an autoplace expression that places water, then landfill, then concrete, which are minable as normal as if they were placed during gameplay.
Rseding91
Factorio Staff
Factorio Staff
Posts: 15230
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: Support order in autoplace for tiles

Post by Rseding91 »

I don't realistically see this happening engine side. It would add a *lot* of complexity to the noise logic and map generation overall just for mod support and be largely untestable. You can already handle this by listening to the chunk generated event and setting what ever hidden tiles you like using the Lua API.
If you want to get ahold of me I'm almost always on Discord.
DeadMG
Long Handed Inserter
Long Handed Inserter
Posts: 92
Joined: Thu Oct 22, 2020 7:56 am
Contact:

Re: Support order in autoplace for tiles

Post by DeadMG »

Fair enough
Post Reply

Return to “Modding interface requests”