2015-01-09 22:30:25 +01:00
|
|
|
minetest.register_alias("adminboots","3d_armor:boots_admin")
|
|
|
|
minetest.register_alias("adminhelmet","3d_armor:helmet_admin")
|
|
|
|
minetest.register_alias("adminchestplate","3d_armor:chestplate_admin")
|
2016-05-13 20:33:12 +02:00
|
|
|
minetest.register_alias("adminleggings","3d_armor:leggings_admin")
|
2015-01-09 22:30:25 +01:00
|
|
|
|
|
|
|
minetest.register_tool("3d_armor:helmet_admin", {
|
|
|
|
description = "Admin Helmet",
|
|
|
|
inventory_image = "3d_armor_inv_helmet_admin.png",
|
2016-01-28 22:49:41 +01:00
|
|
|
groups = {armor_head=1000, armor_heal=1000, armor_use=0, armor_water=1,},
|
2015-01-09 22:30:25 +01:00
|
|
|
wear = 0,
|
2015-10-30 11:42:04 +01:00
|
|
|
on_drop = function(itemstack, dropper, pos)
|
|
|
|
return
|
|
|
|
end,
|
2015-01-09 22:30:25 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_tool("3d_armor:chestplate_admin", {
|
|
|
|
description = "Admin Chestplate",
|
|
|
|
inventory_image = "3d_armor_inv_chestplate_admin.png",
|
2015-08-20 21:26:33 +02:00
|
|
|
groups = {armor_torso=1000, armor_heal=1000, armor_use=0},
|
2015-01-09 22:30:25 +01:00
|
|
|
wear = 0,
|
2015-10-30 11:42:04 +01:00
|
|
|
on_drop = function(itemstack, dropper, pos)
|
|
|
|
return
|
|
|
|
end,
|
2015-01-09 22:30:25 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_tool("3d_armor:leggings_admin", {
|
|
|
|
description = "Admin Leggings",
|
|
|
|
inventory_image = "3d_armor_inv_leggings_admin.png",
|
2015-08-20 21:26:33 +02:00
|
|
|
groups = {armor_legs=1000, armor_heal=1000, armor_use=0},
|
2015-01-09 22:30:25 +01:00
|
|
|
wear = 0,
|
2015-10-30 11:42:04 +01:00
|
|
|
on_drop = function(itemstack, dropper, pos)
|
|
|
|
return
|
|
|
|
end,
|
2015-01-09 22:30:25 +01:00
|
|
|
})
|
|
|
|
|
|
|
|
minetest.register_tool("3d_armor:boots_admin", {
|
|
|
|
description = "Admin Boots",
|
|
|
|
inventory_image = "3d_armor_inv_boots_admin.png",
|
2015-08-20 21:26:33 +02:00
|
|
|
groups = {armor_feet=1000, armor_heal=1000, armor_use=0},
|
2015-01-09 22:30:25 +01:00
|
|
|
wear = 0,
|
2015-10-30 11:42:04 +01:00
|
|
|
on_drop = function(itemstack, dropper, pos)
|
|
|
|
return
|
|
|
|
end,
|
2015-01-09 22:30:25 +01:00
|
|
|
})
|
|
|
|
|