diff --git a/mods/instruments/init.lua b/mods/instruments/init.lua index 88dae92..5ccdba8 100644 --- a/mods/instruments/init.lua +++ b/mods/instruments/init.lua @@ -56,8 +56,7 @@ instruments.stone_head_recipes = { instruments.levels = {0,0,0,0,1,2,2,2,2,2,3,4,5} ---instruments.durability = {50, 211, 281, 296, 411, 521, 531, 581, 601, 731, 801, 1101, 1501} -instruments.durability = {13, 53, 71, 74, 103, 131, 133, 151, 151, 183, 201, 326, 376} +instruments.durability = {50, 211, 281, 296, 411, 521, 531, 581, 601, 731, 801, 1101, 1501} instruments.list = {"pick", "axe", "shovel", "hammer", "sword", "spear", "chisel", "saw"} @@ -148,7 +147,7 @@ for i, material in ipairs(instruments.materials) do elseif n.name == "default:desert_stone_stair_upside_down" then minetest.env:add_node(pointed_thing.under, {name="default:desert_stone_flat_stair_upside_down", param2=n.param2}) end - item:add_wear(65535/instruments.durability[i]) + item:add_wear(65535/instruments.durability[i]/4) return item end, groups = {material_level=instruments.levels[i], durability=instruments.durability[i], chisel=1}, diff --git a/mods/joiner_table/init.lua b/mods/joiner_table/init.lua index d063074..bdc64b7 100644 --- a/mods/joiner_table/init.lua +++ b/mods/joiner_table/init.lua @@ -124,7 +124,7 @@ for _, tree in pairs(realtest.registered_trees) do end output:add_item(recipe.output) inv:set_stack("output", 1, output) - instr_stack:add_wear(65535/minetest.get_item_group(instr_stack:get_name(), "durability")) + instr_stack:add_wear(65535/minetest.get_item_group(instr_stack:get_name(), "durability")/4) inv:set_stack("instruments", instr, instr_stack) end return