diff --git a/Content.Server/Body/Behavior/HeartBehavior.cs b/Content.Server/Body/Behavior/HeartBehavior.cs deleted file mode 100644 index f354a6b605..0000000000 --- a/Content.Server/Body/Behavior/HeartBehavior.cs +++ /dev/null @@ -1,29 +0,0 @@ -using Content.Shared.Body.Networks; - -namespace Content.Server.Body.Behavior -{ - public class HeartBehavior : MechanismBehavior - { - private float _accumulatedFrameTime; - - public override void Update(float frameTime) - { - // TODO BODY do between pre and metabolism - if (Parent.Body == null || - !Parent.Body.Owner.HasComponent()) - { - return; - } - - // Update at most once per second - _accumulatedFrameTime += frameTime; - - // TODO: Move/accept/process bloodstream reagents only when the heart is pumping - if (_accumulatedFrameTime >= 1) - { - // bloodstream.Update(_accumulatedFrameTime); - _accumulatedFrameTime -= 1; - } - } - } -} diff --git a/Content.Server/Body/Behavior/LiverBehavior.cs b/Content.Server/Body/Behavior/LiverBehavior.cs deleted file mode 100644 index aa40d1b142..0000000000 --- a/Content.Server/Body/Behavior/LiverBehavior.cs +++ /dev/null @@ -1,35 +0,0 @@ -using System.Linq; -using Content.Server.Body.Circulatory; -using Content.Shared.Body.Networks; -using Content.Shared.Chemistry.Reagent; -using Robust.Shared.IoC; -using Robust.Shared.Prototypes; - -namespace Content.Server.Body.Behavior -{ - /// - /// Metabolizes reagents in after they are digested. - /// - public class LiverBehavior : MechanismBehavior - { - private float _accumulatedFrameTime; - - public override void Update(float frameTime) - { - if (Body == null) - { - return; - } - - _accumulatedFrameTime += frameTime; - - // Update at most once per second - if (_accumulatedFrameTime < 1) - { - return; - } - - _accumulatedFrameTime -= 1; - } - } -} diff --git a/Resources/Prototypes/Body/Mechanisms/human.yml b/Resources/Prototypes/Body/Mechanisms/human.yml index e5ef0e5c95..240772942e 100644 --- a/Resources/Prototypes/Body/Mechanisms/human.yml +++ b/Resources/Prototypes/Body/Mechanisms/human.yml @@ -114,8 +114,6 @@ - type: Mechanism size: 1 compatibility: Biological - behaviors: - - !type:HeartBehavior {} # The heart 'metabolizes' medicines and poisons that aren't filtered out by other organs. # This is done because these chemicals need to have some effect even if they aren't being filtered out of your body. # You're technically 'immune to poison' without a heart, but.. uhh, you'll have bigger problems on your hands.