MehVahdJukaar / sawmill

Other
4 stars 11 forks source link

Trapdoors are more expensive with a saw.... #48

Open JalapenoGremlin opened 4 months ago

JalapenoGremlin commented 4 months ago

One might think that a sawmill would be like a stone cutter and reduce the cost of many recipes.

To make 2 trapdoors in a crafting table it takes 6 planks... That is 3 planks per trapdoor, but with the sawmill it takes one log to make a trapdoor, so effectively 4 planks per trapdoor.

I personally think that 1 log (i.e. 4 planks) should yield two trapdoors in the sawmill, which equates to 2 planks per trapdoor.

Maybe it's just me

MehVahdJukaar commented 4 months ago

Try without any other mod on. With how the math works out sawmill will try to discount stuff but since it can't give you three quarters or s trapdoor and such many times it could be that it doesn't show anything at all so there is a slight margin for error there. You can increase mass discount in the config as well as hardcode prices. Still by default it should never really make stuff more costly. This in the latest version of course

JalapenoGremlin commented 4 months ago

So it's only via a math issue that trap doors are actually more expensive? I'm not exactly certain what the equation is, but it sound like a rounding error. I understand not being able to give 3/4 of a trapdoor.

I guess I'll either just add hard coded overwrites, or use the crafting table when it comes to trapdoors.

Would you mind explaining how the discount is calculated?

I'm using sawmill-1.20-1.3.8.jar so perhaps it has changed in 1.20-1.4.3.jar.

I'll update and recheck... (realized that I had an older version when I tried to use save_recipes = true in the config file.