Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge Stable 16/10/24 #440

Merged
merged 105 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
295e631
Two additional checks to prevent FTLing stations (#32558)
Plykiya Oct 4, 2024
423d394
Automatic changelog update
PJBot Oct 4, 2024
9e054c1
Give dragon pull ability (#32568)
SoulFN Oct 4, 2024
8b65186
Automatic changelog update
PJBot Oct 4, 2024
88f060d
Make the explosions throw the container/item they originated from (#3…
SaphireLattice Oct 4, 2024
fbb6f17
Automatic changelog update
PJBot Oct 4, 2024
94c8018
Change the syndicate charge to start a timer on signal (#32423)
SaphireLattice Oct 4, 2024
ec4acde
Automatic changelog update
PJBot Oct 4, 2024
644d7ab
`BaseAdvancedPen` migration (#32638)
NotSoDana Oct 4, 2024
db64ad9
Marathon Removed double walls and a wrong cable (#32603)
BackeTako Oct 4, 2024
2287df1
Cog engineering DIY update (#32651)
Spessmann Oct 5, 2024
eb4e422
fix light bulbs not fitting into the trash bag (#32452)
slarticodefast Oct 5, 2024
386e59b
Automatic changelog update
PJBot Oct 5, 2024
126c178
Cog update fix (#32657)
Spessmann Oct 6, 2024
867efe8
Add flowers to loadout (#32097)
JustArt1m Oct 6, 2024
35fc1b4
Automatic changelog update
PJBot Oct 6, 2024
46a2eb5
Fully Revert Clown Waddling (#32652)
Golinth Oct 6, 2024
a6c468b
Automatic changelog update
PJBot Oct 6, 2024
6b10e00
oasis update (#32679)
Scribbles0 Oct 7, 2024
eecbfb6
Move client dumpentities command to "DEBUG" (#32687)
PJB3005 Oct 7, 2024
f22f9e3
Change minibomb to be explosion resistant and start timer on damage (…
SaphireLattice Oct 7, 2024
34df781
Automatic changelog update
PJBot Oct 7, 2024
38fd54a
Update Core (#32665)
UbaserB Oct 8, 2024
33042b0
Fix cryo locale again (#32654)
lzk228 Oct 8, 2024
922dd0b
Fix cloth dupe (#32685)
shampunj Oct 8, 2024
1f04117
Automatic changelog update
PJBot Oct 8, 2024
0e0887b
Added proper capitalisation for supervisors when entering the game (#…
averystarbits Oct 8, 2024
1366f6b
Replace the Librarian's round-start D10 with a D20 (#32648)
Plykiya Oct 8, 2024
28f576d
Automatic changelog update
PJBot Oct 8, 2024
6f9b4f4
CHIMP and APE particle speed increase (#32690)
K-Dynamic Oct 8, 2024
dc2899c
Automatic changelog update
PJBot Oct 8, 2024
384ff7e
Add pumpkin pie! (#32623)
beck-thompson Oct 8, 2024
357e998
Automatic changelog update
PJBot Oct 8, 2024
1dbbf31
Update submodule to v236.1.0 (#32704)
PJB3005 Oct 9, 2024
ddaa0e8
Add admin log for codewords (#32531)
SlamBamActionman Oct 9, 2024
b657aba
Automatic changelog update
PJBot Oct 9, 2024
d450b61
fix typo (#32712)
lzk228 Oct 9, 2024
5a41cc8
Decrease price of radio jammer from 4 tc -> 3 tc (#32472)
beck-thompson Oct 9, 2024
fc1c709
Automatic changelog update
PJBot Oct 9, 2024
6d99597
Job title localization (#32338)
chavonadelal Oct 9, 2024
327466a
Plushies can now have pAIs stuffed into them (v2)! (#30805)
beck-thompson Oct 9, 2024
ac16a05
Automatic changelog update
PJBot Oct 9, 2024
3e078ab
Fix error log when recycling something with small material counts. (#…
PJB3005 Oct 10, 2024
93c7bdc
Mind Role Entities (#31318)
Errant-4 Oct 10, 2024
740288e
Automatic changelog update
PJBot Oct 10, 2024
e7b7e22
Fix bounties(and potentially other things) running out of ids (#32700)
nikthechampiongr Oct 10, 2024
bc64676
Automatic changelog update
PJBot Oct 10, 2024
e98af12
Fixed capitalization in Interface description (#32739)
scrivoy Oct 10, 2024
af72f2e
Applying Fix from #32764 to staging
Jezithyr Oct 13, 2024
e5ad32f
Fix random test fail in DeleteAllThenGhost (#32753)
Errant-4 Oct 11, 2024
796764d
Fix some rounds failing to end due to mind roles (#32792) (#32793)
PJB3005 Oct 13, 2024
519a6b2
HOTFIX: Fix tech anomaly nexttimer (#32805) (#32807)
Errant-4 Oct 14, 2024
9fcf12b
squash! Merge tool integrating 295e63193c91124160458cfd14165d644382b23f
LankLTE Oct 15, 2024
819fba8
squash! Merge tool skipped commit 423d394af1bb1ce06c2b8e9a918c341e6d1…
LankLTE Oct 15, 2024
06b028d
squash! Merge tool integrating 9e054c1f9dbe7f04f11b4367a3bc7df3a5f18bce
LankLTE Oct 15, 2024
706a399
squash! Merge tool skipped commit 8b65186bfae66ffe1571236b3dce991f6e2…
LankLTE Oct 15, 2024
70babe1
squash! Merge tool integrating 88f060d51a0d36582c0705218d98d21a53789771
LankLTE Oct 15, 2024
8054a51
squash! Merge tool skipped commit fbb6f17addf6d32cf100874afe34ceb6f30…
LankLTE Oct 15, 2024
6904b72
squash! Merge tool integrating 94c8018ff3342e949dd6a605fb96c942069857b9
LankLTE Oct 15, 2024
6ee4509
squash! Merge tool skipped commit ec4acdebbf11cf2895e9a8e0ceca19d9bed…
LankLTE Oct 15, 2024
dc7f564
squash! Merge tool integrating 644d7ab682f65f77b4d9a53d2b2bbb445be82016
LankLTE Oct 15, 2024
2794133
squash! Merge tool integrating db64ad9c4d3be23137b4575882cbcc8f151c4dbd
LankLTE Oct 15, 2024
f631e6a
squash! Merge tool integrating 2287df13bdc6d754fcac70c29d6fd06890136d83
LankLTE Oct 15, 2024
4321373
squash! Merge tool integrating eb4e422cb099cddd499daa3fd2b279d754b750b5
LankLTE Oct 15, 2024
3099a1c
squash! Merge tool skipped commit 386e59b46231cb5d1a3c1d6086cfead08bf…
LankLTE Oct 15, 2024
b3b04d7
squash! Merge tool integrating 126c1786de2ca4112433f797bcba68ef715b364f
LankLTE Oct 15, 2024
87e33b6
squash! Merge tool integrating 867efe8b5ba551b85a167aa5dfbe9afe03899730
LankLTE Oct 15, 2024
a1762fa
squash! Merge tool skipped commit 35fc1b403766fac26a7f79a95905b2871c3…
LankLTE Oct 15, 2024
59b5b70
squash! Merge tool integrating 46a2eb545e39a63f48b8da3d1fa78da47e0f6db2
LankLTE Oct 15, 2024
ab167f0
squash! Merge tool skipped commit a6c468b6971c1731da5f030e98036e6d808…
LankLTE Oct 15, 2024
866f6e1
squash! Merge tool integrating 6b10e00da495379d61b35e3b809d2564cc3228c6
LankLTE Oct 15, 2024
04d1a20
squash! Merge tool integrating eecbfb63a0dedc20abb7e195a71427081bc8b6dd
LankLTE Oct 15, 2024
0852338
squash! Merge tool integrating f22f9e39c5e9af1a8f622e12eb2f916b69c6be22
LankLTE Oct 15, 2024
bcaf103
squash! Merge tool skipped commit 34df781668bc1b2fec4c84111b4ee040d80…
LankLTE Oct 15, 2024
bf46f38
squash! Merge tool integrating 38fd54a1bf06d3f9e9d5a9e04388d872501391a0
LankLTE Oct 15, 2024
edf27c3
squash! Merge tool integrating 33042b00d0fa64e2880acecd7430c425caf3e8f4
LankLTE Oct 15, 2024
fb4514e
squash! Merge tool integrating 922dd0bce6519d0af35a9bfbc2360c32893b4cbc
LankLTE Oct 15, 2024
846f4a5
squash! Merge tool skipped commit 1f04117edf71b5f3871a18de50e83ad240f…
LankLTE Oct 15, 2024
0db27b7
squash! Merge tool integrating 0e0887bd49beae005584db0c0ff632fe442d0b4b
LankLTE Oct 15, 2024
e087adc
squash! Merge tool integrating 1366f6b405195efa7ba73041c2e06df0f37d1d3f
LankLTE Oct 15, 2024
23055f4
squash! Merge tool skipped commit 28f576dae87bb6f696ce359d969058fbd34…
LankLTE Oct 15, 2024
59b05d5
squash! Merge tool integrating 6f9b4f42267814b73feda51cd2e15bff765a872e
LankLTE Oct 15, 2024
7dcdd6d
squash! Merge tool skipped commit dc2899c274341db8b0384944a5dce6849b1…
LankLTE Oct 15, 2024
1bd5109
squash! Merge tool integrating 384ff7e8f614e47efdc4eeaf39b3067a614001bd
LankLTE Oct 15, 2024
5591379
squash! Merge tool skipped commit 357e998cbb78c0a8adee3a568c2e709b765…
LankLTE Oct 15, 2024
8dd922f
squash! Merge tool integrating 1dbbf315c7d4b3d5b2d8b35b48b7fccfcc1409fc
LankLTE Oct 15, 2024
df36783
squash! Merge tool integrating ddaa0e83c6b055a0b2d162af7d2f04b8a6fec1c5
LankLTE Oct 15, 2024
552e63f
squash! Merge tool skipped commit b657aba2e1fbb089693fd1bb0220a71e717…
LankLTE Oct 15, 2024
e102b42
squash! Merge tool integrating d450b613d6f53d12208220d0655279656a2ba35c
LankLTE Oct 15, 2024
d8859bf
squash! Merge tool integrating 5a41cc81b307e1ea8b82f30392bb5f22ef421716
LankLTE Oct 15, 2024
f9b7c92
squash! Merge tool skipped commit fc1c709d4421cb2267daf35b50f76462964…
LankLTE Oct 15, 2024
1df9e1b
squash! Merge tool integrating 6d9959734928fd6fbd6c7b05baac60106f000bb6
LankLTE Oct 15, 2024
1a9f616
squash! Merge tool integrating 327466a6e2e36eba03c4bee397371fec5d3e4a86
LankLTE Oct 15, 2024
c079853
squash! Merge tool skipped commit ac16a05fef3b7bb029e62c8d0e354999027…
LankLTE Oct 15, 2024
ff831a1
squash! Merge tool integrating 3e078ab3e0aff0d022bac2bb869090934e7f10e2
LankLTE Oct 15, 2024
c699e49
squash! Merge tool integrating 93c7bdc1345dd3b76727a386fe7ce30e6edd28b2
LankLTE Oct 15, 2024
e08efa8
squash! Merge tool skipped commit 740288eb962904197f23f7ca23264af521b…
LankLTE Oct 15, 2024
ae8d53e
squash! Merge tool integrating e7b7e2270d8bfcbcbd973d3c9d0271f5b3a96ffc
LankLTE Oct 15, 2024
7bc18b1
squash! Merge tool skipped commit bc6467674752db3199cae15fed83ad1da2c…
LankLTE Oct 15, 2024
5f758f3
squash! Merge tool integrating e98af125dc5e3bf3d8c56052ef58b90f4d5bbbb4
LankLTE Oct 15, 2024
ab4fd10
squash! Merge tool integrating af72f2e17cdf4392f5d3c214ec865ffa434f8c18
LankLTE Oct 15, 2024
2363df9
squash! Merge tool integrating e5ad32fe9388db4cf970eb7ba650a711a6560b74
LankLTE Oct 15, 2024
9c8b75f
squash! Merge tool integrating 796764d755186195541756b056f16a835c499cca
LankLTE Oct 15, 2024
6430d7f
squash! Merge tool integrating 519a6b24749e284df3e9aaaf8bab5f96d597fe8e
LankLTE Oct 15, 2024
d7bd224
Fix merge issues.
LankLTE Oct 16, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
149 changes: 0 additions & 149 deletions Content.Client/Movement/Systems/WaddleAnimationSystem.cs

This file was deleted.

21 changes: 12 additions & 9 deletions Content.IntegrationTests/Tests/GameRules/NukeOpsTest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#nullable enable
using System.Collections.Generic;
using System.Linq;
using Content.Server.Body.Components;
using Content.Server.GameTicking;
Expand Down Expand Up @@ -120,8 +121,8 @@ public async Task TryStopNukeOpsFromConstantlyFailing()
Assert.That(roleSys.MindHasRole<NukeopsRoleComponent>(mind));
Assert.That(factionSys.IsMember(player, "Syndicate"), Is.True);
Assert.That(factionSys.IsMember(player, "NanoTrasen"), Is.False);
var roles = roleSys.MindGetAllRoles(mind);
var cmdRoles = roles.Where(x => x.Prototype == "NukeopsCommander" && x.Component is NukeopsRoleComponent);
var roles = roleSys.MindGetAllRoleInfo(mind);
var cmdRoles = roles.Where(x => x.Prototype == "NukeopsCommander");
Assert.That(cmdRoles.Count(), Is.EqualTo(1));

// The second dummy player should be a medic
Expand All @@ -131,8 +132,8 @@ public async Task TryStopNukeOpsFromConstantlyFailing()
Assert.That(roleSys.MindHasRole<NukeopsRoleComponent>(dummyMind));
Assert.That(factionSys.IsMember(dummyEnts[1], "Syndicate"), Is.True);
Assert.That(factionSys.IsMember(dummyEnts[1], "NanoTrasen"), Is.False);
roles = roleSys.MindGetAllRoles(dummyMind);
cmdRoles = roles.Where(x => x.Prototype == "NukeopsMedic" && x.Component is NukeopsRoleComponent);
roles = roleSys.MindGetAllRoleInfo(dummyMind);
cmdRoles = roles.Where(x => x.Prototype == "NukeopsMedic");
Assert.That(cmdRoles.Count(), Is.EqualTo(1));

// The other two players should have just spawned in as normal.
Expand All @@ -141,13 +142,14 @@ public async Task TryStopNukeOpsFromConstantlyFailing()
void CheckDummy(int i)
{
var ent = dummyEnts[i];
var mind = mindSys.GetMind(ent)!.Value;
var mindCrew = mindSys.GetMind(ent)!.Value;
Assert.That(entMan.HasComponent<NukeOperativeComponent>(ent), Is.False);
Assert.That(roleSys.MindIsAntagonist(mind), Is.False);
Assert.That(roleSys.MindHasRole<NukeopsRoleComponent>(mind), Is.False);
Assert.That(roleSys.MindIsAntagonist(mindCrew), Is.False);
Assert.That(roleSys.MindHasRole<NukeopsRoleComponent>(mindCrew), Is.False);
Assert.That(factionSys.IsMember(ent, "Syndicate"), Is.False);
Assert.That(factionSys.IsMember(ent, "NanoTrasen"), Is.True);
Assert.That(roleSys.MindGetAllRoles(mind).Any(x => x.Component is NukeopsRoleComponent), Is.False);
var nukeroles = new List<string>() { "Nukeops", "NukeopsMedic", "NukeopsCommander" };
Assert.That(roleSys.MindGetAllRoleInfo(mindCrew).Any(x => nukeroles.Contains(x.Prototype)), Is.False);
}

// The game rule exists, and all the stations/shuttles/maps are properly initialized
Expand Down Expand Up @@ -238,7 +240,8 @@ await server.WaitAssertion(() =>
for (var i = 0; i < nukies.Length - 1; i++)
{
entMan.DeleteEntity(nukies[i]);
Assert.That(roundEndSys.IsRoundEndRequested, Is.False,
Assert.That(roundEndSys.IsRoundEndRequested,
Is.False,
$"The round ended, but {nukies.Length - i - 1} nukies are still alive!");
}
// Delete the last nukie and make sure the round ends.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
using Content.Server.Body.Systems;
using Content.Server.Station.Systems;
using Content.Shared.Preferences;
using Content.Shared.Roles.Jobs;

namespace Content.IntegrationTests.Tests.Internals;

Expand All @@ -25,10 +24,7 @@ public async Task TestInternalsAutoActivateInSpaceForStationSpawn()
await server.WaitAssertion(() =>
{
var profile = new HumanoidCharacterProfile();
var dummy = stationSpawning.SpawnPlayerMob(testMap.GridCoords, new JobComponent()
{
Prototype = "TestInternalsDummy"
}, profile, station: null);
var dummy = stationSpawning.SpawnPlayerMob(testMap.GridCoords, "TestInternalsDummy", profile, station: null);

Assert.That(atmos.HasAtmosphere(testMap.Grid), Is.False, "Test map has atmosphere - test needs adjustment!");
Assert.That(internals.AreInternalsWorking(dummy), "Internals did not automatically connect!");
Expand Down
21 changes: 9 additions & 12 deletions Content.IntegrationTests/Tests/Minds/MindTests.cs
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
#nullable enable
using System.Linq;
using Content.Server.Ghost;
using Content.Server.Ghost.Roles;
using Content.Server.Ghost.Roles.Components;
using Content.Server.Mind.Commands;
using Content.Server.Players;
using Content.Server.Roles;
using Content.Shared.Damage;
using Content.Shared.Damage.Prototypes;
Expand All @@ -18,7 +16,6 @@
using Robust.Server.GameObjects;
using Robust.Server.Player;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Map;
using Robust.Shared.Prototypes;

Expand Down Expand Up @@ -287,43 +284,43 @@ await server.WaitAssertion(() =>
Assert.Multiple(() =>
{
Assert.That(roleSystem.MindHasRole<TraitorRoleComponent>(mindId), Is.False);
Assert.That(roleSystem.MindHasRole<JobComponent>(mindId), Is.False);
Assert.That(roleSystem.MindHasRole<JobRoleComponent>(mindId), Is.False);
});

var traitorRole = new TraitorRoleComponent();
var traitorRole = "MindRoleTraitor";

roleSystem.MindAddRole(mindId, traitorRole);

Assert.Multiple(() =>
{
Assert.That(roleSystem.MindHasRole<TraitorRoleComponent>(mindId));
Assert.That(roleSystem.MindHasRole<JobComponent>(mindId), Is.False);
Assert.That(roleSystem.MindHasRole<JobRoleComponent>(mindId), Is.False);
});

var jobRole = new JobComponent();
var jobRole = "";

roleSystem.MindAddRole(mindId, jobRole);
roleSystem.MindAddJobRole(mindId, jobPrototype:jobRole);

Assert.Multiple(() =>
{
Assert.That(roleSystem.MindHasRole<TraitorRoleComponent>(mindId));
Assert.That(roleSystem.MindHasRole<JobComponent>(mindId));
Assert.That(roleSystem.MindHasRole<JobRoleComponent>(mindId));
});

roleSystem.MindRemoveRole<TraitorRoleComponent>(mindId);

Assert.Multiple(() =>
{
Assert.That(roleSystem.MindHasRole<TraitorRoleComponent>(mindId), Is.False);
Assert.That(roleSystem.MindHasRole<JobComponent>(mindId));
Assert.That(roleSystem.MindHasRole<JobRoleComponent>(mindId));
});

roleSystem.MindRemoveRole<JobComponent>(mindId);
roleSystem.MindRemoveRole<JobRoleComponent>(mindId);

Assert.Multiple(() =>
{
Assert.That(roleSystem.MindHasRole<TraitorRoleComponent>(mindId), Is.False);
Assert.That(roleSystem.MindHasRole<JobComponent>(mindId), Is.False);
Assert.That(roleSystem.MindHasRole<JobRoleComponent>(mindId), Is.False);
});
});

Expand Down
6 changes: 1 addition & 5 deletions Content.IntegrationTests/Tests/Preferences/LoadoutTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
using Content.Shared.Inventory;
using Content.Shared.Preferences;
using Content.Shared.Preferences.Loadouts;
using Content.Shared.Roles.Jobs;
using Robust.Shared.GameObjects;
using Robust.Shared.Prototypes;

Expand Down Expand Up @@ -68,10 +67,7 @@ await server.WaitAssertion(() =>

profile.SetLoadout(new RoleLoadout("LoadoutTester"));

var tester = stationSystem.SpawnPlayerMob(testMap.GridCoords, job: new JobComponent()
{
Prototype = "LoadoutTester"
}, profile, station: null);
var tester = stationSystem.SpawnPlayerMob(testMap.GridCoords, job: "LoadoutTester", profile, station: null);

var slotQuery = inventorySystem.GetSlotEnumerator(tester);
var checkedCount = 0;
Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Access/Systems/AgentIDCardSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ private void AfterUIOpen(EntityUid uid, AgentIDCardComponent component, AfterAct
if (!TryComp<IdCardComponent>(uid, out var idCard))
return;

var state = new AgentIDCardBoundUserInterfaceState(idCard.FullName ?? "", idCard.JobTitle ?? "", idCard.JobIcon);
var state = new AgentIDCardBoundUserInterfaceState(idCard.FullName ?? "", idCard.LocalizedJobTitle ?? "", idCard.JobIcon);
_uiSystem.SetUiState(uid, AgentIDCardUiKey.Key, state);
}

Expand Down
2 changes: 1 addition & 1 deletion Content.Server/Access/Systems/IdCardConsoleSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ private void UpdateUserInterface(EntityUid uid, IdCardConsoleComponent component
PrivilegedIdIsAuthorized(uid, component),
true,
targetIdComponent.FullName,
targetIdComponent.JobTitle,
targetIdComponent.LocalizedJobTitle,
targetAccessComponent.Tags.ToList(),
possibleAccess,
jobProto,
Expand Down
6 changes: 6 additions & 0 deletions Content.Server/Anomaly/Effects/TechAnomalySystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@ public override void Initialize()
{
base.Initialize();

SubscribeLocalEvent<TechAnomalyComponent, MapInitEvent>(OnTechMapInit);
SubscribeLocalEvent<TechAnomalyComponent, AnomalyPulseEvent>(OnPulse);
SubscribeLocalEvent<TechAnomalyComponent, AnomalySupercriticalEvent>(OnSupercritical);
SubscribeLocalEvent<TechAnomalyComponent, AnomalyStabilityChangedEvent>(OnStabilityChanged);
}

private void OnTechMapInit(Entity<TechAnomalyComponent> ent, ref MapInitEvent args)
{
ent.Comp.NextTimer = _timing.CurTime;
}

public override void Update(float frameTime)
{
base.Update(frameTime);
Expand Down
Loading
Loading