Add MEGA Ocean Liner, split decks, and detailed ship materials

This commit is contained in:
josh
2026-11-28 21:02:42 -05:00
parent ce0d38c8de
commit 46624bf5ba
47 changed files with 2042 additions and 382 deletions

View File

@@ -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;