2c79daa4e7
fixes not being able to equip spacesuit with right-click
34 lines
1.1 KiB
Lua
34 lines
1.1 KiB
Lua
|
|
|
|
armor:register_armor("spacesuit:helmet", {
|
|
description = "Spacesuit Helmet",
|
|
inventory_image = "spacesuit_inv_helmet.png",
|
|
groups = {armor_head=5, armor_heal=1, armor_use=spacesuit.armor_use, not_repaired_by_anvil=1},
|
|
wear = 0,
|
|
wear_represents = "spacesuit_wear",
|
|
})
|
|
|
|
armor:register_armor("spacesuit:chestplate", {
|
|
description = "Spacesuit Chestplate",
|
|
inventory_image = "spacesuit_inv_chestplate.png",
|
|
groups = {armor_torso=8, armor_heal=1, armor_use=spacesuit.armor_use, not_repaired_by_anvil=1},
|
|
wear = 0,
|
|
wear_represents = "spacesuit_wear",
|
|
})
|
|
|
|
armor:register_armor("spacesuit:pants", {
|
|
description = "Spacesuit Pants",
|
|
inventory_image = "spacesuit_inv_pants.png",
|
|
groups = {armor_legs=7, armor_heal=1, armor_use=spacesuit.armor_use, not_repaired_by_anvil=1},
|
|
wear = 0,
|
|
wear_represents = "spacesuit_wear",
|
|
})
|
|
|
|
armor:register_armor("spacesuit:boots", {
|
|
description = "Spacesuit Boots",
|
|
inventory_image = "spacesuit_inv_boots.png",
|
|
groups = {armor_feet=4, armor_heal=1, armor_use=spacesuit.armor_use, not_repaired_by_anvil=1},
|
|
wear = 0,
|
|
wear_represents = "spacesuit_wear",
|
|
})
|