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

Fork sync to latest Wizden updates minus reclaimer removal #44

Merged
merged 115 commits into from
Sep 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
115 commits
Select commit Hold shift + click to select a range
46329a9
cog update (#31631)
Spessmann Aug 29, 2024
572392b
Fix energy shield visuals (#31619)
slarticodefast Aug 30, 2024
3c28f83
Automatic changelog update
PJBot Aug 30, 2024
bdfc57c
Added Armband Onto Back Sprite of Security Jumpsuit (#31635)
DieselMohawk Aug 30, 2024
37b7354
Automatic changelog update
PJBot Aug 30, 2024
dce0ce4
Add SpriteFadeComponent to potted plants (#31628)
Winkarst-cpu Aug 30, 2024
4655919
Automatic changelog update
PJBot Aug 30, 2024
72832bf
Meteor rock debuff (#31651)
AutoOtter Aug 30, 2024
9183c50
Automatic changelog update
PJBot Aug 30, 2024
849d3d9
Fix test threading (#31669)
metalgearsloth Aug 31, 2024
9685abe
Fix revenant being blocked by walls (#31670)
slarticodefast Aug 31, 2024
f5f777b
Automatic changelog update
PJBot Aug 31, 2024
8ca4337
Update submodule to 233.0.0 (#31673)
metalgearsloth Aug 31, 2024
2d43bb6
Fix broken tests directly mutating entities from wrong thread. (#31647)
PJB3005 Aug 31, 2024
18f5a0d
Fix AI singulo shenanigans (#31556)
metalgearsloth Aug 31, 2024
2ae23bc
Update submodule to 233.0.1 (#31676)
metalgearsloth Aug 31, 2024
f22db1f
Automatic changelog update
PJBot Aug 31, 2024
99db9ea
Fix suicide logs (#31661)
nikthechampiongr Aug 31, 2024
5ab065f
Automatic changelog update
PJBot Aug 31, 2024
494024d
More ItemTogglePointLight fixes (#31655)
slarticodefast Aug 31, 2024
4435ccd
Automatic changelog update
PJBot Aug 31, 2024
9a63144
Allow for respawn and erase verb to be used on offline players. Also …
nikthechampiongr Aug 31, 2024
8dbaca3
Automatic changelog update
PJBot Aug 31, 2024
417d3a8
Station Anchor (#26098)
juliangiebel Aug 31, 2024
dca3192
Automatic changelog update
PJBot Aug 31, 2024
0d51839
Remove fake centcom stuff (#30747)
lzk228 Aug 31, 2024
d27fb41
Make the trading outpost stationary (#31681)
IProduceWidgets Aug 31, 2024
7083d48
bagel update (#31682)
Emisse Aug 31, 2024
b21c1b7
medical lockers no longer have belts in them. (#31470)
Moomoobeef Aug 31, 2024
123d66d
Automatic changelog update
PJBot Aug 31, 2024
c88666c
Salvage Equipment Rebalance [Reclaimer Removal] (#31333)
EmoGarbage404 Aug 31, 2024
5c780e4
Automatic changelog update
PJBot Aug 31, 2024
760254a
Adds flavors to a bunch of things without them (#31685)
Moomoobeef Sep 1, 2024
b6a6c35
Automatic changelog update
PJBot Sep 1, 2024
5df3454
Update Credits (#31692)
github-actions[bot] Sep 1, 2024
f9a722a
Test parallelization stuff. (#31650)
PJB3005 Sep 1, 2024
2f4c3dd
Update StackSystem and add SpawnMultiple targeting EntityUid (#29686)
ShadowCommander Sep 1, 2024
528fb4a
Quick warning fixes (#31694)
PJB3005 Sep 1, 2024
ff4c347
Remove always false checks (#31708)
Winkarst-cpu Sep 1, 2024
88dcc83
Remove calls to FormattedMessage obsolete methods (#31706)
Winkarst-cpu Sep 1, 2024
db9a07c
remove misinformation from tip 26 (#31705)
Ilya246 Sep 1, 2024
cdc47db
Automatic changelog update
PJBot Sep 1, 2024
373041c
Replace obsolete code in AnomalySystem.Generator.cs (#31718)
Errant-4 Sep 1, 2024
0d92c5a
Added cursor indicator for space dragon fire breath ability (#31725)
godisdeadLOL Sep 1, 2024
d11a8e3
Automatic changelog update
PJBot Sep 1, 2024
89df427
small yml cleanup (#31720)
lzk228 Sep 1, 2024
a18e895
Updates descriptions of station specific jobs. (#31713)
Boaz1111 Sep 1, 2024
3414abb
Remove unused IoC dependency references. (#31704)
Mervill Sep 1, 2024
551c978
cleanup filing cabinets yml (#31211)
lzk228 Sep 1, 2024
49e0933
Move IgnitionEvent to shared (#30985)
DrSmugleaf Sep 2, 2024
7b82317
Cleanup railings yml (#31618)
lzk228 Sep 2, 2024
f710b34
Roundstart Grappling Gun (#31737)
EmoGarbage404 Sep 2, 2024
6712724
Automatic changelog update
PJBot Sep 2, 2024
a112c24
Added in-hand sprite for Smile the Slime (#31731)
godisdeadLOL Sep 2, 2024
a4333da
Lite Magnet Rebalancing (#31726)
EmoGarbage404 Sep 2, 2024
aab4556
Adds a salvage jobspawn to reach (#31712)
Boaz1111 Sep 2, 2024
265feeb
Devmap crew monitor fix (#31677)
Errant-4 Sep 2, 2024
440845b
updated cog (#31699)
Spessmann Sep 2, 2024
738e0cf
Automatic changelog update
PJBot Sep 2, 2024
9a51d37
Add ERT time stats (#31629)
poeMota Sep 2, 2024
e266a6f
Automatic changelog update
PJBot Sep 2, 2024
1e4220b
box update (#31741)
Emisse Sep 2, 2024
d1f882e
fland update (#31742)
Emisse Sep 2, 2024
36943dd
marathon update (#31743)
Emisse Sep 2, 2024
f94d84c
meta update (#31744)
Emisse Sep 2, 2024
972e0e8
omega update (#31745)
Emisse Sep 2, 2024
6ce2e64
packed update (#31746)
Emisse Sep 2, 2024
7de79fb
bagel update (#31748)
Emisse Sep 2, 2024
05d29c8
Fix CS0642 - Possible mistaken empty statement (#31740)
Mervill Sep 2, 2024
63ad627
Throw the book at em! The space law book now does 1 blunt projectile …
Moomoobeef Sep 2, 2024
ef1fadf
Replace instances of SolutionContainerSystem with SharedSolutionConta…
Cojoke-dot Sep 2, 2024
7820110
Add Donk Co. microwave board to Combat Bakery Kit (#31239)
themias Sep 2, 2024
10877eb
Automatic changelog update
PJBot Sep 2, 2024
a25132e
Actions bar dynamic resizing (#31759)
godisdeadLOL Sep 2, 2024
0c83b19
Automatic changelog update
PJBot Sep 2, 2024
de13ff9
Fix warnings related to non-exhaustive pattern matching. (#31763)
Mervill Sep 2, 2024
ee5ebef
ats update (#31766)
Emisse Sep 3, 2024
34c90cf
Ninja throwing star ability fix (#31684)
godisdeadLOL Sep 3, 2024
7a6eb4c
Automatic changelog update
PJBot Sep 3, 2024
2914389
Oasis Update (AI) (#31767)
IProduceWidgets Sep 3, 2024
7040f2f
Remove duplicate using from FoodSystem (#31769)
Mervill Sep 3, 2024
6c8f85a
added AI to cog (#31772)
Spessmann Sep 3, 2024
58cc6b2
boxstation AI update (#31771)
Flareguy Sep 3, 2024
77c759e
Update Core (#31774)
UbaserB Sep 3, 2024
f7ea8bc
Oasis Update. I forgor law boards (#31775)
IProduceWidgets Sep 3, 2024
301fc31
vox voices revamp (#31679)
Errant-4 Sep 3, 2024
0d460de
Automatic changelog update
PJBot Sep 3, 2024
0583a5d
bagel update (#31778)
Emisse Sep 3, 2024
93728e4
fixed broken pipe sprites (#31773)
Moomoobeef Sep 3, 2024
0c01876
Return Long2 and Long3 hairstyles (#30963)
JustArt1m Sep 3, 2024
54d1d3b
Automatic changelog update
PJBot Sep 3, 2024
7832436
Added many old ion lawsets for borgs and AI. (#31664)
ScarKy0 Sep 3, 2024
bc06179
Automatic changelog update
PJBot Sep 3, 2024
a5d7bf4
bagel update (#31783)
Emisse Sep 3, 2024
6290377
lox update (#31784)
Emisse Sep 3, 2024
aaae1f1
Meta (#31785)
Emisse Sep 3, 2024
c8e59eb
Add Snails (#30765)
IProduceWidgets Sep 3, 2024
e2e8f7e
Automatic changelog update
PJBot Sep 3, 2024
894d498
Remove testbed command (#31793)
metalgearsloth Sep 3, 2024
6380a9a
feat: now when research is unlocked in console, approver of reasearch…
Fildrance Sep 3, 2024
03869ce
Automatic changelog update
PJBot Sep 3, 2024
cb88750
New chemical based artifact nodes (#30873)
Lyroth001 Sep 3, 2024
23a5fc4
Automatic changelog update
PJBot Sep 3, 2024
aaed026
Add Red Neck Gaiter To Secdrobe (#30106)
DieselMohawk Sep 3, 2024
6502b4e
Automatic changelog update
PJBot Sep 3, 2024
2031d57
fland update (#31803)
Emisse Sep 3, 2024
c23857d
marathon update (#31804)
Emisse Sep 3, 2024
bb42525
meta update (#31805)
Emisse Sep 3, 2024
8de83d8
Bagel (#31806)
Emisse Sep 3, 2024
b91a648
omega update (#31808)
Emisse Sep 3, 2024
c1614a8
packed update (#31807)
Emisse Sep 3, 2024
3c38f04
Fixed typos (#31811)
ScarKy0 Sep 3, 2024
0f1d852
Automatic changelog update
PJBot Sep 3, 2024
6068c23
Station AI has their name displayed in announcements now. (#31802)
ScarKy0 Sep 3, 2024
4239c54
Automatic changelog update
PJBot Sep 3, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Content.Shared.Administration.Notes;
using Content.Shared.Administration.Notes;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.XAML;
Expand All @@ -13,7 +13,7 @@ public AdminMessagePopupMessage(AdminMessageEuiState.Message message)
{
RobustXamlLoader.Load(this);

Admin.SetMessage(FormattedMessage.FromMarkup(Loc.GetString(
Admin.SetMessage(FormattedMessage.FromMarkupOrThrow(Loc.GetString(
"admin-notes-message-admin",
("admin", message.AdminName),
("date", message.AddedOn.ToLocalTime()))));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void SetState(AdminMessageEuiState state)
MessageContainer.AddChild(new AdminMessagePopupMessage(message));
}

Description.SetMessage(FormattedMessage.FromMarkup(Loc.GetString("admin-notes-message-desc", ("count", state.Messages.Length))));
Description.SetMessage(FormattedMessage.FromMarkupOrThrow(Loc.GetString("admin-notes-message-desc", ("count", state.Messages.Length))));
}

private void OnDismissButtonPressed(BaseButton.ButtonEventArgs obj)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public void ReceiveLine(SharedBwoinkSystem.BwoinkTextMessage message)
Unread++;

var formatted = new FormattedMessage(1);
formatted.AddMarkup($"[color=gray]{message.SentAt.ToShortTimeString()}[/color] {message.Text}");
formatted.AddMarkupOrThrow($"[color=gray]{message.SentAt.ToShortTimeString()}[/color] {message.Text}");
TextOutput.AddMessage(formatted);
LastMessage = message.SentAt;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
using Content.Shared.Anomaly;
using Content.Shared.Gravity;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.UserInterface;

namespace Content.Client.Anomaly.Ui;
Expand Down
4 changes: 2 additions & 2 deletions Content.Client/Changelog/ChangelogTab.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,13 +131,13 @@ public void PopulateChangelog(ChangelogManager.Changelog changelog)
Margin = new Thickness(6, 0, 0, 0),
};
authorLabel.SetMessage(
FormattedMessage.FromMarkup(Loc.GetString("changelog-author-changed", ("author", author))));
FormattedMessage.FromMarkupOrThrow(Loc.GetString("changelog-author-changed", ("author", author))));
ChangelogBody.AddChild(authorLabel);

foreach (var change in groupedEntry.SelectMany(c => c.Changes))
{
var text = new RichTextLabel();
text.SetMessage(FormattedMessage.FromMarkup(change.Message));
text.SetMessage(FormattedMessage.FromMarkupOrThrow(change.Message));
ChangelogBody.AddChild(new BoxContainer
{
Orientation = LayoutOrientation.Horizontal,
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Chat/UI/SpeechBubble.cs
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ protected FormattedMessage FormatSpeech(string message, Color? fontColor = null)
var msg = new FormattedMessage();
if (fontColor != null)
msg.PushColor(fontColor.Value);
msg.AddMarkup(message);
msg.AddMarkupOrThrow(message);
return msg;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using System.Linq;
using Content.Client.Chemistry.Containers.EntitySystems;
using Content.Shared.Chemistry.EntitySystems;
using Content.Shared.Atmos.Prototypes;
using Content.Shared.Body.Part;
using Content.Shared.Chemistry;
Expand All @@ -16,7 +16,7 @@ namespace Content.Client.Chemistry.EntitySystems;
/// <inheritdoc/>
public sealed class ChemistryGuideDataSystem : SharedChemistryGuideDataSystem
{
[Dependency] private readonly SolutionContainerSystem _solutionContainer = default!;
[Dependency] private readonly SharedSolutionContainerSystem _solutionContainer = default!;

[ValidatePrototypeId<MixingCategoryPrototype>]
private const string DefaultMixingCategory = "DummyMix";
Expand Down
1 change: 0 additions & 1 deletion Content.Client/Clothing/ClientClothingSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public sealed class ClientClothingSystem : ClothingSystem
};

[Dependency] private readonly IResourceCache _cache = default!;
[Dependency] private readonly ISerializationManager _serialization = default!;
[Dependency] private readonly InventorySystem _inventorySystem = default!;
[Dependency] private readonly DisplacementMapSystem _displacement = default!;

Expand Down
2 changes: 0 additions & 2 deletions Content.Client/Commands/ActionsCommands.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
using Content.Client.Actions;
using Content.Client.Actions;
using Content.Client.Mapping;
using Content.Shared.Administration;
using Robust.Shared.Console;

Expand Down
1 change: 0 additions & 1 deletion Content.Client/Commands/MappingClientSideSetupCommand.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ internal sealed class MappingClientSideSetupCommand : LocalizedCommands
{
[Dependency] private readonly IEntitySystemManager _entitySystemManager = default!;
[Dependency] private readonly ILightManager _lightManager = default!;
[Dependency] private readonly IStateManager _stateManager = default!;

public override string Command => "mappingclientsidesetup";

Expand Down
2 changes: 0 additions & 2 deletions Content.Client/Computer/ComputerBoundUserInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@ namespace Content.Client.Computer
[Virtual]
public class ComputerBoundUserInterface<TWindow, TState> : ComputerBoundUserInterfaceBase where TWindow : BaseWindow, IComputerWindow<TState>, new() where TState : BoundUserInterfaceState
{
[Dependency] private readonly IDynamicTypeFactory _dynamicTypeFactory = default!;

[ViewVariables]
private TWindow? _window;

Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Credits/CreditsWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ void AddSection(string title, string path, bool markup = false)
var text = _resourceManager.ContentFileReadAllText($"/Credits/{path}");
if (markup)
{
label.SetMessage(FormattedMessage.FromMarkup(text.Trim()));
label.SetMessage(FormattedMessage.FromMarkupOrThrow(text.Trim()));
}
else
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ private void PopulateRecordContainer(GeneralStationRecord stationRecord, Crimina
StatusOptionButton.SelectId((int) criminalRecord.Status);
if (criminalRecord.Reason is {} reason)
{
var message = FormattedMessage.FromMarkup(Loc.GetString("criminal-records-console-wanted-reason"));
var message = FormattedMessage.FromMarkupOrThrow(Loc.GetString("criminal-records-console-wanted-reason"));
message.AddText($": {reason}");
WantedReason.SetMessage(message);
WantedReason.Visible = true;
Expand Down
5 changes: 3 additions & 2 deletions Content.Client/Gravity/GravitySystem.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
using Content.Shared.Gravity;
using Content.Shared.Power;
using Robust.Client.GameObjects;

namespace Content.Client.Gravity;
Expand All @@ -21,7 +22,7 @@ private void OnAppearanceChange(EntityUid uid, SharedGravityGeneratorComponent c
if (args.Sprite == null)
return;

if (_appearanceSystem.TryGetData<GravityGeneratorStatus>(uid, GravityGeneratorVisuals.State, out var state, args.Component))
if (_appearanceSystem.TryGetData<PowerChargeStatus>(uid, PowerChargeVisuals.State, out var state, args.Component))
{
if (comp.SpriteMap.TryGetValue(state, out var spriteState))
{
Expand All @@ -30,7 +31,7 @@ private void OnAppearanceChange(EntityUid uid, SharedGravityGeneratorComponent c
}
}

if (_appearanceSystem.TryGetData<float>(uid, GravityGeneratorVisuals.Charge, out var charge, args.Component))
if (_appearanceSystem.TryGetData<float>(uid, PowerChargeVisuals.Charge, out var charge, args.Component))
{
var layer = args.Sprite.LayerMapGet(GravityGeneratorVisualLayers.Core);
switch (charge)
Expand Down
38 changes: 0 additions & 38 deletions Content.Client/Gravity/UI/GravityGeneratorBoundUserInterface.cs

This file was deleted.

75 changes: 0 additions & 75 deletions Content.Client/Gravity/UI/GravityGeneratorWindow.xaml.cs

This file was deleted.

6 changes: 3 additions & 3 deletions Content.Client/Guidebook/Controls/GuideReagentEmbed.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ private void GenerateControl(ReagentPrototype reagent)
var i = 0;
foreach (var effectString in effect.EffectDescriptions)
{
descMsg.AddMarkup(effectString);
descMsg.AddMarkupOrThrow(effectString);
i++;
if (i < descriptionsCount)
descMsg.PushNewline();
Expand Down Expand Up @@ -174,7 +174,7 @@ private void GenerateControl(ReagentPrototype reagent)
var i = 0;
foreach (var effectString in guideEntryRegistryPlant.PlantMetabolisms)
{
descMsg.AddMarkup(effectString);
descMsg.AddMarkupOrThrow(effectString);
i++;
if (i < descriptionsCount)
descMsg.PushNewline();
Expand All @@ -195,7 +195,7 @@ private void GenerateControl(ReagentPrototype reagent)
FormattedMessage description = new();
description.AddText(reagent.LocalizedDescription);
description.PushNewline();
description.AddMarkup(Loc.GetString("guidebook-reagent-physical-description",
description.AddMarkupOrThrow(Loc.GetString("guidebook-reagent-physical-description",
("description", reagent.LocalizedPhysicalDescription)));
ReagentDescription.SetMessage(description);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ private void SetReagents(Dictionary<string, FixedPoint2> reagents, ref RichTextL
var i = 0;
foreach (var (product, amount) in reagents.OrderByDescending(p => p.Value))
{
msg.AddMarkup(Loc.GetString("guidebook-reagent-recipes-reagent-display",
msg.AddMarkupOrThrow(Loc.GetString("guidebook-reagent-recipes-reagent-display",
("reagent", protoMan.Index<ReagentPrototype>(product).LocalizedName), ("ratio", amount)));
i++;
if (i < reagentCount)
Expand Down
4 changes: 2 additions & 2 deletions Content.Client/Info/InfoSection.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Robust.Client.AutoGenerated;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;
using Robust.Shared.Utility;
Expand All @@ -18,7 +18,7 @@ public void SetText(string title, string text, bool markup = false)
{
TitleLabel.Text = title;
if (markup)
Content.SetMessage(FormattedMessage.FromMarkup(text.Trim()));
Content.SetMessage(FormattedMessage.FromMarkupOrThrow(text.Trim()));
else
Content.SetMessage(text);
}
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Info/ServerInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public ServerInfo()
}
public void SetInfoBlob(string markup)
{
_richTextLabel.SetMessage(FormattedMessage.FromMarkup(markup));
_richTextLabel.SetMessage(FormattedMessage.FromMarkupOrThrow(markup));
}
}
}
3 changes: 0 additions & 3 deletions Content.Client/Light/Components/LightBehaviourComponent.cs
Original file line number Diff line number Diff line change
Expand Up @@ -359,9 +359,6 @@ void ISerializationHooks.AfterDeserialization()
[RegisterComponent]
public sealed partial class LightBehaviourComponent : SharedLightBehaviourComponent, ISerializationHooks
{
[Dependency] private readonly IEntityManager _entMan = default!;
[Dependency] private readonly IRobustRandom _random = default!;

public const string KeyPrefix = nameof(LightBehaviourComponent);

public sealed class AnimationContainer
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ namespace Content.Client.MachineLinking.UI;

public sealed class SignalTimerBoundUserInterface : BoundUserInterface
{
[Dependency] private readonly IGameTiming _gameTiming = default!;

[ViewVariables]
private SignalTimerWindow? _window;

Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Message/RichTextLabelExt.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public static class RichTextLabelExt
/// </remarks>
public static RichTextLabel SetMarkup(this RichTextLabel label, string markup)
{
label.SetMessage(FormattedMessage.FromMarkup(markup));
label.SetMessage(FormattedMessage.FromMarkupOrThrow(markup));
return label;
}

Expand Down
Loading
Loading