added winning arm wrestling.
This commit is contained in:
@@ -35,7 +35,21 @@
|
||||
:warriors "Young esquire, thou art valiant in heart. "
|
||||
:warriors "Departeth henceforth and go hitherto, unto the gym.")}
|
||||
"I challenge you to a arm wrestling match to prove my strength."
|
||||
{:run #(actions/respond entities % :warriors "[TODO] You lose.")}
|
||||
{:run (fn [msg]
|
||||
(actions/respond entities msg :warriors "Prepare thyself, thy task is not for the feint of heart")
|
||||
(if ((set (get-in @entities [:state :inventory])) items/flask-1-strength)
|
||||
(do
|
||||
(actions/do-dialogue entities :ego "One sec.")
|
||||
(actions/play-animation entities :ego :grow)
|
||||
(actions/do-dialogue entities
|
||||
:warriors "[Todo animation here]"
|
||||
:warriors "Congratulations young master. Thou art worthy in might."
|
||||
:warriors "Take my medal of strength.")
|
||||
(actions/give entities items/medal))
|
||||
(do
|
||||
(actions/do-dialogue entities
|
||||
:warriors "[Todo animation here]"
|
||||
:warriors "You lost, young master. Go hitherto, unto thy gym."))))}
|
||||
"Something else."
|
||||
{:choices actions/something-else}]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user