removing unnecessary dark images
This commit is contained in:
@@ -175,8 +175,8 @@
|
||||
(actions/talk entities :ego "Filled up with water, just as Gandarf wanted."))}}}
|
||||
:layers {:day [(assoc (texture "outside-jail/background.png") :x 0 :y 0 :baseline 0)
|
||||
(assoc (texture "outside-jail/fountain.png") :x 0 :y 0 :baseline 114)]
|
||||
:night [(assoc (texture "outside-jail/background-dark.png") :x 0 :y 0 :baseline 0)
|
||||
(assoc (texture "outside-jail/fountain-dark.png") :x 0 :y 0 :baseline 114)]}
|
||||
:night [(assoc (texture "outside-jail/background.png") :x 0 :y 0 :baseline 0)
|
||||
(assoc (texture "outside-jail/fountain.png") :x 0 :y 0 :baseline 114)]}
|
||||
:entities {:warden {:object nil
|
||||
:x 36
|
||||
:y 86
|
||||
@@ -188,18 +188,20 @@
|
||||
(particle-effect! :start))
|
||||
:x 172
|
||||
:y 140
|
||||
:baseline 114)}
|
||||
:baseline 114)
|
||||
:axe (assoc (texture "outside-jail/axe.png") :x 213 :y 63 :baseline 176 :night-profile :sprite)}
|
||||
|
||||
[:axe :day] (rooms/make-entity :axe (assoc (texture "outside-jail/axe.png") :x 213 :y 63 :baseline 176))
|
||||
[:axe :night] (rooms/make-entity :axe (assoc (texture "outside-jail/axe-dark.png") :x 213 :y 63 :baseline 176))
|
||||
|
||||
|
||||
:guard (rooms/make-entity :guard (assoc (animation->texture screen guard-stand)
|
||||
:x 70 :y 55 :baseline 185
|
||||
:stand guard-stand
|
||||
:talk guard-talk
|
||||
:sleep guard-sleep
|
||||
:script (actions/get-script entities (search-guard entities))))
|
||||
:script (actions/get-script entities (search-guard entities))
|
||||
:night-profile :sprite))
|
||||
:rope (rooms/make-entity :rope (assoc (texture "outside-jail/rope.png")
|
||||
:x 14 :y 20 :baseline 1))
|
||||
:x 14 :y 20 :baseline 1 :night-profile :sprite))
|
||||
:spear (rooms/make-entity :spear (assoc (texture "outside-jail/spear.png")
|
||||
:x 60 :y 65 :baseline 180
|
||||
:script (actions/get-script entities (grab-spear entities))))
|
||||
@@ -221,7 +223,6 @@
|
||||
:start-pos [145 15]
|
||||
:apply-state (fn [entities]
|
||||
(as-> entities entities
|
||||
(assoc-in entities [:room :entities :axe] (get-in entities [:room [:axe (get-in entities [:state :time])]]))
|
||||
(if (= :night (get-in entities [:state :time]))
|
||||
(make-night entities)
|
||||
entities)
|
||||
|
||||
Reference in New Issue
Block a user