From c4a256bd201f58e59a3abdc4b5fcf39746aa18f2 Mon Sep 17 00:00:00 2001 From: Noah Pilarski Date: Fri, 25 Nov 2022 16:35:36 -0500 Subject: [PATCH] Add defaults --- NewHorizons/External/Modules/VolumesModule.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/NewHorizons/External/Modules/VolumesModule.cs b/NewHorizons/External/Modules/VolumesModule.cs index 2862957b..473950a3 100644 --- a/NewHorizons/External/Modules/VolumesModule.cs +++ b/NewHorizons/External/Modules/VolumesModule.cs @@ -77,6 +77,7 @@ namespace NewHorizons.External.Modules /// /// The radius of this volume. /// + [DefaultValue(1f)] public float radius = 1f; /// @@ -133,11 +134,13 @@ namespace NewHorizons.External.Modules /// /// The max view angle (in degrees) the player can see the volume with to unlock the fact (`observe` only) /// + [DefaultValue(180f)] public float maxAngle = 180f; // Observe Only /// /// The max distance the user can be away from the volume to reveal the fact (`snapshot` and `observe` only) /// + [DefaultValue(-1f)] public float maxDistance = -1f; // Snapshot & Observe Only ///