can't get stash too quickly now.
This commit is contained in:
@@ -104,12 +104,18 @@
|
||||
(do-saved-grandma-dialogue entities)
|
||||
(do-grandma-dialogue-with-cat entities)))
|
||||
|
||||
(defn remove-rock-if-necessary [entities]
|
||||
(if (actions/has-obtained? entities :note-1)
|
||||
entities
|
||||
(utils/remove-interaction entities :rock)))
|
||||
|
||||
(defn make-night [entities]
|
||||
(-> entities
|
||||
(update-in [:room :entities] #(dissoc % :grandma))
|
||||
(utils/remove-interaction :ladder-area)
|
||||
(utils/remove-interaction :grandma)
|
||||
(update-in [:room :entities] #(assoc % :owl (doto (get-in entities [:room :owl]) println)))))
|
||||
(update-in [:room :entities] #(assoc % :owl (get-in entities [:room :owl])))
|
||||
remove-rock-if-necessary))
|
||||
|
||||
(defn talk-to-owl [entities]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user