Transform sting nerf (#269)
* - add: 10 minutes of suffering. * - fix: No monkey evolution. * - fix: Remove Absorb on rejuvenate. * - tweak: Less thick armor. * - fix: Transfer uncloneable on transform.
This commit is contained in:
@@ -6,6 +6,7 @@ using Content.Shared.Examine;
|
||||
using Content.Shared.IdentityManagement;
|
||||
using Content.Shared.Implants;
|
||||
using Content.Shared.Implants.Components;
|
||||
using Content.Shared.Rejuvenate;
|
||||
|
||||
namespace Content.Server.Changeling;
|
||||
|
||||
@@ -23,6 +24,7 @@ public sealed partial class ChangelingSystem : EntitySystem
|
||||
SubscribeLocalEvent<ChangelingComponent, ComponentInit>(OnInit);
|
||||
|
||||
SubscribeLocalEvent<AbsorbedComponent, ExaminedEvent>(OnExamine);
|
||||
SubscribeLocalEvent<AbsorbedComponent, RejuvenateEvent>(OnRejuvenate);
|
||||
|
||||
InitializeAbilities();
|
||||
InitializeShop();
|
||||
@@ -45,6 +47,12 @@ public sealed partial class ChangelingSystem : EntitySystem
|
||||
args.PushMarkup(Loc.GetString("changeling-juices-sucked-up", ("target", Identity.Entity(uid, EntityManager))));
|
||||
}
|
||||
|
||||
private void OnRejuvenate(Entity<AbsorbedComponent> ent, ref RejuvenateEvent args)
|
||||
{
|
||||
RemCompDeferred<AbsorbedComponent>(ent);
|
||||
RemCompDeferred<UncloneableComponent>(ent);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
#region Helpers
|
||||
|
||||
Reference in New Issue
Block a user