to ponder wether or not I need the herb, if the chest needs the herb etc.
For example - I might want to collect herbs for 1 cup of strengthening tea
and 1 vial to cure fear.
That's a lot of different herbs.
And you probably have a bunch of herbs in your purse allready - so there's
a bit of work going through the herbs and finding out
how many more you need of each herb/which herbs you allready have enough of.
So I've make this huge, ugly set of triggers and aliases to have
Zmud pick up the herbs you need more of
if you pass by them - and leave those that you don't want.
#CLASS Herbcollecter
#var numbelladonna 0
#var numbroomweed 0
#var numflatwort 0
#var numforkroot 0
#var numgheandin 0
#var numgoatflower 0
#var numhoney 0
#var numivy 0
#var numjuniper 0
#var numkaf 0
#var numsheepstongue 0
#var numsleepwell 0
#var numnightsbane 0
#var numdogwort 0
#var numsunburst 0
#var numtremalking 0
#var numwillow 0
#var numhealall 0
#var numfoxgloves 0
#var numfennel 0
#var wantedbelladonna 0
#var wantedbroomweed 0
#var wantedflatwort 0
#var wantedforkroot 0
#var wantedgheandin 0
#var wantedgoatflower 0
#var wantedhoney 0
#var wantedivy 0
#var wantedjuniper 0
#var wantedkaf 0
#var wantedsheepstongue 0
#var wantedsleepwell 0
#var wantednightsbane 0
#var wanteddogwort 0
#var wantedsunburst 0
#var wantedtremalking 0
#var wantedwillow 0
#var wantedhealall 0
#var wantedfoxgloves 0
#var wantedfennel 0
#var currentplayer 0
#alias {belladonna} {#var wantedbelladonna %1}
#alias {broomweed} {#var wantedbroomweed %1}
#alias {flatwort} {#var wantedflatwort %1}
#alias {forkroot} {#var wantedforkroot %1}
#alias {gheandin} {#var wantedgheandin %1}
#alias {goatflower} {#var wantedgoatflower %1}
#alias {honey} {#var wantedhoney %1}
#alias {ivy} {#var wantedivy %1}
#alias {juniper} {#var wantedjuniper %1}
#alias {kaf} {#var wantedkaf %1}
#alias {sheepstongue} {#var wantedsheepstongue %1}
#alias {sleepwell} {#var wantedsleepwell %1}
#alias {nightsbane} {#var wantednightsbane %1}
#alias {dogwort} {#var wanteddogwort %1}
#alias {sunburst} {#var wantedsunburst %1}
#alias {tremalking} {#var wantedtremalking %1}
#alias {willow} {#var wantedwillow %1}
#alias {healall} {#var wantedhealall %1}
#alias {foxgloves} {#var wantedfoxgloves %1}
#alias {fennel} {#var wantedfennel %1}
#alias {resetherbs} {#var wantedbelladonna 0;#var wantedbroomweed 0;#var wantedflatwort 0;#var wantedforkroot 0;#var wantedgheandin 0;#var wantedgoatflower 0;#var wantedhoney 0;#var wantedivy 0;#var wantedjuniper 0;#var wantedkaf 0;#var wantedsheepstongue 0;#var wantedsleepwell 0;#var wantednightsbane 0;#var wanteddogwort 0;#var wantedsunburst 0;#var wantedtremalking 0;#var wantedwillow 0;#var wantedhealall 0;#var wantedfoxgloves 0;#echo Wanted number of herbs has been reset to 0 for all herbs.}
#alias {gpu} {get all purse;#var numbelladonna 0;#var numbroomweed 0;#var numflatwort 0;#var numforkroot 0;#var numgheandin 0;#var numgoatflower 0;#var numhoney 0;#var numivy 0;#var numjuniper 0;#var numkaf 0;#var numsheepstongue 0;#var numsleepwell 0;#var numnightsbane 0;#var numdogwort 0;#var numsunburst 0;#var numtremalking 0;#var numwillow 0;#var numhealall 0;#var numfoxgloves 0}
#alias {ppu} {put all.herb purse}
#alias {need} {#if (@numbelladonna<@wantedbelladonna) {#echo You need more Belladonna berries. You currently have @numbelladonna.};#if (@numbroomweed<@wantedbroomweed) {#echo You need more Broomweed. You currently have @numbroomweed.};#if (@numflatwort<@wantedflatwort) {#echo You need more Flatwort. You currently have @numflatwort.};#if (@numforkroot<@wantedforkroot) {#echo You need more Forkroot. You currently have @numforkroot.};#if (@numgheandin<@wantedgheandin) {#echo You need more Gheandin blossom. You currently have @numgheandin.};#if (@numgoatflower<@wantedgoatflower) {#echo You need more Goatflower petals. You currently have @numgoatflower.};#if (@numhoney<@wantedhoney) {#echo You need more Honey. You currently have @numhoney.};#if (@numivy<@wantedivy) {#echo You need more ivy. You currently have @numivy.};#if (@numjuniper<@wantedjuniper) {#echo You need more Juniper berries. You currently have @numjuniper.};#if (@numkaf<@wantedkaf) {#echo You need more Kaf. You currently have @numkaf.};#if (@numsheepstongue<@wantedsheepstongue) {#echo You need more sheepstongue. You currently have @numsheepstongue.};#if (@numsleepwell<@wantedsleepwell) {#echo You need more sleepwell. You currently have @numsleepwell.};#if (@numnightsbane<@wantednightsbane) {#echo You need more Nightsbane. You currently have @numnightsbane.};#if (@numdogwort<@wanteddogwort) {#echo You need more Dogwort. You currently have @numdogwort.};#if (@numsunburst<@wantedsunburst) {#echo You need more Sunburst root. You currently have @numsunburst.};#if (@numtremalking<@wantedtremalking) {#echo You need more tremalking. You currently have @numtremalking.};#if (@numwillow<@wantedwillow) {#echo You need more Willow bark. You currently have @numwillow.};#if (@numhealall<@wantedhealall) {#echo You need more healall. You currently have @numhealall.};#if (@numfoxgloves<@wantedfoxgloves) {#echo You need more foxgloves. You currently have @numfoxgloves.};#if (@numfennel<@wantedfennel) {#echo You need more Gray Fennel. You currently have @numfennel.}}
#trigger {^Welcome to the Wheel of Time! Type 'help' for information.} {score}
#trigger {^This ranks you as (%w)} {#var currentplayer %1}
#trigger {^Some black belladonna berries are here.} {#if (@currentplayer=YOURCHARNAME AND @numbelladonna>=@wantedbelladonna) {#echo You have enough Belladonna for now.};#if (@currentplayer=YOURCHARNAME AND @numbelladonna<@wantedbelladonna) {get black;put black purse}}
#trigger {^Tiny yellow flowers are growing upon stalks here.} {#if (@currentplayer=YOURCHARNAME AND @numbroomweed>=@wantedbroomweed) {#echo You have enough Broomweed for now.};#if (@currentplayer=YOURCHARNAME AND @numbroomweed<@wantedbroomweed) {get yellow;put yellow purse}}
#trigger {^A packet of dried brown forkroot lies here.} {#if (@currentplayer=YOURCHARNAME AND @numforkroot>=@wantedforkroot) {#echo You have enough Forkroot for now.};#if (@currentplayer=YOURCHARNAME AND @numforkroot<@wantedforkroot) {get brown;put brown purse}}
#trigger {^A small glass vial of intense red powder rests upon the floor.} {#if (@currentplayer=YOURCHARNAME AND @numgheandin>=@wantedgheandin) {#echo You have enough Gheandin blossom for now.};#if (@currentplayer=YOURCHARNAME AND @numgheandin<@wantedgheandin) {get red;put red purse}}
#trigger {^Lightly spread across the ground are a number of soft blue petals.} {#if (@currentplayer=YOURCHARNAME AND @numgoatflower>=@wantedgoatflower) {#echo You have enough Goatflowers for now.};#if (@currentplayer=YOURCHARNAME AND @numgoatflower<@wantedgoatflower) {get blue;put blue purse}}
#trigger {^A small vial of thick yellow liquid sits here.} {#if (@currentplayer=YOURCHARNAME AND @numhoney>=@wantedhoney) {#echo You have enough Honey for now.};#if (@currentplayer=YOURCHARNAME AND @numhoney<@wantedhoney) {get yellow;put yellow purse}}
#trigger {^A small sack of freshly ground green ivy.} {#if (@currentplayer=YOURCHARNAME AND @numivy>=@wantedivy) {#echo You have enough Ivy for now.};#if (@currentplayer=YOURCHARNAME AND @numivy<@wantedivy) {get green;put green purse}}
#trigger {^A small scattering of blue berries graces the ground.} {#if (@currentplayer=YOURCHARNAME AND @numjuniper>=@wantedjuniper) {#echo You have enough Juniper for now.};#if (@currentplayer=YOURCHARNAME AND @numjuniper<@wantedjuniper) {get blue;put blue purse}}
#trigger {^A bag lies open, with brown kaf beans inside.} {#if (@currentplayer=YOURCHARNAME AND @numkaf>=@wantedkaf) {#echo You have enough Kaf for now.};#if (@currentplayer=YOURCHARNAME AND @numkaf<@wantedkaf) {get brown;put brown purse}}
#trigger {^Dark black powder spills out of a small paper pouch.} {#if (@currentplayer=YOURCHARNAME AND @numsleepwell>=@wantedsleepwell) {#echo You have enough Sleepwell root for now.};#if (@currentplayer=YOURCHARNAME AND @numsleepwell<@wantedsleepwell) {get black;put black purse}}
#trigger {^A slender dark green plant is growing here in the gloom.} {#if (@currentplayer=YOURCHARNAME AND @numnightsbane>=@wantednightsbane) {#echo You have enough Nightsbane for now.};#if (@currentplayer=YOURCHARNAME AND @numnightsbane<@wantednightsbane) {get green;put green purse}}
#trigger {^A short plant with fuzzy green leaves grows here.} {#if (@currentplayer=YOURCHARNAME AND @numdogwort>=@wanteddogwort) {#echo You have enough Dogwort for now.};#if (@currentplayer=YOURCHARNAME AND @numdogwort<@wanteddogwort) {get green;put green purse}}
#trigger {^A thin, stringy yellow and red root extends from the ground.} {#if (@currentplayer=YOURCHARNAME AND @numsunburst>=@wantedsunburst) {#echo You have enough Sunburst for now.};#if (@currentplayer=YOURCHARNAME AND @numsunburst<@wantedsunburst) {get red;put red purse}}
#trigger {^A fragrant aroma rises from a small bag of tremalking black.} {#if (@currentplayer=YOURCHARNAME AND @numtremalking>=@wantedtremalking) {#echo You have enough Tremalking Black for now.};#if (@currentplayer=YOURCHARNAME AND @numtremalking<@wantedtremalking) {get black;put black purse}}
#trigger {^A piece of newly cut white willow bark lies on the ground.} {#if (@currentplayer=YOURCHARNAME AND @numwillow>=@wantedwillow) {#echo You have enough Willow bark for now.};#if (@currentplayer=YOURCHARNAME AND @numwillow<@wantedwillow) {get white;put white purse}}
#trigger {^A pale white root of healall lies on the ground.} {#if (@currentplayer=YOURCHARNAME AND @numhealall>=@wantedhealall) {#echo You have enough Healall for now.};#if (@currentplayer=YOURCHARNAME AND @numhealall<@wantedhealall) {get white;put white purse}}
#trigger {^Small pink flowers on a tall plant spread color through the area.} {#if (@currentplayer=YOURCHARNAME AND @numfoxgloves>=@wantedfoxgloves) {#echo You have enough Foxgloves for now.};#if (@currentplayer=YOURCHARNAME AND @numfoxgloves<@wantedfoxgloves) {get pink;put pink purse}}
#trigger {^A chopped pile of a knobby white root graces the ground.} {#if (@currentplayer=YOURCHARNAME AND @numsheepstongue>=@wantedsheepstongue) {#echo You have enough Sheepstongue for now.};#if (@currentplayer=YOURCHARNAME AND @numsheepstongue<@wantedsheepstongue) {get white;put white purse}}
#trigger {^A gray fennel plant grows here.} {#if (@currentplayer=YOURCHARNAME AND @numfennel>=@wantedfennel) {#echo You have enough Fennel for now.};#if (@currentplayer=YOURCHARNAME AND @numfennel<@wantedfennel) {get gray;put gray purse}}
#trigger {You put a black belladonna berry in a backpack.} {#ad numbelladonna 1}
#trigger {You put a few stalks of yellow broomweed in a small purse.} {#ad numbroomweed 1}
#trigger {You put a packet of dried brown forkroot in a small purse.} {#ad numforkroot 1}
#trigger {You put a vial of powdered red gheandin blossom in a small purse.} {#ad numgheandin 1}
#trigger {You put a small pile of blue goatflower petals in a small purse.} {#ad numgoatflower 1}
#trigger {You put a tincture of a thick yellow liquid in a small purse.} {#ad numhoney 1}
#trigger {You put a sack of green ivy in a small purse.} {#ad numivy 1}
#trigger {You put a handful of dark blue juniper berries in a small purse.} {#ad numjuniper 1}
#trigger {You put some brown kaf beans in a backpack.} {#ad numkaf 1}
#trigger {You put a pouch of black sleepwell root powder in a backpack.} {#ad numsleepwell 1}
#trigger {You put a sprig of green nightsbane in a small purse.} {#ad numnightsbane 1}
#trigger {You put some fuzzy green dogwort leaves in a small purse.} {#ad numdogwort 1}
#trigger {You put a section of red and yellow sunburst root in a small purse.} {#ad numsunburst 1}
#trigger {You put a bag of tremalking black in a small purse.} {#ad numtremalking 1}
#trigger {You put a piece of white willow bark in a small purse.} {#ad numwillow 1}
#trigger {You put a white healall root in a backpack.} {#ad numhealall 1}
#trigger {You put a few pink foxgloves in a small purse.} {#ad numfoxgloves 1}
#trigger {You put a dose of chopped white sheepstongue root in a small purse.} {#ad numsheepstongue 1}
#trigger {You put a gray fennel plant in a small purse.} {#ad numfennel 1}
#CLASS 0
Flatwort is still missing.
Let's say I want to collect herbs for 1
strengthtea and 1 fearvial. I enter the following in Zmud:
goatflower 3
willow 1
fennel 1
nightsbane 1
dogwort 1
sunburst 1
juniper 1
belladonna 2
And I will pick up herbs of the types above till
I have the wanted numbers of the different herbs.
Type need
and you'll get a message saying what herbs you still
need more of.
This script is written for use with a small purse. If you use
something else - like a pack - just search-replace the text
above with Replace purse with pack.
You also need to search replace YOURCHARNAME with the name of
your Wisdom. I added this so that you woun't start collecting
herbs on your non-wisdom alts..
![Smile :)](./images/smilies/icon_e_smile.gif)
Type gpu to get all herbs out of the purse - this resets the herbcounter.
Type ppu or put all.herb purse to count the herbs over again.
Note - if you use change spam 1, and there is more than
one herb of the type you need in a room (A pouch of green
powder [3]) - the triggers will only pick up one herb for
each time you look at the room. I didn't bother to make
loops in my scrips since there are very few spots that
loads multiple herbs of one kind.