Remove vehicles (#24681)

* Remove wheelchairs

Vehicle code is dogwater and wheelchairs just keeps exposing edgecases. If someone wants it brought it back they can do vehicle refactor.

* Also this one

* Remove vehicles

* goodbye vehicles

* Remove this check

* sasd

* Cronch

* Add sprites back

* jani
This commit is contained in:
metalgearsloth
2024-02-01 11:33:10 +11:00
committed by GitHub
parent ff090878e7
commit d2f20d8955
36 changed files with 40 additions and 1587 deletions

View File

@@ -2,7 +2,6 @@ using Content.Client.Rotation;
using Content.Shared.Buckle;
using Content.Shared.Buckle.Components;
using Content.Shared.Rotation;
using Content.Shared.Vehicle.Components;
using Robust.Client.GameObjects;
namespace Content.Client.Buckle;
@@ -26,9 +25,6 @@ internal sealed class BuckleSystem : SharedBuckleSystem
if (!TryComp<SpriteComponent>(uid, out var ownerSprite))
return;
if (HasComp<VehicleComponent>(component.LastEntityBuckledTo))
return;
// Adjust draw depth when the chair faces north so that the seat back is drawn over the player.
// Reset the draw depth when rotated in any other direction.
// TODO when ECSing, make this a visualizer