1
0
Fork 0

Change stone tool repair materal to group:cobble.

* Update repair material for stone tools (pick, shovel, axe, sword and
  hoe) to use any cobble group stone.
This commit is contained in:
kabou 2022-05-04 16:08:42 +02:00 committed by cora
parent 64bb50dfd5
commit f1a494ea62
2 changed files with 5 additions and 5 deletions

View File

@ -119,7 +119,7 @@ minetest.register_tool("mcl_farming:hoe_stone", {
damage_groups = { fleshy = 1, }, damage_groups = { fleshy = 1, },
punch_attack_uses = uses.stone, punch_attack_uses = uses.stone,
}, },
_repair_material = "mcl_core:cobble", _repair_material = "group:cobble",
_mcl_toollike_wield = true, _mcl_toollike_wield = true,
_mcl_diggroups = { _mcl_diggroups = {
hoey = { speed = 4, level = 3, uses = 132 } hoey = { speed = 4, level = 3, uses = 132 }

View File

@ -110,7 +110,7 @@ minetest.register_tool("mcl_tools:pick_stone", {
punch_attack_uses = 66, punch_attack_uses = 66,
}, },
sound = { breaks = "default_tool_breaks" }, sound = { breaks = "default_tool_breaks" },
_repair_material = "mcl_core:cobble", _repair_material = "group:cobble",
_mcl_toollike_wield = true, _mcl_toollike_wield = true,
_mcl_diggroups = { _mcl_diggroups = {
pickaxey = { speed = 4, level = 3, uses = 132 } pickaxey = { speed = 4, level = 3, uses = 132 }
@ -283,7 +283,7 @@ minetest.register_tool("mcl_tools:shovel_stone", {
}, },
on_place = make_grass_path, on_place = make_grass_path,
sound = { breaks = "default_tool_breaks" }, sound = { breaks = "default_tool_breaks" },
_repair_material = "mcl_core:cobble", _repair_material = "group:cobble",
_mcl_toollike_wield = true, _mcl_toollike_wield = true,
_mcl_diggroups = { _mcl_diggroups = {
shovely = { speed = 4, level = 3, uses = 132 } shovely = { speed = 4, level = 3, uses = 132 }
@ -417,7 +417,7 @@ minetest.register_tool("mcl_tools:axe_stone", {
}, },
on_place = make_stripped_trunk, on_place = make_stripped_trunk,
sound = { breaks = "default_tool_breaks" }, sound = { breaks = "default_tool_breaks" },
_repair_material = "mcl_core:cobble", _repair_material = "group:cobble",
_mcl_toollike_wield = true, _mcl_toollike_wield = true,
_mcl_diggroups = { _mcl_diggroups = {
axey = { speed = 4, level = 3, uses = 132 } axey = { speed = 4, level = 3, uses = 132 }
@ -520,7 +520,7 @@ minetest.register_tool("mcl_tools:sword_stone", {
punch_attack_uses = 132, punch_attack_uses = 132,
}, },
sound = { breaks = "default_tool_breaks" }, sound = { breaks = "default_tool_breaks" },
_repair_material = "mcl_core:cobble", _repair_material = "group:cobble",
_mcl_toollike_wield = true, _mcl_toollike_wield = true,
_mcl_diggroups = { _mcl_diggroups = {
swordy = { speed = 4, level = 3, uses = 132 }, swordy = { speed = 4, level = 3, uses = 132 },