Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions Content.Server/_Shitmed/Medical/Surgery/SurgerySystem.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
using Content.Server.Atmos.Rotting;
using Content.Server.Body.Systems;
using Content.Server.Chat.Systems;
using Content.Shared.Body.Organ;
using Content.Shared.Body.Part;
using Content.Server.Popups;
using Content.Shared.Damage;
Expand Down Expand Up @@ -35,6 +37,7 @@ public sealed class SurgerySystem : SharedSurgerySystem
[Dependency] private readonly SurgeryCleanSystem _clean = default!; // DeltaV
[Dependency] private readonly UserInterfaceSystem _ui = default!;
[Dependency] private readonly InventorySystem _inventory = default!; // DeltaV - surgery cross contamination
[Dependency] private readonly RottingSystem _rot = default!; // Euphoria

private readonly HashSet<string> _dirtyDnas = new(); // DeltaV

Expand Down Expand Up @@ -236,11 +239,9 @@ private void OnSurgeryDamageChange(Entity<SurgeryDamageChangeEffectComponent> en

private void OnSurgerySpecialDamageChange(Entity<SurgerySpecialDamageChangeEffectComponent> ent, ref SurgeryStepDamageChangeEvent args)
{
/* DeltaV - this shit was killed
// Im killing this shit soon too, inshallah.
// Im killing this shit soon too, inshallah. // Euphoria - it stays for now
if (ent.Comp.DamageType == "Rot")
_rot.ReduceAccumulator(args.Body, TimeSpan.FromSeconds(2147483648)); // BEHOLD, SHITCODE THAT I JUST COPY PASTED. I'll redo it at some point, pinky swear :)
*/
_rot.ReduceAccumulator(args.Body, TimeSpan.FromSeconds(2147483648)); // BEHOLD, SHITCODE THAT I JUST COPY PASTED. I'll redo it at some point, pinky swear :)
/*else if (ent.Comp.DamageType == "Eye"
&& TryComp(ent, out BlindableComponent? blindComp)
&& blindComp.EyeDamage > 0)
Expand Down
Loading