From 592ea25b20ed9ef9ec987a9eed816f5f8bbb8a0d Mon Sep 17 00:00:00 2001 From: Quanteey <61941975+Quanteey@users.noreply.github.com> Date: Sun, 31 Aug 2025 19:31:14 +0200 Subject: [PATCH] BUGFIX: harpy movement speed bug (#4300) * Something fixed * inheritance good * 3am * . --- Resources/Prototypes/_DV/Body/Parts/harpy.yml | 13 +++++++++++-- .../Prototypes/_DV/Entities/Mobs/Species/harpy.yml | 2 -- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Resources/Prototypes/_DV/Body/Parts/harpy.yml b/Resources/Prototypes/_DV/Body/Parts/harpy.yml index 28b050b5e5..9eb65c8baa 100644 --- a/Resources/Prototypes/_DV/Body/Parts/harpy.yml +++ b/Resources/Prototypes/_DV/Body/Parts/harpy.yml @@ -41,12 +41,21 @@ name: "right harpy hand" - type: entity - parent: [ PartHarpyBase, BaseLeftLeg ] + abstract: true + parent: PartHarpyBase + id: BaseHarpyLeg + components: + - type: MovementBodyPart + walkSpeed: 2.5 + sprintSpeed: 5 + +- type: entity + parent: [ BaseHarpyLeg, BaseLeftLeg ] id: LeftLegHarpy name: "left harpy leg" - type: entity - parent: [ PartHarpyBase, BaseRightLeg ] + parent: [ BaseHarpyLeg, BaseRightLeg ] id: RightLegHarpy name: "right harpy leg" diff --git a/Resources/Prototypes/_DV/Entities/Mobs/Species/harpy.yml b/Resources/Prototypes/_DV/Entities/Mobs/Species/harpy.yml index 89ab74657a..d16414869c 100644 --- a/Resources/Prototypes/_DV/Entities/Mobs/Species/harpy.yml +++ b/Resources/Prototypes/_DV/Entities/Mobs/Species/harpy.yml @@ -128,8 +128,6 @@ False: {visible: false} True: {visible: true} - type: MovementSpeedModifier - baseWalkSpeed: 2.5 - baseSprintSpeed: 5.0 weightlessAcceleration: 2.5 - type: Inventory speciesId: harpy