Fix blood amount for synths (#5685)

* Fix blood amount for synths

* I just forgot to keep typing the comment like frfr

* tpyo
This commit is contained in:
Tobias Berger 2026-04-30 10:30:32 +02:00 committed by GitHub
parent 2537c084ee
commit 88c84a2740
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,6 @@
using Content.Server.Body.Systems; using Content.Server.Body.Systems;
using Content.Server.Database; using Content.Server.Database;
using Content.Shared.Body.Components;
using Content.Shared.Chat.TypingIndicator; using Content.Shared.Chat.TypingIndicator;
using Content.Shared.Chemistry.Reagent; using Content.Shared.Chemistry.Reagent;
using Robust.Shared.Prototypes; using Robust.Shared.Prototypes;
@ -30,7 +31,12 @@ public sealed class SynthSystem : EntitySystem
Dirty(uid, indicator); Dirty(uid, indicator);
} }
// Give them synth blood. Ion storm notif is handled in that system // Begin DeltaV - Change blood amount according to original BloodstreamCompoent.ReferenceSolution volume
_bloodstream.ChangeBloodReagent(uid, SynthBloodReagent); // DeltaV - make strings static readonly if (TryComp<BloodstreamComponent>(uid, out var bloodstream))
{
// Give them synth blood. Ion storm notif is handled in that system
_bloodstream.ChangeBloodReagents((uid, bloodstream), new([new(SynthBloodReagent, bloodstream.BloodReferenceSolution.Volume)]));
}
// End DeltaV
} }
} }