Skip to content

Commit

Permalink
Fix holos being unkillable
Browse files Browse the repository at this point in the history
  • Loading branch information
Partmedia committed Mar 13, 2024
1 parent 56957a1 commit 89d7007
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 8 deletions.
32 changes: 32 additions & 0 deletions Resources/Prototypes/Body/Prototypes/animal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,3 +113,35 @@
type: Kidney
legs:
part: LegsSmallAnimal

- type: body
id: FlyingAnimal
name: "flying animal"
species: animal
root: torso
slots:
torso:
part: TorsoAnimal
organs:
brain:
organ: OrganHumanBrain
type: Brain
eyes:
organ: OrganHumanEyes
type: Eye
internal: false
lungs:
organ: OrganAnimalLungs
type: Lung
stomach:
organ: OrganAnimalStomach
type: Stomach
liver:
organ: OrganAnimalLiver
type: Liver
heart:
organ: OrganAnimalHeart
type: Heart
kidneys:
organ: OrganAnimalKidneys
type: Kidney
14 changes: 6 additions & 8 deletions Resources/Prototypes/Entities/Mobs/NPCs/dungeon.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,11 @@
description: A mesmerising whirl of hard-light patterns weaves a marvelous, yet oddly familiar visage.
components:
- type: Body
prototype: FlyingAnimal
requiredLegs: 0
- type: MovementSpeedModifier
baseWalkSpeed: 5.5
baseSprintSpeed: 5.5
- type: DamageOnHighSpeedImpact
damage:
types:
Blunt: 5
soundHit:
path: /Audio/Effects/hit_kick.ogg
- type: RandomSprite
available:
- enum.DamageStateVisualLayers.Base:
Expand Down Expand Up @@ -56,14 +51,18 @@
- type: MobState
allowedStates:
- Alive
- Dead
- type: MobThresholds
thresholds:
0: Alive
400: Dead
- type: HeatResistance
- type: CombatMode
- type: Internals
- type: Examiner
- type: Speech
- type: TypingIndicator
proto: guardian
- type: Pullable
- type: MeleeWeapon
hidden: true
angle: 30
Expand All @@ -73,7 +72,6 @@
types:
Blunt: 20
- type: Actions
- type: Guardian
- type: InteractionPopup
interactSuccessString: petting-success-holo
interactFailureString: petting-failure-holo
Expand Down

0 comments on commit 89d7007

Please sign in to comment.