expanded so you can't make strength potion without mandrake.
This commit is contained in:
@@ -55,18 +55,26 @@
|
||||
(def used-earplugs {:name "Choicest used earplugs" :value :used-earplugs :cursor :used-earplugs})
|
||||
(def grass {:name "Huge grass" :value :grass :cursor :grass})
|
||||
|
||||
(defn make-strength-potion []
|
||||
(defn add-slobber []
|
||||
(actions/get-script entities
|
||||
(actions/remove-item entities :flask-1-with-cream-of-mushroom)
|
||||
(actions/remove-item entities :slobber)
|
||||
(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/give entities :flask-1-strength)
|
||||
(actions/talk entities :ego "It's the completed potion of strength!")))
|
||||
(actions/talk entities :ego "It's the completed strength potion!")))
|
||||
|
||||
|
||||
|
||||
(def items
|
||||
{:wool {:name "Wool" :value :wool :cursor :wool :scripts {:stick make-cat-toy}}
|
||||
:mushrooms {:name "Mushrooms" :value :mushrooms :cursor :mushrooms}
|
||||
:mushrooms {:name "Mushrooms" :value :mushrooms :cursor :mushrooms
|
||||
:scripts {:flask-1-with-milk (actions/get-script entities (make-cream-of-mushroom entities))}}
|
||||
:carrot {:name "Carrot" :value :carrot :cursor :carrot}
|
||||
:flask-1-with-mushrooms {:name "Flask with mushrooms" :value :flask-1-with-mushrooms :cursor :flask-with-contents}
|
||||
:flask-1-with-milk {:name "Flask with milk" :value :flask-1-with-milk :cursor :flask-with-contents
|
||||
@@ -85,7 +93,7 @@
|
||||
:stick {:name "Stick" :value :stick :cursor :stick :scripts {:wool make-cat-toy}}
|
||||
:balloon {:name "Choicest of balloons" :value :balloon :cursor :balloon}
|
||||
:frog-legs {:name "Frog legs" :value :frog-legs :cursor :frog-legs}
|
||||
:ladder {:name "ladder" :value :ladder :cursor :ladder}
|
||||
:ladder {:name "Ladder" :value :ladder :cursor :ladder}
|
||||
:teddy {:name "Teddy Bear" :value :teddy :cursor :teddy}
|
||||
:portrait {:name "Portrait" :value :portrait :cursor :portrait}
|
||||
:recipe {:name "Strength potion recipe" :value :recipe :cursor :recipe}
|
||||
@@ -93,10 +101,14 @@
|
||||
:motivational-tapes {:name "Choicest motivational tapes" :value :motivational-tapes :cursor :motivational-tapes}
|
||||
:used-earplugs {:name "Choicest used earplugs" :value :used-earplugs :cursor :used-earplugs}
|
||||
:grass {:name "High protein grass" :value :grass :cursor :grass}
|
||||
:slobber {:name "Bull slobber" :value :slobber :cursor :slobber :scripts {:flask-1-with-cream-of-mushroom (make-strength-potion)}}
|
||||
:slobber {:name "Bull slobber" :value :slobber :cursor :slobber :scripts {:flask-1-with-cream-of-mushroom (add-slobber)}}
|
||||
:flask-1-with-cream-of-mushroom {:name "Flask with cream of mushrooms soup" :value :flask-1-with-cream-of-mushroom :cursor :flask-with-contents
|
||||
:scripts {:slobber (make-strength-potion)}}
|
||||
:scripts {:slobber (add-slobber)}}
|
||||
:flask-1-slobber {:name "Cream of mushrooms soup and bull slobber" :value :flask-1-slobber :cursor :flask-with-contents
|
||||
:scripts {:mandrake (make-strength-potion)}}
|
||||
:medal {:name "Medal of strength" :value :medal :cursor :medal}
|
||||
:kiss {:name "Kiss for courage" :value :kiss :cursor :kiss}
|
||||
:sword {:name "Sword of Blergh" :value :sword :cursor :sword}
|
||||
:mandrake {:name "Mandrake root" :value :mandrake :cursor :mandrake
|
||||
:scripts {:flask-1-slobber (make-strength-potion) }}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user