Remplissage du dépôt.

This commit is contained in:
sys4-fr
2018-09-05 00:26:16 +02:00
parent 594dc0dd5f
commit 2c388fc8e5
50 changed files with 151 additions and 0 deletions

2
hardenedleather/depends.txt Executable file
View File

@ -0,0 +1,2 @@
default
3d_armor

46
hardenedleather/init.lua Executable file
View File

@ -0,0 +1,46 @@
if ARMOR_MATERIALS.hardenedleather then
-- Register helmets :
minetest.register_tool(":3d_armor:helmet_hardenedleather", {
description = "Hardened Leather Helmet (Hunter)",
inventory_image = "3d_armor_inv_helmet_hardenedleather.png",
groups = {armor_head = 5, armor_heal = 0, armor_use = 250},
wear = 0,
})
-- Register chestplates :
minetest.register_tool(":3d_armor:chestplate_hardenedleather", {
description = "Hardened Leather Chestplate (Hunter)",
inventory_image = "3d_armor_inv_chestplate_hardenedleather.png",
groups = {armor_torso = 8, armor_heal = 0, armor_use = 250},
wear = 0,
})
-- Register leggings :
minetest.register_tool(":3d_armor:leggings_hardenedleather", {
description = "Hardened Leather Leggings (Hunter)",
inventory_image = "3d_armor_inv_leggings_hardenedleather.png",
groups = {armor_legs = 8, armor_heal = 0, armor_use = 250},
wear = 0,
})
-- Register boots :
minetest.register_tool(":3d_armor:boots_hardenedleather", {
description = "Hardened Leather Boots (Hunter)",
inventory_image = "3d_armor_inv_boots_hardenedleather.png",
groups = {armor_feet = 5, armor_heal = 0, armor_use = 250},
wear = 0,
})
end
minetest.register_craftitem(":3d_armor:hardenedleather", {
description = "Hardened Leather",
inventory_image = "3d_armor_hardenedleather.png",
stack_max = 99,
})
-- Hardened Leather craft recipe
minetest.register_craft({
output = "3d_armor:hardenedleather",
recipe = {
{"default:steel_ingot", "mobs:leather", "default:bronze_ingot"},
{"mobs:leather", "mobs:leather", "mobs:leather" },
{"default:bronze_ingot", "mobs:leather", "default:steel_ingot" }
}
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 461 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 184 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 773 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 171 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB