Begin the 'Black Mithril Plated Armor' for Warriors and
Add the 'automappercolors' mod wich is the base of the colors.txt auto-generated update the 'world.mt' file for activated this mod --- Remove the dumpnodes mod wich is now useless
2
mods/3d_armor_classes/black_mithril_plated_armor_warrior/depends.txt
Executable file
@ -0,0 +1,2 @@
|
||||
default
|
||||
3d_armor
|
40
mods/3d_armor_classes/black_mithril_plated_armor_warrior/init.lua
Executable file
@ -0,0 +1,40 @@
|
||||
if ARMOR_MATERIALS.black_mithril then
|
||||
-- Register helmets :
|
||||
minetest.register_tool(":3d_armor:helmet_black_mithril_plated_armor_warrior", {
|
||||
description = "Warrior's Black Mithril Plated Helmet",
|
||||
inventory_image = "3d_armor_inv_helmet_black_mithril_plated_armor_warrior.png",
|
||||
groups = {armor_head = 5, armor_heal = 0, armor_use = 250},
|
||||
wear = 0,
|
||||
})
|
||||
-- Register chestplates :
|
||||
minetest.register_tool(":3d_armor:chestplate_black_mithril_plated_armor_warrior", {
|
||||
description = "Warrior's Black Mithril Plated Chestplate",
|
||||
inventory_image = "3d_armor_inv_chestplate_black_mithril_plated_warrior.png",
|
||||
groups = {armor_torso = 8, armor_heal = 0, armor_use = 250},
|
||||
wear = 0,
|
||||
})
|
||||
-- Register leggings :
|
||||
minetest.register_tool(":3d_armor:leggings_black_mithril_plated_armor_warrior", {
|
||||
description = "Warrior's Black Mithril Plated Leggings",
|
||||
inventory_image = "3d_armor_inv_leggings_black_mithril_plated_armor_warrior.png",
|
||||
groups = {armor_legs = 8, armor_heal = 0, armor_use = 250},
|
||||
wear = 0,
|
||||
})
|
||||
-- Register boots :
|
||||
minetest.register_tool(":3d_armor:boots_black_mithril_plated_armor_warrior", {
|
||||
description = "Warrior's Black Mithril Plated Boots",
|
||||
inventory_image = "3d_armor_inv_boots_black_mithril_plated_armor_warrior.png",
|
||||
groups = {armor_feet = 5, armor_heal = 0, armor_use = 250},
|
||||
wear = 0,
|
||||
})
|
||||
end
|
||||
|
||||
-- Black Mithril craft recipe
|
||||
minetest.register_craft({
|
||||
output = "3d_armor:black_mithril",
|
||||
recipe = {
|
||||
{"nether:white", "mobs:dungeon_master_blood", "default:obsidian" },
|
||||
{"default:mithril_ingot", "mobs:dungeon_master_diamond", "default:mithril_ingot" },
|
||||
{"default:obsidian", "mobs:dungeon_master_blood", "nether:white" },
|
||||
}
|
||||
})
|
After Width: | Height: | Size: 1.2 KiB |
After Width: | Height: | Size: 415 B |
After Width: | Height: | Size: 3.7 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 2.8 KiB |
After Width: | Height: | Size: 669 B |
After Width: | Height: | Size: 776 B |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 186 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 3.0 KiB |
After Width: | Height: | Size: 1.3 KiB |