progress
This commit is contained in:
@@ -3,60 +3,60 @@
|
||||
|
||||
(def make-cat-toy
|
||||
(actions/get-script entities
|
||||
(actions/remove-item entities :stick)
|
||||
(actions/remove-item entities :wool)
|
||||
(actions/remove-item entities :stick :quiet? true)
|
||||
(actions/remove-item entities :wool :quiet? true)
|
||||
(actions/give entities :cat-toy)
|
||||
(actions/talk entities :ego "It makes a little cat toy!")))
|
||||
|
||||
(defn make-cream-of-mushroom [entities]
|
||||
(actions/remove-item entities :flask-1-with-mushrooms)
|
||||
(actions/remove-item entities :flask-1-with-milk)
|
||||
(actions/remove-item entities :mushrooms)
|
||||
(actions/remove-item entities :flask-1-with-mushrooms :quiet? true)
|
||||
(actions/remove-item entities :flask-1-with-milk :quiet? true)
|
||||
(actions/remove-item entities :mushrooms :quiet? true)
|
||||
(actions/give entities :flask-1-with-cream-of-mushroom)
|
||||
(actions/talk entities :ego "It's just like cream of mushroom soup."))
|
||||
|
||||
|
||||
(defn add-slobber []
|
||||
(actions/get-script entities
|
||||
(actions/remove-item entities :flask-1-with-cream-of-mushroom)
|
||||
(actions/remove-item entities :slobber)
|
||||
(actions/remove-item entities :flask-1-with-cream-of-mushroom :quiet? true)
|
||||
(actions/remove-item entities :slobber :quiet? true)
|
||||
(actions/give entities :flask-1-slobber)
|
||||
(actions/talk entities :ego "I put the slobber in with the cream of mushroom.")))
|
||||
|
||||
(defn make-strength-potion []
|
||||
(actions/get-script entities
|
||||
(actions/remove-item entities :flask-1-slobber)
|
||||
(actions/remove-item entities :mandrake)
|
||||
(actions/remove-item entities :flask-1-slobber :quiet? true)
|
||||
(actions/remove-item entities :mandrake :quiet? true)
|
||||
(actions/give entities :flask-1-strength)
|
||||
(actions/talk entities :ego "It's the completed strength potion!")
|
||||
(actions/glad entities)))
|
||||
|
||||
|
||||
(defn make-water-and-ash [entities]
|
||||
(actions/remove-item entities :flask-water)
|
||||
(actions/remove-item entities :ash)
|
||||
(actions/remove-item entities :flask-water :quiet? true)
|
||||
(actions/remove-item entities :ash :quiet? true)
|
||||
(actions/give entities :flask-water-ash)
|
||||
(actions/talk entities :ego "I added the ashes to the water."))
|
||||
|
||||
(defn make-water-and-flies [entities]
|
||||
(actions/remove-item entities :flask-water)
|
||||
(actions/remove-item entities :flies)
|
||||
(actions/remove-item entities :flask-water :quiet? true)
|
||||
(actions/remove-item entities :flies :quiet? true)
|
||||
(actions/give entities :flask-water-flies)
|
||||
(actions/talk entities :ego "I put those flies in the flask."))
|
||||
|
||||
(defn make-flies-ash [entities]
|
||||
(actions/remove-item entities :flask-water)
|
||||
(actions/remove-item entities :flask-water-ash)
|
||||
(actions/remove-item entities :flask-water-flies)
|
||||
(actions/remove-item entities :ash)
|
||||
(actions/remove-item entities :flies)
|
||||
(actions/remove-item entities :flask-water :quiet? true)
|
||||
(actions/remove-item entities :flask-water-ash :quiet? true)
|
||||
(actions/remove-item entities :flask-water-flies :quiet? true)
|
||||
(actions/remove-item entities :ash :quiet? true)
|
||||
(actions/remove-item entities :flies :quiet? true)
|
||||
(actions/give entities :flask-flies-ash)
|
||||
(actions/talk entities :ego "Now it's got the fountain water, flies, and the ashes in it."))
|
||||
|
||||
(defn make-finished-component [entities]
|
||||
(actions/talk entities :ego "I'll just mix this up.")
|
||||
(actions/remove-item entities :flask-flies-ash)
|
||||
(actions/remove-item entities :feather)
|
||||
(actions/remove-item entities :flask-flies-ash :quiet? true)
|
||||
(actions/remove-item entities :feather :quiet? true)
|
||||
(actions/play-animation entities :ego :reach)
|
||||
(actions/give entities :spell-component)
|
||||
(actions/talk entities :ego "It looks like it's ready!"))
|
||||
@@ -64,8 +64,8 @@
|
||||
(defn add-mushrooms-to-flask []
|
||||
(actions/get-script entities
|
||||
(if (actions/has-item? entities :recipe)
|
||||
(do (actions/remove-item entities :flask-1)
|
||||
(actions/remove-item entities :mushrooms)
|
||||
(do (actions/remove-item entities :flask-1 :quiet? true)
|
||||
(actions/remove-item entities :mushrooms :quiet? true)
|
||||
(actions/give entities :flask-1-with-mushrooms)
|
||||
(actions/talk entities :ego "I'll just put a few of these in here."))
|
||||
(actions/talk entities :ego "I don't know if I could get them back out."))))
|
||||
|
||||
Reference in New Issue
Block a user