core -> minetest and fix some formating/style (#16)

Co-authored-by: Sheriff_U3 <sheriff_u3@noreply.codeberg.org>
This commit is contained in:
Sheriff_U3
2026-06-28 19:12:30 -05:00
committed by GitHub
parent 6d3e303c9a
commit 33f7331eb9
8 changed files with 69 additions and 64 deletions
+24 -6
View File
@@ -1,9 +1,12 @@
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},
groups = {
armor_head = 5,
armor_heal = 1,
armor_use = spacesuit.armor_use,
not_repaired_by_anvil = 1
},
wear = 0,
wear_represents = "spacesuit_wear",
})
@@ -11,7 +14,12 @@ armor:register_armor("spacesuit:helmet", {
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},
groups = {
armor_torso = 8,
armor_heal = 1,
armor_use = spacesuit.armor_use,
not_repaired_by_anvil = 1
},
wear = 0,
wear_represents = "spacesuit_wear",
})
@@ -19,7 +27,12 @@ armor:register_armor("spacesuit:chestplate", {
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},
groups = {
armor_legs = 7,
armor_heal = 1,
armor_use = spacesuit.armor_use,
not_repaired_by_anvil = 1
},
wear = 0,
wear_represents = "spacesuit_wear",
})
@@ -27,7 +40,12 @@ armor:register_armor("spacesuit:pants", {
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},
groups = {
armor_feet = 4,
armor_heal = 1,
armor_use = spacesuit.armor_use,
not_repaired_by_anvil = 1
},
wear = 0,
wear_represents = "spacesuit_wear",
})