diff --git a/Content.Shared/Movement/Components/IgnoreKudzuComponent.cs b/Content.Shared/Movement/Components/IgnoreKudzuComponent.cs new file mode 100644 index 0000000000..adeed7c0e1 --- /dev/null +++ b/Content.Shared/Movement/Components/IgnoreKudzuComponent.cs @@ -0,0 +1,11 @@ +using Robust.Shared.GameStates; + +namespace Content.Shared.Movement.Components; + +/// +/// Special component to allow an entity to navigate kudzu without slowdown. +/// +[RegisterComponent, NetworkedComponent] +public sealed class IgnoreKudzuComponent : Component +{ +} diff --git a/Resources/Prototypes/Entities/Mobs/Species/diona.yml b/Resources/Prototypes/Entities/Mobs/Species/diona.yml index f53ea25c2f..a1ee97103c 100644 --- a/Resources/Prototypes/Entities/Mobs/Species/diona.yml +++ b/Resources/Prototypes/Entities/Mobs/Species/diona.yml @@ -60,6 +60,7 @@ Unsexed: UnisexDiona - type: BodyEmotes soundsId: DionaBodyEmotes + - type: IgnoreKudzu - type: entity save: false diff --git a/Resources/Prototypes/Entities/Objects/Misc/kudzu.yml b/Resources/Prototypes/Entities/Objects/Misc/kudzu.yml index f2e3c46bd2..1c8d5e4699 100644 --- a/Resources/Prototypes/Entities/Objects/Misc/kudzu.yml +++ b/Resources/Prototypes/Entities/Objects/Misc/kudzu.yml @@ -75,6 +75,9 @@ - type: SlowContacts walkSpeedModifier: 0.2 sprintSpeedModifier: 0.2 + ignoreWhitelist: + components: + - IgnoreKudzu - type: EdgeSpreader - type: NodeContainer nodes: