android and ios achievements.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
[advent.screens.rooms.common :as common]
|
||||
[advent.utils :as utils]
|
||||
[advent.steam :as steam]
|
||||
[advent.achievements :as achievements]
|
||||
[clojure.zip :as zip]
|
||||
[play-clj.core :refer :all]
|
||||
[play-clj.ui :refer :all]
|
||||
@@ -411,7 +412,7 @@
|
||||
(actions/give entities :kiss)
|
||||
(actions/do-dialogue entities :ego "A kiss for an inventory item?"
|
||||
:ego "Sounds like the game designer was running out of good ideas.")
|
||||
(steam/set-achievement "KITTY_KISS"))
|
||||
(achievements/set-achievement "KITTY_KISS"))
|
||||
(actions/talk entities :ego "I can't get his attention from way down here.")))
|
||||
:stick (actions/get-script entities
|
||||
(if (get-in @entities [:room :entities :ladder])
|
||||
@@ -507,7 +508,7 @@
|
||||
(actions/play-animation entities :owl :eye)
|
||||
(actions/do-dialogue entities
|
||||
:owl "I don't think that helped that much.")
|
||||
(steam/set-achievement "BEHOLDER")
|
||||
(achievements/set-achievement "BEHOLDER")
|
||||
(when (actions/has-obtained? entities :feather)
|
||||
(actions/do-dialogue entities :owl "I think I'll just stick to the monocle."))
|
||||
(actions/update-state entities (fn [s] (assoc s :owl-tried-strength? true))))
|
||||
|
||||
Reference in New Issue
Block a user