Search found 2 matches

by gogglebot
Mon Sep 04, 2023 12:54 pm
Forum: Modding help
Topic: Enable se_allow_in_space on another mod's building
Replies: 1
Views: 284

Enable se_allow_in_space on another mod's building

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 if (mods or script.active_mods) ["UndergroundTanks"] then {} but after that I'm lost. The buildings are all extra fluid...
by gogglebot
Thu Aug 13, 2020 6:01 pm
Forum: Modding help
Topic: How to generate items/recipes from existing items?
Replies: 1
Views: 703

How to generate items/recipes from existing items?

Hello! So I want to iterate through all the barrels, which I know the game itself generates from all valid fluids, in order to create a new item based on each, and a corresponding recipe. I found through looking at other mods that one can iterate over barrels as such in data-updates.lua: for _,r in ...

Go to advanced search