Microwaves no longer instantly gib living creatures Microwaves now heat in real-time

* Animal cruelty nerf - microwaves no longer instantly gib, and now heat in realtime

* While we're at it there's honestly no need for this shit to be hardcoded
This commit is contained in:
deathride58
2024-01-06 20:16:39 -05:00
committed by GitHub
parent e57b47242f
commit 21ec29bfa6
3 changed files with 10 additions and 17 deletions

View File

@@ -37,7 +37,6 @@ public sealed class BodySystem : SharedBodySystem
SubscribeLocalEvent<BodyComponent, MoveInputEvent>(OnRelayMoveInput);
SubscribeLocalEvent<BodyComponent, ApplyMetabolicMultiplierEvent>(OnApplyMetabolicMultiplier);
SubscribeLocalEvent<BodyComponent, BeingMicrowavedEvent>(OnBeingMicrowaved);
}
private void OnRelayMoveInput(EntityUid uid, BodyComponent component, ref MoveInputEvent args)
@@ -65,19 +64,6 @@ public sealed class BodySystem : SharedBodySystem
}
}
private void OnBeingMicrowaved(EntityUid uid, BodyComponent component, BeingMicrowavedEvent args)
{
if (args.Handled)
return;
// Don't microwave animals, kids
SharedTransform.AttachToGridOrMap(uid);
_appearance.SetData(args.Microwave, MicrowaveVisualState.Bloody, true);
GibBody(uid, false, component);
args.Handled = true;
}
protected override void AddPart(
EntityUid bodyUid,
EntityUid partUid,