Add the Heatproof set buff to Blue Steel Boots (#2155)

* make normal (non-diving) blue steel armour be a possible part of the blue steel set

Signed-off-by: theMegaTech <36931007+theMegaTech@users.noreply.github.com>

* Add the tooltip to reflect new behavior

i hope i did this right

Signed-off-by: theMegaTech <36931007+theMegaTech@users.noreply.github.com>

---------

Signed-off-by: theMegaTech <36931007+theMegaTech@users.noreply.github.com>
This commit is contained in:
theMegaTech 2025-11-04 01:47:02 +02:00 committed by GitHub
parent 4130578a5a
commit 160045f59a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -36,6 +36,9 @@ const registerTooltips = (event) => {
text.add(2, Text.translate('tfg.tooltip.armor.netherite_diving_suit_insulation'))
text.add(3, Text.translate('tfg.tooltip.armor.netherite_diving_suit_set'))
})
event.addAdvanced(['tfc:metal/boots/blue_steel'], (item, advanced, text) => {
text.add(1, Text.translate('tfg.tooltip.armor.netherite_diving_suit_set'))
})
event.addAdvanced(['gtceu:nanomuscle_helmet', 'gtceu:nanomuscle_chestplate', 'gtceu:nanomuscle_leggings', 'gtceu:nanomuscle_boots', 'gtceu:advanced_nanomuscle_chestplate'], (item, advanced, text) => {
text.add(1, Text.translate('tfg.tooltip.armor.nanomuscle_warmth')),
text.add(2, Text.translate('tfg.tooltip.armor.nanomuscle_insulation'))
@ -207,4 +210,4 @@ const registerTooltips = (event) => {
event.addAdvanced(['vintageimprovements:lathe'], (item, advanced, text) => {
text.add(1, Text.translate('tfg.tooltip.obsolete.depreciated'))
})
}
}

View file

@ -6,7 +6,8 @@ PlayerEvents.tick((event) => {
&& player.headArmorItem === 'create:netherite_diving_helmet'
&& player.chestArmorItem === 'create:netherite_backtank'
&& player.legsArmorItem === 'minecraft:netherite_leggings'
&& player.feetArmorItem === 'create:netherite_diving_boots') {
&& (player.feetArmorItem === 'create:netherite_diving_boots'
|| player.feetArmorItem === 'tfc:metal/boots/blue_steel')) {
player.potionEffects.add("minecraft:fire_resistance", 350, 0, true, false);
}
});