Skip to content

Commit 1f8afb9

Browse files
Nubody (1/3) - Ipc removal (DeltaV-Station#5840)
* Reapply "Nubody Merge" (DeltaV-Station#5807) This reverts commit d62f7ce. * Revert "Nubody Merge (DeltaV-Station#5670)" This reverts commit b465cfb. * Revert "IPC fibers (DeltaV-Station#4968)" This reverts commit c2b4221. * Revert "IPC Polymorph fix (DeltaV-Station#4545)" This reverts commit fa03d8c. * Revert "fix IPC not having humanoid emotes (DeltaV-Station#4445)" This reverts commit 216fdf9. * Revert "ipc heat/cold (DeltaV-Station#4306)" This reverts commit fafd5cf. * Revert "ipc cables (DeltaV-Station#4283)" This reverts commit 5495803. * Revert "feat: ipcs now have dynamic power draw based off movement speed (DeltaV-Station#3917)" This reverts commit 71e8b7e. * Revert "fix ipcs not being able to disarm (DeltaV-Station#3374)" This reverts commit 764c4dc. * Revert "make steel heal caustic for ipcs (DeltaV-Station#3206)" This reverts commit 450ac82. * Revert "add missing ipc survival boxes (DeltaV-Station#3065)" This reverts commit 888c9cd. * Revert "make borgs use ipc repairing (DeltaV-Station#3064)" This reverts commit f77a49d. * Revert "added ipc plushie (batteries not included) (DeltaV-Station#3023)" This reverts commit 743cdbb. * Revert "Update hud.yml to add ipcs to diagnostic hud (DeltaV-Station#3019)" This reverts commit 7220643. * Revert "Tweak IPCs (DeltaV-Station#2979)" This reverts commit 98b4747. * Revert "fix nukies ipc test fail (DeltaV-Station#2957)" This reverts commit 4a1acbf. * Revert "fix ipc nukies not getting comms (DeltaV-Station#2884)" This reverts commit 8a22547. * Revert "fix ipc encryption key mispredict (DeltaV-Station#2879)" This reverts commit f08726e. * remove oil * Revert "Merge pull request DeltaV-Station#2800 from Spielern/port-ipc" This reverts commit 822fa43, reversing changes made to fe4c23c. * Remove and Fix rest of IPC Hangons causing crashes * Integration test Errors * Expand migration file with removed IPC stuff * IPC Leg was found and migrated to naught * motorkinds need to inherit an actual species base * forgot the alerts * irrelevant coscult code * excess casualties --------- Co-authored-by: Janet Blackquill <uhhadd@gmail.com>
1 parent fcab8cc commit 1f8afb9

249 files changed

Lines changed: 52 additions & 8486 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

Content.Client/Clothing/ClientClothingSystem.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using System.Linq;
33
using Content.Client.DisplacementMap;
44
using Content.Client.Inventory;
5-
using Content.Shared._DV.Silicon.IPC; // DeltaV - IPC Snouts
65
using Content.Shared.Clothing;
76
using Content.Shared.Clothing.Components;
87
using Content.Shared.Clothing.EntitySystems;
@@ -103,12 +102,8 @@ private void OnGetVisuals(EntityUid uid, ClothingComponent item, GetEquipmentVis
103102

104103
List<PrototypeLayerData>? layers = null;
105104

106-
// Begin DeltaV Additions - IPC snouts
107105
var speciesId = inventory.SpeciesId;
108106

109-
if (TryComp(args.Equipee, out SnoutHelmetComponent? helmetComponent) && helmetComponent.EnableAlternateHelmet)
110-
speciesId = helmetComponent.ReplacementRace;
111-
112107
// first attempt to get species specific data.
113108
if (speciesId != null)
114109
item.ClothingVisuals.TryGetValue($"{args.Slot}-{speciesId}", out layers);
@@ -120,7 +115,6 @@ private void OnGetVisuals(EntityUid uid, ClothingComponent item, GetEquipmentVis
120115
if (!TryGetDefaultVisuals(uid, item, args.Slot, speciesId, out layers))
121116
return;
122117
}
123-
// End DeltaV Additions
124118

125119
// add each layer to the visuals
126120
var i = 0;

Content.Client/_DV/Silicon/IPC/SnoutHelmetSystem.cs

Lines changed: 0 additions & 28 deletions
This file was deleted.

Content.Client/_DV/Silicons/Charge/SiliconChargeSystem.cs

Lines changed: 0 additions & 31 deletions
This file was deleted.

Content.Client/_DV/Silicons/Charge/SiliconDrainSystem.cs

Lines changed: 0 additions & 29 deletions
This file was deleted.

Content.IntegrationTests/Tests/GameObjects/Components/Mobs/AlertsComponentTests.cs

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -87,12 +87,8 @@ static AlertsUI FindAlertsUI(Control control)
8787
Assert.That(clientAlertsUI.AlertContainer.ChildCount, Is.GreaterThanOrEqualTo(3));
8888
var alertControls = clientAlertsUI.AlertContainer.Children.Select(c => (AlertControl) c);
8989
var alertIDs = alertControls.Select(ac => ac.Alert.ID).ToArray();
90-
// Goobstation - IPC have BorgHealth instead of HumanHealth
91-
var expectedDebugIDs = new[] { "Debug1", "Debug2" };
92-
var expectedHealthIDs = new[] { "BorgHealth", "HumanHealth" };
93-
94-
Assert.That(alertIDs, Is.SupersetOf(expectedDebugIDs));
95-
Assert.That(alertIDs, Has.Some.Matches<string>(item => expectedHealthIDs.Contains(item)));
90+
var expectedIDs = new[] { "HumanHealth", "Debug1", "Debug2" };
91+
Assert.That(alertIDs, Is.SupersetOf(expectedIDs));
9692
});
9793

9894
await server.WaitAssertion(() =>
@@ -108,12 +104,8 @@ await client.WaitAssertion(() =>
108104
Assert.That(clientAlertsUI.AlertContainer.ChildCount, Is.GreaterThanOrEqualTo(2));
109105
var alertControls = clientAlertsUI.AlertContainer.Children.Select(c => (AlertControl) c);
110106
var alertIDs = alertControls.Select(ac => ac.Alert.ID).ToArray();
111-
// Goobstation - IPC have BorgHealth instead of HumanHealth
112-
var expectedDebugIDs = new[] { "Debug2" };
113-
var expectedHealthIDs = new[] { "BorgHealth", "HumanHealth" };
114-
115-
Assert.That(alertIDs, Is.SupersetOf(expectedDebugIDs));
116-
Assert.That(alertIDs, Has.Some.Matches<string>(item => expectedHealthIDs.Contains(item)));
107+
var expectedIDs = new[] { "HumanHealth", "Debug2" };
108+
Assert.That(alertIDs, Is.SupersetOf(expectedIDs));
117109
});
118110

119111
await pair.CleanReturnAsync();

Content.IntegrationTests/Tests/GameRules/NukeOpsTest.cs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
using Robust.Server.GameObjects;
2525
using Robust.Shared.GameObjects;
2626
using Robust.Shared.Map.Components;
27-
using Content.Shared._EE.Silicon.Components; // Goobstation
2827
using Robust.Shared.Prototypes;
2928

3029
namespace Content.IntegrationTests.Tests.GameRules;
@@ -230,15 +229,12 @@ void CheckDummy(int i)
230229
var totalSeconds = 30;
231230
var totalTicks = (int) Math.Ceiling(totalSeconds / server.Timing.TickPeriod.TotalSeconds);
232231
var increment = 5;
232+
var resp = entMan.GetComponent<RespiratorComponent>(player);
233233
var damage = entMan.GetComponent<DamageableComponent>(player);
234234
for (var tick = 0; tick < totalTicks; tick += increment)
235235
{
236236
await pair.RunTicksSync(increment);
237-
if (!entMan.HasComponent<SiliconComponent>(player)) // Goobstation - IPC
238-
{
239-
var resp = entMan.GetComponent<RespiratorComponent>(player);
240-
Assert.That(resp.SuffocationCycles, Is.LessThanOrEqualTo(resp.SuffocationCycleThreshold));
241-
}
237+
Assert.That(resp.SuffocationCycles, Is.LessThanOrEqualTo(resp.SuffocationCycleThreshold));
242238
Assert.That(damage.TotalDamage, Is.EqualTo(FixedPoint2.Zero));
243239
}
244240

Content.Server/Chat/SuicideSystem.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using Content.Server.Ghost;
2-
using Content.Shared._EE.Silicon.Components; // EE
32
using Content.Server.Hands.Systems;
43
using Content.Shared.Administration.Logs;
54
using Content.Shared.Chat;
@@ -173,10 +172,7 @@ private void OnDamageableSuicide(Entity<DamageableComponent> victim, ref Suicide
173172
return;
174173
}
175174

176-
if (HasComp<SiliconComponent>(victim)) // Goobstation
177-
args.DamageType ??= "Shock";
178-
else
179-
args.DamageType ??= "Bloodloss";
175+
args.DamageType ??= "Bloodloss";
180176
_suicide.ApplyLethalDamage(victim, args.DamageType);
181177
args.Handled = true;
182178
}

