From 630e9d96de3a9191a0e256cea53bb72cfc3bf4b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20L=C3=BCbe=C3=9F?= Date: Mon, 8 Apr 2024 19:19:16 +0200 Subject: [PATCH] Gayjam --- 3d Prototyp/Assets/Scenes/GameJamScene.unity | 4 ++++ 3d Prototyp/Assets/Scripts/Developer.cs | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/3d Prototyp/Assets/Scenes/GameJamScene.unity b/3d Prototyp/Assets/Scenes/GameJamScene.unity index 8f064fcb..22148481 100644 --- a/3d Prototyp/Assets/Scenes/GameJamScene.unity +++ b/3d Prototyp/Assets/Scenes/GameJamScene.unity @@ -27898,6 +27898,10 @@ PrefabInstance: propertyPath: _player value: objectReference: {fileID: 1573807344} + - target: {fileID: 3650884189301972455, guid: e1e33f0b2075b5c40817665dd8a86f31, type: 3} + propertyPath: Needs.Array.size + value: 4 + objectReference: {fileID: 0} - target: {fileID: 3650884189301972455, guid: e1e33f0b2075b5c40817665dd8a86f31, type: 3} propertyPath: _developers.Array.size value: 4 diff --git a/3d Prototyp/Assets/Scripts/Developer.cs b/3d Prototyp/Assets/Scripts/Developer.cs index bcfb5bd2..a43e9414 100644 --- a/3d Prototyp/Assets/Scripts/Developer.cs +++ b/3d Prototyp/Assets/Scripts/Developer.cs @@ -237,7 +237,7 @@ public class Developer : MonoBehaviour _happiness += 0.2; } - _urgeToUrinateLevel -= caffeineAmount / 0.5f; + _urgeToUrinateLevel -= caffeineAmount / 2.0; _wantedDrink = WantedConsumable.None; } @@ -272,7 +272,7 @@ public class Developer : MonoBehaviour _happiness += 0.2; } - _urgeToUrinateLevel -= foodAmount / 0.5f; + _urgeToUrinateLevel -= foodAmount / 2.0; _wantedFood = WantedConsumable.None; }