From a79b06395ba938944b695263fbe009158ce48483 Mon Sep 17 00:00:00 2001 From: Alee Date: Sat, 1 Jun 2019 16:15:06 -0400 Subject: Added simple stats --- Assets/Scripts/Player/PlayerStats.cs | 30 ++++++++++++++++++++++++++++++ ProjectSettings/GraphicsSettings.asset | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 Assets/Scripts/Player/PlayerStats.cs 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 . +* +*********************************************************************************/ +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 -- cgit v1.2.3