Character controller and quest manager #2

Merged
JanGross merged 6 commits from main into master 2023-07-08 17:13:04 +02:00
Showing only changes of commit 3b72c6a01a - Show all commits

View File

@@ -4,10 +4,10 @@ using UnityEngine;
public class QuestManager : MonoBehaviour public class QuestManager : MonoBehaviour
{ {
public int day = 0; public int activeQuest = 0;
public Quest[] quests = { public Quest[] quests = {
new Quest(_name: "", _desc: "Find someone to hand out flyers to advertise our tavern to adventurers. Strength, dexterity, intelligence: doesn<73>t matter, find someone who would do this for as little money as possible.", _failedStr: "Damn, that didn<64>t work at all. That robot just randomly started playing an instrument, much to the dismay of the townspeople.", _strength: 0, _intelligence: 0, _charisma: 5), new Quest(_name: "Advert Quest 1", _desc: "Find someone to hand out flyers to advertise our tavern to adventurers. Strength, dexterity, intelligence: doesn<73>t matter, find someone who would do this for as little money as possible.", _failedStr: "Damn, that didn<64>t work at all. That robot just randomly started playing an instrument, much to the dismay of the townspeople.", _strength: 0, _intelligence: 0, _charisma: 5),
}; };
// Start is called before the first frame update // Start is called before the first frame update
@@ -27,6 +27,7 @@ public class QuestManager : MonoBehaviour
} }
} }
[System.Serializable]
public class Quest public class Quest
{ {
public string name; public string name;