From b6d3c2ea6691d47b7aae167ccd19a98b2a6869d6 Mon Sep 17 00:00:00 2001 From: Remington Covert Date: Fri, 31 Oct 2014 12:14:30 -0700 Subject: [PATCH] changing to riddles. --- .../advent/screens/rooms/inside_castle.clj | 38 +++++++++---------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/desktop/src-common/advent/screens/rooms/inside_castle.clj b/desktop/src-common/advent/screens/rooms/inside_castle.clj index 8124042b..13e5055f 100644 --- a/desktop/src-common/advent/screens/rooms/inside_castle.clj +++ b/desktop/src-common/advent/screens/rooms/inside_castle.clj @@ -44,30 +44,23 @@ :choices actions/previous-choices} "Something else." {:choices actions/something-else}]} - "What are you playing?" + "Nice trophy." {:run #(actions/respond entities % - :game-player "It's called Warlock's Castle. " - :game-player "You play as a warlock, using skills and magic to reach the top of the tower of doom." - :game-player "If you want to reach the top of the tower, you must have the sharpest of minds." - :game-player "It's not for little kids like you." - :game-player "Even wise wizards like Mr. Fangald can't beat me!") - :choices ["Can I play with you?" + :game-player "Thanks. I was nominated the Riddlemaster of Remington for the 7th straight year!" + :game-player "I guess I'm pretty wise." + :game-player "And with my sharp intellect, I'm guessing you want my trophy?") + :choices ["Yes." {:run #(do (actions/respond entities % - :game-player "You think YOU have what it takes to climb the stairs of treachery?" - :game-player "Or solve the riddle in the library of mystery?" - :game-player "Or break the curse that has entrapped the cave beast for 1000 years?" - :game-player "Very well. Here are your cards.") - (actions/give entities items/cards) - (actions/talk entities :game-player "Are you ready to play?")) - :choices ["You bet!" {:run (fn [_] (play-warlocks-castle entities))} - "Hang on a sec." {:choices ["Hey look! A real warlock!" {:choices actions/previous-choices} - "Ok, ready." {:run (fn [_] (play-warlocks-castle entities))}]}]} - "That sounds pretty dumb." + :game-player "Well, if you want my trophy, you'll have to earn it." + :game-player "How about a game of riddles?" + :game-player "Bring me the answer:" + :game-player "White as snow, but not as cold," + :game-player "Keeps you warm, or so I'm told." + :ego "Okay."))} + "No." {:run #(actions/respond entities % :game-player "That's exactly what I'd expect a dummy like you to say." - :choices actions/previous-choices)} - "Something else." - {:choices actions/something-else}]} + :choices actions/previous-choices)}]} "Nevermind." {:run #(actions/respond entities % :game-player "See you around.")}]})) @@ -86,6 +79,11 @@ (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 :script (actions/get-script entities (do-game-player-dialogue entities)) + :scripts {:wool (actions/get-script entities + (actions/do-dialogue entities + :game-player "That's right! Now for your second riddle:" + :game-player "Filled with air, light as a feather," + :game-player "If you want to keep it, best have a tether."))} :anim nil :talk game-player-talk)} :collision "inside-castle/collision.png"