Show price range for Reagent Values in custom order window
d-schmidt opened this issue ยท 7 comments
Is your feature request related to a problem? Please describe.
The "Reagents Value" in the Custom Order window has no information about reagent quality. When you don't select a quality (because you don't have the mats), it shows "something".
Describe the solution you'd like
With prices between quality rangeing wildly I would like to see the range of the value.
i.e. T2 50g, T1 100g, T3 200g. So we can see a Reagents value: 50g-200g instead of 100g I guess we get now.
Describe alternatives you've considered
Alternativly I would accept a "Cheapest Reagents Value:" where it just takes the cheapest, not the lowest quality.
Additional context
This might already be the cheapest but it doesn't seem like it.
CalculateCraftCost says "Calculate using the lowest quality for remaining mandatatory reagents". Lowest quality is now often way more expensive than T2 or T3.
The comment is wrong ๐
total = total + GetByMinCostOption(reagentSlotSchematic.reagents, reagentSlotSchematic.quantityRequired - selected)
The code uses GetByMinCostOption
to get the lowest priced quality reagent rather than the lowest quality.
@plusmouse can you also call this new function in the order window? My implementation did this for in the CustomerOrders.lua