dissoc hearts.

This commit is contained in:
Bryce Covert
2018-02-11 17:16:21 -08:00
parent 97794f953c
commit c52784d5e5
6 changed files with 13 additions and 3 deletions

View File

@@ -28,6 +28,7 @@
:night "screenshots/inside-castle-night.png"}
:space "screenshots/duel.png"
:held "screenshots/held.png"
:tongue-fight "screenshots/tongue-fight.png"
:inside-cafeteria "screenshots/cafeteria.png"
:inside-antique "screenshots/inside-antique.png"
:inside-jail "screenshots/inside-jail.png"
@@ -37,6 +38,7 @@
:night "screenshots/fountain-night.png"}
:outside-castle {:day "screenshots/outside-castle-day.png"
:night "screenshots/outside-castle-night.png"}}]
(println (:last-room state))
(get-in answers [(:last-room state) (:time state)]
(get-in answers [(:last-room state)]))))

View File

@@ -480,11 +480,12 @@
(-> e
(assoc-in [:room :entities :penultimate :opacity] 1)
(assoc-in [:room :entities :penultimate-wall :opacity] 1)
(assoc-in [:room :entities :bloodclot-swallow-top :opacity] 1)
(assoc-in [:room :entities :bloodclot-swallow-bottom :opacity] 1)
(update-in [:cam ] assoc :paused? true :x 160 :y 120)
(update-in [:room :entities :ego ] assoc :x 200 :y 166 :baseline 4)
(update-in [:room :entities] dissoc :tongue)
(update-in [:room :entities] dissoc :tongue [:ego-heart 0] [:ego-heart 1] [:ego-heart 2] [:ego-heart 3] [:ego-heart 4])
(update-in [:room :entities :ego] actions/start-animation :fall-small))))
(if won?