Giter Club home page Giter Club logo

Comments (4)

Jonixo avatar Jonixo commented on August 26, 2024

Found the issue, data is crawed from outdated wiki.

from ecocraftingtool.

aritchie05 avatar aritchie05 commented on August 26, 2024

Looking into it

from ecocraftingtool.

aritchie05 avatar aritchie05 commented on August 26, 2024

@Jonixo given your brick example, the correct price is actually calculated for the "Brick Recipe"

(.55*.25) + (2.2*0.3) = 0.7975

This is rounded to 0.8 because the display uses 2 decimal places.

However, there is another brick recipe, Shale Brick Recipe. Since you have a price of 0 for Crushed Shale, it is doing this calculation:

((.55*.25) + (.55*0) + (4.4*0.3)) / 2 = 0.72875

Note that everything is divided by 2 at the end because this recipe makes 2 bricks each. So the overall "Brick" price uses the cheapest recipe it can find, in this case the shale brick recipe. You can either remove the shale brick recipe or set a price for Crushed Shale to get a more accurate overall price. This cheaper Brick price of 0.73 is then used for the recipes that are dependent on Brick

image

from ecocraftingtool.

aritchie05 avatar aritchie05 commented on August 26, 2024

As for the Brick Fireplace, it appears that it used to be crafted on a Masonry Table and was updated recently (maybe 9.4??)

Right now with the calculator, setting Masonry Table to BU4 will display the correct price for Brick Fireplace:

(50 * 0.7975 * .55) + (20 * 1.75 * .55) = 41.18125

image

I will update this, I wonder if that was in the release notes or not...

from ecocraftingtool.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.