nice tweaks.

This commit is contained in:
2014-12-13 12:55:06 -08:00
parent b89b92e85f
commit 24d5ccfd8e
4 changed files with 33 additions and 21 deletions

View File

@@ -191,7 +191,13 @@
(actions/give entities :flask-1-with-milk)
(actions/talk entities :ego "Sheeps milk."))
(actions/talk entities :ego "She's too far away.")))
:flask-1-with-mushrooms (items/make-cream-of-mushroom)}
:flask-1-with-mushrooms
(actions/get-script entities
(if (is-sheep-close? @entities)
(do (actions/walk-to entities :ego ego-sheep-loc :face :left)
(actions/play-animation entities :ego :reach)
(items/make-cream-of-mushroom entities))
(actions/talk entities :ego "She's too far away.")))}
:left {:walk (utils/flip sheep-walk)
:stand (utils/flip sheep-stand)}
:right {:walk sheep-walk