Shopkeeper's Price Calculator / Recipe Browser

trading
boundlesstrade
Tags: #<Tag:0x00007fb3f2810850> #<Tag:0x00007fb3f2810558>

#1

A quick release, this is still very much WIP but figured people might find it useful even in this alpha state.

https://lab.mayumi.fi/boundless/#item=TOOL_HAMMER_TITANIUM

Wanted a fast way to look how many base resources are needed when mass crafting stuff, and to see how much a product is actually worth when I input the prices of the base resources used to make it. Still missing a lot of features!

Todo:

  • Intermediate resource pricing, now it’s just the base items.
  • Select if you’re using something else than mass crafts, currently the calculations use just mass craft amounts.
  • Spark and heat prices, now they’re ignored
  • Show power requirements, and the crafting machine type for easy referencing
  • Tax modifiers
  • Maybe have durability modifiers, like in the case of foods you don’t use up a whole bucket each time but the value seems to be pretty low in the end so not sure if really needed
  • A “shopping cart” to value forged things, add forge ingredients there to have their value reflect to the total price
  • Cleaner links, uses the internal item names currently

The auto-prices are pulled from https://boundlesstrade.net thanks to @fuzzylkd for providing a way to get some data out of there without much hassle. Currently selects the highest buy order price.

All data is stored locally in local storage, so if you link an item to somebody the prices won’t be included, just the item name.


Forging is a game changer
Step by step rift bow forge
#2

This is amazing! I’ve been using a local version i’ve made to calculate coil costs myself, but having it on a website, along with integration with boundless trade is just simply fantastic!

Excellent work there mate!


#3

Ill try this


#4

Amazing tool! Now I can scrap part of my spreadsheets. Thank you :slight_smile:

One small quick improvement: Would be nice when boundlesstrade opens in a new tab


#5

Oh I seem to have lost that functionality at some point, it’s back there now :slight_smile: Requires a ctrl + F5 to skip cached files to make it update.

And don’t scrap the spreadsheets yet, there could be bugs in this :smiley: No extensive testing has been done and it’s pretty spaghetti.


#6

Version 0.2 Changelog

  • Purchase and sales tax options (Assumes the tax epic is active)
  • Crafting machine indicators, the icons are just random boundless icons but I did my best to match the machine color

edit: Oh wow I was just testing the tax stuff on testing, and the item in the basket disappears now if you don’t have enough budget in it to buy one with the set price! This is awesome! I didn’t see this mentioned in the patch notes, maybe I just missed it. Or is this already on live too?


#7

The forum thinks I’m spamming this thread, so editing this one :smiley: New stuff at the bottom.

Version 0.3 Changelog

Expand
  • Improved the search algorithm (“ti ha” for example now properly matches items like “Titanium Balanced Hammer”)
  • Can now hide the coin amounts to use the tool as more of a general crafting aid
  • Base item quantity can now be modified
  • Item quantities can be rounded up to the next mass craft, makes it easier to pick up the right amount of materials from your shelves when actually crafting the thing. Doesn’t affect the coin calculations, display only!
  • Can now hide the decimal points in quantities since they’re irrelevant when crafting many items

Testing is unfortunately suboptimal, lots of things are in flux, so there could be bugs, please report any issues you have!

https://i.imgur.com/Mq3fEkw.png

Looks like this in the “crafting only mode”

https://i.imgur.com/J1V5of8.png

Version 0.4 Changelog

Expand

Updated the recipe data, rift etc tools are now in there

Apologies it took so long, the release changed the recipe format a bit, especially with the “Any trunk” like things and it took a bit longer than expected to restructure the tool to understand the new format :sweat_smile:

I hope it works as intended now, but if you find an item that isn’t working let me know here or by PM!

Version 0.5 Changelog

Expand
  • “Shopping cart” added, you can add multiple items to it and the tool will calculate the total worth. Useful for forged things.
  • The price input field is now highlighted red if there is no price set for an item.
  • Mobile improvements, I’m using this as a responsive design test project :smiley:
  • Item history
    ** NOW ACTUALLY WORKS ** Please, if something looks out of place or seems like a bug, tell me, I won’t bite!

https://i.imgur.com/O5KT4yT.png

I’d really like to get the prices and the cart linkable, but it’s providing a challenge. Maybe in 0.6?

Version 0.6 Changelog

Still silence here, I’m assuming that means that everything is working, but please do tell if something breaks. The scope of the project has expanded a bit so there’s starting to be duct tape solutions that could break.

Anyway, been wanting to add a list of recipes where the current item is used. So I did that and now the tool can be used as proper recipe browser. This required some sacrifices, mainly

  • Boundless Trade now open from the price edit buttons rather then the item name
  • Clicking the item name in the recipe list now opens that item in the tool

Price linking is harder than I imagined because of all the “any X” entries… Might take a while.

I’ve setup a testing branch with all testing items and recipes included. Still can’t post a new reply so I just have to trust people who are interested actually read this

https://lab.mayumi.fi/boundless/testing/#item=MACHINE_ENGINE_DYE_MAKER


#8

Here, have 3 more reply.


#9

Not sure how I missed this thread the first time around but what an amazing tool. Not just for shopkeepers, but for anyone doing crafting even if just for themselves. Love it!


#10

I’ve moved this under the same domain as the rest of my stuff https://boundless.mayumi.fi/recipes/
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.