Fix faulty identifier in exoplanet system creation script

And clarify that some tags are used in the UI => dangerous to change
This commit is contained in:
Emma Broman
2025-04-17 10:02:42 +02:00
parent a85821f88c
commit 93ef632663
@@ -389,7 +389,7 @@ function addExoplanetSystem(data)
Scale = AstronomicalUnit
}
},
Tag = { "exoplanet_1au_ring" },
Tag = { "exoplanet_1au_ring" }, -- Used in GUI
GUI = {
Name = "1 AU Size Comparison Circle",
Path = guiPath,
@@ -428,7 +428,7 @@ function addExoplanetSystem(data)
Rotation = data.MeanOrbitRotation
}
},
Tag = { "exoplanet_habitable_zone" },
Tag = { "exoplanet_habitable_zone" }, -- Used in GUI
GUI = {
Name = data.StarName .. " Habitable Zone",
Path = guiPath,
@@ -598,7 +598,7 @@ function addExoplanetSystem(data)
--------------------------------------------------------------------
-- Planet Orbit Uncertainty
--------------------------------------------------------------------
local showUncertaintyDisc = openspace.propertyValue("Modules.Exoplanets.ShowHabitableZone")
local showUncertaintyDisc = openspace.propertyValue("Modules.Exoplanets.ShowOrbitUncertainty")
local discTexture = openspace.propertyValue("Modules.Exoplanets.OrbitDiscTexture")
if hasValue(planetData.SemiMajorAxisUncertainty) then
@@ -620,7 +620,7 @@ function addExoplanetSystem(data)
Offset = planetData.SemiMajorAxisUncertainty,
Opacity = 0.25
},
Tag = { "exoplanet_uncertainty_disc" },
Tag = { "exoplanet_uncertainty_disc" }, -- Used in GUI
GUI = {
Name = planetData.Name .. " Disc",
Path = guiPath,