Autosaving
This commit is contained in:
@@ -67,7 +67,7 @@
|
||||
:shopkeep "Yes, that's it!"
|
||||
:shopkeep "You must have really met my son!"
|
||||
:shopkeep "Of course you can keep the teddy bear.")
|
||||
(actions/give entities items/teddy))}]}]}
|
||||
(actions/give entities :teddy))}]}]}
|
||||
"How's life in the antique shop biz?"
|
||||
{:run #(actions/respond entities %
|
||||
:shopkeep "Pretty lonely."
|
||||
@@ -89,12 +89,12 @@
|
||||
{:down {:box [60 0 290 25]
|
||||
:cursor :down
|
||||
:script (actions/get-script entities
|
||||
(when ((set (get-in @entities [:state :inventory])) items/portrait)
|
||||
(when (actions/has-item? entities :portrait)
|
||||
(actions/walk-to entities :ego [222 3])
|
||||
(actions/talk entities :shopkeep "Excuse me sonny. Please return my belongings before you leave.")
|
||||
(actions/walk-to entities :ego [136 80] :face :left)
|
||||
(actions/play-animation entities :ego :reach)
|
||||
(actions/remove-item entities items/portrait))
|
||||
(actions/remove-item entities :portrait))
|
||||
(actions/walk-to entities :ego [222 3])
|
||||
(actions/transition-background entities :inside-castle [182 90]))}
|
||||
:window {:box [212 130 256 180]
|
||||
@@ -120,7 +120,7 @@
|
||||
(actions/play-animation entities :ego :reach)
|
||||
(actions/talk entities :ego "It's a portrait. There's something on the back but I can't read it.")
|
||||
(actions/remove-entity entities :portrait)
|
||||
(actions/give entities items/portrait)))
|
||||
(actions/give entities :portrait)))
|
||||
:bowl (assoc (texture "inside-antique/bowl.png")
|
||||
:x 155
|
||||
:y 125
|
||||
|
||||
Reference in New Issue
Block a user