aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlee <Alee14498@gmail.com>2019-06-01 16:15:06 -0400
committerAlee <Alee14498@gmail.com>2019-06-01 16:15:06 -0400
commita79b06395ba938944b695263fbe009158ce48483 (patch)
tree669fd1b5019925535f7bc4cd07591c4a9e365065
parentd57de4162ecc06ef9d9abd195d89be15724733e9 (diff)
downloadUnicity-a79b06395ba938944b695263fbe009158ce48483.tar.gz
Unicity-a79b06395ba938944b695263fbe009158ce48483.tar.bz2
Unicity-a79b06395ba938944b695263fbe009158ce48483.zip
Added simple stats
-rw-r--r--Assets/Scripts/Player/PlayerStats.cs30
-rw-r--r--ProjectSettings/GraphicsSettings.asset2
2 files changed, 32 insertions, 0 deletions
diff --git a/Assets/Scripts/Player/PlayerStats.cs b/Assets/Scripts/Player/PlayerStats.cs
new file mode 100644
index 0000000..3d20be8
--- /dev/null
+++ b/Assets/Scripts/Player/PlayerStats.cs
@@ -0,0 +1,30 @@
+/*******************************************************************************
+*
+* Project SimLife: A Sims clone written in Unity C#
+* Copyright (C) 2019 AleeCorp + Software Elevated
+*
+* This program is free software: you can redistribute it and/or modify
+* it under the terms of the GNU General Public License as published by
+* the Free Software Foundation, either version 3 of the License, or
+* (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program. If not, see <https://www.gnu.org/licenses/>.
+*
+*********************************************************************************/
+using System.Collections;
+using System.Collections.Generic;
+using UnityEngine;
+
+public class PlayerStats : MonoBehaviour
+{
+ public int hunger = 100;
+ public int bladder = 100;
+ public int hygiene = 100;
+ public int energy = 100;
+}
diff --git a/ProjectSettings/GraphicsSettings.asset b/ProjectSettings/GraphicsSettings.asset
index 1a6b7d1..349be97 100644
--- a/ProjectSettings/GraphicsSettings.asset
+++ b/ProjectSettings/GraphicsSettings.asset
@@ -38,6 +38,7 @@ GraphicsSettings:
- {fileID: 10783, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
- {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
+ - {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0}
m_PreloadedShaders: []
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
type: 0}
@@ -62,3 +63,4 @@ GraphicsSettings:
m_AlbedoSwatchInfos: []
m_LightsUseLinearIntensity: 0
m_LightsUseColorTemperature: 0
+ m_LogWhenShaderIsCompiled: 0