doubled the durability of space suits

This commit is contained in:
Pyritie 2025-12-09 15:40:22 +00:00
parent c04b3eacb0
commit 7896b5f7fd
2 changed files with 17 additions and 0 deletions

View file

@ -2,6 +2,7 @@
## Unreleased
### Changes
- Doubled the durability of all space suits @Pyritie
### Bug fixes
### Translation updates

View file

@ -31,4 +31,20 @@ function registerAdAstraBlockModifications(event) {
event.modify('ad_astra:aeronos_cap', block => {
block.lightEmission = 0
})
const space_suits = [
'ad_astra:space_helmet',
'ad_astra:space_suit',
'ad_astra:space_pants',
'ad_astra:space_boots',
'ad_astra:netherite_space_helmet',
'ad_astra:netherite_space_suit',
'ad_astra:netherite_space_pants',
'ad_astra:netherite_space_boots'
]
space_suits.forEach(e => {
event.modify(e, item => {
item.maxDamage = item.maxDamage * 2
})
})
}