feedback.
This commit is contained in:
@@ -322,7 +322,15 @@
|
||||
(actions/do-dialogue entities :ego "I'm trying to escape."
|
||||
:ego "Not help the next bloke who gets trapped here."))}}
|
||||
:chest {:box [194 62 228 99]
|
||||
:script (actions/get-script entities (touch-chest entities))}
|
||||
:script (actions/get-script entities (touch-chest entities))
|
||||
:scripts {:key (actions/get-script entities
|
||||
(if (get-in @entities [:state :opened-bars?])
|
||||
(do
|
||||
(actions/walk-to entities :ego [192 66] :face :right)
|
||||
(actions/play-animation entities :ego :reach)
|
||||
(actions/do-dialogue entities :ego "The key doesn't unlock the chest."
|
||||
:ego "Good thing it's not locked!"))
|
||||
(actions/talk entities :ego "Not while I'm in this cell.")))}}
|
||||
:door {:box [257 62 301 152]
|
||||
:cursor :down
|
||||
:script (actions/get-script entities (leave entities))}}
|
||||
|
||||
Reference in New Issue
Block a user