Added some shopkeeper dialogue.
This commit is contained in:
@@ -45,6 +45,7 @@
|
||||
:script (actions/get-script
|
||||
entities
|
||||
(actions/walk-to entities :ego [191 90])
|
||||
(actions/update-state entities (fn [state] (assoc state :wants-toy true)))
|
||||
(actions/do-dialogue entities
|
||||
:ego "Hello there, peddler."
|
||||
:peddler "Good day sir! Care to see any of my wares?"
|
||||
@@ -58,7 +59,9 @@
|
||||
:peddler "An excellent selection! It is the choicest of balloons you'll ever find."
|
||||
:peddler "This bundle of joy will only set you back 75 sheckels."
|
||||
:ego "But I haven't got any money!"
|
||||
:peddler "Then you won't have the choicest of balloons.")
|
||||
:peddler "Then you won't have the choicest of balloons."
|
||||
:peddler "I could, however, give you the balloon if you could procure for me a ware I'm missing."
|
||||
:peddler "A child's toy. And I mean the choicest of children's toys.")
|
||||
(actions/give entities items/balloon))}}
|
||||
:layers [(assoc (texture "outside-castle/background.png") :x 0 :y 0 :baseline 0)]
|
||||
:entities {:peddler (actions/start-animation screen
|
||||
|
||||
Reference in New Issue
Block a user