mt-mods / technic

Technic mod for Minetest

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Grinding nuggets gives two dust (MCL)

ThePython10110 opened this issue · comments

In MineClone2 (and therefore probably Mineclonia), you can grind a gold or iron nugget to get two dust. Since a nugget is 1/9 of an ingot, it should take at least 9 nuggets to make 1 dust.

The original idea (from the default game) was to provide a better way to process lumps to ingots with two times the yield.

  • "normal" smelting process: 1 lump -> 1 ingot
  • grinding process: 1 lump -> 2 dust -> 2 ingots

Since a nugget is 1/9 of an ingot, it should take at least 9 nuggets to make 1 dust.

Sounds good, but i don't think the input material-count can be specified in the recipes 🤔

Relevant code sections

Grinder recipes:

-- Dusts
{mat.coal_lump, "technic:coal_dust 2"},
{mat.copper_lump, "technic:copper_dust 2"},
{mat.desert_stone, mat.desert_sand},
{mat.gold_lump, "technic:gold_dust 2"},
{mat.iron_lump, "technic:wrought_iron_dust 2"},
{mat.tin_lump, "technic:tin_dust 2"},

(mcl recipes might have to add a recipe-switch here ^ directly instead of using the material 1:1)

Game/Material switch:

gold_ingot = has_mcl and "mcl_core:gold_ingot" or "default:gold_ingot",
gold_lump = has_mcl and "mcl_core:gold_nugget" or "default:gold_lump",
steel_ingot = has_mcl and "mcl_core:iron_ingot" or "default:steel_ingot",
iron_lump = has_mcl and "mcl_core:iron_nugget" or "default:iron_lump",

commented

Sounds good, but i don't think the input material-count can be specified in the recipes 🤔

Everything for base machines should be able to handle item count in input, alloy recipes have examples for this.

So just making it 9 in 1 out should work.

imo the proper fix is to have the grinder be able to grind ore blocks and raw ores since those are analogous to ore lumps in minetest game, and not being able to grind nuggets at all.

@nonfreegithub what do you think, since you wrote the mineclone compatibility PR?