improving the story a bit.
This commit is contained in:
@@ -368,7 +368,7 @@
|
||||
:scale-fn (utils/scaler-fn-from-image "inside-castle/scale.png" 0.25 1.00)
|
||||
:apply-state (fn [entities]
|
||||
(as-> entities entities
|
||||
(if (actions/has-item? entities :trophy)
|
||||
(if (actions/has-obtained? entities :trophy)
|
||||
(update-in entities [:room :entities] #(dissoc % :trophy))
|
||||
entities)
|
||||
(if (actions/has-item? entities :sword)
|
||||
|
||||
Reference in New Issue
Block a user