Adding one new planet access research (as for gasgiants) to a mod is quite simple:
Make a research for each race with
and replace these lines in the planets entity
But now i added a second research for a new planet type i called "AncientRelic".
Now if i researched one of the two types i can colonized both the gas giants and the relics.
I get only this error messages (several times):
Failed to convert 'GasGiant' to an enum value.
Failed to convert 'AncientRelic' to an enum value.
I got the gas giant message before, but it worked ingame. Its now a big problem since i can't differentiate between both researches.
Has anyone a idea how to solve this??