mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
# Conflicts: # NewHorizons/Builder/Body/FunnelBuilder.cs # NewHorizons/External/Configs/PlanetConfig.cs # NewHorizons/External/Configs/StarSystemConfig.cs # NewHorizons/External/Modules/AsteroidBeltModule.cs # NewHorizons/External/Modules/AtmosphereModule.cs # NewHorizons/External/Modules/BaseModule.cs # NewHorizons/External/Modules/OrbitModule.cs # NewHorizons/External/Modules/PropModule.cs # NewHorizons/External/Modules/ShipLogModule.cs # NewHorizons/External/Modules/SignalModule.cs # NewHorizons/External/Modules/VariableSize/FunnelModule.cs # NewHorizons/External/Modules/VariableSize/RingModule.cs # NewHorizons/External/Modules/VariableSize/SingularityModule.cs # NewHorizons/External/Modules/VariableSize/StarModule.cs # NewHorizons/Main.cs
75 lines
2.3 KiB
C#
75 lines
2.3 KiB
C#
using Newtonsoft.Json;
|
|
using System.ComponentModel;
|
|
|
|
namespace NewHorizons.External.Configs
|
|
{
|
|
/// <summary>
|
|
/// Configuration for a specific star system
|
|
/// </summary>
|
|
[JsonObject]
|
|
public class StarSystemConfig
|
|
{
|
|
/// <summary>
|
|
/// Relative path to the image file to use as the subtitle image (replaces the eote banner)
|
|
/// </summary>
|
|
public string subtitle;
|
|
|
|
/// <summary>
|
|
/// Whether this system can be warped to via the warp drive
|
|
/// </summary>
|
|
public bool canEnterViaWarpDrive = true;
|
|
|
|
/// <summary>
|
|
/// Set to `true` if you want to spawn here after dying, not Timber Hearth. You can still warp back to the main star system.
|
|
/// </summary>
|
|
public bool startHere;
|
|
|
|
/// <summary>
|
|
/// Do you want a clean slate for this star system? Or will it be a modified version of the original.
|
|
/// </summary>
|
|
public bool destroyStockPlanets = true;
|
|
|
|
/// <summary>
|
|
/// Set to the FactID that must be revealed before it can be warped to. Don't set `CanEnterViaWarpDrive` to `false` if you're using this, that would make no sense.
|
|
/// </summary>
|
|
public string factRequiredForWarp;
|
|
public bool mapRestricted;
|
|
|
|
/// <summary>
|
|
/// [DEPRECATED] Not implemented
|
|
/// </summary>
|
|
public NomaiCoordinates coords;
|
|
|
|
/// <summary>
|
|
/// Customize the skybox for this system
|
|
/// </summary>
|
|
public SkyboxConfig skybox;
|
|
|
|
public class NomaiCoordinates
|
|
{
|
|
public int[] x;
|
|
public int[] y;
|
|
public int[] z;
|
|
}
|
|
|
|
[JsonObject]
|
|
public class SkyboxConfig
|
|
{
|
|
/// <summary>
|
|
/// Path to the Unity asset bundle to load the skybox material from
|
|
/// </summary>
|
|
public string assetBundle;
|
|
|
|
/// <summary>
|
|
/// Path to the material within the asset bundle specified by `assetBundle` to use for the skybox
|
|
/// </summary>
|
|
public string path;
|
|
|
|
/// <summary>
|
|
/// Whether to destroy the star field around the player
|
|
/// </summary>
|
|
public bool destroyStarField;
|
|
}
|
|
}
|
|
}
|