minetest-mods / technic

Technic mod for Minetest
Other
145 stars 153 forks source link

Inverse recipe to Freezer #470

Closed Parasitoid closed 5 years ago

Parasitoid commented 5 years ago

I think that adding that new MV Freezer machine to the master branch was a failure, it was not good idea. This machine does not do anything useful and has no usage in technology tree. And what's worse, it's very annoying that it (1) does not have reverse process and (2) it completely ignore the canisters! Who to hell use buckets when playing technic? There are water cans! This machine should use water cans to make ice exactly the same as it uses water buckets. But making the code for that can be hard. It is much easier to fix the first problem.

So, MV Freezer gives the recipe: water bucket -> ice + empty bucket. Lets enable making water from ice. (Although technic has powerful furnaces for melting metals, these furnaces cant melt ice!) Perhaps it seems more obvious that the ice should be melted directly into water source in furnaces. But MV Freezer uses buckets, so I also suggest using buckets in ice-to-water making. There is only one machine that allow two inputs: alloy furnace. So that is the idea: ice + empty bucket -> water bucket. If you have an objection against the use of alloy furnaces here, notice that it is awkward to carry water directly by your hands. I think this also chould use cans, so this is not perfect either... :/

h-v-smacker commented 5 years ago

@Parasitoid "But making the code for that can be hard."

Actually it isn't. I enabled use of canisters in recipes in my fork. Specifically because of this freezer problem. I thought I would have to write a separate implementation of the freezer, but it turned out modifying recipe-handling code was much easier.