tweaked logic for bubba leaving. can't leave if you've got the slingshot.

This commit is contained in:
Bryce Covert
2016-06-28 08:49:46 -07:00
parent bd797e60be
commit 0c5617d500
2 changed files with 22 additions and 12 deletions

View File

@@ -277,7 +277,8 @@
(actions/do-dialogue entities :frankie "That's only for people in the 'Super secret cool club'!"))
:choices actions/previous-choices}
(when-not (get-in @entities [:state :bubba-gone?])
(when (and (not (get-in @entities [:state :bubba-gone?]))
(not (actions/has-item? entities :slingshot)))
"I found your secret stash!")
{:run #(do (actions/respond entities %
:frankie "What?!"