1
0
mirror of https://github.com/sys4-fr/server-nalc.git synced 2024-12-24 01:30:38 +01:00

Add armor classes

(Update world.mt and set to false this armors, because not ready at all)
This commit is contained in:
root 2015-05-22 21:42:57 +02:00
parent 50802588f0
commit c8eaa28e41
32 changed files with 84 additions and 1 deletions

View File

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

View File

@ -0,0 +1,35 @@
-- Register helmets:
minetest.register_tool("3d_armor:helmet_leather_hunter", {
description = "Hunter's Leather Helmet",
inventory_image = "3d_armor_inv_helmet_leather_hunter.png",
groups = {armor_head = 10, armor_heal = 0, armor_use = 500}, --Valeurs non décidés
wear = 0,
})
-- Register chestplates:
minetest.register_tool("3d_armor:chestplate_leather_hunter", {
description = "Hunter's Leather Chestplate",
inventory_image = "3d_armor_inv_chestplate_leather_hunter.png",
groups = {armor_torso = 15, armor_heal = 0, armor_use = 500}, --Valeurs non décidés
wear = 0,
})
-- Register leggings:
minetest.register_tool("3d_armor:leggings_leather_hunter", {
description = "Hunter's Leather Leggings",
inventory_image = "3d_armor_inv_leggings_leather_hunter.png",
groups = {armor_legs = 15, armor_heal = 0, armor_use = 500}, --Valeurs non décidés
wear = 0,
})
-- Register boots:
minetest.register_tool("3d_armor:boots_leather_hunter", {
description = "Hunter's Leather Boots",
inventory_image = "3d_armor_inv_boots_leather_hunter.png",
groups = {armor_feet = 10, armor_heal = 0, armor_use = 500}, --Valeurs non décidés
wear = 0,
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 498 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 829 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View File

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

View File

View File

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

View File

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

View File

@ -0,0 +1,35 @@
-- Register helmets:
minetest.register_tool("3d_armor:helmet_reinforced_leather_hunter", {
description = "Hunter's Reinforced Leather Helmet",
inventory_image = "3d_armor_inv_helmet_reinforced_leather_hunter.png",
groups = {armor_head = 10, armor_heal = 0, armor_use = 500}, --Valeurs non décidés
wear = 0,
})
-- Register chestplates:
minetest.register_tool("3d_armor:chestplate_reinforced_leather_hunter", {
description = "Hunter's Reinforced Leather Chestplate",
inventory_image = "3d_armor_inv_chestplate_reinforced_leather_hunter.png",
groups = {armor_torso = 15, armor_heal = 0, armor_use = 500}, --Valeurs non décidés
wear = 0,
})
-- Register leggings:
minetest.register_tool("3d_armor:leggings_reinforced_leather_hunter", {
description = "Hunter's Reinforced Leather Leggings",
inventory_image = "3d_armor_inv_leggings_reinforced_leather_hunter.png",
groups = {armor_legs = 15, armor_heal = 0, armor_use = 500}, --Valeurs non décidés
wear = 0,
})
-- Register boots:
minetest.register_tool("3d_armor:boots_reinforced_leather_hunter", {
description = "Hunter's Reinforced Leather Boots",
inventory_image = "3d_armor_inv_boots_reinforced_leather_hunter.png",
groups = {armor_feet = 10, armor_heal = 0, armor_use = 500}, --Valeurs non décidés
wear = 0,
})

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

View File

@ -155,10 +155,15 @@ load_mod_item_drop = true
load_mod_throwing = true
load_mod_3d_armor = true
load_mod_technic_armor = false
load_mod_leather_armor_hunter = false
load_mod_magic_mithril_armor_wizard = false
load_mod_obsidian_armor_wizard = false
load_mod_reinforced_leather_armor_hunter = false
load_mod_shields = true
load_mod_wieldview = true
load_mod_eventobjects = false
load_mod_returnmirror = true
load_mod_eventobjects = false
load_mod_xban2 = true
load_mod_names_per_ip = true