can't open chest twice.

This commit is contained in:
2014-12-27 15:26:22 -08:00
parent 04955000df
commit 18852ba283
3 changed files with 38 additions and 26 deletions

View File

@@ -1,5 +1,6 @@
(ns advent.screens.rooms.space
(:require [advent.screens.rooms :as rooms]
[advent.screens.rooms.common :as common]
[advent.actions :as actions]
[advent.screens.items :as items]
[advent.utils :as utils]
@@ -53,7 +54,8 @@
(actions/walk-straight-to entities :ego [100 45] :anim :squat :override-dir :right :speed 3.0)
(actions/do-dialogue entities :ego "Ouch!"
:blergh "My turn.")
(actions/transition-background entities :inside-jail [130 85])
(common/go-to-jail entities)
(actions/do-dialogue entities :ego "Hey!"
:ego "What's going on? I was just about to teach Blergh a lesson!"))}))
:entities {}