Rebrand as Big Ship Tycoon and add crew operations
This commit is contained in:
@@ -14,7 +14,8 @@ namespace Soundings
|
||||
Ivory = 30, LightStrip = 31, Gasket = 32, DisplayDark = 33, ScreenChart = 34,
|
||||
ScreenGreen = 35, ScreenAmber = 36, BridgeFloor = 37, Upholstery = 38, SafetyGreen = 39,
|
||||
ScreenWater = 40, ScreenLand = 41, ScreenRed = 42, WindowGlass = 43, PoolWater = 44, PoolTile = 45,
|
||||
SuiteCarpet = 46, Brass = 47, ShowVelvet = 48, PoolDeck = 49, LoungeLeather = 50, Marble = 51;
|
||||
SuiteCarpet = 46, Brass = 47, ShowVelvet = 48, PoolDeck = 49, LoungeLeather = 50, Marble = 51,
|
||||
PromenadeRunner = 52, Linen = 53;
|
||||
private static readonly string[] Paint =
|
||||
{
|
||||
"142C3F", "E1DBCA", "B88754", "8A613C", "283846", "678B93", "B45944", "497975",
|
||||
@@ -22,7 +23,8 @@ namespace Soundings
|
||||
"573B2E", "A46C50", "DFAB86", "40577D", "BF7756", "D3B973", "76ADA8", "A684AB", "E3DED0",
|
||||
"B7BFC0", "AD825C", "91A9AF", "284550", "385361", "DCE1DB", "FFF1D7", "202D36",
|
||||
"111D25", "8ED9E0", "65C89B", "E7B868", "3F565C", "416172", "527D65", "29485A", "A8AB71",
|
||||
"D66D57", "80B6C5", "3796A3", "47878F", "485C6C", "BD9660", "85424D", "6A908E", "59716B", "E7E0D5"
|
||||
"D66D57", "80B6C5", "3796A3", "47878F", "485C6C", "BD9660", "85424D", "9BAFA8", "59716B", "E7E0D5",
|
||||
"43696C", "E9DEBD"
|
||||
};
|
||||
|
||||
private readonly Transform shipRoot;
|
||||
@@ -487,7 +489,11 @@ namespace Soundings
|
||||
float z = depth * .16f;
|
||||
Solid(Joinery, x, .257f, z, 1.03f, .52f, 1.88f);
|
||||
Box(Ivory, x, .562f, z, 1.05f, .191f, 1.88f);
|
||||
Box(Upholstery, x, .678f, z - .22f, 1.07f, .075f, 1.34f);
|
||||
int throwColor = seed % 2 == 0 ? Upholstery : 20;
|
||||
Box(Linen, x, .673f, z - .126f, 1.07f, .064f, 1.53f);
|
||||
Box(throwColor, x, .714f, z - .63f, 1.08f, .034f, .51f);
|
||||
for (int seam = -1; seam <= 1; seam += 2)
|
||||
Box(Ivory, x + seam * .385f, .708f, z + .015f, .016f, .010f, .80f);
|
||||
Box(Ivory, x, .71f, z + .59f, .62f, .108f, .35f);
|
||||
Box(Joinery, x, .77f, z + .91f, 1.12f, .87f, .10f);
|
||||
Box(LightStrip, x, 1.12f, z + .837f, .48f, .036f, .049f);
|
||||
@@ -496,6 +502,9 @@ namespace Soundings
|
||||
Solid(Joinery, width * .395f, .44f, -depth * .214f, .80f, .88f, .96f);
|
||||
Box(Ivory, width * .395f, .906f, -depth * .214f, .86f, .055f, 1.01f);
|
||||
Box(Alloy, width * .35f, .765f, -depth * .31f, .38f, .034f, .054f);
|
||||
Box(16, width * .36f, .944f, -depth * .236f, .29f, .028f, .20f);
|
||||
Box(Linen, width * .36f, .963f, -depth * .238f, .262f, .013f, .18f);
|
||||
Box(20, width * .36f, .974f, -depth * .236f, .25f, .012f, .174f);
|
||||
Solid(Joinery, -width * .39f, .95f, -depth * .24f, .67f, 1.90f, .88f);
|
||||
Box(Alloy, -width * .337f, 1.00f, -depth * .24f, .033f, .15f, .035f);
|
||||
Guest(seed % 3 == 0 ? GuestActivity.Read : GuestActivity.Rail, .05f, -depth * .05f, 1,
|
||||
@@ -592,6 +601,7 @@ namespace Soundings
|
||||
const float poolLevel = .44f;
|
||||
float poolZ = depth * .13f;
|
||||
Vector3 poolFoot = pos + Vector3.forward * (poolZ * facing);
|
||||
Box(PoolDeck, 0, .013f, poolZ, basin.x * 2 + .78f, .017f, basin.y * 2 + .81f);
|
||||
VesselExterior.PoolBasin(shape.Mesh(Ivory), shape.Mesh(PoolTile), shape.Mesh(PoolWater), poolFoot, basin, .56f, poolLevel);
|
||||
VesselExterior.PoolRails(shape.Mesh(Alloy), poolFoot + new Vector3(-basin.x * .69f, .18f, -basin.y * facing), -facing);
|
||||
layout.WalkSpace.Block(poolFoot, new Vector3((basin.x + .23f) * 2f, .56f, (basin.y + .23f) * 2f));
|
||||
@@ -606,6 +616,7 @@ namespace Soundings
|
||||
Solid(Joinery, seatX, .20f, bench, .94f, .36f, .46f);
|
||||
Box(Upholstery, seatX, .418f, bench, .92f, .089f, .46f);
|
||||
Box(Upholstery, seatX, .61f, bench - .211f, .93f, .36f, .072f);
|
||||
Box(Linen, seatX - side * .30f, .474f, bench + .01f, .24f, .035f, .31f);
|
||||
Guest(side > 0 ? GuestActivity.Read : GuestActivity.Rest, seatX, bench,
|
||||
side + 3, OnboardService.Amenities, side < 0 ? .30f : .75f, .483f);
|
||||
}
|
||||
@@ -960,15 +971,20 @@ namespace Soundings
|
||||
{
|
||||
0 => Harbor.SurfaceFinish.Hull,
|
||||
2 or Joinery => Harbor.SurfaceFinish.Timber,
|
||||
Carpet or BridgeFloor or Upholstery or SuiteCarpet or ShowVelvet or LoungeLeather or 11 => Harbor.SurfaceFinish.Fabric,
|
||||
Carpet or BridgeFloor or Upholstery or SuiteCarpet or ShowVelvet or LoungeLeather or PromenadeRunner
|
||||
or Linen or 11 => Harbor.SurfaceFinish.Fabric,
|
||||
Alloy or Brass => Harbor.SurfaceFinish.Alloy,
|
||||
PoolWater => Harbor.SurfaceFinish.Pool,
|
||||
_ => Harbor.SurfaceFinish.Paint
|
||||
};
|
||||
material.SetFloat("_Finish", (float)surfaceFinish);
|
||||
if (id is PoolDeck or PoolTile)
|
||||
material.SetFloat("_TileFrequency", id == PoolTile ? 14 : 3.4f);
|
||||
if (id is Carpet or SuiteCarpet or PromenadeRunner or 11)
|
||||
material.SetFloat("_FabricMotif", id == SuiteCarpet ? .9f : .54f);
|
||||
if (id == 0)
|
||||
material.SetFloat("_Waterline", 1);
|
||||
material.SetFloat("_Roughness", id == PoolWater ? .16f : metal ? .39f : .76f);
|
||||
material.SetFloat("_Roughness", id is PoolWater or PoolTile ? .19f : metal ? .39f : .76f);
|
||||
material.SetFloat("_Metal", metal ? .45f : .04f);
|
||||
material.SetFloat("_Weather", id is Carpet or BridgeFloor or Upholstery ? .57f : .12f);
|
||||
material.SetFloat("_Emissive", id switch
|
||||
|
||||
Reference in New Issue
Block a user