diff --git a/desktop/resources/cursor.png b/desktop/resources/cursor.png index 09fdd7a9..add30f62 100644 Binary files a/desktop/resources/cursor.png and b/desktop/resources/cursor.png differ diff --git a/desktop/src-common/advent/screens/items.clj b/desktop/src-common/advent/screens/items.clj index 69e93026..9e3a28cc 100644 --- a/desktop/src-common/advent/screens/items.clj +++ b/desktop/src-common/advent/screens/items.clj @@ -36,7 +36,7 @@ (actions/give entities flask-1-with-mushrooms) (actions/talk entities :ego "I'll just put a few of these in here."))}}) -(def cards {:name "Warlock's Tower cards" :value :cards :cursor :cards}) +(def trophy {:name "Trophy of wisdom" :value :trophy :cursor :trophy}) (def cheat-deck {:name "Warlock's Tower cheat deck" :value :cheat-deck :cursor :cheat-deck}) (def cat-toy {:name "Cat toy" :value :cat-toy :cursor :cat-toy}) diff --git a/desktop/src-common/advent/screens/rooms/inside_castle.clj b/desktop/src-common/advent/screens/rooms/inside_castle.clj index 316f2b67..db47452c 100644 --- a/desktop/src-common/advent/screens/rooms/inside_castle.clj +++ b/desktop/src-common/advent/screens/rooms/inside_castle.clj @@ -97,7 +97,8 @@ (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."))} + :game-player "You have earned my trophy.") + (actions/give entities items/trophy))} :anim nil :talk game-player-talk)} :collision "inside-castle/collision.png" diff --git a/desktop/src-common/advent/utils.clj b/desktop/src-common/advent/utils.clj index 2610246a..4fd9ca0a 100644 --- a/desktop/src-common/advent/utils.clj +++ b/desktop/src-common/advent/utils.clj @@ -11,7 +11,7 @@ (let [{:keys [x y]} (input->screen screen {:x (:input-x screen) :y (:input-y screen)})] (println (:input-x screen) (:input-y screen) "->" x y))) -(def +all-cursors+ [:main :wool :mushrooms :carrot :right :down :left :up :flask :flask-with-contents :cards :cheat-deck :stick :cat-toy :balloon :frog-legs]) +(def +all-cursors+ [:main :wool :mushrooms :carrot :right :down :left :up :flask :flask-with-contents :trophy :cheat-deck :stick :cat-toy :balloon :frog-legs]) (defn cursor [filename which] (let [scale 2