using Content.Shared.Body.Events; namespace Content.Shared.Body.Systems; public abstract class SharedMetabolizerSystem : EntitySystem { /// /// Updates the metabolic rate multiplier for a given entity, /// raising both to determine what the multiplier is and to update relevant components. /// /// public void UpdateMetabolicMultiplier(EntityUid uid) { var getEv = new GetMetabolicMultiplierEvent(); RaiseLocalEvent(uid, ref getEv); var applyEv = new ApplyMetabolicMultiplierEvent(getEv.Multiplier); RaiseLocalEvent(uid, ref applyEv); } }