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

@@ -8,6 +8,7 @@
[advent.tween :as tween]
[advent.utils :as utils]
[advent.saves :as saves]
[advent.steam :as steam]
[clojure.zip :as zip]
[clojure.set :as set]
[clojure.string :as str]
@@ -279,8 +280,6 @@
:none)))
(defn return-from-island [screen entities]
(when (and (not (get-in entities [:fg-actions :script-running?]))
(get-in entities [:state :active?])
(get-in entities [:room :entities :fairy-godfather :distracted?]))
@@ -425,6 +424,7 @@
(actions/resume-camera entities)
(actions/walk-straight-to entities :ego [79 145] :stop? false)
(actions/walk-to entities :ego [159 74])
(steam/set-achievement "DESTINY")
(actions/do-dialogue entities
:ego "Man! What a dream!"
:ego "If I only really could be a knight."