Please allow using the 'crafting' source for crafting operations and default crafting value
Since patch v4.9.6: "Added check when changing the craft value method that it doesn’t include “crafting”."
And patch v4.9.20: "Added validation that the craft value within a Crafting operation does not reference the crafting price source".
Using 'crafting' in custom sources was very useful for creating and using stats like:
- raw profit
- the profit in percents
- profit per day
Some of these can be seen in the UI, but having them as sources is so useful in making coefficients to determine if I want an item crafted or not.
For example, I want to craft an item if it yelds a profit of 200g per day, while having the profit be at least 20% of the crafting cost.
I'd want a custom source for the absolute sale price:
Then I can use it to get the profit:
profit: abs - crafting
Then the profit per day(using the region source):
profitDaily: profit * dbregionsoldperday
Now we want the profit percent(range 0 to 1):
Finally, if it respects the specified conditions, this source will output the daily profit, otherwise 0c:
twoHundredPerDay: ifgte(percent, 0.2, ifgte(profitDaily, 200g, profitDaily, 0c), 0c)
Setting the default craft value to this source used to display it in the profession UI, letting me know if I should craft it or not. And none of this can be done without using the crafting source.
Complex operations like these used to be possible(and very useful) before the changes.
Unless it causes instability or bugs, I dont see why the 'crafting' source should not be allowed in crafting operations and in the default craft value method.