literally half of the game
This commit is contained in:
parent
1590b5faa6
commit
b842289076
77 changed files with 11904 additions and 72 deletions
|
|
@ -5,16 +5,21 @@ using UnityEngine;
|
|||
[CreateAssetMenu(fileName = "New Task", menuName = "Task")]
|
||||
public class Task : ScriptableObject
|
||||
{
|
||||
[Serializable]
|
||||
public class ItemRequirment
|
||||
{
|
||||
public Item item;
|
||||
public int amount;
|
||||
}
|
||||
[Header("Identification")]
|
||||
public string taskName;
|
||||
public string taskID;
|
||||
public string description;
|
||||
[Header("Requirements")]
|
||||
public int deadline; //in days from started
|
||||
public bool completed;
|
||||
public ItemRequirment[] requirements;
|
||||
public Dictionary<Item, int> itemProgress = new();
|
||||
|
||||
public InventoryManager.ItemAmount[] itemRequirements;
|
||||
public Enemy[] enemyRequirements;
|
||||
[Header("Rewards")]
|
||||
public InventoryManager.ItemAmount[] itemRewards;
|
||||
public int moneyReward;
|
||||
|
||||
public void FailTask()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue