From 410399981048428f330c3e52c3720dfc3e651e83 Mon Sep 17 00:00:00 2001 From: Jeffrey Harmon <16364318+SquarePear@users.noreply.github.com> Date: Sat, 3 Feb 2024 21:36:06 -0500 Subject: [PATCH] Add demo year-bound story --- project/story/demo_stories/year_bound_demo.gd | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 project/story/demo_stories/year_bound_demo.gd diff --git a/project/story/demo_stories/year_bound_demo.gd b/project/story/demo_stories/year_bound_demo.gd new file mode 100644 index 0000000..203c4d7 --- /dev/null +++ b/project/story/demo_stories/year_bound_demo.gd @@ -0,0 +1,14 @@ +extends SimpleStory + +var text := "This story will not be shown during the player's freshman year." + +var years := Year.not_in([ Year.Freshman ]) + +var options := { + "This is not my freshman year": { + "text": "See? I told you so!", + }, + "This is my freshman year": { + "text": "If that's true, something is wrong. You should not be seeing this.", + }, +}