Add tail boot trims

This commit is contained in:
NullBite 2024-11-29 02:14:41 -05:00
parent ebf40878ce
commit 0251fe4391
Signed by: nullbite
GPG Key ID: 6C4D545385D4925A
2 changed files with 49 additions and 0 deletions

View File

@ -3890,6 +3890,49 @@
},
"type": "cube",
"uuid": "35c2fc2d-6bb8-dc5c-0fa2-f34be3ea790a"
},
{
"name": "BootArmorTrim",
"box_uv": false,
"rescale": false,
"locked": false,
"light_emission": 0,
"render_order": "default",
"allow_mirror_modeling": true,
"from": [-2, -4, -1],
"to": [2, 2, 1],
"autouv": 0,
"color": 7,
"inflate": 0.26,
"origin": [0, 0, 0],
"faces": {
"north": {
"uv": [40, 20, 44, 26],
"texture": 8
},
"east": {
"uv": [54, 20, 56, 26],
"texture": 8
},
"south": {
"uv": [40, 20, 44, 26],
"texture": 8
},
"west": {
"uv": [44, 20, 46, 26],
"texture": 8
},
"up": {
"uv": [2, 18, 6, 20],
"texture": null
},
"down": {
"uv": [2, 18, 6, 20],
"texture": null
}
},
"type": "cube",
"uuid": "4c6600b3-f271-496b-9bbc-a8435bb10547"
}
],
"outliner": [
@ -4072,6 +4115,7 @@
"children": [
"0e623698-1df6-c518-9bd7-fad0c12dcf20",
"93881f7c-3fd7-c4ce-9bbe-5c99fbb4ed85",
"4c6600b3-f271-496b-9bbc-a8435bb10547",
"2e3f0fb3-5b68-be22-f6a6-f91a030f0851",
{
"name": "MTailDots3",

View File

@ -173,6 +173,9 @@ TAIL_BOOTS={
model.Body.MTail1.MTail2.MTail3.Boot,
--model.Body.MTail1.MTail2.MTail3.LeatherBoot
}
TAIL_BOOTS_TRIM={
model.Body.MTail1.MTail2.MTail3.BootArmorTrim,
}
TAIL_BONES={
model.Body.MTail1,
model.Body.MTail1.MTail2,
@ -272,6 +275,7 @@ do
PM.addPartListFunction(TAIL_LEGGINGS, tail_visible_rule)
PM.addPartListFunction(TAIL_LEGGINGS_TRIM, tail_visible_rule)
PM.addPartListFunction(TAIL_BOOTS, tail_visible_rule)
PM.addPartListFunction(TAIL_BOOTS_TRIM, tail_visible_rule)
--- Armor state
local all_armor=util.reduce(util.mergeTable, {VANILLA_GROUPS.ARMOR, TAIL_LEGGINGS, TAIL_BOOTS})
@ -297,6 +301,7 @@ KattArmorTail.Armor.Leggings:addParts(table.unpack(TAIL_LEGGINGS))
KattArmorTail.Armor.Leggings:addTrimParts(table.unpack(TAIL_LEGGINGS_TRIM))
KattArmorTail.Armor.Leggings:setLayer(1)
KattArmorTail.Armor.Boots:addParts(table.unpack(TAIL_BOOTS))
KattArmorTail.Armor.Boots:addTrimParts(table.unpack(TAIL_BOOTS_TRIM))
KattArmor.Armor.Chestplate:addParts(model.Body.Chestplate, model.LeftArm.Chestplate, model.RightArm.Chestplate)
KattArmor.Armor.Chestplate:addTrimParts(model.Body.ChestplateTrim, model.LeftArm.ChestplateTrim, model.RightArm.ChestplateTrim)