diff --git a/NewHorizons/Builder/Props/ProjectionBuilder.cs b/NewHorizons/Builder/Props/ProjectionBuilder.cs index ae85c5a8..3b85fccb 100644 --- a/NewHorizons/Builder/Props/ProjectionBuilder.cs +++ b/NewHorizons/Builder/Props/ProjectionBuilder.cs @@ -419,6 +419,7 @@ namespace NewHorizons.Builder.Props { var slide = new Slide(); var slideInfo = slides[i]; + slide._streamingImageID = i; // for SlideRotationModule if (string.IsNullOrEmpty(slideInfo.imagePath)) { @@ -493,6 +494,10 @@ namespace NewHorizons.Builder.Props }; modules.Add(shipLogEntry); } + if (slideInfo.rotate) + { + modules.Add(new SlideRotationModule()); + } Slide.WriteModules(modules, ref slide._modulesList, ref slide._modulesData, ref slide.lengths); } diff --git a/NewHorizons/External/Modules/Props/EchoesOfTheEye/SlideInfo.cs b/NewHorizons/External/Modules/Props/EchoesOfTheEye/SlideInfo.cs index 26b6053d..99a921d8 100644 --- a/NewHorizons/External/Modules/Props/EchoesOfTheEye/SlideInfo.cs +++ b/NewHorizons/External/Modules/Props/EchoesOfTheEye/SlideInfo.cs @@ -84,5 +84,12 @@ namespace NewHorizons.External.Modules.Props.EchoesOfTheEye /// Set this to include ship log entry module. Base game default is "". /// public string reveal; + + // SlideRotationModule + + /// + /// Exclusive to slide reels. Whether this slide should rotate the reel item while inside a projector. + /// + public bool rotate = true; } } \ No newline at end of file