frog legs.

This commit is contained in:
2014-10-31 12:53:28 -07:00
parent ebd77a2547
commit 3836a1191a

View File

@@ -52,7 +52,8 @@
:choices ["Yes." :choices ["Yes."
{:run #(do (actions/respond entities % {:run #(do (actions/respond entities %
:game-player "Well, if you want my trophy, you'll have to earn it." :game-player "Well, if you want my trophy, you'll have to earn it."
:game-player "How about a game of riddles?" :game-player "There are a few riddles that even I, the wisest in all of Remington, cannot solve."
:game-player "How about you help me?"
:game-player "Bring me the answer:" :game-player "Bring me the answer:"
:game-player "White as snow, but not as cold," :game-player "White as snow, but not as cold,"
:game-player "Keeps you warm, or so I'm told." :game-player "Keeps you warm, or so I'm told."
@@ -80,15 +81,23 @@
:entities {:game-player (assoc (texture "inside-castle/gameplayer.png") :x 266 :y 49 :baseline 191 :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)) :script (actions/get-script entities (do-game-player-dialogue entities))
:scripts {:wool (actions/get-script entities :scripts {:wool (actions/get-script entities
(actions/remove-item entities items/wool)
(actions/do-dialogue entities (actions/do-dialogue entities
:game-player "That's right! Now for your second riddle:" :game-player "That's right! Now for your second riddle:"
:game-player "Filled with air, light as a feather," :game-player "Filled with air, light as a feather,"
:game-player "If you want to keep it, best have a tether.")) :game-player "If you want to keep it, best have a tether."))
:balloon (actions/get-script entities :balloon (actions/get-script entities
(actions/remove-item entities items/balloon)
(actions/do-dialogue entities (actions/do-dialogue entities
:game-player "That's right! Now for your third riddle:" :game-player "That's right! Now for your third riddle:"
:game-player "Hippity-hop, I jump really far," :game-player "Hippity-hop, I jump really far,"
:game-player "Now I'm dead, or at least a have a scar."))} :game-player "Now I'm dead, or at least a have a scar."))
:frog-legs (actions/get-script entities
(actions/remove-item entities items/frog-legs)
(actions/do-dialogue entities
:game-player "Wow! That's right!"
:game-player "I guess I'm not the wisest person in Remington."
:game-player "You have earned my trophy."))}
:anim nil :anim nil
:talk game-player-talk)} :talk game-player-talk)}
:collision "inside-castle/collision.png" :collision "inside-castle/collision.png"