peddler has better explanation.
This commit is contained in:
@@ -33,8 +33,8 @@
|
|||||||
:ego "But I haven't got any money!"
|
:ego "But I haven't got any money!"
|
||||||
:peddler "Well I'm afraid you won't have the choicest of earplugs."
|
:peddler "Well I'm afraid you won't have the choicest of earplugs."
|
||||||
:ego "Can't I give you something else for them?"
|
:ego "Can't I give you something else for them?"
|
||||||
:peddler "Well, I am low on choice children's toys."
|
:peddler "I'll tell you what, I don't have any thing for the kids that come to my stand."
|
||||||
:peddler "If you can bring me one, and I mean the choicest of toys, I will give you the earplugs."))}
|
:peddler "If you can bring me the choicest of toys, and I mean the choicest of toys, I will give you the earplugs."))}
|
||||||
"I'm interested in a glass eye."
|
"I'm interested in a glass eye."
|
||||||
{:run #(do (actions/update-state entities (fn [state] (assoc state :wants-toy true)))
|
{:run #(do (actions/update-state entities (fn [state] (assoc state :wants-toy true)))
|
||||||
(actions/respond entities %
|
(actions/respond entities %
|
||||||
@@ -57,7 +57,8 @@
|
|||||||
:ego "But I'm broke!"
|
:ego "But I'm broke!"
|
||||||
:peddler "Well I'm afraid you won't have the choicest of motivational tapes."
|
:peddler "Well I'm afraid you won't have the choicest of motivational tapes."
|
||||||
:ego "Is there anything else you'd take instead?"
|
:ego "Is there anything else you'd take instead?"
|
||||||
:peddler "If you can bring me a nice kid's toy, I will give you the tapes."))}
|
:peddler "I'll tell you what, I don't have any thing for the kids that come to my stand."
|
||||||
|
:peddler "If you can bring me the choicest of kid's toys, I will give you the tapes."))}
|
||||||
"Nevermind." {:run #(actions/respond entities % :peddler "Goodbye, sir.")}]}))
|
"Nevermind." {:run #(actions/respond entities % :peddler "Goodbye, sir.")}]}))
|
||||||
|
|
||||||
(defn give-teddy [entities]
|
(defn give-teddy [entities]
|
||||||
|
|||||||
Reference in New Issue
Block a user