From 09fb76ea6a66d2b4f21c34771e088af9e6c1e792 Mon Sep 17 00:00:00 2001 From: F8ctor Date: Tue, 25 Mar 2025 23:29:31 +0100 Subject: [PATCH] SimpleSpaceMobNoLifeBase --- .../Entities/Mobs/NPCs/simplemob.yml | 31 +++++++++++++++++++ .../Prototypes/_CP14/Entities/Mobs/base.yml | 2 +- 2 files changed, 32 insertions(+), 1 deletion(-) diff --git a/Resources/Prototypes/Entities/Mobs/NPCs/simplemob.yml b/Resources/Prototypes/Entities/Mobs/NPCs/simplemob.yml index f400680eb0..78bf82db4c 100644 --- a/Resources/Prototypes/Entities/Mobs/NPCs/simplemob.yml +++ b/Resources/Prototypes/Entities/Mobs/NPCs/simplemob.yml @@ -113,3 +113,34 @@ - type: MobPrice price: 150 - type: FloatingVisuals + +- type: entity + abstract: true + parent: + - BaseSimpleMob + - MobCombat + - MobFlammable + id: SimpleSpaceMobNoLifeBase + suffix: AI + components: + - type: NpcFactionMember + factions: + - SimpleNeutral + - type: HTN + rootTask: + task: IdleCompound + - type: MeleeWeapon + angle: 0 + animation: WeaponArcBite + - type: Body + prototype: Animal + - type: Climbing + - type: NameIdentifier + group: GenericNumber + - type: SlowOnDamage + speedModifierThresholds: + 60: 0.7 + 80: 0.5 + - type: MobPrice + price: 1000 # Living critters are valuable in space. + - type: Perishable diff --git a/Resources/Prototypes/_CP14/Entities/Mobs/base.yml b/Resources/Prototypes/_CP14/Entities/Mobs/base.yml index dbc26a5e3a..147471db55 100644 --- a/Resources/Prototypes/_CP14/Entities/Mobs/base.yml +++ b/Resources/Prototypes/_CP14/Entities/Mobs/base.yml @@ -101,7 +101,7 @@ - CP14MobDamageable - MobRespirator - MobAtmosStandard - - SimpleSpaceMobBase + - SimpleSpaceMobNoLifeBase id: CP14SimpleMobNoLifeBase suffix: AI abstract: true