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

Upstream sync #1473

Merged
merged 110 commits into from
Oct 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
110 commits
Select commit Hold shift + click to select a range
2f4b2cc
Add active and ended game rule components, generic TryRoundStartAttem…
DrSmugleaf Sep 28, 2023
5d82197
bartender suit (#20521)
Skarletto Sep 28, 2023
c2771c2
Necropolis and mine walls (#20578)
NULL882 Sep 28, 2023
b81ae43
Automatic changelog update
PJBot Sep 28, 2023
d348096
archaic accent tweaks (#20567)
lunarcomets Sep 28, 2023
8aa0aff
Automatic changelog update
PJBot Sep 28, 2023
72b1d66
Add confirmation to kick and respawn in the admin player actions pane…
DrSmugleaf Sep 28, 2023
9040445
Remove windows-latest CI runs, remove unused build-test-release.yml (…
DrSmugleaf Sep 28, 2023
1d99a68
Change .editorconfig to keep existing attribute arrangement (#20538)
DrSmugleaf Sep 28, 2023
bcad37f
Automatic changelog update
PJBot Sep 28, 2023
14cfe44
Catch replay start and end errors on round restarts (#20565)
DrSmugleaf Sep 28, 2023
a44fa86
Update trivial components to use auto comp states (#20539)
DrSmugleaf Sep 28, 2023
f985e7d
Fix role unbans not applying in real time (#20547)
DrSmugleaf Sep 28, 2023
be61cca
Disable AHelp buttons when no player is selected, update button styli…
DrSmugleaf Sep 28, 2023
3477349
Automatic changelog update
PJBot Sep 28, 2023
c06586f
Added a toggle fullscreen button (default F11) (#20272)
micr0-dev Sep 28, 2023
e6956bf
Automatic changelog update
PJBot Sep 28, 2023
d257837
Fix not networking markings (#20588)
DrSmugleaf Sep 29, 2023
4adc2ae
Automatic changelog update
PJBot Sep 29, 2023
31af0fc
Update RobustToolbox to v162.2.1 (#20590)
DrSmugleaf Sep 29, 2023
6c8e79a
Automatic changelog update
PJBot Sep 29, 2023
80f36ea
Glorfcode (force say on damage/stun/crit) (#20562)
mirrorcult Sep 29, 2023
072db2d
Automatic changelog update
PJBot Sep 29, 2023
445e6aa
Fix AHelp progressively showing more AHelp panels (#20591)
DrSmugleaf Sep 29, 2023
d664c90
Automatic changelog update
PJBot Sep 29, 2023
9060521
caninsert entitystorage tweaks (#20589)
EmoGarbage404 Sep 29, 2023
0da2cd9
Automatic changelog update
PJBot Sep 29, 2023
101ee6e
Fix mapping actions crashing on load (#20592)
DrSmugleaf Sep 29, 2023
1dc1c8f
Fix loading a map with a ThirstComponent crashing the game (#20594)
DrSmugleaf Sep 29, 2023
4313a6e
Fix electrocution displaying real name of disguised players (#20603)
casperr04 Sep 29, 2023
290c2fd
Organ fixes (#20488)
metalgearsloth Sep 29, 2023
10ce0e3
Automatic changelog update
PJBot Sep 29, 2023
fbbb8fd
Kettle medical rework (#20435)
TsjipTsjip Sep 29, 2023
812b8ff
Automatic changelog update
PJBot Sep 29, 2023
0bb8c22
Added blocked visuals to volumetric pump (#20610)
daerSeebaer Sep 30, 2023
4a884cd
Automatic changelog update
PJBot Sep 30, 2023
3a196a1
Move TimedDespawn to engine (#20515)
metalgearsloth Sep 30, 2023
ca64217
Update submodule to 163.0.0 (#20616)
metalgearsloth Sep 30, 2023
379de4b
Remove v0.1 version number from local main menu screen (#20617)
DrSmugleaf Sep 30, 2023
2f11a74
Remove cloneData parameter from AutoNetworkedField (#20596)
DrSmugleaf Sep 30, 2023
bcb79ef
Update submodule to 164.0.0 (#20618)
metalgearsloth Sep 30, 2023
0fafd98
fix cognizine ghost role (#20632)
deltanedas Sep 30, 2023
0b6c5c7
Automatic changelog update
PJBot Sep 30, 2023
7d4172f
Move ID layer one pixel to correct alignment (#20630)
FluffiestFloof Sep 30, 2023
0a601a4
Update nukie hardsuit descriptions (#20529)
Flareguy Sep 30, 2023
d035c28
Make holofans destructable (#20445)
EmoGarbage404 Sep 30, 2023
6f6f9eb
Automatic changelog update
PJBot Sep 30, 2023
54851fa
bowl is open (#20453)
deltanedas Sep 30, 2023
5164107
Add TestPair.WaitCommand() (#20615)
ElectroJr Sep 30, 2023
3f349ee
Rename ThreatPrototype and mark fields as required (#20611)
ElectroJr Sep 30, 2023
007db25
Adjust hard bomb shape (#20608)
Partmedia Sep 30, 2023
94a11f2
dragon refactor, objectives and use GenericAntag (#20201)
deltanedas Sep 30, 2023
b9db1eb
Automatic changelog update
PJBot Sep 30, 2023
574b2a9
Added generic empty liquids tank (#20563)
drteaspoon420 Sep 30, 2023
585ab5c
Move view variables verb to the top of the list with no category and …
DrSmugleaf Sep 30, 2023
1eb2b90
saltern update (#20325)
deltanedas Sep 30, 2023
e5c85ee
Fix followers leaking (#20643)
metalgearsloth Oct 1, 2023
2ad9ae6
Add Winter Boots (#20622)
UbaserB Oct 1, 2023
063c9aa
Add QM mantle (#20621)
UbaserB Oct 1, 2023
0149814
Automatic changelog update
PJBot Oct 1, 2023
9c42fa6
Slime mobs breathe nitrogen and resprite their organs (#20577)
Nimfar11 Oct 1, 2023
8c31cec
Automatic changelog update
PJBot Oct 1, 2023
4f37914
Fix the new lizard horn's consistency + issue (#20620)
UbaserB Oct 1, 2023
f72e018
Add RandomHumanoidAppearance component to for space ninjas (#20605)
casperr04 Oct 1, 2023
6f7bdc8
Automatic changelog update
PJBot Oct 1, 2023
ed4da2b
Space cat breathes space (#20550)
TexCruize Oct 1, 2023
a6e7844
Automatic changelog update
PJBot Oct 1, 2023
45db770
Wide anomaly locator (#20581)
TheShuEd Oct 1, 2023
bf7c979
Automatic changelog update
PJBot Oct 1, 2023
c61d684
Fixed Telescopic Shield Lighting (#20650)
michaelcu Oct 1, 2023
81461ea
Automatic changelog update
PJBot Oct 1, 2023
f5644eb
Add a special hardsuit for nukie medic (#20471)
EmoGarbage404 Oct 1, 2023
a0699cf
Automatic changelog update
PJBot Oct 1, 2023
b5117f6
Carry over other mutations when doing species mutation (#20551)
drteaspoon420 Oct 1, 2023
427018c
Automatic changelog update
PJBot Oct 1, 2023
14fedfe
Add Spanish accent to poncho and sombrero (#20377)
ravage123321 Oct 1, 2023
b842061
Butcher pig for bacon and bacon cooking (#20657)
deltanedas Oct 1, 2023
fcdedb3
Practice Ammunition Tech (#20331)
Nairodian Oct 1, 2023
d832008
Automatic changelog update
PJBot Oct 1, 2023
34d4e98
Fix for [20593] (#20663)
Jezithyr Oct 1, 2023
d15b7df
Advanced treatment cyborg module for medical borg (#19667)
Nimfar11 Oct 1, 2023
dfda2db
Sericulture fixes (#19193)
PixelTheKermit Oct 1, 2023
ca6a0fb
Automatic changelog update
PJBot Oct 1, 2023
31e7a9b
Adds vending restocks for ChefVend and Condiment Stations (#19305)
IamVelcroboy Oct 1, 2023
824484c
Automatic changelog update
PJBot Oct 1, 2023
fc034dd
Remove SpreaderNodeGroup (#20230)
ElectroJr Oct 1, 2023
d04a58f
Fix prying door hacking protections (#20664)
chromiumboy Oct 1, 2023
0527aad
Automatic changelog update
PJBot Oct 1, 2023
fc6ffb1
Boot Smallarms (#20062)
Nairodian Oct 1, 2023
65426fb
Automatic changelog update
PJBot Oct 1, 2023
34a8740
Merge remote-tracking branch 'upstream/master' into upstream-sync
Morb0 Oct 1, 2023
0911134
Fix speaker color
Morb0 Oct 1, 2023
4203c37
Remove corvax qm mantle
Morb0 Oct 1, 2023
ab3b524
Extract locale
Morb0 Oct 1, 2023
e010b12
Update locale
Morb0 Oct 1, 2023
3488e57
Electric grill (#20661)
deltanedas Oct 2, 2023
5df3339
Automatic changelog update
PJBot Oct 2, 2023
716fea9
Packed records computer changes (#20667)
JustCone14 Oct 2, 2023
dbbeb9b
Replace paramedic with medical windoor (#20653)
TsjipTsjip Oct 2, 2023
56c306f
Rename power infra on cluster (#20655)
TsjipTsjip Oct 2, 2023
66c5549
Rename power infra on omega station (#20654)
TsjipTsjip Oct 2, 2023
149c494
Fix powered door prying popup (#20669)
chromiumboy Oct 2, 2023
10c2db4
New Kobold Ears marking for lizards (#20672)
UbaserB Oct 2, 2023
c13f6ff
Automatic changelog update
PJBot Oct 2, 2023
9b06e52
Fix sericulture (#20673)
metalgearsloth Oct 2, 2023
f0bd861
actually add jug to medfab (#20679)
deltanedas Oct 2, 2023
c988f21
Temperature refactor (#20662)
deltanedas Oct 2, 2023
2046506
Merge remote-tracking branch 'upstream/master' into upstream-sync
Morb0 Oct 2, 2023
7ab8063
Extract locale
Morb0 Oct 2, 2023
705ba6a
Update locale
Morb0 Oct 2, 2023
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
  •  
  •  
  •  
3 changes: 2 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ csharp_preserve_single_line_blocks = true
#dotnet_naming_style.begins_with_i.word_separator =
#dotnet_naming_style.begins_with_i.capitalization = pascal_case

dotnet_diagnostic.IDE0055.severity = warning
dotnet_diagnostic.ide0055.severity = warning

dotnet_naming_rule.constants_rule.severity = warning
dotnet_naming_rule.constants_rule.style = upper_camel_case_style
Expand Down Expand Up @@ -336,6 +336,7 @@ dotnet_naming_symbols.type_parameters_symbols.applicable_kinds = type_parameter

# ReSharper properties
resharper_braces_for_ifelse = required_for_multiline
resharper_keep_existing_attribute_arrangement = true

[*.{csproj,xml,yml,dll.config,msbuildproj,targets}]
indent_size = 2
2 changes: 1 addition & 1 deletion .github/workflows/build-map-renderer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
if: github.actor != 'PJBot' && github.event.pull_request.draft == false
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-test-debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
if: github.actor != 'IanComradeBot' && github.event.pull_request.draft == false
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest]

runs-on: ${{ matrix.os }}

Expand Down
62 changes: 0 additions & 62 deletions .github/workflows/build-test-release.yml

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Content.Shared.Access;
using Content.Shared.Access.Components;
using Content.Shared.Access.Systems;
using Content.Shared.Containers.ItemSlots;
using Robust.Client.GameObjects;
using Robust.Shared.Prototypes;
using static Content.Shared.Access.Components.AccessOverriderComponent;

Expand All @@ -23,7 +23,7 @@ protected override void Open()
{
base.Open();

List<string> accessLevels;
List<ProtoId<AccessLevelPrototype>> accessLevels;

if (EntMan.TryGetComponent<AccessOverriderComponent>(Owner, out var accessOverrider))
{
Expand All @@ -33,7 +33,7 @@ protected override void Open()

else
{
accessLevels = new List<string>();
accessLevels = new List<ProtoId<AccessLevelPrototype>>();
_accessOverriderSystem.Log.Error($"No AccessOverrider component found for {EntMan.ToPrettyString(Owner)}!");
}

Expand Down
4 changes: 2 additions & 2 deletions Content.Client/Access/UI/AccessOverriderWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public sealed partial class AccessOverriderWindow : DefaultWindow
private readonly Dictionary<string, Button> _accessButtons = new();

public AccessOverriderWindow(AccessOverriderBoundUserInterface owner, IPrototypeManager prototypeManager,
List<string> accessLevels)
List<ProtoId<AccessLevelPrototype>> accessLevels)
{
RobustXamlLoader.Load(this);
IoCManager.InjectDependencies(this);
Expand All @@ -31,7 +31,7 @@ public AccessOverriderWindow(AccessOverriderBoundUserInterface owner, IPrototype

foreach (var access in accessLevels)
{
if (!prototypeManager.TryIndex<AccessLevelPrototype>(access, out var accessLevel))
if (!prototypeManager.TryIndex(access, out var accessLevel))
{
_logMill.Error($"Unable to find accesslevel for {access}");
continue;
Expand Down
6 changes: 3 additions & 3 deletions Content.Client/Access/UI/IdCardConsoleBoundUserInterface.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Content.Shared.Access;
using Content.Shared.Access.Components;
using Content.Shared.Access.Systems;
using Content.Shared.Containers.ItemSlots;
using Content.Shared.CrewManifest;
using Robust.Client.GameObjects;
using Robust.Shared.Prototypes;
using static Content.Shared.Access.Components.IdCardConsoleComponent;

Expand All @@ -23,7 +23,7 @@ public IdCardConsoleBoundUserInterface(EntityUid owner, Enum uiKey) : base(owner
protected override void Open()
{
base.Open();
List<string> accessLevels;
List<ProtoId<AccessLevelPrototype>> accessLevels;

if (EntMan.TryGetComponent<IdCardConsoleComponent>(Owner, out var idCard))
{
Expand All @@ -32,7 +32,7 @@ protected override void Open()
}
else
{
accessLevels = new List<string>();
accessLevels = new List<ProtoId<AccessLevelPrototype>>();
_idCardConsoleSystem.Log.Error($"No IdCardConsole component found for {EntMan.ToPrettyString(Owner)}!");
}

Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Access/UI/IdCardConsoleWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public sealed partial class IdCardConsoleWindow : DefaultWindow
private string? _lastJobProto;

public IdCardConsoleWindow(IdCardConsoleBoundUserInterface owner, IPrototypeManager prototypeManager,
List<string> accessLevels)
List<ProtoId<AccessLevelPrototype>> accessLevels)
{
RobustXamlLoader.Load(this);
IoCManager.InjectDependencies(this);
Expand Down
5 changes: 2 additions & 3 deletions Content.Client/Administration/Systems/AdminVerbSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,9 @@ private void AddAdminVerbs(GetVerbsEvent<Verb> args)
// View variables verbs
if (_clientConGroupController.CanViewVar())
{
Verb verb = new()
var verb = new VvVerb()
{
Category = VerbCategory.Debug,
Text = "View Variables",
Text = Loc.GetString("view-variables"),
Icon = new SpriteSpecifier.Texture(new ("/Textures/Interface/VerbIcons/vv.svg.192dpi.png")),
Act = () => _clientConsoleHost.ExecuteCommand($"vv {GetNetEntity(args.Target)}"),
ClientExclusive = true // opening VV window is client-side. Don't ask server to run this verb.
Expand Down
59 changes: 59 additions & 0 deletions Content.Client/Administration/UI/AdminUIHelpers.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
using System.Threading;
using Content.Client.Stylesheets;
using Robust.Client.UserInterface.Controls;
using Timer = Robust.Shared.Timing.Timer;

namespace Content.Client.Administration.UI;

public static class AdminUIHelpers
{
private static void ResetButton(Button button, ConfirmationData data)
{
data.Cancellation.Cancel();
button.ModulateSelfOverride = null;
button.Text = data.OriginalText;
}

public static bool RemoveConfirm(Button button, Dictionary<Button, ConfirmationData> confirmations)
{
if (confirmations.Remove(button, out var data))
{
ResetButton(button, data);
return true;
}

return false;
}

public static void RemoveAllConfirms(Dictionary<Button, ConfirmationData> confirmations)
{
foreach (var (button, confirmation) in confirmations)
{
ResetButton(button, confirmation);
}

confirmations.Clear();
}

public static bool TryConfirm(Button button, Dictionary<Button, ConfirmationData> confirmations)
{
if (RemoveConfirm(button, confirmations))
return true;

var data = new ConfirmationData(new CancellationTokenSource(), button.Text);
confirmations[button] = data;

Timer.Spawn(TimeSpan.FromSeconds(5), () =>
{
confirmations.Remove(button);
button.ModulateSelfOverride = null;
button.Text = data.OriginalText;
}, data.Cancellation.Token);

button.ModulateSelfOverride = StyleNano.ButtonColorCautionDefault;
button.Text = Loc.GetString("admin-player-actions-confirm");
return false;
}
}

public readonly record struct ConfirmationData(CancellationTokenSource Cancellation, string? OriginalText);
17 changes: 9 additions & 8 deletions Content.Client/Administration/UI/Bwoink/BwoinkControl.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,15 @@
<cc:PlayerListControl Access="Public" Name="ChannelSelector" HorizontalExpand="True" SizeFlagsStretchRatio="1" />
<BoxContainer Orientation="Vertical" HorizontalExpand="True" SizeFlagsStretchRatio="2">
<BoxContainer Access="Public" Name="BwoinkArea" VerticalExpand="True" />
<BoxContainer Orientation="Horizontal" HorizontalAlignment="Right">
<Button Margin="0 0 10 0" Visible="True" Name="PopOut" Access="Public" Text="{Loc 'admin-logs-pop-out'}"/>
<Button Visible="False" Name="Bans" Text="{Loc 'admin-player-actions-bans'}" />
<Button Visible="False" Name="Notes" Text="{Loc 'admin-player-actions-notes'}" />
<Button Visible="False" Name="Kick" Text="{Loc 'admin-player-actions-kick'}" />
<Button Visible="False" Name="Ban" Text="{Loc 'admin-player-actions-ban'}" />
<Button Visible="False" Name="Respawn" Text="{Loc 'admin-player-actions-respawn'}" />
<Button Visible="False" Name="Teleport" Text="{Loc 'admin-player-actions-teleport'}" />
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
<Button Visible="True" Name="PopOut" Access="Public" Text="{Loc 'admin-logs-pop-out'}" StyleClasses="OpenBoth" HorizontalAlignment="Left" />
<Control HorizontalExpand="True" />
<Button Visible="False" Name="Bans" Text="{Loc 'admin-player-actions-bans'}" StyleClasses="OpenRight" />
<Button Visible="False" Name="Notes" Text="{Loc 'admin-player-actions-notes'}" StyleClasses="OpenBoth" />
<Button Visible="False" Name="Kick" Text="{Loc 'admin-player-actions-kick'}" StyleClasses="OpenBoth" />
<Button Visible="False" Name="Ban" Text="{Loc 'admin-player-actions-ban'}" StyleClasses="OpenBoth" />
<Button Visible="False" Name="Respawn" Text="{Loc 'admin-player-actions-respawn'}" StyleClasses="OpenBoth" />
<Button Visible="False" Name="Teleport" Text="{Loc 'admin-player-actions-teleport'}" StyleClasses="OpenLeft" />
</BoxContainer>
</BoxContainer>
</SplitContainer>
Expand Down
Loading