Code: Select all
--Remove Planets, retain atmosphere
local function remove_planet(name)
local temp = table.deepcopy(data.raw["planet"][name])
temp.type = "space-location"
data:extend{temp}
data.raw["planet"][name] = nil
end
remove_planet("fulgora")
remove_planet("gleba")
remove_planet("aquilo")
remove_planet("vulcanus")