Rebrand as Big Ship Tycoon and add crew operations
This commit is contained in:
@@ -166,6 +166,7 @@ namespace Soundings
|
||||
const float rim = .59f, surface = .47f;
|
||||
var basin = new Vector2(width * .337f, depth * .229f);
|
||||
room.Pool(poolZ, basin, rim, surface);
|
||||
FitPoolSurround(room, poolZ, basin);
|
||||
room.Guest(GuestActivity.Wade, basin.x * .78f, poolZ + basin.y * .08f, 106, OnboardService.Amenities, .10f, lift: surface);
|
||||
room.Guest(GuestActivity.Wade, -basin.x * .77f, poolZ - basin.y * .12f, 108, OnboardService.Amenities, .48f,
|
||||
direction: -1, lift: surface);
|
||||
@@ -312,8 +313,8 @@ namespace Soundings
|
||||
float poolZ = depth * .093f;
|
||||
var basin = new Vector2(width * (park ? .313f : .253f), depth * .213f);
|
||||
float surface = park ? .50f : .44f;
|
||||
room.Box(Marble, 0, .014f, poolZ, basin.x * 2 + 1.06f, .025f, basin.y * 2 + .99f);
|
||||
room.Pool(poolZ, basin, surface + .103f, surface);
|
||||
FitPoolSurround(room, poolZ, basin);
|
||||
if (park)
|
||||
{
|
||||
for (int lane = -1; lane <= 1; lane++)
|
||||
@@ -371,6 +372,22 @@ namespace Soundings
|
||||
room.Station(StationKind.Pool, 0, poolZ - basin.y - .36f);
|
||||
}
|
||||
|
||||
private static void FitPoolSurround(Venue room, float center, Vector2 basin)
|
||||
{
|
||||
room.Box(PoolDeck, 0, .020f, center, basin.x * 2 + .78f, .029f, basin.y * 2 + .76f);
|
||||
for (int side = -1; side <= 1; side += 2)
|
||||
{
|
||||
float z = center + side * (basin.y + .31f);
|
||||
room.Box(Alloy, 0, .037f, z, basin.x * 1.85f, .017f, .081f);
|
||||
int slats = Mathf.CeilToInt(basin.x * 8f);
|
||||
for (int i = 0; i < slats; i++)
|
||||
{
|
||||
float x = Mathf.Lerp(-basin.x * .90f, basin.x * .90f, (i + .5f) / slats);
|
||||
room.Box(Gasket, x, .046f, z, .023f, .008f, .059f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private readonly struct Venue
|
||||
{
|
||||
private readonly Geometry shape;
|
||||
|
||||
Reference in New Issue
Block a user