fixed up jail sequence
This commit is contained in:
@@ -135,6 +135,7 @@
|
||||
(actions/do-dialogue entities :ego "What's this?"
|
||||
:ego "Hello hello!"
|
||||
:ego "It's the key!")
|
||||
(actions/give entities :key)
|
||||
(actions/do-dialogue entities :ego "Come on! It's that easy to escape?"
|
||||
:ego "We're not going to at least do that dog and bone scenario?"
|
||||
:ego "I get to just take the key and leave?"
|
||||
@@ -315,7 +316,7 @@
|
||||
(get-in entities [:room :entities :ego :right :walk])} (get-in entities [:room :entities :ego :anim]))]
|
||||
(if is-walking?
|
||||
(let [entities (-> entities
|
||||
(update-in [:actions] #(assoc % :channel (chan) :current nil :started? false))
|
||||
(update-in [:actions] #(assoc % :channel (chan) :current nil :started? false :script-running? false))
|
||||
(update-in [:room :entities :ego] #(actions/start-animation screen % :stand)))]
|
||||
((actions/get-script entities
|
||||
(actions/stop-walking entities :ego)
|
||||
|
||||
Reference in New Issue
Block a user