Fix port cinematics and expand ship attractions

This commit is contained in:
josh
2026-11-28 18:39:32 -05:00
parent 2c85a5ba00
commit 56fafba6d9
37 changed files with 936 additions and 101 deletions

View File

@@ -75,7 +75,7 @@ namespace Soundings
bool walking = activity == GuestActivity.Walk;
bool swimming = activity == GuestActivity.Swim;
bool inWater = swimming || activity == GuestActivity.Wade;
bool staff = activity is GuestActivity.TendBar or GuestActivity.ShopClerk;
bool staff = activity is GuestActivity.TendBar or GuestActivity.ShopClerk or GuestActivity.Dealer;
bool lounging = activity == GuestActivity.Lounge;
bool seated = guest.SeatHeight > 0;
float heading = guest.Heading;
@@ -139,6 +139,7 @@ namespace Soundings
GuestActivity.Read => 23f, GuestActivity.Dine => 9f, GuestActivity.Drink => 5f,
GuestActivity.TendBar => 12f, GuestActivity.Photograph => -2f, GuestActivity.Lounge => -11f,
GuestActivity.Shopper => 16f, GuestActivity.ShopClerk => 15f,
GuestActivity.PlayCards or GuestActivity.Dealer => 18f,
_ => seated ? -3f : 0
};
float spot = Mathf.Sin(time * .67f) * (walking ? 12 : 23);
@@ -305,6 +306,10 @@ namespace Soundings
case GuestActivity.ShopClerk:
return side > 0 ? new Vector3(.22f - beat * .15f, hip + .133f + .10f * beat, .43f)
: new Vector3(-.118f, hip + .14f, .40f + .072f * beat);
case GuestActivity.PlayCards:
return new Vector3(side * (.11f + .048f * beat), hip + .16f + .17f * beat, .44f - .12f * beat);
case GuestActivity.Dealer:
return new Vector3(side * (.19f + .052f * beat), hip + .06f + .09f * beat, .40f + .10f * beat);
case GuestActivity.Watch:
float clap = beat * (.66f + .34f * Mathf.Sin(time * 17f));
return new Vector3(side * Mathf.Lerp(.155f, .031f, clap), hip + .108f + beat * .25f, .295f + beat * .055f);
@@ -446,6 +451,11 @@ namespace Soundings
Shell(SmallOrb, palm + new Vector3(-.068f, .038f, .028f), new Vector3(.106f, .065f, .011f), Quaternion.Euler(-45, yaw, 0),
Paper, Surface.Accessory);
break;
case GuestActivity.PlayCards:
case GuestActivity.Dealer:
Shell(SmallOrb, palm + new Vector3(-.013f, .018f, .025f), new Vector3(.039f, .052f, .006f),
Quaternion.Euler(-56 + 17 * lift, yaw, 8), Paper, Surface.Accessory);
break;
case GuestActivity.Photograph:
Shell(SmallOrb, palm + new Vector3(-.036f, .044f, .009f), new Vector3(.037f, .065f, .009f), Quaternion.Euler(-12 + lift * 23, yaw, 0),
Strap, Surface.Accessory);