steam achievements

This commit is contained in:
Bryce Covert
2015-11-22 16:02:20 -08:00
parent 1f25bcc138
commit 424e8df93c
8 changed files with 17 additions and 20 deletions

View File

@@ -3,6 +3,7 @@
[advent.screens.rooms :as rooms]
[advent.screens.items :as items]
[advent.actions :as actions]
[advent.steam :as steam]
[advent.utils :as utils]
[clojure.zip :as zip]
[play-clj.core :refer :all]
@@ -80,7 +81,8 @@
:warriors "Congratulations, young master. Thou art worthy in might."
:warriors "Take thy servant's medal of strength.")
(actions/give entities :medal)
(actions/glad entities))
(actions/glad entities)
(steam/set-achievement "WISE_GUY"))
(do
(play-battle entities :lose)
(actions/do-dialogue entities