Add fleet save slots and rotatable onboard venues
This commit is contained in:
@@ -4,7 +4,10 @@ using UnityEngine.Rendering;
|
||||
|
||||
namespace Soundings
|
||||
{
|
||||
internal enum GuestActivity { Walk, Rail, Talk, Photograph, Read, Dine, Drink, Watch, Perform, Rest, Guitar, Revue, Swim, Wade, TendBar, Lounge }
|
||||
internal enum GuestActivity
|
||||
{
|
||||
Walk, Rail, Talk, Photograph, Read, Dine, Drink, Watch, Perform, Rest, Guitar, Revue, Swim, Wade, TendBar, Lounge, Shopper, ShopClerk
|
||||
}
|
||||
|
||||
internal sealed class DeckGuest
|
||||
{
|
||||
@@ -118,7 +121,7 @@ namespace Soundings
|
||||
if (guest.Service >= 0)
|
||||
{
|
||||
OnboardSample service = session.Get((OnboardService)guest.Service);
|
||||
occupancy = guest.Activity == GuestActivity.TendBar && service.Capacity > 0
|
||||
occupancy = guest.Activity is (GuestActivity.TendBar or GuestActivity.ShopClerk) && service.Capacity > 0
|
||||
? 1 : service.Served / (float)Mathf.Max(1, service.Capacity);
|
||||
}
|
||||
if (guest.Program.HasValue)
|
||||
|
||||
Reference in New Issue
Block a user