chapter loading.

This commit is contained in:
Bryce Covert
2015-11-04 21:27:11 -08:00
parent 6586faf583
commit 4c1e91a6fb
5 changed files with 83 additions and 52 deletions

View File

@@ -1,15 +1,5 @@
(ns advent.saves)
(def saves
{:autosave "Autosave"
:beginning "Our tale's beginning"
:after-dream "The dream is over"
:after-cat "The Cat Whisperer"
:after-strength "Pro (arm) Wrestler"
:after-wisdom "The Wise Guy"
:after-jail "Prisoner On The Loose"
:in-jail "In The Slammer"})
(def chapters
{:chapter-1 nil
:chapter-2 nil
@@ -17,5 +7,12 @@
:chapter-4 nil
:chapter-5 nil})
(def name->save
(into {} (map vector (vals saves) (keys saves))))
(def chapter-name
{:chapter-1 "Chapter 1: Our tale's beginning"
:chapter-2 "Chapter 2: To be a knight"
:chapter-3 "Chapter 3: In the slammer"
:chapter-4 "Chapter 4: Prisoner on the loose"
:chapter-5 "Chapter 5: Slingshot stew"})