davisonio / craig-server_game

Game used by Craig's Minetest Server
9 stars 15 forks source link

Fix: Improved stairplus recipes #101

Closed neinwhal closed 5 years ago

neinwhal commented 5 years ago

This commit adds the ability to convert any and every stairplus shape back into microblocks - ensuring that no blocks will be wasted - this wasn't possible before with odder shapes, like the slope and its variants. The amount microblocks recycled is consistent with the cost to make it in the circular saw - so there will be no duplication.

At the same time, this removes the need to have a ton of complex recipes to convert the shapes back to blocks, everything can be converted into microblocks which can then be converted back into blocks. With the exception of a few obvious recipe being kept - slab+slab / slope+slope / 8 microblocks. The result of which is a much less flooded recipe list;

BEFORE: recipeflood1

AFTER: recipeflood2