Page 1 of 1

Harvesting improvement; r533

Posted: Fri Dec 03, 2010 4:32 pm
by Administrator
If you grab the latest version off SVN, you can now select which types of nodes you do and do not want to harvest. In your profile, you can now make use of the following profile options: HARVEST_WOOD, HARVEST_HERB, and HARVEST_ORE
These options will have a value of either "true" if you want to harvest them or "false" if you do not.

See the default profile (Default.xml) for an example.

Re: Harvesting improvement; r533

Posted: Fri Dec 03, 2010 5:57 pm
by jduartedj
Administrator wrote:If you grab the latest version off SVN, you can now select which types of nodes you do and do not want to harvest. In your profile, you can now make use of the following profile options: HARVEST_WOOD, HARVEST_HERB, and HARVEST_ORE
These options will have a value of either "true" if you want to harvest them or "false" if you do not.

See the default profile (Default.xml) for an example.

Nice! I recently needed that! Great!

1 more thing if I may suggest to add the event onHarvest corresponding to the time you are about to harvest, before harvesting but after targeting the ore/herb/wood. This would allows some stuff like to have harvesting potions if the ore/wood/herb in question is 1-8 levels higher than yours, or cancel a potion buff if you don't need it (gives more harv.XP). Also it could be used to check if it is a rare ore/herb/wood in case ppl only want to harvest those... it could be something like:

Code: Select all

<onHarvest>
-- arg1 is the resource targeted and arg1.Name, arg1.Level and arg1.Rare it's Name, level required and whether it's rare (true) or not (false). You can use arg1.Cancel to cancel this harvest
-- in this section you may use harvesting potions
</onHarvest>

Re: Harvesting improvement; r533

Posted: Sun Dec 05, 2010 12:52 pm
by jduartedj
Nice thx for:
Added: onHarvest event
r535 updating...

Re: Harvesting improvement; r533

Posted: Mon Dec 06, 2010 7:18 pm
by botje
is there a way we can detect if a resource is harvestable?
i mean like if our level is high enough to even be able to harvest it?

that would make it so much better ^^

Botje