Harvesting improvement; r533

Runes of Magic/Radiant Arcana (http://www.runesofmagic.com)
Post Reply
Message
Author
User avatar
Administrator
Site Admin
Posts: 5353
Joined: Sat Jan 05, 2008 4:21 pm

Harvesting improvement; r533

#1 Post 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.
User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: Harvesting improvement; r533

#2 Post 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>
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
User avatar
jduartedj
Posts: 599
Joined: Sat Dec 19, 2009 12:18 am
Location: Lisbon
Contact:

Re: Harvesting improvement; r533

#3 Post by jduartedj »

Nice thx for:
Added: onHarvest event
r535 updating...
Thanks for reading! :D

Some of you might find this useful: RoM-bot Wiki
User Functions Repository (and other useful files): Addon Repo
Latest SVN updates: SVN updates
User avatar
botje
Posts: 656
Joined: Wed Oct 27, 2010 7:17 am

Re: Harvesting improvement; r533

#4 Post 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
Post Reply