Refactor modular startup and viewer ship debugging
This commit is contained in:
@@ -60,6 +60,14 @@ public sealed class ResourceNodeDefinition
|
||||
public int ShardCount { get; set; }
|
||||
}
|
||||
|
||||
public sealed class ItemDefinition
|
||||
{
|
||||
public required string Id { get; set; }
|
||||
public required string Label { get; set; }
|
||||
public required string Storage { get; set; }
|
||||
public string Summary { get; set; } = string.Empty;
|
||||
}
|
||||
|
||||
public sealed class PlanetDefinition
|
||||
{
|
||||
public required string Label { get; set; }
|
||||
@@ -95,6 +103,7 @@ public sealed class ShipDefinition
|
||||
public required string HullColor { get; set; }
|
||||
public float Size { get; set; }
|
||||
public float MaxHealth { get; set; }
|
||||
public List<string> Modules { get; set; } = [];
|
||||
}
|
||||
|
||||
public sealed class ConstructibleDefinition
|
||||
@@ -105,6 +114,8 @@ public sealed class ConstructibleDefinition
|
||||
public required string Color { get; set; }
|
||||
public float Radius { get; set; }
|
||||
public int DockingCapacity { get; set; }
|
||||
public Dictionary<string, float> Storage { get; set; } = new(StringComparer.Ordinal);
|
||||
public List<string> Modules { get; set; } = [];
|
||||
}
|
||||
|
||||
public sealed class ScenarioDefinition
|
||||
|
||||
Reference in New Issue
Block a user