From 06094db13a4bed5750b4032c0d49fd2d7b64cbc6 Mon Sep 17 00:00:00 2001 From: Remington Covert Date: Sun, 2 Nov 2014 11:30:33 -0800 Subject: [PATCH] stone enscription. --- .../advent/screens/rooms/inside_castle.clj | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/desktop/src-common/advent/screens/rooms/inside_castle.clj b/desktop/src-common/advent/screens/rooms/inside_castle.clj index f6900c91..48978f36 100644 --- a/desktop/src-common/advent/screens/rooms/inside_castle.clj +++ b/desktop/src-common/advent/screens/rooms/inside_castle.clj @@ -98,7 +98,23 @@ :script (actions/get-script entities (actions/walk-to entities :ego [284 145]) (actions/transition-background entities :outside-castle [82 180]) - (actions/walk-to entities :ego [129 148]))}} + (actions/walk-to entities :ego [129 148]))} + :sword {:box [0 130 39 165] + :script (actions/get-script entities + (actions/talk entities :ego "That's the coolest sword I've ever seen!!") + (actions/walk-to entities :ego [37 134] :face :left) + (actions/talk entities :ego "Maybe I can pull it out.") + (actions/play-animation entities :ego :reach) + (actions/do-dialogue entities + :ego "I can't pull it out!" + :ego "It looks like there's an enscription here.") + (actions/play-animation entities :ego :squat) + (actions/do-dialogue entities + :ego "The Sword of Blergh with magic sting," + :ego "shall yield to no earthly king." + :ego "Worthy in wisdom, courage, and might," + :ego "only then with sword he'll fight.") + )}} :layers [(assoc (texture "inside-castle/background.png") :x 0 :y 0 :baseline 0) (assoc (texture "inside-castle/pedestal-overlay.png") :x 0 :y 0 :baseline 135)] :entities {:game-player (assoc (texture "inside-castle/gameplayer.png") :x 266 :y 49 :baseline 191