diff --git a/Resources/Prototypes/_CP14/Entities/Mobs/NPC/base.yml b/Resources/Prototypes/_CP14/Entities/Mobs/NPC/base.yml index ae0b3a3b0f..9e8695a84f 100644 --- a/Resources/Prototypes/_CP14/Entities/Mobs/NPC/base.yml +++ b/Resources/Prototypes/_CP14/Entities/Mobs/NPC/base.yml @@ -8,6 +8,7 @@ - CP14MobStarving - MobBloodstream - MobFlammable + - CP14MobTemperature - MobPolymorphable id: CP14SimpleMobBase suffix: AI diff --git a/Resources/Prototypes/_CP14/Entities/Mobs/Species/base.yml b/Resources/Prototypes/_CP14/Entities/Mobs/Species/base.yml index 31f3fdda1f..872e89036e 100644 --- a/Resources/Prototypes/_CP14/Entities/Mobs/Species/base.yml +++ b/Resources/Prototypes/_CP14/Entities/Mobs/Species/base.yml @@ -5,6 +5,7 @@ - MobCombat - CP14MobDamageable - CP14MobMagical + - CP14MobTemperature - MobPolymorphable id: CP14BaseMobSpecies categories: [ ForkFiltered ] diff --git a/Resources/Prototypes/_CP14/Entities/Mobs/base.yml b/Resources/Prototypes/_CP14/Entities/Mobs/base.yml index a0c510f04b..8be9179d46 100644 --- a/Resources/Prototypes/_CP14/Entities/Mobs/base.yml +++ b/Resources/Prototypes/_CP14/Entities/Mobs/base.yml @@ -90,4 +90,34 @@ delay: 3 # 5m to full restore - type: CP14MagicUnsafeDamage - type: CP14MagicUnsafeSleep - - type: CP14AuraImprint \ No newline at end of file + - type: CP14AuraImprint + +- type: entity + id: CP14MobTemperature + components: + - type: Temperature + heatDamageThreshold: 325 + coldDamageThreshold: 0 + currentTemperature: 310.15 + coldDamage: #per second, scales with temperature & other constants + types: + Cold : 0.1 + - type: ThermalRegulator + metabolismHeat: 800 + radiatedHeat: 100 + implicitHeatRegulation: 250 + sweatHeatRegulation: 500 + shiveringHeatRegulation: 500 + normalBodyTemperature: 310.15 + thermalRegulationTemperatureThreshold: 2 + - type: Temperature + heatDamageThreshold: 325 + coldDamageThreshold: 260 + currentTemperature: 310.15 + specificHeat: 42 + coldDamage: + types: + Cold: 1 #per second, scales with temperature & other constants + heatDamage: + types: + Heat: 1.5 #per second, scales with temperature & other constants \ No newline at end of file