From 5d338b14f3d69250561f3e5002ad6b01f96547c7 Mon Sep 17 00:00:00 2001 From: Daniel Tyomin Date: Tue, 20 Aug 2024 11:45:02 +0200 Subject: [PATCH] tweaks --- Assets/Data/Objectives/Level 1.asset | 1 + Assets/Data/Objectives/Level 3.asset | 10 +++++++--- Assets/Scenes/Main.unity | 2 +- Assets/Scripts/UI/UIManager.cs | 4 ++-- 4 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Assets/Data/Objectives/Level 1.asset b/Assets/Data/Objectives/Level 1.asset index be862c2..5039ec2 100644 --- a/Assets/Data/Objectives/Level 1.asset +++ b/Assets/Data/Objectives/Level 1.asset @@ -22,6 +22,7 @@ MonoBehaviour: Please ensure the quality of our Torus product. + Dispose of defective units using the disposal belt.' SuccessMessage: Great job! diff --git a/Assets/Data/Objectives/Level 3.asset b/Assets/Data/Objectives/Level 3.asset index 29e9ec8..7d1adbf 100644 --- a/Assets/Data/Objectives/Level 3.asset +++ b/Assets/Data/Objectives/Level 3.asset @@ -21,7 +21,11 @@ MonoBehaviour: Quantity: 40 MaxDefectivePercentage: 25 TimeLimit: 270 - LevelMessage: We are pleased to announce that we have secured the capital for the - expansion of E(tm) production. - SuccessMessage: Great job! + LevelMessage: 'We are pleased to announce that we have secured the capital to expand + the E(tm) production. + + + Please familiarize yourself with the new crane-powered + production line!' + SuccessMessage: Congratulations! You have completed all the shifts! FailureMessage: Please try harder in the future! diff --git a/Assets/Scenes/Main.unity b/Assets/Scenes/Main.unity index 1323b18..fd31111 100644 --- a/Assets/Scenes/Main.unity +++ b/Assets/Scenes/Main.unity @@ -21526,7 +21526,7 @@ MonoBehaviour: Your job is to remove defective products from the production line. When you spot a defective product, approach - it and press and hold [LMB] to take it in your hands + it and press and hold [LMB] to take it in your hands. Defective products should be disposed of at specialized disposal lines. diff --git a/Assets/Scripts/UI/UIManager.cs b/Assets/Scripts/UI/UIManager.cs index 4d0a29c..2624187 100644 --- a/Assets/Scripts/UI/UIManager.cs +++ b/Assets/Scripts/UI/UIManager.cs @@ -270,12 +270,12 @@ public class UIManager: MonoBehaviour public void PushStageComplete(bool success, string message) { - if (Scoreboard.Instance.CurrentStage != StagingManager.StageEnum.Level3) + if (Scoreboard.Instance.CurrentStage == StagingManager.StageEnum.Level3) { NextStageButton.SetActive(false); RetryButton.SetActive(false); } - if (success) + else if (success) { NextStageButton.SetActive(true); RetryButton.SetActive(false);