Enable se_allow_in_space on another mod's building
Posted: Mon Sep 04, 2023 12:54 pm
Howdy, I'd like to make a small compatibility mod to enable (set = to true) on some buildings added by another mod. I believe I can check that a mod is installed by doing but after that I'm lost.
The buildings are all extra fluid tanks added by UndergroundTanks.
As the title says Id like to just modify these buildings to enable them to work in Space Exploration's space surfaces, which I believe is done with the `se_allow_in_space` attribute.
Thank you!
Code: Select all
if (mods or script.active_mods) ["UndergroundTanks"] then {}
The buildings are all extra fluid tanks added by UndergroundTanks.
As the title says Id like to just modify these buildings to enable them to work in Space Exploration's space surfaces, which I believe is done with the `se_allow_in_space` attribute.
Thank you!