sounds.
This commit is contained in:
@@ -327,11 +327,11 @@
|
||||
(update-in [:room :entities :ego] #(actions/start-animation screen % :stand)))]
|
||||
((actions/get-script entities
|
||||
(actions/stop-walking entities :ego)
|
||||
(actions/do-dialogue entities
|
||||
:ego "*creak*"
|
||||
(actions/play-sound entities "inside-jail/squeak.ogg" 0.3)
|
||||
(actions/do-dialogue entities
|
||||
:ego "Oops!"
|
||||
:warden "Hey! What are you doing?"
|
||||
:warden "Get back in jail.")
|
||||
:warden "Trying to escape, are ye chap?")
|
||||
(common/go-to-jail entities)
|
||||
(actions/do-dialogue entities :warden "Now don't let me catch you trying to escape again.")
|
||||
(actions/play-animation entities :warden :fall-asleep :stop? false)
|
||||
@@ -355,8 +355,8 @@
|
||||
warden-talk {10 [:blink 0.15]}
|
||||
warden-fall-asleep {7 [:blink 0.15]
|
||||
18 [:blink 0.15]}
|
||||
warden-sleep {0 [:inhale 1.0]
|
||||
2 [:exhale 1.0]}}
|
||||
warden-sleep {0 [:inhale 0.1]
|
||||
10 [:exhale 0.1]}}
|
||||
:script (actions/get-script entities
|
||||
(cond
|
||||
(actions/has-item? entities :key) (actions/talk entities :ego "Shh! It's best not to wake him now.")
|
||||
|
||||
Reference in New Issue
Block a user