Initial import
This commit is contained in:
28
Assets/Scripts/Data/EpochDataSO.cs
Normal file
28
Assets/Scripts/Data/EpochDataSO.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using UnityEngine;
|
||||
using EE2Clone.Core;
|
||||
|
||||
namespace EE2Clone.Data
|
||||
{
|
||||
[CreateAssetMenu(fileName = "NewEpochData", menuName = "EE2Clone/Epoch Data")]
|
||||
public class EpochDataSO : ScriptableObject
|
||||
{
|
||||
[Header("Identity")]
|
||||
public Epoch Epoch;
|
||||
public string EpochName;
|
||||
public string Description;
|
||||
|
||||
[Header("Advance Requirements")]
|
||||
public int FoodCost;
|
||||
public int WoodCost;
|
||||
public int StoneCost;
|
||||
public int GoldCost;
|
||||
public int TinCost;
|
||||
public int[] RequiredTechIds;
|
||||
public float AdvanceTime = 60f;
|
||||
|
||||
[Header("Unlocks")]
|
||||
public int[] UnlockedBuildingIds;
|
||||
public int[] UnlockedUnitIds;
|
||||
public int[] UnlockedTechIds;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user