Content.Server/Cloning/CloningPodSystem.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
using Content.Server.Popups;
99
using Content.Server.Power.EntitySystems;
1010
using Content.Shared._DV.Psionics.Components; // DeltaV
11-
using Content.Shared._EE.Silicon.Components; // Goobstation
1211
using Content.Shared.Atmos;
1312
using Content.Shared.CCVar;
1413
using Content.Shared.Chemistry.Components;
@@ -163,9 +162,6 @@ public bool TryCloning(EntityUid uid, EntityUid bodyToClone, Entity<MindComponen
163162
if (!TryComp<PhysicsComponent>(bodyToClone, out var physics))
164163
return false;
165164

166-
if (HasComp<SiliconComponent>(bodyToClone))
167-
return false; // Goobstation: Don't clone IPCs.
168-
169165
var cloningCost = (int)Math.Round(physics.FixturesMass);
170166

171167
if (_configManager.GetCVar(CCVars.BiomassEasyMode))

Content.Server/Clothing/Systems/OutfitSystem.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,6 @@
1313
using Content.Shared.Station;
1414
using Robust.Shared.Player;
1515
using Robust.Shared.Prototypes;
16-
using Content.Shared._DV.Silicon.IPC; // DeltaV
17-
using Content.Shared.Radio.Components; // Goobstation
1816

1917
namespace Content.Server.Clothing.Systems;
2018

@@ -109,14 +107,6 @@ public bool SetOutfit(EntityUid target, string gear, Action<EntityUid, EntityUid
109107
_spawningSystem.EquipRoleLoadout(target, roleLoadout, jobProto);
110108
}
111109

112-
// Begin DeltaV/Goob Additions
113-
if (EntityManager.HasComponent<EncryptionKeyHolderComponent>(target))
114-
{
115-
var encryption = EntityManager.System<InternalEncryptionKeySpawner>();
116-
encryption.TryInsertEncryptionKey(target, startingGear);
117-
}
118-
// End DeltaV/Goob Additions
119-
120110
return true;
121111
}
122112
}

Content.Server/Electrocution/ElectrocutionSystem.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,7 +299,7 @@ public override bool TryDoElectrocution(
299299
|| !DoCommonElectrocution(uid, sourceUid, shockDamage, time, refresh, siemensCoefficient, statusEffects))
300300
return false;
301301

302-
RaiseLocalEvent(uid, new ElectrocutedEvent(uid, sourceUid, siemensCoefficient, shockDamage), true); // Goobstation
302+
RaiseLocalEvent(uid, new ElectrocutedEvent(uid, sourceUid, siemensCoefficient), true);
303303
return true;
304304
}
305305

@@ -349,7 +349,7 @@ private bool TryDoElectrocutionPowered(
349349
electrocutionComponent.Electrocuting = uid;
350350
electrocutionComponent.Source = sourceUid;
351351

352-
RaiseLocalEvent(uid, new ElectrocutedEvent(uid, sourceUid, siemensCoefficient, shockDamage), true); // Goobstation
352+
RaiseLocalEvent(uid, new ElectrocutedEvent(uid, sourceUid, siemensCoefficient), true);
353353

354354
return true;
355355
}

0 commit comments

Comments
 (0)