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

Upstream2706 #13

Merged
merged 124 commits into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
124 commits
Select commit Hold shift + click to select a range
f041f58
Add time index to connection log (#29281)
PJB3005 Jun 21, 2024
b7c088f
Fix SSD indicator for scaled humanoids (#29310)
Macoron Jun 22, 2024
0ff144a
Automatic changelog update
PJBot Jun 22, 2024
6aa7e2e
Fix noticeboard drawdepth (#29262)
Ko4ergaPunk Jun 22, 2024
e0a6604
Fix pistols not displaying ammo count in-hand (#29289)
Doomsdrayk Jun 22, 2024
07fe1a6
Rewrite the options menu (#28389)
PJB3005 Jun 22, 2024
8922633
Update submodule to 226.3.0 (#29323)
metalgearsloth Jun 22, 2024
be7ffd8
AME Deconstruction Changes (#29317)
EmoGarbage404 Jun 22, 2024
1048817
Automatic changelog update
PJBot Jun 22, 2024
bb61f44
Move air sensor components into abstract base prototype (#29261)
Partmedia Jun 22, 2024
b5f6aa0
Pacifist messages use target's identity name instead of entity name (…
ArkiveDev Jun 22, 2024
dfe01c7
Fix comments (#29330)
Partmedia Jun 22, 2024
c418758
Fix for missing survival boxes (#29336)
Errant-4 Jun 22, 2024
df5c4df
Automatic changelog update
PJBot Jun 22, 2024
061c1f5
Admin UI localization (#29340)
MetalSage Jun 22, 2024
45a4596
Disk """resprite""" (#29277)
Flareguy Jun 22, 2024
5ee79b5
Sound Station 14 like a nukie song (#29345)
marboww Jun 22, 2024
092cad4
Automatic changelog update
PJBot Jun 22, 2024
475c2a0
add access reader log wire (#29094)
deltanedas Jun 22, 2024
4d6da00
Automatic changelog update
PJBot Jun 22, 2024
02fb432
Adjust some gas thresholds (#29331)
Partmedia Jun 22, 2024
8112063
Add air alarm hysteresis (#29223)
Partmedia Jun 22, 2024
f954970
Automatic changelog update
PJBot Jun 22, 2024
2a6fc45
Thief toolbox minor rebalance & description clean-up (#27771)
K-Dynamic Jun 22, 2024
b9172a7
Automatic changelog update
PJBot Jun 22, 2024
325ab97
Prying reinforced tile now will give you back metal rod (#29084)
lzk228 Jun 22, 2024
061445e
Automatic changelog update
PJBot Jun 22, 2024
6aced66
Firelocks are no longer pryable by hand if they are powered (#29221)
nikthechampiongr Jun 22, 2024
640115d
Automatic changelog update
PJBot Jun 22, 2024
ae84889
Don't add untriage lable if it has been labeled at issue creation (#2…
VasilisThePikachu Jun 22, 2024
f582e69
Remove robotics and supermatter lobby images (#29355)
PJB3005 Jun 22, 2024
3284c24
add lemon juice and fix bad sprite allocation (#27465)
Shadowtheprotogen546 Jun 22, 2024
627b19c
Automatic changelog update
PJBot Jun 22, 2024
966aca4
Add the ability to put hats on medibots (#28584)
Cojoke-dot Jun 23, 2024
dbe283c
Automatic changelog update
PJBot Jun 23, 2024
f15ccea
Update Credits (#29363)
github-actions[bot] Jun 23, 2024
9f9cf08
TEG can power itself when turned on (#29072)
WarMechanic Jun 23, 2024
089cdcf
Automatic changelog update
PJBot Jun 23, 2024
0546c9b
Revert "Weapon Reflection Movement Mechanic (#27219)" (#29326)
metalgearsloth Jun 23, 2024
c2f8984
Apply RoleLoadout MinLimit fix to EnsureValid too (#29358)
Tayrtahn Jun 23, 2024
c90c065
swap siren (#29369)
EmoGarbage404 Jun 23, 2024
de22f65
fix(packed): Fill the medical lockers in medbay (#29319)
Brandon-Huu Jun 23, 2024
bada3bc
fix(omega): Connect the disposal unit in medbay to the disposal "netw…
Brandon-Huu Jun 23, 2024
252a3e6
tweak(saltern): Place a red phone in bridge meeting room, add another…
Brandon-Huu Jun 23, 2024
b1955f7
tweat(emergency_delta): Add screens around the evacuation shuttle (#2…
Brandon-Huu Jun 23, 2024
9455d0d
tweak(emergency_box): Swap out Salvage Material crate with Engineerin…
Brandon-Huu Jun 23, 2024
6ba2df7
tweak(fland): Add radiation shutters to front of PA (#29265)
Brandon-Huu Jun 23, 2024
32e2a4e
tweak(meta): Swap around some of the computers in bridge (#29263)
Brandon-Huu Jun 23, 2024
00e7aa4
tweak(marathon): Fix some stuff (#29256)
Brandon-Huu Jun 23, 2024
8573eda
fix(origin): Replace mindshield crate with implanter crate (#29183)
Brandon-Huu Jun 23, 2024
33baf41
fix(cluster): Replace mindshield crate with implanter crate (#29182)
Brandon-Huu Jun 23, 2024
7399c75
fix(oasis): Replace mindshield crate with implanter crate (#29181)
Brandon-Huu Jun 23, 2024
801c4f9
tweak(medical): Reduce chemist slots (#28711)
Brandon-Huu Jun 23, 2024
93eded4
fix: Adds a missing defribilator to nukie planet (#28362)
Brandon-Huu Jun 23, 2024
e8a4808
fix(atlas): Replace mindshield crate with implanter crate (#29184)
Brandon-Huu Jun 23, 2024
ba39b6f
Survival box loadout group cleanup (#29379)
Errant-4 Jun 23, 2024
2762470
Add "Structure" tag to switches, buttons, and levers (#29378)
eoineoineoin Jun 23, 2024
6385c8c
Automatic changelog update
PJBot Jun 23, 2024
19bc6f9
ironrock ores (#29381)
EmoGarbage404 Jun 23, 2024
0c34eb6
Ban template system (#29365)
PJB3005 Jun 23, 2024
ba164f9
ContainmentFieldComponent's garbage destruction can now be disabled (…
mhamsterr Jun 23, 2024
ac1bdd2
Fix unlabeled jugs in ChemVend (#29178)
Tayrtahn Jun 23, 2024
0835215
Automatic changelog update
PJBot Jun 23, 2024
6590109
Add bagels (#24799)
DrEnzyme Jun 23, 2024
c41558a
Automatic changelog update
PJBot Jun 23, 2024
6888511
Fix cargo and salvage's computer point light (#29384)
MureixloI Jun 23, 2024
c6e5b23
Network BaseEmitSoundComponent (#29400)
metalgearsloth Jun 24, 2024
d9506ce
Force map confirmation (#29391)
ArkiveDev Jun 24, 2024
e7bcb27
Ghosts can now always see examine details (#29404)
PJB3005 Jun 24, 2024
f068687
Automatic changelog update
PJBot Jun 24, 2024
3df7309
Hotfix examine (#29408)
PJB3005 Jun 24, 2024
c1ad5cd
Fix gay nuke layering (#29410)
PJB3005 Jun 24, 2024
fd05111
Use moderator perms for grant_connect_bypass (#29406)
Chief-Engineer Jun 24, 2024
5aaac8b
Automatic changelog update
PJBot Jun 24, 2024
7453f45
hardsuit fireproof nerf (#29416)
Emisse Jun 24, 2024
0822284
Automatic changelog update
PJBot Jun 24, 2024
8aea47a
Fix forcemap not bypassing requirements (#29426)
Tayrtahn Jun 24, 2024
bd3508d
Colorblind friendly thermomachine LED colors (#29397)
deathride58 Jun 24, 2024
56c4e60
Automatic changelog update
PJBot Jun 24, 2024
ebbe3c9
Revert "TEG can power itself when turned on" (#29434)
PJB3005 Jun 25, 2024
27665e4
Fix filter yml names in the lobby so they actually work (#29435)
VasilisThePikachu Jun 25, 2024
a4d9336
Attempt to fix random test fail by undeleted AlertControl._spriteView…
DrSmugleaf Jun 25, 2024
8c7fc98
Increase of riot shield durability (#29239)
Elysium206 Jun 25, 2024
84a5440
Automatic changelog update
PJBot Jun 25, 2024
3009687
Fix internals not auto-activating for entities spawned in space (#29213)
Tayrtahn Jun 25, 2024
866ca96
Automatic changelog update
PJBot Jun 25, 2024
d2eff3e
Oasis update (#29440)
IProduceWidgets Jun 25, 2024
231e180
reclaimer-lobby-art (#29343)
GetOutMarutak Jun 25, 2024
37fffca
Cut low pressure damage to 1/4 (#29478)
PJB3005 Jun 26, 2024
06e21aa
Automatic changelog update
PJBot Jun 26, 2024
33dd7d4
Fix dragon ghost role rules (#29474)
notquitehadouken Jun 26, 2024
90c33da
Security Webbing Resprite (#29441)
DieselMohawk Jun 26, 2024
a540d1a
Make blood less satiate hunger (#29433)
lzk228 Jun 26, 2024
7ee2b6f
Automatic changelog update
PJBot Jun 26, 2024
4241ad3
Give moldy food the "Trash" tag (#29380)
Veritable-Calamity Jun 26, 2024
c34fb39
Automatic changelog update
PJBot Jun 26, 2024
1a67ab8
Forcemap can be cleared with empty string again (#29472)
Tayrtahn Jun 26, 2024
c81ba6e
Alert shared connections (#29405)
Chief-Engineer Jun 26, 2024
063011e
Automatic changelog update
PJBot Jun 26, 2024
58efe4f
Fix storages bugging out if an open storage has its component removed…
DrSmugleaf Jun 26, 2024
4a0c637
Fixes magic mirror interactions (#29491)
Plykiya Jun 26, 2024
4413253
Fix disposals being effective nuclear bunkers (#29438)
Doomsdrayk Jun 26, 2024
fb705ab
Automatic changelog update
PJBot Jun 26, 2024
f1e7b4c
Fix double labels on pills and pill canisters (#29499)
Tayrtahn Jun 27, 2024
4ec2966
Automatic changelog update
PJBot Jun 27, 2024
849a790
Increase lockout threshold (#29504)
Partmedia Jun 27, 2024
11e2a96
Upgrade station goal system (#2338)
TheShuEd Jun 27, 2024
da333a1
Merge remote-tracking branch 'refs/remotes/upstream/master' into mast…
Morb0 Jun 27, 2024
f135037
Return TTS volume slider
Morb0 Jun 27, 2024
55783a6
Update locale
Morb0 Jun 27, 2024
5dd4169
Moved out locale
Morb0 Jun 27, 2024
4d15d93
[Maps] Lil frame update (#2346)
poeMota Jun 27, 2024
d4fbfc5
Merge pull request #2347 from space-syndicate/upstream-sync
Morb0 Jun 27, 2024
434a56d
Increase Echo bunker min time to 3 hours
Morb0 Jun 27, 2024
0896edf
Remove placing items on tabletop boards. (#29513)
PJB3005 Jun 27, 2024
45cc19f
Add InteractUsing admin logs. (#29514)
PJB3005 Jun 27, 2024
ced15b7
Fix coords monitor in replays (#29512)
PJB3005 Jun 27, 2024
331c0fe
Automatic changelog update
PJBot Jun 27, 2024
64192b3
CookBook name,id and description changed to not be "meta" (#29467)
KonstantinAngelov Jun 27, 2024
2ed32be
Automatic changelog update
PJBot Jun 27, 2024
44a22c9
Merge remote-tracking branch 'refs/remotes/upstream/master' into mast…
Jun 27, 2024
13620a0
Merge pull request #2348 from space-syndicate/upstream-sync
Morb0 Jun 27, 2024
dea7163
Merge branch 'master' of https://github.com/space-syndicate/space-sta…
Schrodinger71 Jun 27, 2024
cc884b3
Small fix
Schrodinger71 Jun 27, 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
1 change: 1 addition & 0 deletions .github/workflows/labeler-untriaged.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions-ecosystem/action-add-labels@v1
if: join(github.event.issue.labels) == ''
with:
labels: "Status: Untriaged"
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<LineEdit Name="FilterLineEdit"
MinSize="100 0"
HorizontalExpand="True"
PlaceHolder="{Loc Filter}"/>
PlaceHolder="{Loc player-list-filter}"/>
<PanelContainer Name="BackgroundPanel"
VerticalExpand="True"
HorizontalExpand="True">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Title="{Loc admin-player-actions-window-title}" MinSize="425 272">
<BoxContainer Orientation="Vertical">
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc Reason}" MinWidth="100" />
<Label Text="{Loc admin-player-actions-reason}" MinWidth="100" />
<Control MinWidth="50" />
<LineEdit Name="ReasonLine" MinWidth="100" HorizontalExpand="True" />
</BoxContainer>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<DefaultWindow
xmlns="https://spacestation14.io"
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
Title="{Loc Teleport}" MinSize="425 230">
Title="{Loc admin-ui-teleport}" MinSize="425 230">
<BoxContainer Orientation="Vertical">
<cc:PlayerListControl Name="PlayerList" />
<Button Name="SubmitButton" Text="{Loc Teleport}" />
<Button Name="SubmitButton" Text="{Loc admin-ui-teleport}" />
</BoxContainer>
</DefaultWindow>
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
<DefaultWindow
xmlns="https://spacestation14.io" Title="{Loc Load Blueprint}">
xmlns="https://spacestation14.io" Title="{Loc admin-ui-blueprint-load}">
<BoxContainer Orientation="Vertical">
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc Map}" MinSize="100 0" />
<Label Text="{Loc admin-ui-blueprint-map}" MinSize="100 0" />
<Control MinSize="50 0" />
<OptionButton Name="MapOptions" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc Path}" MinSize="100 0" />
<Label Text="{Loc admin-ui-blueprint-path}" MinSize="100 0" />
<Control MinSize="50 0" />
<LineEdit Name="MapPath" MinSize="200 0" HorizontalExpand="True" Text="/Maps/" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc X}" MinSize="100 0" />
<Label Text="{Loc admin-ui-blueprint-x}" MinSize="100 0" />
<Control MinSize="50 0" />
<SpinBox Name="XCoordinate" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc Y}" MinSize="100 0" />
<Label Text="{Loc admin-ui-blueprint-y}" MinSize="100 0" />
<Control MinSize="50 0" />
<SpinBox Name="YCoordinate" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc Rotation}" MinSize="100 0" />
<Label Text="{Loc admin-ui-blueprint-rotation}" MinSize="100 0" />
<Control MinSize="50 0" />
<SpinBox Name="RotationSpin" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<Button Name="SubmitButton" Text="{Loc Load Blueprint}" />
<Button Name="TeleportButton" Text="{Loc Teleport to}" />
<Button Name="ResetButton" Text="{Loc Reset to default}"></Button>
<Button Name="SubmitButton" Text="{Loc admin-ui-blueprint-load}" />
<Button Name="TeleportButton" Text="{Loc admin-ui-blueprint-teleport}" />
<Button Name="ResetButton" Text="{Loc admin-ui-blueprint-reset}"></Button>
</BoxContainer>
</DefaultWindow>
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<DefaultWindow
xmlns="https://spacestation14.io" Title="{Loc Add Atmos}">
xmlns="https://spacestation14.io" Title="{Loc admin-ui-atmos-add}">
<BoxContainer Orientation="Vertical">
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc Grid}" MinSize="100 0" />
<Label Text="{Loc admin-ui-atmos-grid}" MinSize="100 0" />
<Control MinSize="50 0" />
<OptionButton Name="GridOptions" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<Button Name="SubmitButton" Text="{Loc Add Atmos}" />
<Button Name="SubmitButton" Text="{Loc admin-ui-atmos-add}" />
</BoxContainer>
</DefaultWindow>
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ protected override void EnteredTree()
while (query.MoveNext(out var uid, out var grid))
{
_data.Add((uid, grid));
GridOptions.AddItem($"{uid} {(playerGrid == uid ? " (Current)" : "")}");
GridOptions.AddItem($"{uid} {(playerGrid == uid ? Loc.GetString($"admin-ui-atmos-grid-current") : "")}");
}

GridOptions.OnItemSelected += eventArgs => GridOptions.SelectId(eventArgs.Id);
Expand Down
14 changes: 7 additions & 7 deletions Content.Client/Administration/UI/Tabs/AtmosTab/AddGasWindow.xaml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
<DefaultWindow
xmlns="https://spacestation14.io" Title="{Loc Add Gas}">
xmlns="https://spacestation14.io" Title="{Loc admin-ui-atmos-add-gas}">
<BoxContainer Orientation="Vertical">
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc Grid}" MinSize="100 0" />
<Label Text="{Loc admin-ui-atmos-grid}" MinSize="100 0" />
<Control MinSize="50 0" />
<OptionButton Name="GridOptions" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc TileX}" MinSize="100 0" />
<Label Text="{Loc admin-ui-atmos-tile-x}" MinSize="100 0" />
<Control MinSize="50 0" />
<SpinBox Name="TileXSpin" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc TileY}" MinSize="100 0" />
<Label Text="{Loc admin-ui-atmos-tile-y}" MinSize="100 0" />
<Control MinSize="50 0" />
<SpinBox Name="TileYSpin" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc Gas}" MinSize="100 0" />
<Label Text="{Loc admin-ui-atmos-gas}" MinSize="100 0" />
<Control MinSize="50 0" />
<OptionButton Name="GasOptions" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc Amount}" MinSize="100 0" />
<Label Text="{Loc admin-ui-atmos-gas-amount}" MinSize="100 0" />
<Control MinSize="50 0" />
<SpinBox Name="AmountSpin" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<Button Name="SubmitButton" Text="{Loc Add Gas}" />
<Button Name="SubmitButton" Text="{Loc admin-ui-atmos-add-gas}" />
</BoxContainer>
</DefaultWindow>
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ protected override void EnteredTree()
_gridData.Add(entManager.GetNetEntity(uid));
var player = playerManager.LocalEntity;
var playerGrid = entManager.GetComponentOrNull<TransformComponent>(player)?.GridUid;
GridOptions.AddItem($"{uid} {(playerGrid == uid ? " (Current)" : "")}");
GridOptions.AddItem($"{uid} {(playerGrid == uid ? Loc.GetString("admin-ui-atmos-grid-current") : "")}");
}

GridOptions.OnItemSelected += eventArgs => GridOptions.SelectId(eventArgs.Id);
Expand Down
8 changes: 4 additions & 4 deletions Content.Client/Administration/UI/Tabs/AtmosTab/AtmosTab.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
Margin="4"
MinSize="50 50">
<GridContainer Columns="4">
<cc:UICommandButton Text="{Loc Add Atmos}" Command="addatmos" WindowType="{x:Type at:AddAtmosWindow}" />
<cc:UICommandButton Text="{Loc Add Gas}" Command="addgas" WindowType="{x:Type at:AddGasWindow}" />
<cc:UICommandButton Text="{Loc Fill Gas}" Command="fillgas" WindowType="{x:Type at:FillGasWindow}" />
<cc:UICommandButton Text="{Loc Set Temperature}" Command="settemp"
<cc:UICommandButton Text="{Loc admin-ui-atmos-add}" Command="addatmos" WindowType="{x:Type at:AddAtmosWindow}" />
<cc:UICommandButton Text="{Loc admin-ui-atmos-add-gas}" Command="addgas" WindowType="{x:Type at:AddGasWindow}" />
<cc:UICommandButton Text="{Loc admin-ui-atmos-fill-gas}" Command="fillgas" WindowType="{x:Type at:FillGasWindow}" />
<cc:UICommandButton Text="{Loc admin-ui-atmos-set-temperature}" Command="settemp"
WindowType="{x:Type at:SetTemperatureWindow}" />
</GridContainer>
</Control>
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
<DefaultWindow
xmlns="https://spacestation14.io" Title="{Loc Fill Gas}">
xmlns="https://spacestation14.io" Title="{Loc admin-ui-atmos-fill-gas}">
<BoxContainer Orientation="Vertical">
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc Grid}" MinSize="100 0" />
<Label Text="{Loc admin-ui-atmos-grid}" MinSize="100 0" />
<Control MinSize="50 0" />
<OptionButton Name="GridOptions" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc Gas}" MinSize="100 0" />
<Label Text="{Loc admin-ui-atmos-gas}" MinSize="100 0" />
<Control MinSize="50 0" />
<OptionButton Name="GasOptions" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc Amount}" MinSize="100 0" />
<Label Text="{Loc admin-ui-atmos-gas-amount}" MinSize="100 0" />
<Control MinSize="50 0" />
<SpinBox Name="AmountSpin" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<Button Name="SubmitButton" Text="{Loc Fill Gas}" />
<Button Name="SubmitButton" Text="{Loc admin-ui-atmos-fill-gas}" />
</BoxContainer>
</DefaultWindow>
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ protected override void EnteredTree()
{
var player = playerManager.LocalEntity;
var playerGrid = entManager.GetComponentOrNull<TransformComponent>(player)?.GridUid;
GridOptions.AddItem($"{uid} {(playerGrid == uid ? " (Current)" : "")}");
GridOptions.AddItem($"{uid} {(playerGrid == uid ? Loc.GetString($"admin-ui-atmos-grid-current") : "")}");
_gridData.Add(entManager.GetNetEntity(uid));
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
<DefaultWindow
xmlns="https://spacestation14.io" Title="{Loc Set Temperature}">
xmlns="https://spacestation14.io" Title="{Loc admin-ui-atmos-set-temperature}">
<BoxContainer Orientation="Vertical">
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc Grid}" MinSize="100 0" />
<Label Text="{Loc admin-ui-atmos-grid}" MinSize="100 0" />
<Control MinSize="50 0" />
<OptionButton Name="GridOptions" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc TileX}" MinSize="100 0" />
<Label Text="{Loc admin-ui-atmos-tile-x}" MinSize="100 0" />
<Control MinSize="50 0" />
<SpinBox Name="TileXSpin" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc TileY}" MinSize="100 0" />
<Label Text="{Loc admin-ui-atmos-tile-y}" MinSize="100 0" />
<Control MinSize="50 0" />
<SpinBox Name="TileYSpin" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc Temperature}" MinSize="100 0" />
<Label Text="{Loc admin-ui-atmos-temperature}" MinSize="100 0" />
<Control MinSize="50 0" />
<SpinBox Name="TemperatureSpin" MinSize="100 0" HorizontalExpand="True" />
</BoxContainer>
<Button Name="SubmitButton" Text="{Loc Set Temperature}" />
<Button Name="SubmitButton" Text="{Loc admin-ui-atmos-set-temperature}" />
</BoxContainer>
</DefaultWindow>
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ protected override void EnteredTree()
{
var player = playerManager.LocalEntity;
var playerGrid = entManager.GetComponentOrNull<TransformComponent>(player)?.GridUid;
GridOptions.AddItem($"{uid} {(playerGrid == uid ? " (Current)" : "")}");
GridOptions.AddItem($"{uid} {(playerGrid == uid ? Loc.GetString($"admin-ui-atmos-grid-current") : "")}");
_data.Add(entManager.GetNetEntity(uid));
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<BoxContainer Orientation="Vertical">
<BoxContainer Orientation="Horizontal">
<Label HorizontalExpand="True" SizeFlagsStretchRatio="0.50"
Text="{Loc Object type:}" />
<LineEdit Name="SearchLineEdit" PlaceHolder="{Loc Search...}" HorizontalExpand="True" SizeFlagsStretchRatio="1"/>
Text="{Loc object-tab-object-type}" />
<LineEdit Name="SearchLineEdit" PlaceHolder="{Loc object-tab-object-search}" HorizontalExpand="True" SizeFlagsStretchRatio="1"/>
<OptionButton Name="ObjectTypeOptions" HorizontalExpand="True" SizeFlagsStretchRatio="0.25"/>
</BoxContainer>
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public ObjectsTab()
foreach (var type in Enum.GetValues(typeof(ObjectsTabSelection)))
{
_selections.Add((ObjectsTabSelection)type!);
ObjectTypeOptions.AddItem(Enum.GetName((ObjectsTabSelection)type)!);
ObjectTypeOptions.AddItem(Loc.GetString($"object-tab-object-type-{((Enum.GetName((ObjectsTabSelection)type))!.ToString().ToLower())}"));
}

ListHeader.OnHeaderClicked += HeaderClicked;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
xmlns:co="clr-namespace:Content.Client.UserInterface.Controls">
<BoxContainer Orientation="Vertical">
<BoxContainer Orientation="Horizontal">
<Label Name="PlayerCount" HorizontalExpand="True" Text="{Loc Player Count}" />
<Label Name="PlayerCount" HorizontalExpand="True" Text="{Loc player-tab-player-count}" />
<LineEdit Name="SearchLineEdit" HorizontalExpand="True"
PlaceHolder="{Loc player-tab-filter-line-edit-placeholder}" />
<Button Name="ShowDisconnectedButton" HorizontalExpand="True"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ protected override void Dispose(bool disposing)
private void RefreshPlayerList(IReadOnlyList<PlayerInfo> players)
{
_players = players;
PlayerCount.Text = $"Players: {_playerMan.PlayerCount}";
PlayerCount.Text = Loc.GetString("player-tab-player-count", ("count", _playerMan.PlayerCount));

var filteredPlayers = players.Where(info => _showDisconnected || info.Connected).ToList();

Expand Down
6 changes: 3 additions & 3 deletions Content.Client/Administration/UI/Tabs/RoundTab.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
MinSize="50 50">
<GridContainer
Columns="3">
<cc:CommandButton Command="startround" Text="{Loc Start Round}" />
<cc:CommandButton Command="endround" Text="{Loc End Round}" />
<cc:CommandButton Command="restartround" Text="{Loc Restart Round}" />
<cc:CommandButton Command="startround" Text="{Loc administration-ui-round-tab-start-round}" />
<cc:CommandButton Command="endround" Text="{Loc administration-ui-round-tab-end-round}" />
<cc:CommandButton Command="restartround" Text="{Loc administration-ui-round-tab-restart-round}" />
<cc:CommandButton Command="restartroundnow" Text="{Loc administration-ui-round-tab-restart-round-now}" />
</GridContainer>
</Control>
Empty file.
Original file line number Diff line number Diff line change
@@ -1,23 +1,28 @@
using Content.Client.Administration.Managers;
using Content.Client.Administration.Managers;
using Content.Shared.CCVar;
using Robust.Client;
using Robust.Client.UserInterface;
using Robust.Shared.Configuration;


namespace Content.Client.DebugMon;

/// <summary>
/// This handles preventing certain debug monitors from appearing.
/// This handles preventing certain debug monitors from being usable by non-admins.
/// </summary>
public sealed class DebugMonitorSystem : EntitySystem
internal sealed class DebugMonitorManager
{
[Dependency] private readonly IConfigurationManager _cfg = default!;
[Dependency] private readonly IClientAdminManager _admin = default!;
[Dependency] private readonly IUserInterfaceManager _userInterface = default!;
[Dependency] private readonly IBaseClient _baseClient = default!;

public override void FrameUpdate(float frameTime)
public void FrameUpdate()
{
if (!_admin.IsActive() && _cfg.GetCVar(CCVars.DebugCoordinatesAdminOnly))
if (_baseClient.RunLevel == ClientRunLevel.InGame
&& !_admin.IsActive()
&& _cfg.GetCVar(CCVars.DebugCoordinatesAdminOnly))
{
_userInterface.DebugMonitors.SetMonitor(DebugMonitor.Coords, false);
}
}
}
11 changes: 11 additions & 0 deletions Content.Client/Entry/EntryPoint.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Content.Client.Administration.Managers;
using Content.Client.Changelog;
using Content.Client.Chat.Managers;
using Content.Client.DebugMon;
using Content.Client.Corvax.TTS;
using Content.Client.Options;
using Content.Client.Eui;
Expand Down Expand Up @@ -35,6 +36,7 @@
using Robust.Shared.ContentPack;
using Robust.Shared.Prototypes;
using Robust.Shared.Replays;
using Robust.Shared.Timing;

namespace Content.Client.Entry
{
Expand Down Expand Up @@ -70,6 +72,7 @@ public sealed class EntryPoint : GameClient
[Dependency] private readonly IReplayLoadManager _replayLoad = default!;
[Dependency] private readonly ILogManager _logManager = default!;
[Dependency] private readonly ContentReplayPlaybackManager _replayMan = default!;
[Dependency] private readonly DebugMonitorManager _debugMonitorManager = default!;

public override void Init()
{
Expand Down Expand Up @@ -208,5 +211,13 @@ private void SwitchToDefaultState(bool disconnected = false)
_stateManager.RequestStateChange<MainScreen>();
}
}

public override void Update(ModUpdateLevel level, FrameEventArgs frameEventArgs)
{
if (level == ModUpdateLevel.FramePreEngine)
{
_debugMonitorManager.FrameUpdate();
}
}
}
}
2 changes: 2 additions & 0 deletions Content.Client/Examine/ExamineSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ public sealed class ExamineSystem : ExamineSystemShared

public override void Initialize()
{
base.Initialize();

UpdatesOutsidePrediction = true;

SubscribeLocalEvent<GetVerbsEvent<ExamineVerb>>(AddExamineVerb);
Expand Down
2 changes: 2 additions & 0 deletions Content.Client/IoC/ClientContentIoC.cs
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
using Content.Client.Chat.Managers;
using Content.Client.Clickable;
using Content.Client.Corvax.TTS;
using Content.Client.DebugMon;
using Content.Client.Eui;
using Content.Client.GhostKick;
using Content.Client.Launcher;
Expand Down Expand Up @@ -49,6 +50,7 @@ public static void Register()
collection.Register<DocumentParsingManager>();
collection.Register<ContentReplayPlaybackManager, ContentReplayPlaybackManager>();
collection.Register<ISharedPlaytimeManager, JobRequirementsManager>();
collection.Register<DebugMonitorManager>();
}
}
}
Loading
Loading