Quote:
Originally Posted by wolf_of_the_north
Thanks alot mate, that is really helpful. I won't have time to really get into it mor euntil august, but this is a great help :)
On an unrelated note, do you know if I can check if an item i want to pickup is an "armor" item, or a weapon item? I would like to only pick up armor items.
|
Yes, this is possible. there are general types of weapons and armor. You just need to find the $Model_ID that covers the range for armor. I would write it in your CanPickUp function so that it checks the rarity and if Blue And $Model_ID_Armor Then Return True. I would do one for each rarity type. If you cannot find the general $Model_ID for all the Armor types then just create and array for the specific armor types that drop in your farming area.
There are a few different ways to get the $Model_ID of an item. You can just sort through some of the item list files or you can use a tool or script. There is an old Salvage/Inventory Manager script that I often use to quickly get an ID. I need to repair some of the functions but the Get_Model_ID still works.
1. Select your char
2. Click Start
3. Go to button "Extras"
4.Put your item to identify in the first bag first slot (bag-1, slot-1)
5. Click "Go!"
This will give you your model ID in the output box.
This tool can also be helpful with the above post from n0futur3 and his updated salvage bot to identify items for salvage.
@
[Only registered and activated users can see links. Click Here To Register...], there seems to be a clue in the script as to who had a hand in the development of that salvage tool:
Code:
Global Const $savsuds_Is_Cool = True
Global Const $LoA_Is_The_Best = True
Global Const $Ether_Is_The_Undesputed_Chamption_Of_Solo_DoA = True ;https://i.imgur.com/TtON7UM.png
Global Const $George_Is_The_Best_Tk = True
Global Const $Ryn_Has_Autism = True