aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS_TheReturn
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-08-04 18:35:53 -0400
committerMichael <[email protected]>2017-08-04 18:35:53 -0400
commit6ec4837523395accbb0ed8c9b206daa6882adc1a (patch)
tree93548c562bf1583143092b6e7158c3f027f331c1 /ShiftOS_TheReturn
parent1f131438c0be7fe7a7c558530d32f24d3696686a (diff)
downloadshiftos_thereturn-6ec4837523395accbb0ed8c9b206daa6882adc1a.tar.gz
shiftos_thereturn-6ec4837523395accbb0ed8c9b206daa6882adc1a.tar.bz2
shiftos_thereturn-6ec4837523395accbb0ed8c9b206daa6882adc1a.zip
chat stuff and eas failure
Diffstat (limited to 'ShiftOS_TheReturn')
-rw-r--r--ShiftOS_TheReturn/Story.cs8
1 files changed, 8 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/Story.cs b/ShiftOS_TheReturn/Story.cs
index c62d3bd..674b782 100644
--- a/ShiftOS_TheReturn/Story.cs
+++ b/ShiftOS_TheReturn/Story.cs
@@ -95,6 +95,14 @@ namespace ShiftOS.Engine
public static StoryContext Context { get; private set; }
public static event Action<string> StoryComplete;
public static List<Objective> CurrentObjectives { get; private set; }
+ public static event Action<string> FailureRequested;
+
+ public static void DisplayFailure(string message)
+ {
+ FailureRequested?.Invoke(message);
+ }
+
+
public static void PushObjective(string name, string desc, Func<bool> completeFunc, Action onComplete)
{