Strakc2006-01-29 04:03:24
Wondering if it is possible to change this
#ALIAS harvestoff {#T- autoharvester}
#ALIAS harveston {#T+ autoharvester}
#CLASS {Autoharvester}
#ALIAS setgoal {
#var goal %1
#var plant %2
}
#ALIAS checkharvest {
perceive
plants
#wa 1000
#if (@goal>0 and @grove=0 and @plantleft>10) {harvest @plant}
#if (@plantleft<=10) {#echo No more to harvest here, move on.}
}
#ALIAS storeplant {inr all plant}
#VAR goal {0}
#VAR plant {none}
#VAR grove {0}
#VAR plantleft {0}
#TRIGGER {You discern that this location is the Grove *} {#var grove 1}
#TRIGGER {^A *{@plant}*%s(&%dplantleft) left.} {
#wa 500
#echo The number of @plant in this room is @plantleft
}
#TRIGGER {^The following plants are growing in this room:} {#var plantleft 0}
#TRIGGER {You reach %w and carefully harvest} {
#add goal -1
#add plantleft -1
}
#TRIGGER {^A purple coneflower *%s (%d) left.} {#if (@plant=echinacea) {
#var plantleft %1
#wa 500
#echo The number of @plant in this room is @plantleft
}}
#TRIGGER {You discern that this location has not been imprinted by any Druid.} {#var grove 0}
#TRIGGER {You are not standing in the forest.} {#var grove 0}
#TRIGGER {You have recovered balance on all limbs.} {
#if (@goal>0 and @grove=0 and @plantleft>10) {harvest @plant}
#if (@plantleft<=10) {#echo No more to harvest here, move on.}
}
#STAT {Plants Left: @plantleft | Goal: @goal | Plant: @plant}
#CLASS 0
into something useable in lust ya?
CODE
#ALIAS harvestoff {#T- autoharvester}
#ALIAS harveston {#T+ autoharvester}
#CLASS {Autoharvester}
#ALIAS setgoal {
#var goal %1
#var plant %2
}
#ALIAS checkharvest {
perceive
plants
#wa 1000
#if (@goal>0 and @grove=0 and @plantleft>10) {harvest @plant}
#if (@plantleft<=10) {#echo No more to harvest here, move on.}
}
#ALIAS storeplant {inr all plant}
#VAR goal {0}
#VAR plant {none}
#VAR grove {0}
#VAR plantleft {0}
#TRIGGER {You discern that this location is the Grove *} {#var grove 1}
#TRIGGER {^A *{@plant}*%s(&%dplantleft) left.} {
#wa 500
#echo The number of @plant in this room is @plantleft
}
#TRIGGER {^The following plants are growing in this room:} {#var plantleft 0}
#TRIGGER {You reach %w and carefully harvest} {
#add goal -1
#add plantleft -1
}
#TRIGGER {^A purple coneflower *%s (%d) left.} {#if (@plant=echinacea) {
#var plantleft %1
#wa 500
#echo The number of @plant in this room is @plantleft
}}
#TRIGGER {You discern that this location has not been imprinted by any Druid.} {#var grove 0}
#TRIGGER {You are not standing in the forest.} {#var grove 0}
#TRIGGER {You have recovered balance on all limbs.} {
#if (@goal>0 and @grove=0 and @plantleft>10) {harvest @plant}
#if (@plantleft<=10) {#echo No more to harvest here, move on.}
}
#STAT {Plants Left: @plantleft | Goal: @goal | Plant: @plant}
#CLASS 0
into something useable in lust ya?
Unknown2006-01-30 21:03:01
Harvesting in Lusternia is different from Achaea. For example, we have no groves here. You'll also want to take into account the various herbs and their life cycles, so you don't harvest when they are hibernating. This script is a very poor base for a Lusternia harvesting script, in my personal opinion. You'd be better off just building your own one small piece at a time and adding to it as you have time and need. That's what I've been doing, and I'm quite happy with my harvesting stuff now.