made a squatting animation

This commit is contained in:
2014-10-21 20:02:52 -07:00
parent 6c1e7bfafd
commit d639efe10e
4 changed files with 44 additions and 8 deletions

View File

@@ -33,6 +33,7 @@
(actions/talk entities :ego "I've already got a junk ton of mushrooms.")
(do
(actions/walk-to entities :ego [242 75])
(actions/play-animation entities :ego :squat)
(actions/give entities items/mushrooms)
(actions/talk entities :ego "Perfectly ripe mushrooms!"))))}
:window {:box [103 44 130 140]

View File

@@ -36,7 +36,9 @@
(actions/talk entities :ego "If I steal any more, I might get caught.")
(do
(actions/walk-to entities :ego [128 180])
(actions/talk entities :ego "Hey! Carrots. No one will notice one missing.")
(actions/talk entities :ego "Hey! Carrots.")
(actions/play-animation entities :ego :squat)
(actions/talk entities :ego "No one will notice one missing.")
(actions/give entities items/carrot))))}
:peddler {:box [110 90 128 146]
:script (actions/get-script