From 213355ea4677f8dca59a4446e72c9cc579cd13dc Mon Sep 17 00:00:00 2001 From: Whatstone <166147148+whatston3@users.noreply.github.com> Date: Fri, 20 Sep 2024 05:03:28 -0400 Subject: [PATCH] Add respirator to hostile humanoid mobs (#2032) --- .../_NF/Entities/Mobs/NPCs/mob_hostile_base.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Resources/Prototypes/_NF/Entities/Mobs/NPCs/mob_hostile_base.yml b/Resources/Prototypes/_NF/Entities/Mobs/NPCs/mob_hostile_base.yml index 88640cd68c6..f73d8e48c9e 100644 --- a/Resources/Prototypes/_NF/Entities/Mobs/NPCs/mob_hostile_base.yml +++ b/Resources/Prototypes/_NF/Entities/Mobs/NPCs/mob_hostile_base.yml @@ -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 @@ -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