Add MEGA Ocean Liner, split decks, and detailed ship materials
This commit is contained in:
@@ -96,9 +96,10 @@ namespace BigShipTycoon
|
||||
capacity[0] = ship.Beds;
|
||||
capacity[1] = ship.Meals;
|
||||
capacity[2] = ship.BarCapacity;
|
||||
capacity[3] = ship.Entertainment - (quote.Weather == WeatherCondition.Storm ? ship.SunDeckPlan.AddedShows : 0);
|
||||
int outdoor = ship.PoolCapacity;
|
||||
capacity[4] = quote.Weather switch { WeatherCondition.Storm => 0, WeatherCondition.Swell => outdoor * 2 / 3, _ => outdoor };
|
||||
capacity[3] = ship.Entertainment - (quote.Weather == WeatherCondition.Storm ? ship.OutdoorShowCapacity : 0);
|
||||
int indoor = ship.Count(Facility.ThermalSpa) * Market.Facilities[(int)Facility.ThermalSpa].Capacity;
|
||||
int outdoor = ship.PoolCapacity - indoor;
|
||||
capacity[4] = indoor + (quote.Weather switch { WeatherCondition.Storm => 0, WeatherCondition.Swell => outdoor * 2 / 3, _ => outdoor });
|
||||
capacity[(int)OnboardService.Retail] = ship.RetailCapacity;
|
||||
capacity[(int)OnboardService.Casino] = ship.CasinoCapacity;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user