From 19e5fd6bc493eb88f7d03b52ab868df0cd9712bf Mon Sep 17 00:00:00 2001 From: Arkerthan <arkerthan@gmail.com> Date: Mon, 21 Dec 2020 20:48:19 +0100 Subject: [PATCH] intro passages to pure dom --- src/005-passages/introPassages.js | 10 ++++++++++ src/events/intro/acquisition.tw | 5 ----- src/events/intro/introSummary.tw | 3 --- src/events/intro/pcBodyIntro.tw | 3 --- 4 files changed, 10 insertions(+), 11 deletions(-) create mode 100644 src/005-passages/introPassages.js delete mode 100644 src/events/intro/acquisition.tw delete mode 100644 src/events/intro/introSummary.tw delete mode 100644 src/events/intro/pcBodyIntro.tw diff --git a/src/005-passages/introPassages.js b/src/005-passages/introPassages.js new file mode 100644 index 00000000000..5a7e68624ea --- /dev/null +++ b/src/005-passages/introPassages.js @@ -0,0 +1,10 @@ +new App.DomPassage("PC Body Intro", () => { return App.Intro.PCBodyIntro(); }); + +new App.DomPassage("Intro Summary", () => { return App.Intro.summary(); }); + +new App.DomPassage("Acquisition", + () => { + V.encyclopedia = "How to Play"; + return App.Intro.acquisition(); + } +); diff --git a/src/events/intro/acquisition.tw b/src/events/intro/acquisition.tw deleted file mode 100644 index 15af72727f5..00000000000 --- a/src/events/intro/acquisition.tw +++ /dev/null @@ -1,5 +0,0 @@ -:: Acquisition [nobr] - -<<set $encyclopedia = "How to Play">> - -<<includeDOM App.Intro.acquisition()>> \ No newline at end of file diff --git a/src/events/intro/introSummary.tw b/src/events/intro/introSummary.tw deleted file mode 100644 index 27d3c57173f..00000000000 --- a/src/events/intro/introSummary.tw +++ /dev/null @@ -1,3 +0,0 @@ -:: Intro Summary [nobr] - -<<includeDOM App.Intro.summary()>> \ No newline at end of file diff --git a/src/events/intro/pcBodyIntro.tw b/src/events/intro/pcBodyIntro.tw deleted file mode 100644 index 1d857050e43..00000000000 --- a/src/events/intro/pcBodyIntro.tw +++ /dev/null @@ -1,3 +0,0 @@ -:: PC Body Intro [nobr] - -<<includeDOM App.Intro.PCBodyIntro()>> \ No newline at end of file -- GitLab