![]() |
VOOZH | about |
Hello,
I’ve noticed that this template incorrectly displays some resin-trimmed armor pieces
For example, netherite boots are displayed as a leather tunic, though the tooltip still says “netherite boots”.
This also affects the leather tunic, leather cap and leather pants.
If you know how, please fix it.
GoldJackal (talk) 18:27, 25 November 2024 (UTC)
{{InvSprite}} have the wrong file names. For example, File:Invicon Resin Trim Leather Pants.png is actually an image of a resin trim netherite helmet. These files will need to be renamed. Rampage455 (talk) 23:29, 25 November 2024 (UTC)Currently Template:Smithing does not support showing any Armor trim type in the tool-tip, instead showing a generic "Armor Trim" description.
Without trim name (current);
The section to display the Trimmed Armor icon looks like this;
|Amethyst Trim Netherite Helmet; Copper Trim Iron Chestplate; Diamond Trim Golden Leggings; Emerald Trim Diamond Boots; Gold Trim Chainmail Chestplate; Iron Trim Leather Pants; Lapis Trim Turtle Shell; Quartz Trim Netherite Helmet; Netherite Trim Iron Chestplate; Redstone Trim Golden Leggings; Diamond Trim Diamond Boots; Emerald Trim Chainmail Chestplate; Lapis Trim Leather Pants; Redstone Trim Turtle Shell
This does not match how the item is displayed in-game. One can however use wiki formatting to display them correctly.
With trim name;
Problem is, the code balloons a lot, looks cumbersome and is a slog to manually recreate all the tool-tips.
|[&eNetherite Helmet]Amethyst Trim Netherite Helmet[&7Upgrade:/ &uSnout Armor Trim/ Amethyst Material//&7When on Head:/&9+3 Armor/&9+3 Armor Toughness/&9+1 Knockback Resistance]; [&eIron Chestplate]Copper Trim Iron Chestplate[&7Upgrade:/ &zSnout Armor Trim/ Copper Material//&7When on Body:/&9+6 Armor]; [&eGolden Leggings]Diamond Trim Golden Leggings[&7Upgrade:/ &sSnout Armor Trim/ Diamond Material//&7When on Legs:/&9+3 Armor]; [&eDiamond Boots]Emerald Trim Diamond Boots[&7Upgrade:/ &qSnout Armor Trim/ Emerald Material//&7When on Feet:/&9+3 Armor/&9+2 Armor Toughness]; [&eChainmail Chestplate]Gold Trim Chainmail Chestplate[&7Upgrade:/ &pSnout Armor Trim/ Gold Material//&7When on Body:/&9+5 Armor]; [&eLeather Pants]Iron Trim Leather Pants[&7Upgrade:/ &iSnout Armor Trim/ Iron Material//&7When on Legs:/&9+2 Armor]; [&eTurtle Shell]Lapis Trim Turtle Shell[&7Upgrade:/ &tSnout Armor Trim/ Lapis Material//&7When on Head:/&9+2 Armor]; [&eNetherite Helmet]Quartz Trim Netherite Helmet[&7Upgrade:/ &hSnout Armor Trim/ Quartz Material//&7When on Head:/&9+3 Armor/&9+3 Armor Toughness/&9+1 Knockback Resistance]; [&eIron Chestplate]Netherite Trim Iron Chestplate[&7Upgrade:/ &jSnout Armor Trim/ Netherite Material//&7When on Body:/&9+6 Armor]; [&eGolden Leggings]Redstone Trim Golden Leggings[&7Upgrade:/ &ySnout Armor Trim/ Redstone Material//&7When on Legs:/&9+3 Armor]; [&eDiamond Boots] Diamond Trim Diamond Boots[&7Upgrade:/ &sSnout Armor Trim/ Diamond Material//&7When on Feet:/&9+3 Armor/&9+2 Armor Toughness]; [&eChainmail Chestplate]Emerald Trim Chainmail Chestplate[&7Upgrade:/ &qSnout Armor Trim/ Emerald Material//&7When on Body:/&9+5 Armor]; [&eLeather Pants]Lapis Trim Leather Pants[&7Upgrade:/ &tSnout Armor Trim/ Lapis Material//&7When on Legs:/&9+2 Armor]; [&eTurtle Shell]Redstone Trim Turtle Shell[&7Upgrade:/ &ySnout Armor Trim/ Redstone Material//&7When on Head:/&9+2 Armor]
I suggest modifying the template so it looks at the first slot to detect what type of template it's displaying, and applying its name to the tool-tip of the finished item, that way it can also work when it displays Any Armor Trim Smithing Template as seen in Smithing_Template#Usage. If such isn't possible, then some field that can be specified.