cannot espace without dropping the ball.
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
[play-clj.g2d :refer :all]))
|
||||
|
||||
(defn go-to-jail [entities]
|
||||
(actions/update-state entities #(assoc % :time :night))
|
||||
(actions/update-state entities #(assoc % :chest-contents (concat (remove #{:key} (:inventory %)) (:chest-contents %))))
|
||||
(actions/update-state entities #(assoc % :inventory []))
|
||||
(actions/update-state entities #(assoc % :opened-bars? false))
|
||||
|
||||
Reference in New Issue
Block a user