derfloh205 / CraftSim

MIT License
15 stars 40 forks source link

Feature: TSM sources price overrides #707

Open Chiredan opened 1 week ago

Chiredan commented 1 week ago

I wonder if price overrides could be set by using TSM strings, like smartAvgBuy, dbRecent and whatnot next to normal 100g 10s 1c format

Thank you for the addon, much love

cgsub commented 1 week ago

That is an interesting idea indeed I have my own custom TSM custom values that I use for crafting reagent and crafted Item price. Being able to specify a TSM expression for price overrides could allow a lot of tweaks in specific cases.

chris-merritt commented 1 week ago

You can achieve the same result by just using TSM price overrides and setting your CraftSim source to matprice

cgsub commented 1 week ago

What do you mean by "TSM price overrides"? I know about groups, operations, custom price sources but, price overrides for specific items? I actually searched for such overrides but I was convinced there was no such thing in TSM. Care to explain or give reference to related documentation ? Thanks.

Chiredan commented 1 week ago

If I remember correctly, open TSM profession window, and there should be a tab on the upper side where you can override prices for mats and products

cgsub commented 1 week ago

I reckon I haven't been using TSM crafting interface since Shadowland. And even back then I never looked much deeper into it.

There might have been something there indeed. But it seems that this functionality have been removed since. At least I couldn't find anything of the like.

The only configuration for prices I could find is in the main TSM window. In Settings / Crafting -> Default Price Configuration.

chris-merritt commented 1 week ago

Sorry I should have been specific, in TSM you can override material prices in the crafting interface. Open any profession in TSM and goto Reports tab -> Materials tab and you can specify any TSM string to change the value. Overriding craft results would be a little more difficult probably have to use auctioning amount or something

cgsub commented 1 week ago

Oh indeed, finally found it. Every single material is listed there with the default string set as in the main TSM crafting settings. As the strings can indeed be edited, so that functionality OP requested is already doable using TSM itself.

I never really knew what the matPrice TSM price source was about. Until now I just completely overlooked it.