summaryrefslogtreecommitdiff
path: root/Thronefall_v1.0/Decompile/Choice.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Thronefall_v1.0/Decompile/Choice.cs')
-rw-r--r--Thronefall_v1.0/Decompile/Choice.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/Thronefall_v1.0/Decompile/Choice.cs b/Thronefall_v1.0/Decompile/Choice.cs
new file mode 100644
index 0000000..d638ebf
--- /dev/null
+++ b/Thronefall_v1.0/Decompile/Choice.cs
@@ -0,0 +1,22 @@
+using System;
+using UnityEngine;
+
+[Serializable]
+public class Choice
+{
+ public string name = "<nameHere>";
+
+ [TextArea]
+ public string tooltip = "<tooltipHere>";
+
+ public Sprite icon;
+
+ public EquippableBuildingUpgrade requiresUnlocked;
+
+ public Choice(string _name, string _tooltip, Sprite _icon = null)
+ {
+ name = _name;
+ tooltip = _tooltip;
+ icon = null;
+ }
+}