bug fixes.
This commit is contained in:
@@ -211,6 +211,7 @@
|
||||
{:run #(actions/talk entities :ego %)}
|
||||
"So I'm destined to be a sword?"
|
||||
{:run #(actions/talk entities :ego %)}]})
|
||||
(actions/do-dialogue entities :fairy-godfather "No, no, no!")
|
||||
(actions/update-entities entities #(update-in % [:room :entities :fairy-godfather] dissoc :path))
|
||||
(actions/walk-straight-to entities :fairy-godfather [87 120] :speed 1.75 :update-baseline? false)
|
||||
(actions/update-entities entities (fn [e] (update-in e [:room :entities :fairy-godfather] assoc :path (catmull-rom-spline (map #(apply vector-2* %) [[87 120] [87 124]]) true))))
|
||||
|
||||
@@ -57,13 +57,13 @@
|
||||
"Is there anything here you will sell?"
|
||||
{:run #(actions/respond entities %
|
||||
:shopkeep "No, not until my son returns.")
|
||||
:choices #(-> % zip/left)}
|
||||
:choices #(-> % zip/left zip/left)}
|
||||
"If I get some light in here, will you open up shop?"
|
||||
{:run #(actions/respond entities %
|
||||
:shopkeep "No."
|
||||
:shopkeep "I need my son to help around the shop anyways."
|
||||
:shopkeep "And there's a lot to fix up before we're ready to open shop again.")
|
||||
:choices #(-> % zip/left zip/left)}
|
||||
:choices #(-> % zip/left zip/left zip/left zip/left)}
|
||||
"Something else."
|
||||
{:choices actions/something-else}]}
|
||||
"Are those lava mints on the desk?"
|
||||
@@ -172,7 +172,7 @@
|
||||
(when (actions/has-item? entities :portrait)
|
||||
(return-portrait entities))
|
||||
(when (has-to-return-teddy? entities)
|
||||
(return-teddy teddy)))
|
||||
(return-teddy entities)))
|
||||
|
||||
(actions/walk-to entities :ego [235 15] :stop? false :skip-type :end)
|
||||
(actions/walk-straight-to entities :ego [320 -5])
|
||||
|
||||
@@ -409,9 +409,8 @@
|
||||
{:run #(do (actions/respond entities % :wizard "Friend? "
|
||||
:wizard "What kind of friend would do what you did to me?")
|
||||
(Thread/sleep 500)
|
||||
(actions/talk entities :wizard "You don't even remember what you did, do you?")
|
||||
)
|
||||
:choices #(-> % zip/left)}
|
||||
(actions/talk entities :wizard "You don't even remember what you did, do you?"))
|
||||
:choices #(-> % zip/left zip/left)}
|
||||
"Or else what?"
|
||||
{:run #(do (actions/talk entities :ego %)
|
||||
(actions/talk entities :wizard "Or else I'll turn you into a frog!" :anim :talk-angry :stop? false)
|
||||
|
||||
Reference in New Issue
Block a user