Skip to content

Commit

Permalink
Add respirator to hostile humanoid mobs (#2032)
Browse files Browse the repository at this point in the history
  • Loading branch information
whatston3 committed Sep 20, 2024
1 parent bbd4841 commit 213355e
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
abstract: true
components:
- type: Temperature
heatDamageThreshold: 2000 # Should prevent mobs from taking damage on planets with extreme head
heatDamageThreshold: 2000 # Should prevent mobs from taking damage on planets with extreme heat
coldDamageThreshold: -250 # Should make mobs immune to cold planets
currentTemperature: 310.15
coldDamage: #per second, scales with temperature & other constants
Expand Down Expand Up @@ -229,6 +229,13 @@
nextAdvertisementTime: 0
- type: SalvageMobRestrictionsNF
- type: FTLKnockdownImmune
- type: Respirator
updateInterval: 99999 # Shouldn't run often, if ever.
suffocationThreshold: -100 # Should never happen.
damage:
types: {}
damageRecovery:
types: {}

# NonHuman NPC base, no equipment, immune to vacuum/low pressure
- type: entity
Expand Down

0 comments on commit 213355e

Please sign in to comment.