Alaskar2006-03-09 21:12:59
Well, so far I have a basic trigger to gather herbs and stop at a certain number. I currently use a trigger for when I harvest something, it #SET galin -1 and when I recover balance, if $galin is still above 0, it will harvest. The down-side to this is that when harvesting, I have to #SET GALIN (a number that leaves 10 plants, at least) Is there a way to make a trigger so that when I do PLANTS it will #SET GALIN (number) -10 so I don't have to type it?
This is in nexus, by the way.
This is in nexus, by the way.
Ekard2006-03-09 22:10:00
Here is a basix harvesting scrip that i was using like year ago.
But its in zMud.
Its two part. one part is to show me what herbs are are in hibernation. You just need to check DATE in game.
Second part is for harvesting. HARV will initiate what to harvest, and then when you check PLANTS it will automaticly start picking this herb down to 5 in this spot.
#CLASS {Herbs}
#CLASS 0
#CLASS {Herbs|Harvesting}
#ALIAS harv {#var what_harvest %1}
#VAR what_harvest {none} {none}
#VAR how_much {0} {0}
#TRIGGER {^You reach down and carefully harvest (*).$} {
#gag
#add how_much -1
#if @how_much<0 {#var how_much 0}
inr @what_harvest
}
#TRIGGER {^You have recovered balance on all limbs.$} {#if @how_much>0 {
#gag
harvest @what_harvest
} {#sa !!!--- HARVEST DONE ---!!!}}
#TRIGGER {^Hmm, that wasn't the herb you thought after all. It was some rare spices!$} {
#gag
#add how_much -1
#if @how_much<0 {#var how_much 0}
inr spices
}
#TRIGGER {^You store (*) (*), bringing the total to (*).$} {#gag}
#TRIGGER {^(*) ~(@what_harvest~) (*) (%d) left.$} {
#var how_much %4
#add how_much -5
#if %4>5 {harvest @what_harvest}
}
#TRIGGER {@what_harvest} {#cw green}
#STAT {WHAT: @what_harvest HOW MUCH: @how_much}
#CLASS 0
#CLASS {Herbs|Check}
#ALIAS check_herbs1 {
#var inseason ""
#var before ""
#var hiber ""
#var after ""
#if (@currentmonth="Estar") {
#additem inseason Sparkleberry
#additem before Kafe
#additem hiber Flax
#additem hiber Merbloom
#additem hiber Myrtle
#additem hiber Weed
#additem after Chervil
#additem after Yarrow
}
#if (@currentmonth="Urlachmar") {
#additem inseason Sargassum
#additem inseason Reishi
#additem before Colewort
#additem hiber Kafe
#additem after Flax
#additem after Merbloom
#additem after Myrtle
#additem after Weed
}
#if (@currentmonth="Kiani") {
#additem inseason Arnica
#additem inseason Pennyroyal
#additem hiber Colewort
#additem before Calamus
#additem before Juniper
#additem before Kombu
#additem before Sage
#additem after Kafe
}
#if (@currentmonth="Dioni") {
#additem inseason Coltsfoot
#additem inseason Faeleaf
#additem hiber Calamus
#additem hiber Juniper
#additem hiber Kombu
#additem hiber Sage
#additem before Horehound
#additem before Wormwood
#additem after Colewort
}
#if (@currentmonth="Vestian") {
#additem inseason Marjoram
#additem inseason Galingale
#additem inseason Rosehips
#additem hiber Horehound
#additem hiber Wormwood
#additem before Mistletoe
#additem after Calamus
#additem after Juniper
#additem after Kombu
#additem after Sage
}
#if (@currentmonth="Avechary") {
#additem inseason Yarrow
#additem inseason Chervil
#additem hiber Mistletoe
#additem before Sparkleberry
#additem after Horehound
#additem after Wormwood
}
#if (@currentmonth="Dvarsh") {
#additem inseason Weed
#additem inseason Myrtle
#additem inseason Merlbloom
#additem inseason Flax
#additem hiber Sparkleberry
#additem before Reishi
#additem before Sargassum
#additem after Mistletoe
}
#if (@currentmonth="Tzarin") {
#additem inseason Kafe
#additem hiber Reishi
#additem hiber Sargassum
#additem before Arnica
#additem before Pennyroyal
#additem after Sparkleberry
}
#if (@currentmonth="Klangiary") {
#additem inseason Colewort
#additem hiber Arnica
#additem hiber Pennyroyal
#additem before Coltsfoot
#additem before Faeleaf
#additem after Reishi
#additem after Sargassum
}
#if (@currentmonth="Juliary") {
#additem inseason Juniper
#additem inseason Kombu
#additem inseason Sage
#additem inseason Calamus
#additem hiber Coltsfoot
#additem hiber Faeleaf
#additem before Galingale
#additem before Marjoram
#additem before Rosehips
#additem after Arnica
#additem after Pennyroyal
}
#if (@currentmonth="Shanthin") {
#additem inseason Horehound
#additem inseason Wormwood
#additem hiber Galingale
#additem hiber Marjoram
#additem hiber Rosehips
#additem before Chervil
#additem before Yarrow
#additem after Coltsfoot
#additem after Faeleaf
}
#if (@currentmonth="Roarkian") {
#additem inseason Mistletoe
#additem hiber Chervil
#additem hiber Yarrow
#additem before Flax
#additem before Merbloom
#additem before Myrtle
#additem before Weed
#additem after Galingale
#additem after Marjoram
#additem after Rosehips
}
}
#VAR currentmonth {} {}
#VAR inseason {} {}
#VAR hiber {} {}
#VAR before {} {}
#VAR after {} {}
#TRIGGER {^Today is the (*) of (*), (*) years after the Coming of Estarra.} {
#var currentmonth %2
check_herbs1
}
#TRIGGER {^In your world it is (*), the (*), in the year (*).$} {
#sa %ansi( 2)The following herbs are inseason: @inseason
#sa %ansi( 14)The following herbs are one month before hibernation: @before %ansi( 4)- leave 10 herbs in spot!
#sa %ansi( 4)The following herbs are in hibernation: @hiber
#sa %ansi( 3)The following herbs are after hibernation: @after %ansi( 4)- go and replant them!!!
}
#CLASS 0
But its in zMud.
Its two part. one part is to show me what herbs are are in hibernation. You just need to check DATE in game.
Second part is for harvesting. HARV
#CLASS {Herbs}
#CLASS 0
#CLASS {Herbs|Harvesting}
#ALIAS harv {#var what_harvest %1}
#VAR what_harvest {none} {none}
#VAR how_much {0} {0}
#TRIGGER {^You reach down and carefully harvest (*).$} {
#gag
#add how_much -1
#if @how_much<0 {#var how_much 0}
inr @what_harvest
}
#TRIGGER {^You have recovered balance on all limbs.$} {#if @how_much>0 {
#gag
harvest @what_harvest
} {#sa !!!--- HARVEST DONE ---!!!}}
#TRIGGER {^Hmm, that wasn't the herb you thought after all. It was some rare spices!$} {
#gag
#add how_much -1
#if @how_much<0 {#var how_much 0}
inr spices
}
#TRIGGER {^You store (*) (*), bringing the total to (*).$} {#gag}
#TRIGGER {^(*) ~(@what_harvest~) (*) (%d) left.$} {
#var how_much %4
#add how_much -5
#if %4>5 {harvest @what_harvest}
}
#TRIGGER {@what_harvest} {#cw green}
#STAT {WHAT: @what_harvest HOW MUCH: @how_much}
#CLASS 0
#CLASS {Herbs|Check}
#ALIAS check_herbs1 {
#var inseason ""
#var before ""
#var hiber ""
#var after ""
#if (@currentmonth="Estar") {
#additem inseason Sparkleberry
#additem before Kafe
#additem hiber Flax
#additem hiber Merbloom
#additem hiber Myrtle
#additem hiber Weed
#additem after Chervil
#additem after Yarrow
}
#if (@currentmonth="Urlachmar") {
#additem inseason Sargassum
#additem inseason Reishi
#additem before Colewort
#additem hiber Kafe
#additem after Flax
#additem after Merbloom
#additem after Myrtle
#additem after Weed
}
#if (@currentmonth="Kiani") {
#additem inseason Arnica
#additem inseason Pennyroyal
#additem hiber Colewort
#additem before Calamus
#additem before Juniper
#additem before Kombu
#additem before Sage
#additem after Kafe
}
#if (@currentmonth="Dioni") {
#additem inseason Coltsfoot
#additem inseason Faeleaf
#additem hiber Calamus
#additem hiber Juniper
#additem hiber Kombu
#additem hiber Sage
#additem before Horehound
#additem before Wormwood
#additem after Colewort
}
#if (@currentmonth="Vestian") {
#additem inseason Marjoram
#additem inseason Galingale
#additem inseason Rosehips
#additem hiber Horehound
#additem hiber Wormwood
#additem before Mistletoe
#additem after Calamus
#additem after Juniper
#additem after Kombu
#additem after Sage
}
#if (@currentmonth="Avechary") {
#additem inseason Yarrow
#additem inseason Chervil
#additem hiber Mistletoe
#additem before Sparkleberry
#additem after Horehound
#additem after Wormwood
}
#if (@currentmonth="Dvarsh") {
#additem inseason Weed
#additem inseason Myrtle
#additem inseason Merlbloom
#additem inseason Flax
#additem hiber Sparkleberry
#additem before Reishi
#additem before Sargassum
#additem after Mistletoe
}
#if (@currentmonth="Tzarin") {
#additem inseason Kafe
#additem hiber Reishi
#additem hiber Sargassum
#additem before Arnica
#additem before Pennyroyal
#additem after Sparkleberry
}
#if (@currentmonth="Klangiary") {
#additem inseason Colewort
#additem hiber Arnica
#additem hiber Pennyroyal
#additem before Coltsfoot
#additem before Faeleaf
#additem after Reishi
#additem after Sargassum
}
#if (@currentmonth="Juliary") {
#additem inseason Juniper
#additem inseason Kombu
#additem inseason Sage
#additem inseason Calamus
#additem hiber Coltsfoot
#additem hiber Faeleaf
#additem before Galingale
#additem before Marjoram
#additem before Rosehips
#additem after Arnica
#additem after Pennyroyal
}
#if (@currentmonth="Shanthin") {
#additem inseason Horehound
#additem inseason Wormwood
#additem hiber Galingale
#additem hiber Marjoram
#additem hiber Rosehips
#additem before Chervil
#additem before Yarrow
#additem after Coltsfoot
#additem after Faeleaf
}
#if (@currentmonth="Roarkian") {
#additem inseason Mistletoe
#additem hiber Chervil
#additem hiber Yarrow
#additem before Flax
#additem before Merbloom
#additem before Myrtle
#additem before Weed
#additem after Galingale
#additem after Marjoram
#additem after Rosehips
}
}
#VAR currentmonth {} {}
#VAR inseason {} {}
#VAR hiber {} {}
#VAR before {} {}
#VAR after {} {}
#TRIGGER {^Today is the (*) of (*), (*) years after the Coming of Estarra.} {
#var currentmonth %2
check_herbs1
}
#TRIGGER {^In your world it is (*), the (*), in the year (*).$} {
#sa %ansi( 2)The following herbs are inseason: @inseason
#sa %ansi( 14)The following herbs are one month before hibernation: @before %ansi( 4)- leave 10 herbs in spot!
#sa %ansi( 4)The following herbs are in hibernation: @hiber
#sa %ansi( 3)The following herbs are after hibernation: @after %ansi( 4)- go and replant them!!!
}
#CLASS 0
Alaskar2006-03-10 02:46:36
I have trouble making basic triggers, when using a guide . And I'm too lazy/tired to convert that into nexus. I don't really need the inseason and all that, I just want a basic script to, when I PLANTS, get the number of galingale or chervil ( I use ST TAR CHERVIL, so maybe &TAR in the trigger?) and begin harvesting down to about 6...Any help....In english (no offence Ekard) would be much appreciated.