From dd85200e9c5d9d45fdd56d1e4bdb87ac879649da Mon Sep 17 00:00:00 2001 From: DamianCorazza <79833283+DamianCorazza@users.noreply.github.com> Date: Tue, 14 Oct 2025 21:15:02 +0200 Subject: [PATCH] Fixed the puzzle step gating, and some changes in the minigame --- .../HammerBirdPuzzle/InteractWLawnMower.asset | 3 ++- .../HammerBirdPuzzle/PickUpNails.asset | 3 ++- Assets/Scenes/Levels/Quarry.unity | 5 ++--- .../Scenes/MiniGames/DivingForPictures.unity | 20 +++++++++---------- 4 files changed, 16 insertions(+), 15 deletions(-) diff --git a/Assets/Data/Puzzles/HammerBirdPuzzle/InteractWLawnMower.asset b/Assets/Data/Puzzles/HammerBirdPuzzle/InteractWLawnMower.asset index fe58854c..7147ee3c 100644 --- a/Assets/Data/Puzzles/HammerBirdPuzzle/InteractWLawnMower.asset +++ b/Assets/Data/Puzzles/HammerBirdPuzzle/InteractWLawnMower.asset @@ -16,5 +16,6 @@ MonoBehaviour: displayName: Start Lawnmower description: Start up the lawnmower so the Gardener runs after it. icon: {fileID: 0} - unlocks: [] + unlocks: + - {fileID: 11400000, guid: f9da68caaae2a244885a13cf2e2e45c0, type: 2} showIndicator: 1 diff --git a/Assets/Data/Puzzles/HammerBirdPuzzle/PickUpNails.asset b/Assets/Data/Puzzles/HammerBirdPuzzle/PickUpNails.asset index 3d11902c..54a3d619 100644 --- a/Assets/Data/Puzzles/HammerBirdPuzzle/PickUpNails.asset +++ b/Assets/Data/Puzzles/HammerBirdPuzzle/PickUpNails.asset @@ -17,5 +17,6 @@ MonoBehaviour: description: Pick up some nails from the back of the van once the gaardener is gone. icon: {fileID: 0} - unlocks: [] + unlocks: + - {fileID: 11400000, guid: 28848561ff31fe24ea9f8590dee0bf8f, type: 2} showIndicator: 0 diff --git a/Assets/Scenes/Levels/Quarry.unity b/Assets/Scenes/Levels/Quarry.unity index bccabff6..7bfa12f4 100644 --- a/Assets/Scenes/Levels/Quarry.unity +++ b/Assets/Scenes/Levels/Quarry.unity @@ -441541,7 +441541,7 @@ PrefabInstance: objectReference: {fileID: 0} - target: {fileID: 5383276844808284485, guid: afbb486e5456a20479aee4cf8bc949b6, type: 3} propertyPath: m_IsActive - value: 1 + value: 0 objectReference: {fileID: 0} - target: {fileID: 5507990123417429516, guid: afbb486e5456a20479aee4cf8bc949b6, type: 3} propertyPath: m_LocalScale.x @@ -467072,8 +467072,7 @@ PrefabInstance: propertyPath: m_LocalEulerAnglesHint.z value: 0 objectReference: {fileID: 0} - m_RemovedComponents: - - {fileID: 1126777572448403549, guid: 1fda7fccaa5fbd04695f4c98d29bcbe0, type: 3} + m_RemovedComponents: [] m_RemovedGameObjects: [] m_AddedGameObjects: - targetCorrespondingSourceObject: {fileID: 106062057957134378, guid: 1fda7fccaa5fbd04695f4c98d29bcbe0, type: 3} diff --git a/Assets/Scenes/MiniGames/DivingForPictures.unity b/Assets/Scenes/MiniGames/DivingForPictures.unity index a8cc2aaa..df8ec9a5 100644 --- a/Assets/Scenes/MiniGames/DivingForPictures.unity +++ b/Assets/Scenes/MiniGames/DivingForPictures.unity @@ -1367,15 +1367,15 @@ LineRenderer: m_SortingLayer: 0 m_SortingOrder: 0 m_Positions: - - {x: -0.15602553, y: 4.074945, z: 0} - - {x: -0.11662118, y: 3.8796225, z: 0} + - {x: -0.15602553, y: 4.0749445, z: 0} + - {x: -0.11662118, y: 3.879622, z: 0} - {x: -0.07721684, y: 3.7057445, z: 0} - {x: -0.03781248, y: 3.5533106, z: 0} - {x: 0.0015918687, y: 3.4223216, z: 0} - {x: 0.040996216, y: 3.3127766, z: 0} - - {x: 0.08040057, y: 3.2246757, z: 0} - - {x: 0.11980491, y: 3.1580195, z: 0} - - {x: 0.15920927, y: 3.112808, z: 0} + - {x: 0.08040057, y: 3.2246761, z: 0} + - {x: 0.11980491, y: 3.15802, z: 0} + - {x: 0.15920927, y: 3.1128082, z: 0} - {x: 0.1986136, y: 3.0890405, z: 0} - {x: 0.23801796, y: 3.0867176, z: 0} m_Parameters: @@ -1910,13 +1910,13 @@ LineRenderer: m_SortingLayer: 0 m_SortingOrder: 0 m_Positions: - - {x: -0.15602553, y: 4.074945, z: 0} - - {x: -0.18956745, y: 3.8764977, z: 0} + - {x: -0.15602553, y: 4.0749445, z: 0} + - {x: -0.18956745, y: 3.8764973, z: 0} - {x: -0.22310936, y: 3.7000232, z: 0} - - {x: -0.25665125, y: 3.5455208, z: 0} - - {x: -0.29019317, y: 3.4129908, z: 0} + - {x: -0.25665125, y: 3.5455203, z: 0} + - {x: -0.29019317, y: 3.412991, z: 0} - {x: -0.32373506, y: 3.3024335, z: 0} - - {x: -0.35727698, y: 3.213848, z: 0} + - {x: -0.35727698, y: 3.2138484, z: 0} - {x: -0.39081886, y: 3.1472359, z: 0} - {x: -0.4243608, y: 3.1025958, z: 0} - {x: -0.45790267, y: 3.0799282, z: 0}