Add manual helm, grounded interiors, and taller ship classes

This commit is contained in:
josh
2026-11-27 22:44:09 -05:00
parent 33cdd6dfa7
commit 7951e1c878
29 changed files with 1745 additions and 429 deletions

View File

@@ -25,16 +25,18 @@ namespace Soundings
public sealed class HullSpec
{
public readonly string Name, Description;
public readonly int Columns, Rows, MaxDecks, Price, Voyages, Reputation, Tank, CrewPerDay, HullWearCost;
public readonly int Columns, Rows, StarterDecks, MaxDecks, Price, Voyages, Reputation, Tank, CrewPerDay, HullWearCost;
public readonly float Length, Beam;
public readonly double TonsPerMile;
public HullSpec(string name, string description, int columns, int rows, int maxDecks, int price,
int voyages, int reputation, int tank, double tonsPerMile, int crewPerDay, int hullWearCost)
public HullSpec(string name, string description, int columns, int rows, int starterDecks, int maxDecks, int price,
int voyages, int reputation, int tank, double tonsPerMile, int crewPerDay, int hullWearCost, float length, float beam)
{
Name = name;
Description = description;
Columns = columns;
Rows = rows;
StarterDecks = starterDecks;
MaxDecks = maxDecks;
Price = price;
Voyages = voyages;
@@ -43,6 +45,8 @@ namespace Soundings
TonsPerMile = tonsPerMile;
CrewPerDay = crewPerDay;
HullWearCost = hullWearCost;
Length = length;
Beam = beam;
}
}
@@ -91,7 +95,6 @@ namespace Soundings
{
public const int StarterPortCount = 8;
public static int UsedPrice(int hull) => hull == 0 ? 105000 : 245000;
public const int FirstDecks = 2;
public const int MaxFleet = 8;
public const int Ocean = 2;
public const int Bermuda = 5;
@@ -117,9 +120,9 @@ namespace Soundings
public static readonly IReadOnlyList<HullSpec> Hulls = new[]
{
new HullSpec("Coastal", "A compact hull for short Caribbean crossings.", 6, 2, 3, 210000, 0, 0, 74, .092, 7200, 1200),
new HullSpec("Regional", "More deck space and range for island chains.", 8, 3, 4, 355000, 3, 24, 185, .121, 12800, 2300),
new HullSpec("Ocean Class", "A transatlantic hull for a world-class flagship.", 10, 3, 6, 690000, 9, 42, 440, .152, 21800, 4700)
new HullSpec("Coastal", "A compact hull for short Caribbean crossings.", 6, 2, 2, 3, 210000, 0, 0, 74, .092, 7200, 1200, 72, 14),
new HullSpec("Regional", "More deck space and range for island chains.", 8, 3, 4, 5, 355000, 3, 24, 185, .121, 12800, 2300, 104, 19),
new HullSpec("Ocean Class", "A transatlantic hull for a world-class flagship.", 10, 3, 6, 8, 690000, 9, 42, 440, .152, 21800, 4700, 142, 25)
};
public static readonly IReadOnlyList<PortSpec> Ports = new[]