movement and dialogue system
This commit is contained in:
parent
977e666577
commit
1590b5faa6
123 changed files with 62825 additions and 355 deletions
20
Assets/Scripts/Task/Task.cs
Normal file
20
Assets/Scripts/Task/Task.cs
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[CreateAssetMenu(fileName = "New Task", menuName = "Task")]
|
||||
public class Task : ScriptableObject
|
||||
{
|
||||
[Serializable]
|
||||
public class ItemRequirment
|
||||
{
|
||||
public Item item;
|
||||
public int amount;
|
||||
}
|
||||
public string taskName;
|
||||
public string description;
|
||||
public bool completed;
|
||||
public ItemRequirment[] requirements;
|
||||
public Dictionary<Item, int> itemProgress = new();
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue