mirror of
https://github.com/mt-mods/spacesuit.git
synced 2026-05-04 13:56:51 -06:00
Make spacesuit not repairable by anvil
This commit is contained in:
@@ -3,27 +3,27 @@
|
|||||||
armor:register_armor("spacesuit:helmet", {
|
armor:register_armor("spacesuit:helmet", {
|
||||||
description = "Spacesuit Helmet",
|
description = "Spacesuit Helmet",
|
||||||
inventory_image = "spacesuit_inv_helmet.png",
|
inventory_image = "spacesuit_inv_helmet.png",
|
||||||
groups = {armor_head=5, armor_heal=1, armor_use=spacesuit.armor_use},
|
groups = {armor_head=5, armor_heal=1, armor_use=spacesuit.armor_use, not_repaired_by_anvil=1},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_tool("spacesuit:chestplate", {
|
minetest.register_tool("spacesuit:chestplate", {
|
||||||
description = "Spacesuit Chestplate",
|
description = "Spacesuit Chestplate",
|
||||||
inventory_image = "spacesuit_inv_chestplate.png",
|
inventory_image = "spacesuit_inv_chestplate.png",
|
||||||
groups = {armor_torso=8, armor_heal=1, armor_use=spacesuit.armor_use},
|
groups = {armor_torso=8, armor_heal=1, armor_use=spacesuit.armor_use, not_repaired_by_anvil=1},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_tool("spacesuit:pants", {
|
minetest.register_tool("spacesuit:pants", {
|
||||||
description = "Spacesuit Pants",
|
description = "Spacesuit Pants",
|
||||||
inventory_image = "spacesuit_inv_pants.png",
|
inventory_image = "spacesuit_inv_pants.png",
|
||||||
groups = {armor_legs=7, armor_heal=1, armor_use=spacesuit.armor_use},
|
groups = {armor_legs=7, armor_heal=1, armor_use=spacesuit.armor_use, not_repaired_by_anvil=1},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
|
|
||||||
minetest.register_tool("spacesuit:boots", {
|
minetest.register_tool("spacesuit:boots", {
|
||||||
description = "Spacesuit Boots",
|
description = "Spacesuit Boots",
|
||||||
inventory_image = "spacesuit_inv_boots.png",
|
inventory_image = "spacesuit_inv_boots.png",
|
||||||
groups = {armor_feet=4, armor_heal=1, armor_use=spacesuit.armor_use},
|
groups = {armor_feet=4, armor_heal=1, armor_use=spacesuit.armor_use, not_repaired_by_anvil=1},
|
||||||
wear = 0,
|
wear = 0,
|
||||||
})
|
})
|
||||||
Reference in New Issue
Block a user