Fix port cinematics and expand ship attractions
This commit is contained in:
@@ -12,6 +12,7 @@ namespace Soundings.Editor
|
||||
VerifyHullDeckProgression();
|
||||
VerifyMultiBerthFacilities();
|
||||
VerifyRotatableFacilities();
|
||||
VerifySunDeckRefit();
|
||||
VerifyFlagshipCampaign();
|
||||
VerifyLiveCrossingSettlement();
|
||||
VerifyConcurrentSettlement();
|
||||
@@ -20,7 +21,34 @@ namespace Soundings.Editor
|
||||
VerifyPortOrders();
|
||||
VerifyMultiStopItinerary();
|
||||
VerifyShoreExcursions();
|
||||
Debug.Log("Big Ship Tycoon economy verification passed for both starts, pricing, fuel, enlarged venues, fleet settlements, saves, weather, ship systems, crew payroll, laundry, port orders, multi-stop itineraries and shore excursions.");
|
||||
Debug.Log("Big Ship Tycoon economy verification passed for both starts, pricing, fuel, venue and sun deck refits, fleet settlements, saves, weather, ship systems, crew payroll, laundry, port orders, multi-stop itineraries and shore excursions.");
|
||||
}
|
||||
|
||||
private static void VerifySunDeckRefit()
|
||||
{
|
||||
Company company = Company.Start(false);
|
||||
Ship ship = company.ActiveShip;
|
||||
int cash = company.Cash, originalCapacity = ship.PoolCapacity;
|
||||
var plan = new SunDeckPlan
|
||||
{
|
||||
Pool = SunPoolStyle.Compact,
|
||||
Shape = SunPoolShape.Oval,
|
||||
Position = SunPoolPosition.Aft,
|
||||
Attraction = SunAttraction.MiniGolf,
|
||||
ExtraLoungers = true
|
||||
};
|
||||
Require(company.ChangeSunDeck(ship, plan) == null && company.Cash < cash && ship.PoolCapacity > originalCapacity,
|
||||
"a pool and miniature golf course cost cash and add amenity places");
|
||||
int remaining = company.Cash;
|
||||
Require(company.ChangeSunDeck(ship, plan) == null && company.Cash == remaining, "unchanged sun deck refits do not charge again");
|
||||
Company restored = JsonUtility.FromJson<Company>(JsonUtility.ToJson(company));
|
||||
Require(restored.CanLoad() && restored.ActiveShip.SunDeckPlan.Pool == plan.Pool
|
||||
&& restored.ActiveShip.SunDeckPlan.Shape == plan.Shape && restored.ActiveShip.SunDeckPlan.Position == plan.Position
|
||||
&& restored.ActiveShip.SunDeckPlan.Attraction == plan.Attraction && restored.ActiveShip.SunDeckPlan.ExtraLoungers,
|
||||
"sun deck fittings and placement survive a career save");
|
||||
plan.Attraction = SunAttraction.RollerCoaster;
|
||||
Require(company.ChangeSunDeck(ship, plan) != null && company.Cash == remaining && ship.SunDeckPlan.Attraction == SunAttraction.MiniGolf,
|
||||
"a small hull cannot install a roller coaster or spend money attempting it");
|
||||
}
|
||||
|
||||
private static void VerifyCrewAndLaundry()
|
||||
|
||||
@@ -24,7 +24,7 @@ namespace Soundings.Editor
|
||||
EditorBuildSettings.scenes = new[] { new EditorBuildSettingsScene(ScenePath, true) };
|
||||
PlayerSettings.companyName = "Soundings";
|
||||
PlayerSettings.productName = "Big Ship Tycoon";
|
||||
PlayerSettings.bundleVersion = "0.11.0";
|
||||
PlayerSettings.bundleVersion = "0.12.0";
|
||||
PlayerSettings.defaultScreenWidth = 1920;
|
||||
PlayerSettings.defaultScreenHeight = 1080;
|
||||
PlayerSettings.fullScreenMode = FullScreenMode.FullScreenWindow;
|
||||
|
||||
Reference in New Issue
Block a user