From d3665c9900772d10c33bbe19d97b7b7016363239 Mon Sep 17 00:00:00 2001 From: EstKemran Date: Tue, 15 Oct 2024 23:08:30 +0300 Subject: [PATCH] Vox not rotting --- .../Prototypes/Entities/Mobs/Species/vox.yml | 2 +- .../SS220/Entities/Mobs/Species/base.yml | 66 +++++++++++++++++++ 2 files changed, 67 insertions(+), 1 deletion(-) create mode 100644 Resources/Prototypes/SS220/Entities/Mobs/Species/base.yml diff --git a/Resources/Prototypes/Entities/Mobs/Species/vox.yml b/Resources/Prototypes/Entities/Mobs/Species/vox.yml index f0ad394d87f4ed..f33d858943e4c7 100644 --- a/Resources/Prototypes/Entities/Mobs/Species/vox.yml +++ b/Resources/Prototypes/Entities/Mobs/Species/vox.yml @@ -1,5 +1,5 @@ - type: entity - parent: BaseMobSpeciesOrganic + parent: BaseMobSpeciesOrganicNotPerishable #SS220-Vox not rotting id: BaseMobVox abstract: true components: diff --git a/Resources/Prototypes/SS220/Entities/Mobs/Species/base.yml b/Resources/Prototypes/SS220/Entities/Mobs/Species/base.yml new file mode 100644 index 00000000000000..7142b63d841f21 --- /dev/null +++ b/Resources/Prototypes/SS220/Entities/Mobs/Species/base.yml @@ -0,0 +1,66 @@ +- type: entity + save: false + parent: + - MobBloodstream + - MobRespirator + - MobAtmosStandard + - MobFlammable + - BaseMobSpecies + id: BaseMobSpeciesOrganicNotPerishable #Базовый прототип без компонента гниения + abstract: true + components: + - type: Barotrauma + damage: + types: + Blunt: 0.50 #per second, scales with pressure and other constants. + Heat: 0.1 + - type: PassiveDamage # Slight passive regen. Assuming one damage type, comes out to about 4 damage a minute. + allowedStates: + - Alive + damageCap: 20 + damage: + types: + Heat: -0.07 + groups: + Brute: -0.07 + - type: Fingerprint + - type: Blindable + # Other + - type: Temperature + heatDamageThreshold: 325 + coldDamageThreshold: 260 + currentTemperature: 310.15 + specificHeat: 42 + coldDamage: + types: + Cold: 0.1 #per second, scales with temperature & other constants + heatDamage: + types: + Heat: 1.5 #per second, scales with temperature & other constants + - type: TemperatureSpeed + thresholds: + 293: 0.8 + 280: 0.6 + 260: 0.4 + - type: ThermalRegulator + metabolismHeat: 800 + radiatedHeat: 100 + implicitHeatRegulation: 500 + sweatHeatRegulation: 2000 + shiveringHeatRegulation: 2000 + normalBodyTemperature: 310.15 + thermalRegulationTemperatureThreshold: 25 + - type: Butcherable + butcheringType: Spike # TODO human. + spawned: + - id: FoodMeat + amount: 5 + - type: Respirator + damage: + types: + Asphyxiation: 1.0 + damageRecovery: + types: + Asphyxiation: -1.0 + - type: FireVisuals + alternateState: Standing