23 lines
575 B
C#
23 lines
575 B
C#
|
|
using System.Collections.Generic;
|
||
|
|
using UnityEngine;
|
||
|
|
|
||
|
|
namespace Quests
|
||
|
|
{
|
||
|
|
[CreateAssetMenu(fileName = "NewQuest", menuName = "Quests/Quest Data")]
|
||
|
|
public class QuestData : ScriptableObject
|
||
|
|
{
|
||
|
|
[Header("Quest Info")]
|
||
|
|
public string questID;
|
||
|
|
public string title;
|
||
|
|
[TextArea(3, 5)]
|
||
|
|
public string description;
|
||
|
|
|
||
|
|
[Header("Objectives")]
|
||
|
|
public List<QuestObjectiveData> objectives = new List<QuestObjectiveData>();
|
||
|
|
|
||
|
|
[Header("Rewards")]
|
||
|
|
public int rewardGold;
|
||
|
|
public int rewardExperience;
|
||
|
|
}
|
||
|
|
}
|