diff --git a/Assets/Scenes/Main 1.unity b/Assets/Scenes/Main 1.unity index 5ad0b6d95fe22c5a4b93e52b3887b2a030224d2a..4d2601036fe57f59d8c3e7c6451532acd01d1c51 100644 --- a/Assets/Scenes/Main 1.unity +++ b/Assets/Scenes/Main 1.unity @@ -38,7 +38,7 @@ RenderSettings: m_ReflectionIntensity: 1 m_CustomReflection: {fileID: 0} m_Sun: {fileID: 0} - m_IndirectSpecularColor: {r: 0.18028378, g: 0.22571412, b: 0.30692285, a: 1} + m_IndirectSpecularColor: {r: 0.18028331, g: 0.2257133, b: 0.3069217, a: 1} m_UseRadianceAmbientProbe: 0 --- !u!157 &3 LightmapSettings: @@ -14885,7 +14885,7 @@ MonoBehaviour: questStartMark: 00000000020000001000000010000000 dialogueManager: {fileID: 1508341171} parentHouse: {fileID: 1721713272} - winPanel: {fileID: 701180113} + winPanel: {fileID: 0} --- !u!81 &1331610887 AudioListener: m_ObjectHideFlags: 0 @@ -21283,6 +21283,7 @@ MonoBehaviour: m_EditorClassIdentifier: playerHealth: {fileID: 1734600102} playerMovement: {fileID: 1734600113} + playerBalance: {fileID: 1734600111} notificationDuration: 2 cheatNotificationText: {fileID: 2122650228} isOneHitKillEnabled: 0 diff --git a/Assets/Scripts/Cheat/CheatManager.cs b/Assets/Scripts/Cheat/CheatManager.cs index 2654dce2ce731145dc944f9fa0d263ded886d33b..73aa557f06b6a99cacd51df4f1de601baa2065d9 100644 --- a/Assets/Scripts/Cheat/CheatManager.cs +++ b/Assets/Scripts/Cheat/CheatManager.cs @@ -8,6 +8,7 @@ public class CheatManager : MonoBehaviour public static CheatManager Instance; public PlayerHealth playerHealth; public PlayerMovement playerMovement; + public PlayerBalance playerBalance; public float notificationDuration = 2f; public TextMeshProUGUI cheatNotificationText; @@ -82,6 +83,7 @@ public class CheatManager : MonoBehaviour void ActivateMotherlode() { + playerBalance.AddBalance(9999); ShowNotification("Motherlode Activated!"); }