cat toy can be off.
This commit is contained in:
@@ -398,11 +398,13 @@
|
||||
(update-in entities [:room :entities] #(dissoc % :cat))
|
||||
entities)
|
||||
(if (is-standing-on-ladder entities)
|
||||
(-> entities
|
||||
(update-in [:room :entities]
|
||||
assoc :blank (get-in entities [:room :blank])
|
||||
:ladder (get-in entities [:room :ladder]))
|
||||
(update-in [:room :entities :ego ] assoc :x 140 :y 85))
|
||||
(do
|
||||
|
||||
(-> entities
|
||||
(update-in [:room :entities]
|
||||
assoc :blank (get-in entities [:room :blank])
|
||||
:ladder (get-in entities [:room :ladder]))
|
||||
(update-in [:room :entities :ego ] assoc :x 140 :y 85 :facing :right :baseline (- 240 25))))
|
||||
entities)
|
||||
(if (= :night (get-in entities [:state :time]))
|
||||
(make-night entities)
|
||||
|
||||
@@ -720,6 +720,7 @@ void main ()
|
||||
(get-in ego [:left :jump-straight]) {:origin-x 9}
|
||||
(get-in ego [:right :jump-straight]) {:origin-x 9}
|
||||
(get-in ego [:left :jumping-straight]) {:origin-x 9}
|
||||
(get-in ego [:left :cat-toy]) {:origin-x 32}
|
||||
(get-in ego [:right :jumping-straight]) {:origin-x 9}
|
||||
(get-in ego [:left :swing-shovel]) {:origin-x 26}
|
||||
(get-in ego [:right :swing-shovel]) {:origin-x 26}
|
||||
|
||||
Reference in New Issue
Block a user