doubled the durability of space suits
This commit is contained in:
parent
c04b3eacb0
commit
7896b5f7fd
2 changed files with 17 additions and 0 deletions
|
|
@ -2,6 +2,7 @@
|
|||
|
||||
## Unreleased
|
||||
### Changes
|
||||
- Doubled the durability of all space suits @Pyritie
|
||||
### Bug fixes
|
||||
### Translation updates
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
})
|
||||
})
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue