Pulling rework (#20906)
* Pulling rework Fixing up the FOUR systems managing pulling, all the shitcode, and also making it nicer ingame. * More pulling cleanup * stats * More cleanup * First draft * More pulling * weh * Fix puller * Pulling working * Fix merge * Dunked * Self-merge time
This commit is contained in:
@@ -24,12 +24,12 @@ using Content.Shared.Humanoid;
|
||||
using Content.Shared.Mobs;
|
||||
using Content.Shared.Mobs.Components;
|
||||
using Content.Shared.Mobs.Systems;
|
||||
using Content.Shared.Movement.Pulling.Components;
|
||||
using Content.Shared.Movement.Systems;
|
||||
using Content.Shared.Nutrition.AnimalHusbandry;
|
||||
using Content.Shared.Nutrition.Components;
|
||||
using Content.Shared.Popups;
|
||||
using Content.Shared.Roles;
|
||||
using Content.Shared.Pulling.Components;
|
||||
using Content.Shared.Weapons.Melee;
|
||||
using Content.Shared.Zombies;
|
||||
using Content.Shared.Prying.Components;
|
||||
@@ -57,7 +57,6 @@ namespace Content.Server.Zombies
|
||||
[Dependency] private readonly IChatManager _chatMan = default!;
|
||||
[Dependency] private readonly MindSystem _mind = default!;
|
||||
[Dependency] private readonly SharedRoleSystem _roles = default!;
|
||||
[Dependency] private readonly MobThresholdSystem _mobThreshold = default!;
|
||||
[Dependency] private readonly SharedAudioSystem _audio = default!;
|
||||
|
||||
/// <summary>
|
||||
@@ -263,7 +262,9 @@ namespace Content.Server.Zombies
|
||||
RemComp(target, handsComp);
|
||||
}
|
||||
|
||||
RemComp<SharedPullerComponent>(target);
|
||||
// Sloth: What the fuck?
|
||||
// How long until compregistry lmao.
|
||||
RemComp<PullerComponent>(target);
|
||||
|
||||
// No longer waiting to become a zombie:
|
||||
// Requires deferral because this is (probably) the event which called ZombifyEntity in the first place.
|
||||
|
||||
Reference in New Issue
Block a user