mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Obsolete pulsars
This commit is contained in:
parent
a56c927110
commit
4ae5ec17b1
@ -42,11 +42,6 @@ namespace NewHorizons.Builder.Body
|
|||||||
case StellarRemnantType.NeutronStar:
|
case StellarRemnantType.NeutronStar:
|
||||||
MakeNeutronStar(go, sector, mod, star.Config.Star);
|
MakeNeutronStar(go, sector, mod, star.Config.Star);
|
||||||
|
|
||||||
break;
|
|
||||||
case StellarRemnantType.Pulsar:
|
|
||||||
MakeNeutronStar(go, sector, mod, star.Config.Star);
|
|
||||||
// TODO: add jets, up rotation speed (use a RotateTransform on the star instead of changing sidereal period)
|
|
||||||
|
|
||||||
break;
|
break;
|
||||||
case StellarRemnantType.BlackHole:
|
case StellarRemnantType.BlackHole:
|
||||||
MakeBlackhole(go, sector, star.Config.Star);
|
MakeBlackhole(go, sector, star.Config.Star);
|
||||||
@ -146,8 +141,6 @@ namespace NewHorizons.Builder.Body
|
|||||||
return MakeWhiteDwarf(planet, null, mod, progenitor, proxy);
|
return MakeWhiteDwarf(planet, null, mod, progenitor, proxy);
|
||||||
case StellarRemnantType.NeutronStar:
|
case StellarRemnantType.NeutronStar:
|
||||||
return MakeNeutronStar(planet, null, mod, progenitor, proxy);
|
return MakeNeutronStar(planet, null, mod, progenitor, proxy);
|
||||||
case StellarRemnantType.Pulsar:
|
|
||||||
return MakeNeutronStar(planet, null, mod, progenitor, proxy);
|
|
||||||
case StellarRemnantType.BlackHole:
|
case StellarRemnantType.BlackHole:
|
||||||
return MakeBlackhole(planet, null, progenitor, proxy);
|
return MakeBlackhole(planet, null, progenitor, proxy);
|
||||||
default:
|
default:
|
||||||
|
|||||||
3
NewHorizons/External/Configs/PlanetConfig.cs
vendored
3
NewHorizons/External/Configs/PlanetConfig.cs
vendored
@ -459,6 +459,9 @@ namespace NewHorizons.External.Configs
|
|||||||
if (Star != null)
|
if (Star != null)
|
||||||
{
|
{
|
||||||
if (!Star.goSupernova) Star.stellarDeathType = StellarDeathType.None;
|
if (!Star.goSupernova) Star.stellarDeathType = StellarDeathType.None;
|
||||||
|
|
||||||
|
// Gave up on supporting pulsars
|
||||||
|
if (Star.stellarRemnantType == StellarRemnantType.Pulsar) Star.stellarRemnantType = StellarRemnantType.NeutronStar;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Signals no longer use two different variables for audio
|
// Signals no longer use two different variables for audio
|
||||||
|
|||||||
@ -154,7 +154,7 @@ namespace NewHorizons.External.Modules.VariableSize
|
|||||||
[EnumMember(Value = @"default")] Default,
|
[EnumMember(Value = @"default")] Default,
|
||||||
[EnumMember(Value = @"whiteDwarf")] WhiteDwarf,
|
[EnumMember(Value = @"whiteDwarf")] WhiteDwarf,
|
||||||
[EnumMember(Value = @"neutronStar")] NeutronStar,
|
[EnumMember(Value = @"neutronStar")] NeutronStar,
|
||||||
[EnumMember(Value = @"pulsar")] Pulsar,
|
[Obsolete] Pulsar,
|
||||||
[EnumMember(Value = @"blackHole")] BlackHole,
|
[EnumMember(Value = @"blackHole")] BlackHole,
|
||||||
[EnumMember(Value = @"custom")] Custom
|
[EnumMember(Value = @"custom")] Custom
|
||||||
}
|
}
|
||||||
|
|||||||
@ -88,6 +88,8 @@ public static class SchemaExporter
|
|||||||
schema.Definitions["NomaiTextType"].EnumerationNames.Remove("CairnVariant");
|
schema.Definitions["NomaiTextType"].EnumerationNames.Remove("CairnVariant");
|
||||||
schema.Definitions["QuantumGroupType"].Enumeration.Remove("FailedValidation");
|
schema.Definitions["QuantumGroupType"].Enumeration.Remove("FailedValidation");
|
||||||
schema.Definitions["QuantumGroupType"].EnumerationNames.Remove("FailedValidation");
|
schema.Definitions["QuantumGroupType"].EnumerationNames.Remove("FailedValidation");
|
||||||
|
schema.Definitions["StellarRemnantType"].Enumeration.Remove("Pulsar");
|
||||||
|
schema.Definitions["StellarRemnantType"].EnumerationNames.Remove("Pulsar");
|
||||||
break;
|
break;
|
||||||
case "Star System Schema":
|
case "Star System Schema":
|
||||||
schema.Definitions["NomaiCoordinates"].Properties["x"].UniqueItems = true;
|
schema.Definitions["NomaiCoordinates"].Properties["x"].UniqueItems = true;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user