Hi there
I've been pondering to make an item crafter but don't really know much about it. However since the AIF can uses orbs on items I thought I could "borrow" some code from there.
The item crafter would need this config options:
- a config option where you can define a stash tab (where your to-be-crafted items should be)
- a config option where you can say where it can find orbs
- config options where you can say how many transmutations, augementations and alterations should be left
- then fillable lists - three per line. First entry would be the item e.g. Divination Life Flask, second would be possible prefixes and last would be possible suffixes. All preferably drop downs.
Then the logic of the crafter would be to
- take first item in the list
- check if item is in specified stash tab
- use transmutation if needed
- check if item matches pre- and suffix (if both are given)
- if only one affix is there and it matches or only one affix configured, use augementation
- otherwise use transmutation
- repeat
- if item is what you want go to next item in list
I don't think that should be too complicated.
Maybe adding a little more to complexity would be to only show affixes based on the item and item level.... e.g. can't have tyrannical on a ilvl 30 weapon and not on flasks.
as I said, I think that should be too hard to do and I think I could try to make one... I'd just need some help in how to get started and stuff.
I've been pondering to make an item crafter but don't really know much about it. However since the AIF can uses orbs on items I thought I could "borrow" some code from there.
The item crafter would need this config options:
- a config option where you can define a stash tab (where your to-be-crafted items should be)
- a config option where you can say where it can find orbs
- config options where you can say how many transmutations, augementations and alterations should be left
- then fillable lists - three per line. First entry would be the item e.g. Divination Life Flask, second would be possible prefixes and last would be possible suffixes. All preferably drop downs.
Then the logic of the crafter would be to
- take first item in the list
- check if item is in specified stash tab
- use transmutation if needed
- check if item matches pre- and suffix (if both are given)
- if only one affix is there and it matches or only one affix configured, use augementation
- otherwise use transmutation
- repeat
- if item is what you want go to next item in list
I don't think that should be too complicated.
Maybe adding a little more to complexity would be to only show affixes based on the item and item level.... e.g. can't have tyrannical on a ilvl 30 weapon and not on flasks.
as I said, I think that should be too hard to do and I think I could try to make one... I'd just need some help in how to get started and stuff.