surface_conditions For Tile prototype

Place to ask discuss and request the modding support of Factorio. Don't request mods here.
meifray
Long Handed Inserter
Long Handed Inserter
Posts: 96
Joined: Sat May 29, 2021 6:12 pm
Contact:

surface_conditions For Tile prototype

Post by meifray »

I mean it is really awkward if we nuke the gleba soil and created nuclear ground or some new glrba biome get added by other mod, the current soil everywhere mod would just unplacable on those new tiles, or else yumako in aquilo :/
Last edited by meifray on Fri Sep 19, 2025 7:12 pm, edited 1 time in total.
Bilka
Factorio Staff
Factorio Staff
Posts: 3624
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: surface_conditions For Tile prototype

Post by Bilka »

What would this do for nuke explosions that the combination of https://lua-api.factorio.com/latest/pro ... conditions and https://lua-api.factorio.com/latest/typ ... ildability doesnt already do as demonstrated on the vanilla nuke?
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
meifray
Long Handed Inserter
Long Handed Inserter
Posts: 96
Joined: Sat May 29, 2021 6:12 pm
Contact:

Re: surface_conditions For Tile prototype

Post by meifray »

Bilka wrote: Fri Sep 19, 2025 6:36 pm What would this do for nuke explosions that the combination of https://lua-api.factorio.com/latest/pro ... conditions and https://lua-api.factorio.com/latest/typ ... ildability doesnt already do as demonstrated on the vanilla nuke?
Those are for Entities, not for the Tiles, and the ItemPrototype.place_as_tile although do may specify what tile it can be built on, but no surface condition there also.
Attachments
nuketile.jpg
nuketile.jpg (701.64 KiB) Viewed 125 times
Bilka
Factorio Staff
Factorio Staff
Posts: 3624
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: surface_conditions For Tile prototype

Post by Bilka »

The nuke spawns entities which spawn tiles and checks the surface conditions on the entities. What is the reason the modded nuke can't use that?
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
meifray
Long Handed Inserter
Long Handed Inserter
Posts: 96
Joined: Sat May 29, 2021 6:12 pm
Contact:

Re: surface_conditions For Tile prototype

Post by meifray »

Bilka wrote: Fri Sep 19, 2025 7:49 pm The nuke spawns entities which spawn tiles and checks the surface conditions on the entities. What is the reason the modded nuke can't use that?
It is not item "atomic-bomb" cannot be used;
It is not tile "nuclear-ground" creation cannot be controlled;
What I mean is buildable tile without surface_conditions is either hard to be compatible or may cause exploition.

Item "atomic-bomb" will create tile "nuclear-ground" regardless where you nuke it,
and those "nuclear-ground" is not suitable for "overgrowth-yumako-soil" in base game,
but what if a mod want to have "overgrowth-yumako-soil" to be built everywhere in Gleba,
then the modder have to face a choice about "nuclear-ground":
If they included "nuclear-ground" as part of tile allow list, then you can have yumako growing in Nauvis or Aquilo like this:(with mod https://mods.factorio.com/mod/soil-anywhere )
nuketile2.jpg
nuketile2.jpg (557.38 KiB) Viewed 84 times
If they decide not to include it, then those "nuclear-ground" will make holes in their farm design.
nuketile.jpg
nuketile.jpg (701.64 KiB) Viewed 84 times
and such problem will appear again and again everytime new environmental tile get added.

We already have a surface_condition to limit such thing, why would we not doing it with tiles also?
which make a tile limited for certain planet/surface.
curiosity
Filter Inserter
Filter Inserter
Posts: 688
Joined: Wed Sep 11, 2019 4:13 pm
Contact:

Re: surface_conditions For Tile prototype

Post by curiosity »

Put a surface condition on the plants themselves. Problem solved.
Post Reply

Return to “Modding interface requests”