From e91958684fb1550fdf7420fb92255e1320c86f90 Mon Sep 17 00:00:00 2001 From: JohnCorby Date: Wed, 27 Jul 2022 20:31:04 -0700 Subject: [PATCH 1/2] remove onSlidesStart event when exiting volume dumbass --- NewHorizons/Patches/VisionTorchPatches.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/NewHorizons/Patches/VisionTorchPatches.cs b/NewHorizons/Patches/VisionTorchPatches.cs index 546a4ee5..fd4dd131 100644 --- a/NewHorizons/Patches/VisionTorchPatches.cs +++ b/NewHorizons/Patches/VisionTorchPatches.cs @@ -44,6 +44,7 @@ namespace NewHorizons.Patches var t = hitObj.GetComponent(); if (t != null) //(hitObj.CompareTag("PrisonerDetector")) { + __instance._mindProjector.OnProjectionStart -= t.onSlidesStart; __instance._mindProjector.OnProjectionComplete -= t.onSlidesComplete; } return true; From 9d800b5e547c46f583547515b68f99c2f9de20b4 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Thu, 28 Jul 2022 03:32:58 +0000 Subject: [PATCH 2/2] Updated Schemas --- NewHorizons/Schemas/body_schema.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/NewHorizons/Schemas/body_schema.json b/NewHorizons/Schemas/body_schema.json index 8b247950..4b8fc9bb 100644 --- a/NewHorizons/Schemas/body_schema.json +++ b/NewHorizons/Schemas/body_schema.json @@ -360,6 +360,12 @@ "unlit": { "type": "boolean", "description": "If the top layer shouldn't have shadows. Set to true if you're making a brown dwarf for example." + }, + "rotationSpeed": { + "type": "number", + "description": "How fast the clouds will rotate in degrees per second.", + "format": "float", + "default": 10.0 } } },