How to make a resource only spawn on non-homeworld planets

Place to get help with not working mods / modding interface.
Post Reply
BubstyBoy
Burner Inserter
Burner Inserter
Posts: 10
Joined: Tue Aug 15, 2023 3:24 pm
Contact:

How to make a resource only spawn on non-homeworld planets

Post by BubstyBoy »

Hi, I was wondering if anyone knew how to make a resource only spawn on planets and moons(and not homeworlds) when space exploration is enabled. I tried tapping into SE's universe.lua file during the data stage and adding my ore into default_resource_order, resource_word_rules.not_space, and resource_word_rules.not_homeworld, but it still appears in all those places. any ideas?

Post Reply

Return to “Modding help”