adding grass and slobber.
This commit is contained in:
@@ -55,3 +55,5 @@
|
||||
(def glass-eye {:name "Choicest of glass eyes" :value :glass-eye :cursor :glass-eye})
|
||||
(def motivational-tapes {:name "Choicest motivational tapes" :value :motivational-tapes :cursor :motivational-tapes})
|
||||
(def used-earplugs {:name "Choicest used earplugs" :value :used-earplugs :cursor :used-earplugs})
|
||||
(def grass {:name "Huge grass" :value :grass :cursor :grass})
|
||||
(def slobber {:name "Bull slobber" :value :slobber :cursor :slobber})
|
||||
|
||||
@@ -120,6 +120,12 @@
|
||||
:stand)
|
||||
:steer (assoc (texture "outside-castle/steer.png" ) :x 203 :y 155 :baseline 80
|
||||
:script (actions/get-script entities
|
||||
(actions/talk entities :ego "That is one buff bull!")))}
|
||||
(actions/talk entities :ego "That is one buff bull!"))
|
||||
:scripts {:grass (actions/get-script entities
|
||||
(actions/walk-to entities :ego [168 150] :face :right)
|
||||
(actions/play-animation entities :ego :reach)
|
||||
(actions/remove-item entities items/grass)
|
||||
(actions/talk entities :ego "Eww! He slobbered on my hand.")
|
||||
(actions/give entities items/slobber))})}
|
||||
:collision "outside-castle/collision.png"
|
||||
:scale-fn (utils/scaler-fn-with-baseline 110 0.10 1.00))))
|
||||
|
||||
@@ -219,7 +219,7 @@
|
||||
:inside-fangald (make-music "inside-fangald.ogg")}
|
||||
:state {:object nil
|
||||
:active? true
|
||||
:inventory [items/flask-1-with-cream-of-mushroom items/recipe]
|
||||
:inventory [items/grass]
|
||||
:clues #{}
|
||||
:mints-eaten 0}
|
||||
:actions {:object nil
|
||||
|
||||
Reference in New Issue
Block a user