Shopkeeper's Price Calculator / Recipe Browser

Iā€™ve moved this under the same domain as the rest of my stuff Boundless Pricer
The old address will continue to work until further notice too.

Version 0.7 Changelog

  • Added the ability to set prices for intermediate items. The calculations will use the hierarchically top item that has a price larger than 0 set.

  • Added keyboard navigation the the search results.

  • Power requirements for recipes are shown next to the machine name.

  • The cart quantities can be manually entered to enable decimal points. There were some floating point errors here, Iā€™ve tried my best to account for them but if your quantity bugs out let me know how to reproduce it and Iā€™ll try to fix it.

  • Hovering over an item in the recipe tree now highlights the item row and the items needed to craft it.

  • Removed BTN auto-pricing since itā€™s not going to be fixed.

  • Added buttons to set the quantity to commonly used amounts (a single mass craft, and a smart stack)

edit: Somehow some files were reverted to a previous version, should work as intended now.

8 Likes

@Mayumichi Please tell me this is still working, is accurate, and has place to input/calculate spark cost along with the rest of the ingredients.

It works, but I havenā€™t got spark cost in there. So many sources of spark so how do you define the price. I was planning on showing the amount of spark used, but even that is dependent on coils, so it gets pretty complicated.

2 Likes

No worries. As long as the recipes are right, I can add spark manually. Thanks a lot!

Xmas recipes are in :smile:

Added BUTT integration, shows top 10 price results for the item :slight_smile:

edit: Realised my WIP crafting time/spark column is also there. Theyā€™re just the base values as we still donā€™t know the formula for how coils affect these.

image

4 Likes

Great addition!

1 Like

Version 0.9 changelog

  • Added spark value calculations
  • Added various speed and spark modifiers, still missing the power formula so thatā€™s a major missing component (Power spark/time reduction, math wizards assemble šŸ“ˆ) Oh well, better than nothing :slight_smile:
  • Moved most settings behind the settings menu
  • Added a spark value summary with different spark sources for you to select from, opened with the spark button next to the settings.

Thereā€™s probably bugs so yeah, keep them coming. I wasnā€™t sure what fuel speed modifiers there are, I havenā€™t used the enriched or infused stuff, do those go higher than 2x?

Oh and for spark calculations, the program ignores the sand recipe. I couldnā€™t find a neat way to make skipping it configurable :confused: I hope the vast majority are like me and not cracking their sand from rock.

4 Likes

So all this time I guess Iā€™ve been overpaying for spark by using kindling shreds huh?

Yes @DKPuncherello, you should probably switch to using sticks instead :smiley:

Alright ppl I have a problem, I canā€™t find a way to take the spark value in to account when calculating the fuel price, if crafting that fuel requires spark. Cause if you select a fuel, itā€™ll change the spark price obviously, but if that fuel requires spark to craft, the spark price change will affect the price of that fuel. If you select the same fuel again with the new price, itā€™ll again affect the spark price thus changing the price of that fuel. Repeat to infinityā€¦

Idk if that can be solved. Now the fuel value just ignores the spark used in crafting it :woman_shrugging: It still changes the net spark gain, but that spark loss isnā€™t added to the cost.

Chicken or the egg problem haha
I suppose we all started with soft coal. But itā€™s been a VERY long time.

Maybe I misunderstand the problem but hereā€™s what I do in my spreadsheet. Calculate how much spark 1 peat produces if you compact it before burning.

Spark / 1 compact peat => 500
1 mass craft requires 180 peat and 1169 spark and produces 25 compact peat.

Therefore:

(500 * 25 - 1169) / 180 = 62.95 spark / peat (if compacted first)

Now just use the price of peat and 62.95 spark.

So you do the same as me atm and donā€™t value that 1169 spark used to craft the compact peat?

180 peat produce (25*500) 12500 spark, which is 69.44 spark per peat (12500 / 180).

But I value a peat only as 62.95 spark, which is 6.5 spark less per peat (because 180 * 6.5 ~ 1169).

Instead of adding a cost for these 1169 spark, I just reduce the produced spark by 1169 per mass craft.

1 Like

Am I stypid, Is it that simple? Iā€™m already using net spark gains in the calculations. Now that you say it like that yeah I guess the spark used is already accounted for :stuck_out_tongue_closed_eyes:

2 Likes

Unless you use peat in your furnace and coal in your spark generator and want to calculate how much compact peat costs after compacting it with coal. :slight_smile:

2 Likes

Hey Mayumichi ā€¦ .really like your website, use it all the time! however, I did find what i think is a bug with it. itā€™s hard to explain, so Iā€™ll list how to reproduceā€¦

  1. select Fresh Vital Essense
  2. select ā€œRaw Prime meatā€ (or any of the items from the drop down seems to have the issue)
  3. enter ā€œ0.1ā€ ā€¦ and work your way up to 0.2, 0.3, etcā€¦ the price increases as expected.
  4. however, once you get to 1.0 ā€¦ anything from 1.0 to 1.8 doesnā€™t changeā€¦ then 1.9 jumps way up in price. so seems like the calculation for 1.X is failing. not sure of other sub values.

The decimal places have been problematic since they didnā€™t exist in-game when the site was made. In many places the price is rounded down, I kind of hacked the < 1c prices to ignore it. The main issue is around import taxes for request baskets, since the price in-game is rounded down as well. Fractional prices in-game are in general an odd ball, since your wallet canā€™t have cents in it, all the transactions are rounded some way.

I wasnā€™t really sure how to reflect this in the calculations, Iā€™m not even 100% sure how it works in-game tbh.

1 Like

I think 1 coin is value of 100 now in game.
edit: because after decimal update boundlesstrading site had prices x100.

Yes the internal representation is an integer and had two zeroes added to it, but it doesnā€™t affect the rounding I think?