surface_conditions For Tile prototype
surface_conditions For Tile prototype
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.
Re: surface_conditions For Tile prototype
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.
Re: surface_conditions For Tile prototype
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.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?
- Attachments
-
- nuketile.jpg (701.64 KiB) Viewed 130 times
Re: surface_conditions For Tile prototype
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.
Re: surface_conditions For Tile prototype
It is not item "atomic-bomb" cannot be used;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 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 ) If they decide not to include it, then those "nuclear-ground" will make holes in their farm design. 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.
Re: surface_conditions For Tile prototype
Put a surface condition on the plants themselves. Problem solved.