This commit is contained in:
2014-11-08 11:29:56 -08:00
parent e57e6be125
commit 39cbd94df6
5 changed files with 16 additions and 12 deletions

View File

@@ -61,8 +61,11 @@
:ego "But I haven't got any money!"
: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))}}
:peddler "A child's toy. And I mean the choicest of children's toys."))
:scripts {:teddy (actions/get-script entities
(actions/remove-item entities items/teddy)
(actions/give entities items/balloon)
(actions/talk entities :peddler "Thank you for your business!"))}}}
:layers [(assoc (texture "outside-castle/background.png") :x 0 :y 0 :baseline 0)]
:entities {:peddler (actions/start-animation screen
(assoc (texture "outside-castle/peddler.png") :x 110 :y 90 :baseline 150 :anim nil