ordered dialogue trees
This commit is contained in:
@@ -160,9 +160,9 @@
|
||||
|
||||
(defn wizard-dialogue [entities]
|
||||
{
|
||||
:choices {"What do you mean, \"Not you again?\""
|
||||
:choices ["What do you mean, \"Not you again?\""
|
||||
{:run #(respond entities % :wizard "I mean, you've wrecked my life and I never want to see you again.")
|
||||
:choices {"You mean the time I set your house on fire with a fire mint?"
|
||||
:choices ["You mean the time I set your house on fire with a fire mint?"
|
||||
{:run #(do
|
||||
(respond entities %
|
||||
:wizard "That was you!?"
|
||||
@@ -185,16 +185,16 @@
|
||||
(actions/transition-background entities :outside-house [262 88]))}
|
||||
"Even an old hoot like you needs a kick in the pants every now and again."
|
||||
{:run #(respond entities % :wizard "What gives you the right to try to teach me a lesson?")
|
||||
:choices {"My good looks?" {:choices actions/previous-choices}
|
||||
:choices ["My good looks?" {:choices actions/previous-choices}
|
||||
"My good standing within the community?" {:choices actions/previous-choices}
|
||||
"My respectful attitude?" {:choices actions/previous-choices}}}}}
|
||||
"My respectful attitude?" {:choices actions/previous-choices}]}]}
|
||||
"You're not happy to see me, Mr. Fangald?"
|
||||
{:run #(respond entities % :wizard "Of course not, you little brat. You've made my life a living hell!")
|
||||
:choices #(-> % zip/left)}
|
||||
"Good bye, Mr. Fangald!"
|
||||
{:run #(do
|
||||
(respond entities % :wizard "Now scram!")
|
||||
(actions/transition-background entities :outside-house [262 88]))}}})
|
||||
(actions/transition-background entities :outside-house [262 88]))}]})
|
||||
|
||||
(defn backgrounds [screen]
|
||||
(let [sheep-sheet (texture! (texture "outsidehouse/sheep-anim.png") :split 33 21)
|
||||
|
||||
Reference in New Issue
Block a user