literally half of the game

This commit is contained in:
Sylvia 2026-08-27 04:07:01 -07:00
parent 1590b5faa6
commit b842289076
77 changed files with 11904 additions and 72 deletions

View file

@ -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()
{
}
}