<commit_before>if ARMOR_MATERIALS.black_mithril then
	-- Register helmets :
	minetest.register_tool(":3d_armor:helmet_black_mithril_plated_warrior", {
		description = "Warrior's Black Mithril Plated Helmet",
		inventory_image = "3d_armor_inv_helmet_black_mithril_plated_warrior.png",
		groups = {armor_head = 11, armor_heal = 0, armor_use = 250},
		wear = 0,
	})
	-- Register chestplates :
	minetest.register_tool(":3d_armor:chestplate_black_mithril_plated_warrior", {
		description = "Warrior's Black Mithril Plated Chestplate",
		inventory_image = "3d_armor_inv_chestplate_black_mithril_plated_warrior.png",
		groups = {armor_torso = 17, armor_heal = 0, armor_use = 250},
		wear = 0,
	})
	-- Register leggings :
	minetest.register_tool(":3d_armor:leggings_black_mithril_plated_warrior", {
		description = "Warrior's Black Mithril Plated Leggings",
		inventory_image = "3d_armor_inv_leggings_black_mithril_plated_warrior.png",
		groups = {armor_legs = 17, armor_heal = 0, armor_use = 250},
		wear = 0,
	})
	-- Register boots :
		minetest.register_tool(":3d_armor:boots_black_mithril_plated_warrior", {
		description = "Warrior's Black Mithril Plated Boots",
		inventory_image = "3d_armor_inv_boots_black_mithril_plated_warrior.png",
		groups = {armor_feet = 11, armor_heal = 0, armor_use = 250},
		wear = 0,
	})
end

-- Black Mithril craft recipe
minetest.register_craft({<commit_msg>Add the regen life and tweak <commit_after>if ARMOR_MATERIALS.black_mithril then
	-- Register helmets :
	minetest.register_tool(":3d_armor:helmet_black_mithril_plated_warrior", {
		description = "Warrior's Black Mithril Plated Helmet",
		inventory_image = "3d_armor_inv_helmet_black_mithril_plated_warrior.png",
		groups = {armor_head = 11, armor_heal = 1, armor_use = 40},
		wear = 0,
	})
	-- Register chestplates :
	minetest.register_tool(":3d_armor:chestplate_black_mithril_plated_warrior", {
		description = "Warrior's Black Mithril Plated Chestplate",
		inventory_image = "3d_armor_inv_chestplate_black_mithril_plated_warrior.png",
		groups = {armor_torso = 17, armor_heal = 1, armor_use = 40},
		wear = 0,
	})
	-- Register leggings :
	minetest.register_tool(":3d_armor:leggings_black_mithril_plated_warrior", {
		description = "Warrior's Black Mithril Plated Leggings",
		inventory_image = "3d_armor_inv_leggings_black_mithril_plated_warrior.png",
		groups = {armor_legs = 17, armor_heal = 1, armor_use = 40},
		wear = 0,
	})
	-- Register boots :
		minetest.register_tool(":3d_armor:boots_black_mithril_plated_warrior", {
		description = "Warrior's Black Mithril Plated Boots",
		inventory_image = "3d_armor_inv_boots_black_mithril_plated_warrior.png",
		groups = {armor_feet = 11, armor_heal = 1, armor_use = 40},
		wear = 0,
	})
end

-- Black Mithril craft recipe
minetest.register_craft({
{'fraction_non_alphanumeric': 0.10424155283968368, 'fraction_numerical': 0.024442846872753415, 'mean_word_length': 5.871604938271605, 'pattern_counts': {'":': 8, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5395850', 'n_tokens_mistral': 1208, 'n_tokens_neox': 1078, 'n_words': 183}