diff --git a/desktop/src-common/advent/screens/rooms/inside_jail.clj b/desktop/src-common/advent/screens/rooms/inside_jail.clj index 663d22b6..ebc63297 100644 --- a/desktop/src-common/advent/screens/rooms/inside_jail.clj +++ b/desktop/src-common/advent/screens/rooms/inside_jail.clj @@ -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))}} diff --git a/desktop/src-common/advent/screens/rooms/outside_house.clj b/desktop/src-common/advent/screens/rooms/outside_house.clj index efbaa34b..300f1842 100644 --- a/desktop/src-common/advent/screens/rooms/outside_house.clj +++ b/desktop/src-common/advent/screens/rooms/outside_house.clj @@ -390,7 +390,7 @@ :wizard "Surely thou doth know that thou can speaketh in this manner." :wizard "Thy tongue requireth neither sword nor title.") :choices actions/previous-choices}]} - "By besting trap, beast, and long, boring, conversation with old geezers." + "By besting traps, beasts, and long, boring, conversation with old geezers." {:run #(do (actions/respond entities % :wizard "Quite right, quite right.") (Thread/sleep 1000) diff --git a/desktop/src-common/advent/screens/scene.clj b/desktop/src-common/advent/screens/scene.clj index 607735b5..cd742c19 100644 --- a/desktop/src-common/advent/screens/scene.clj +++ b/desktop/src-common/advent/screens/scene.clj @@ -362,7 +362,7 @@ void main () (common/one-liner "Split right down the middle.") :trophy - (common/one-liner "I've prove myself in wisdom!") + (common/one-liner "I've proven myself in wisdom!") :carrot (common/one-liner "I'm not that hungry.")