new dialogue.

This commit is contained in:
2015-04-30 18:55:39 -07:00
parent 066cfbd733
commit 57415f206f

View File

@@ -53,21 +53,25 @@
{:run #(actions/respond entities %
:game-player "Thanks. I'm the reigning champ in the annual Town of Remington Junior Smarty Pants Derby."
:game-player "I earned it with my wisdom and sharp intellect."
:game-player "Oh, I'm guessing you want it? Maybe to prove your wisdom and pull the Sword of Blergh?"
:game-player "Oh, I'm guessing you want it? "
:game-player "Maybe to prove your wisdom and pull the Sword of Blergh?"
:game-player "Perhaps to become a knight and impress a young lady?")
:choices ["Yes."
{:run #(actions/respond entities %
:game-player "My trophy is hard-won. You won't pry it from my fingers easily."
:game-player "But I'm preparing for next year's Junior Smarty Pants Derby, and I need some help."
:game-player "If you can help me, it will secure my success for next year, and so you can have this trophy."
:game-player "My trophy is hard-won."
:game-player "You won't pry it from my fingers easily."
:game-player "But I am preparing for next year's Junior Smarty Pants Derby..."
:game-player "... and I could use some help."
:game-player "If you can help me, it will secure my success next year."
:game-player "And I'll give you my trophy in exchange."
:game-player "Deal?")
:choices ["What is the Junior Smarty Pants Derby?"
{:run #(actions/respond entities %
:game-player "The annual Town of Remington Junior Smarty Pants Derby is a contest of wits."
:game-player "It's sort of like a game of riddles, mixed with a scavenger hunt."
:game-player "You must find the answer to the riddle to win."
:game-player "There are a few puzzles that even I, Brian O'Brainy, stumped."
:game-player "If you can help me, I'll let you have my trophy.")
:game-player "There are a few riddles that even I, the wise Brian O'Brainy, can't solve."
:game-player "That's where you come in.")
:choices actions/previous-choices}
"Deal."
{:run #(do (actions/update-state entities (fn [state] (assoc state :current-riddle :wool)))
@@ -87,19 +91,21 @@
(defn do-game-player-dialogue [entities]
(walk-to-player entities)
(actions/do-dialogue entities :ego "You there!" :game-player "... Yes?")
(actions/do-dialogue entities :ego "You there!"
:game-player "... Oh, hello Tick. "
:game-player "What is it?")
(actions/present-choices entities
{:choices ["Do you know anything about the sword in the stone up there?"
{:run #(actions/respond entities %
:game-player "It's the Sword of Blergh. There's a prophecy that says that whoever pulls it will be a great knight!"
:game-player "It's the Sword of Blergh. "
:game-player "There's a prophecy that says that whoever pulls it will be a great knight!"
:game-player "'The Sword of Blergh, with magic sting,\nshall yield to no earthly king.'"
:game-player "'Worthy in wisdom, courage, and might,\nonly then with sword he'll fight.'"
:game-player "I've often dreamed of pulling the sword myself.")
:choices ["Why don't you?"
{:run #(do (actions/respond entities %
:game-player "I, of course, have the wisdom to do such a deed."
:game-player "I, of course, am the wisest in all of Remington."
:game-player "But I'm not much of a hero."
:game-player "I don't have the might or courage required to pull the sword and fulfill the prophecy. "
:game-player "The knights of Remington have muscles the size of tree trunks."
:game-player "But me...")
(sound! (sound "inside-castle/flex.ogg") :play (utils/current-sound-volume))