Auctionator

Auctionator

136M Downloads

Show price range for Reagent Values in custom order window

d-schmidt opened this issue ยท 7 comments

commented

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.

commented

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.

commented

It will use the price of reagents in your bags first though

commented

I like it. I just tried to avoid text even tho it is much clearer.

commented

@plusmouse can you also call this new function in the order window? My implementation did this for in the CustomerOrders.lua

commented

Done. Find it the latest alpha after it finishes processing
image

commented

Adding in a price in brackets is going to be confusing. How about this instead?

image

commented

Find this in the latest alpha (available shortly from Curseforge and Wago when it finishes processing)