fixed wizard positioning and likelihood.
This commit is contained in:
@@ -198,7 +198,7 @@
|
||||
(actions/remove-entity entities :frog-legs)
|
||||
(actions/do-dialogue entities :ego "Eww. Frog legs.")))))}
|
||||
:experiment (rooms/make-entity :experiment (assoc (animation->texture screen experiment-left)
|
||||
:x 228 :y 60 :scale-x 1.75 :scale-y 1.75 :origin-x 7.43 :origin-y 0
|
||||
:x 228 :y 60 :scale-x 1.75 :scale-y 1.75 :origin-x 13 :origin-y 0
|
||||
:experiment experiment-left
|
||||
:baseline 225))
|
||||
:collision "inside-house/collision.png"
|
||||
|
||||
@@ -347,7 +347,7 @@
|
||||
(actions/talk entities :ego "It's locked.")
|
||||
(do (actions/play-animation entities :door :open)
|
||||
(actions/transition-background entities :inside-house [237 0] :between (fn [s e]
|
||||
(if (= 1 (rand-int 10))
|
||||
(if (= 1 (rand-int 4))
|
||||
(assoc-in e [:room :entities :experiment] (get-in e [:room :experiment]))
|
||||
e)))
|
||||
(when (get-in @entities [:room :entities :experiment])
|
||||
|
||||
Reference in New Issue
Block a user