Add riverboat captain career and distinct ship classes

Add class-specific vessel geometry and sea motion, a guided helm qualification path, dockside sailing orders, and local excursions at all 24 ports.
This commit is contained in:
josh
2026-11-29 20:41:00 -05:00
parent 46624bf5ba
commit 290e4cb45d
67 changed files with 1783 additions and 301 deletions

View File

@@ -6,23 +6,25 @@ namespace BigShipTycoon
{
private void BuildHullFittings(int side)
{
int hull = ship.HullIndex;
Paint marking = hull is Market.Coastal or Market.Regional ? Paint.Navy : Paint.Pearl;
// The bow marks are painted on the changing cross-section just above the waterline.
for (int mark = 0; mark < 6; mark++)
{
float y = .51f + mark * .247f;
var (at, along, outward) = SideFrame(.895f, y, length * 1.001f,
beam * Mathf.Lerp(.977f, 1f, mark / 5f), 0, side, ExteriorHullStations);
beam * Mathf.Lerp(.977f, 1f, mark / 5f), 0, side, ExteriorHullStations, hull);
at += outward * .038f;
SidePanel(Coat(Paint.Pearl), at, along, side, mark % 3 == 0 ? .32f : .18f, .046f);
SidePanel(Coat(marking), at, along, side, mark % 3 == 0 ? .32f : .18f, .046f);
if (mark % 3 == 0)
SidePanel(Coat(Paint.Pearl), at + Vector3.up * .047f - along * .136f, along, side, .047f, .116f);
SidePanel(Coat(marking), at + Vector3.up * .047f - along * .136f, along, side, .047f, .116f);
}
for (int position = 0; position < 2; position++)
{
float station = position == 0 ? .113f : .835f;
var (at, along, outward) = SideFrame(station, 4.52f, length * 1.010f, beam * 1.029f,
0, side, ExteriorHullStations);
0, side, ExteriorHullStations, hull);
Coat(Paint.Steel).Disc(at + outward * .046f, along * (side * .47f), Vector3.up * .21f, 12);
Coat(Paint.Black).Disc(at + outward * .054f, along * (side * .367f), Vector3.up * .136f, 12);
Coat(Paint.Steel).Rod(at + outward * .062f + along * .085f - Vector3.up * .121f,
@@ -30,7 +32,7 @@ namespace BigShipTycoon
}
// Frames and a cabling run break up the flush embarkation hatch.
var (door, hinge, face) = SideFrame(.56f, 3.22f, length * 1.004f, beam * 1.016f, 0, side, ExteriorHullStations);
var (door, hinge, face) = SideFrame(.56f, 3.22f, length * 1.004f, beam * 1.016f, 0, side, ExteriorHullStations, hull);
Vector3 center = door + face * .046f;
SidePanel(Coat(Paint.Steel), center + Vector3.up * .718f, hinge, side, 2.08f, .034f);
SidePanel(Coat(Paint.Steel), center - Vector3.up * .724f, hinge, side, 2.08f, .034f);