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 #2 #124

Merged
merged 245 commits into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
245 commits
Select commit Hold shift + click to select a range
1f22dfd
changed from tag to material and added icon for capacitor
TheWaffleJesus Sep 8, 2024
daf674e
changed capacitor yaml for substation and memory cell
TheWaffleJesus Sep 8, 2024
30018a3
added Derelict Cyborgs with basic functionality.
GoldenCan Sep 27, 2024
602541b
minor changes to the Derelict Cyborg
GoldenCan Sep 27, 2024
c3fa1b4
Added Derelict Cyborg midround event.
GoldenCan Sep 28, 2024
964ef33
Fixed accidental removal of something from a meta.json file.
GoldenCan Sep 28, 2024
bad25e3
Split part of IonStormRule into IonStormSystem. Added StartIonStormed…
GoldenCan Sep 29, 2024
f226f28
Derelict Cyborgs are now very likely to be affected by ion storms.
GoldenCan Sep 30, 2024
4c8a235
Minor alterations to the Derelict Cyborg and its ghostrole description
GoldenCan Sep 30, 2024
eb1168a
Update Resources/Prototypes/Entities/Mobs/Player/silicon.yml
GoldenCan Sep 30, 2024
a4e7ad0
Update Resources/Prototypes/Entities/Mobs/Player/silicon.yml
GoldenCan Sep 30, 2024
0cc1f32
Update Resources/Textures/Mobs/Silicon/chassis.rsi/meta.json
GoldenCan Sep 30, 2024
e75a71d
Update Content.Server/Silicons/Laws/StartIonStormedSystem.cs
GoldenCan Sep 30, 2024
eaa6017
Update Resources/Prototypes/Entities/Mobs/Cyborgs/base_borg_chassis.yml
GoldenCan Sep 30, 2024
834b6eb
Cleaned up a bit of the Derelict Cyborg code.
GoldenCan Oct 1, 2024
1abc60b
moved a bit of IonStorm code elsewhere
GoldenCan Oct 1, 2024
c6fe568
changed almost nothing
GoldenCan Oct 1, 2024
36390b2
Small changes - hopefully good ones.
GoldenCan Oct 1, 2024
7169788
changed very minor stuff with no gameplay alterations.
GoldenCan Oct 1, 2024
d0114d9
added a code summary
GoldenCan Oct 1, 2024
08de5ae
Derelict cyborg minor yaml changes.
GoldenCan Oct 1, 2024
963009a
Changes IonStorm related code with no gameplay changes.
GoldenCan Oct 3, 2024
4b633fd
Fixed IonStorms sometimes affecting the laws of the current AI and fu…
GoldenCan Oct 3, 2024
9dc90a2
Changed DerelictCyborgSpawn event's frequency from 6 to 5, even thoug…
GoldenCan Oct 3, 2024
3aff201
Removed 1 line of whitespace.
GoldenCan Oct 3, 2024
00aaffb
removed whitespace
GoldenCan Oct 3, 2024
d863e3c
Derelict Cyborg no longer appears on the endround 'Game Information' …
GoldenCan Oct 3, 2024
581a4d1
minor Derelict Cyborg code changes.
GoldenCan Oct 4, 2024
d7ed5b4
remove whitespace.
GoldenCan Oct 4, 2024
b35d290
Fixed cyborgs with the StartIonStormedComponent (which is just the De…
GoldenCan Oct 5, 2024
b0c5023
Fix comments in StartIonStormedComponent.cs
GoldenCan Oct 5, 2024
0384373
Add no damage phrase and logic
thetolbean Oct 30, 2024
33516b7
Fixed minor spelling mistake
SpaceLizard24 Oct 31, 2024
2801ebe
Optimization!
thetolbean Nov 10, 2024
36aceb1
Database SnakeCaseNaming fixes
PJB3005 Oct 29, 2024
4f3db43
Integrate Modern HWID into content
PJB3005 Nov 12, 2024
755f322
Merge branch 'master' into ion-storm-refactor
ScarKy0 Nov 14, 2024
4f754b8
derelictn't (for now)
ScarKy0 Nov 14, 2024
e9c66cf
Merge branch 'ion-storm-refactor' of https://github.com/ScarKy0/space…
ScarKy0 Nov 14, 2024
c862013
guh
ScarKy0 Nov 14, 2024
5dbea42
derelicn't for real
ScarKy0 Nov 14, 2024
0f30639
progress
ScarKy0 Nov 14, 2024
ace158d
Yippee!
ScarKy0 Nov 14, 2024
53ce812
slash
ScarKy0 Nov 14, 2024
9a5c49b
epic empty commit
ScarKy0 Nov 14, 2024
3b93651
or was it
ScarKy0 Nov 14, 2024
7d82a7b
Merge branch 'space-wizards:master' into ion-storm-refactor
ScarKy0 Nov 15, 2024
3173a34
S: Awaiting Changes
ScarKy0 Nov 16, 2024
a68c6cb
Temporarily make singularity a bit harder to loose as non-antag
SaphireLattice Nov 16, 2024
01d6df3
Fix Fluent string ID copypaste fail
SaphireLattice Nov 16, 2024
476f90d
Fix the component defaults
SaphireLattice Nov 16, 2024
e290588
Changes + Cleanup
ScarKy0 Nov 17, 2024
97be261
Reduced cost of coloured light fixtures
SpaceLizard24 Nov 17, 2024
68eaf6f
Bump the failsafe timer down
SaphireLattice Nov 19, 2024
895648a
Increase softcap back to 80 (#33400)
nikthechampiongr Nov 19, 2024
a949cf3
Toggle clothing fix (#32826)
ArZarLordOfMango Nov 19, 2024
42ee90e
Automatic changelog update
PJBot Nov 19, 2024
c4e2eb9
.NET 9 forward compatibility changes (#33421)
PJB3005 Nov 20, 2024
7f5bae9
Fix security riot crate (#33415)
Plykiya Nov 20, 2024
2002de9
Localize planet dataset names (#33398)
MilenVolf Nov 20, 2024
efa28fc
Automatic changelog update
PJBot Nov 20, 2024
89392e2
Remove drag & drop dropping items from containers (#32706)
SlamBamActionman Nov 20, 2024
ed1ae96
Automatic changelog update
PJBot Nov 20, 2024
eebf06d
Automatically add "Approved" to maintainer PRs (#33337)
SaphireLattice Nov 20, 2024
fdf3df9
Crew monitoring crate updated to contain flatpacks, science access in…
Plykiya Nov 20, 2024
35e2c64
Automatic changelog update
PJBot Nov 20, 2024
6e53cd9
Add emag functionality
SlamBamActionman Nov 19, 2024
9c66645
Move some of the new singularity code into shared
SaphireLattice Nov 20, 2024
1fa1975
Fix toggle verbs (#32138)
beck-thompson Nov 20, 2024
e98383d
Construction menu grid view (#32577)
qwerltaz Nov 20, 2024
7e8e2c7
Automatic changelog update
PJBot Nov 20, 2024
0ec2336
Merge into master: Increase softcap back to 80 (#33400) (#33419)
metalgearsloth Nov 20, 2024
b177a1d
Coloured Light Cost Reduction (#33376)
metalgearsloth Nov 20, 2024
a13a4f7
Automatic changelog update
PJBot Nov 20, 2024
75acce0
Fix: Examine Damage now specifies no damage (#33064)
metalgearsloth Nov 20, 2024
1b3672e
Automatic changelog update
PJBot Nov 20, 2024
44db676
Actually make the emagging popup work properly
SaphireLattice Nov 20, 2024
b8b33b9
Move PlayerBeforeSpawnEvent and PlayerSpawnCompleteEvent to Shared
DrSmugleaf Nov 20, 2024
f5d0e95
Fix imports
DrSmugleaf Nov 20, 2024
8acbf87
Move PlayerBeforeSpawnEvent and PlayerSpawnCompleteEvent to Shared (#…
metalgearsloth Nov 20, 2024
a818c2a
Temporarily make singularity a bit harder to loose as non-antag (#33358)
metalgearsloth Nov 20, 2024
a7003ac
Automatic changelog update
PJBot Nov 20, 2024
59b0938
Capacitor Crafting Change (#31966)
metalgearsloth Nov 20, 2024
4f3ac3e
Automatic changelog update
PJBot Nov 20, 2024
a9be561
Merge branch 'master' into ion-storm-refactor
metalgearsloth Nov 20, 2024
98caf50
Ion storm refactor (#33311)
metalgearsloth Nov 20, 2024
f9533a6
Automatic changelog update
PJBot Nov 20, 2024
cb246f5
Set airlock unlit layers as invisible (#32484)
metalgearsloth Nov 20, 2024
693e5f1
Update salvage.yml
MissKay1994 Nov 20, 2024
f23b652
Update cargo_vending.yml
MissKay1994 Nov 20, 2024
e96e80b
Update salvage.yml
MissKay1994 Nov 20, 2024
c02a027
Update salvage.yml
MissKay1994 Nov 20, 2024
5c0a32b
Update to Robust v237.2.0
PJB3005 Nov 20, 2024
beeffdb
Update to Robust v237.2.0 (#33436)
metalgearsloth Nov 21, 2024
75a096b
Merge remote-tracking branch 'upstream/master' into 24-10-29-modern-hwid
PJB3005 Nov 21, 2024
0f0b141
Syndicate item fix ups (#33435)
ThatGuyUSA Nov 21, 2024
f5930bb
Coal presents and chrimmas tree options. Presents no longer itemify (…
IProduceWidgets Nov 21, 2024
11ee2f9
Automatic changelog update
PJBot Nov 21, 2024
4f703ae
Fix approval labeler (#33440)
VasilisThePikachu Nov 21, 2024
3758715
electrification hud
slarticodefast Nov 21, 2024
5a751a8
Fix admin ghosts not being able to see items in pockets or interact w…
DrSmugleaf Nov 22, 2024
38c70d6
Automatic changelog update
PJBot Nov 22, 2024
403528c
Gas pipe sensors (#33128)
chromiumboy Nov 22, 2024
a3edf04
Automatic changelog update
PJBot Nov 22, 2024
94ac0b1
Modern HWID integration (#33265)
VasilisThePikachu Nov 22, 2024
646d41d
Add telegram to the server info-links (#33459)
c4llv07e Nov 22, 2024
b4ec946
Fix sandbox error with new HWID code. (#33461)
PJB3005 Nov 22, 2024
09ca45a
Merge staging into master (#33462)
slarticodefast Nov 22, 2024
5a9a2d4
Merge branch 'master' into powerhud
slarticodefast Nov 22, 2024
08bfb43
cleanup
slarticodefast Nov 22, 2024
306277a
rename
slarticodefast Nov 22, 2024
de51690
another rename
slarticodefast Nov 22, 2024
a28adf4
baby proof the terminal (#33281)
IProduceWidgets Nov 22, 2024
6bc2054
Automatic changelog update
PJBot Nov 22, 2024
6169070
Fix salvage vendor inventory (#33437)
metalgearsloth Nov 23, 2024
d8ecf12
Automatic changelog update
PJBot Nov 23, 2024
5409815
Allow AI and observers to see electrified doors (#33466)
metalgearsloth Nov 23, 2024
7feafcb
Automatic changelog update
PJBot Nov 23, 2024
0a587c9
Disable submit admin note button on switch to note (#33456)
Winkarst-cpu Nov 23, 2024
1e93e12
Automatic changelog update
PJBot Nov 23, 2024
a42bacd
Fix startingGear storage (#33394)
MetalSage Nov 23, 2024
bdf4a46
Minor improvements & fixes to Shuttle Console UI (#31623)
eoineoineoin Nov 23, 2024
c3786a5
Fix door animations mispredicting if closing is interrupted (#33481)
metalgearsloth Nov 23, 2024
bde8585
Automatic changelog update
PJBot Nov 23, 2024
11dae2f
Don't show drag-drop outline if climbing (#33477)
metalgearsloth Nov 23, 2024
45af6a1
Automatic changelog update
PJBot Nov 23, 2024
855547a
Ensure wires can always be cut (#32447)
goet Nov 23, 2024
4cecf99
Automatic changelog update
PJBot Nov 23, 2024
fab9993
babyproof arrivals shuttle (#33284)
IProduceWidgets Nov 23, 2024
8522ffe
Automatic changelog update
PJBot Nov 23, 2024
11dbf50
Add delay to AutoOrient (#33479)
metalgearsloth Nov 23, 2024
e958c0c
Automatic changelog update
PJBot Nov 23, 2024
ef89d5c
Update Credits (#33503)
github-actions[bot] Nov 24, 2024
f706170
Draw muzzle flash below mobs (#33465)
Winkarst-cpu Nov 24, 2024
2229a6a
Automatic changelog update
PJBot Nov 24, 2024
aa80a88
Allow shuttles on planets to make FTL jump (#33507)
MilenVolf Nov 24, 2024
84df2b8
Automatic changelog update
PJBot Nov 24, 2024
e436a50
fix exped caves generation (#32890)
deltanedas Nov 24, 2024
91b9d4a
Automatic changelog update
PJBot Nov 24, 2024
cae49ae
various material & ore inhands (#33342)
muburu Nov 24, 2024
d642ee7
Delete HOS headset from warden's locker (#33234)
kosticia Nov 25, 2024
3c6c5ab
fix airlocks inconsistently auto-closing after unbolting (#33524)
slarticodefast Nov 25, 2024
ed2cd23
Automatic changelog update
PJBot Nov 25, 2024
86a3d16
baby proof the terminal (#33281)
IProduceWidgets Nov 22, 2024
9a898bb
babyproof arrivals shuttle (#33284)
IProduceWidgets Nov 23, 2024
f53e3ec
[BUGFIX] "Ghost" in the lobby lets you see the whole chat (#33529)
Schrodinger71 Nov 25, 2024
da9b2e6
Automatic changelog update
PJBot Nov 25, 2024
14103e7
Hotfix babyproof arrivals terminal and arrivals shuttle (#33538)
Errant-4 Nov 25, 2024
32f48d9
removed obsolete netmessage creator (#33542)
benev0 Nov 25, 2024
ea7f543
Fix RA0003 warning for ChatBox (#33531)
CrafterKolyan Nov 25, 2024
45cf4ec
Shark plushies now goes rawr on hit. (#33540)
Minemoder5000 Nov 25, 2024
ae576ab
Automatic changelog update
PJBot Nov 25, 2024
49724a9
Turn off PointLights on VendingMachines when broken or off. (#33513)
red15 Nov 25, 2024
b8466d8
Automatic changelog update
PJBot Nov 25, 2024
b8c8f7d
Adds more diona names (#33066)
Flareguy Nov 25, 2024
f0e9de8
"Borgimorph" Release 2024-11-22 (#33544)
VasilisThePikachu Nov 25, 2024
e9eca82
minor AI cleanup (#33555)
slarticodefast Nov 25, 2024
f27fa1e
Simplify separated screen top menu (#33047)
metalgearsloth Nov 26, 2024
a69fc39
Automatic changelog update
PJBot Nov 26, 2024
d5225d1
Ghost role drop-down alignment (#33397)
Intoxicating-Innocence Nov 26, 2024
470c869
Greytide Virus station event (#33547)
slarticodefast Nov 26, 2024
41d2cf1
Make shuttle airlocks not snapcardinals (#33557)
Winkarst-cpu Nov 26, 2024
dfc3562
Automatic changelog update
PJBot Nov 26, 2024
ab7221e
Added two N2 lockers to Reach (#33409)
dylanstrategie Nov 26, 2024
eb95403
Hotfix the randomly occurring DeleteAllThenGhost test failures (#33582)
Errant-4 Nov 26, 2024
c861c56
Fix space ambient music (#33594)
slarticodefast Nov 27, 2024
6187675
Automatic changelog update
PJBot Nov 27, 2024
8ea388b
Fix windoor and high security door not showing electrocution HUD (#33…
slarticodefast Nov 27, 2024
1b6c9e8
Automatic changelog update
PJBot Nov 27, 2024
1bc6562
Merge stable into master: Hotfix the randomly occurring DeleteAllThen…
VasilisThePikachu Nov 27, 2024
56fd7cb
Removes burnt tiles (#33422)
Flareguy Nov 28, 2024
9704ed7
Added Oppenhopper poster to the game. (#33588)
ScarKy0 Nov 28, 2024
ac65c5a
Fix version for electril_grill meta.json (#33611)
AlexUm418 Nov 28, 2024
de613e4
Fix gauze eyepatch flying pixel (#33564)
fqqf Nov 28, 2024
a206acc
Fix swapped uniform printer east/west sprites (#33442)
SpaceManiac Nov 28, 2024
f6813e3
Makes knives fly straight when thrown (#33615)
SpaceRox1244 Nov 28, 2024
a790955
Light verb is now predicted (#33622)
beck-thompson Nov 28, 2024
6463e7e
Automatic changelog update
PJBot Nov 28, 2024
4a21ed8
Update `Content.PatreonParser` to use `net8.0` `TargetFramework` (#33…
CrafterKolyan Nov 28, 2024
b53c8ea
Approval labeler fix electric boogaloo (#33633)
VasilisThePikachu Nov 28, 2024
93bdd81
Fix gender, maybe (#33631)
Alpha-Two Nov 29, 2024
360f698
Display GPS coordinates on their own line (#33625)
arimah Nov 29, 2024
2e34057
Automatic changelog update
PJBot Nov 29, 2024
422d1a9
Remove grasshopper from the panic bunker message (#33638)
VasilisThePikachu Nov 29, 2024
3ad227a
Add admin log for ghost warping (#33636)
DrSmugleaf Nov 29, 2024
bbdadd7
Automatic changelog update
PJBot Nov 29, 2024
87d6b0b
Rename nitrogen internals crate (#33545)
MossyGreySlope Nov 29, 2024
f99331a
Automatic changelog update
PJBot Nov 29, 2024
6c86d7b
Cleanup some Client atmos systems (#33634)
MilenVolf Nov 30, 2024
9236e9e
Fix for arrivals deleting nuke (#33659)
GansuLalan Nov 30, 2024
17a224c
Automatic changelog update
PJBot Nov 30, 2024
54a9dce
add locale to Shuttle Console Map tab (#33651)
VlaDOS1408 Nov 30, 2024
e9ef00f
Automatic changelog update
PJBot Nov 30, 2024
b45c9d5
fix PermanentBlindnessComponent to be not so permanent (#33292)
lunarcomets Nov 30, 2024
08db47c
Cog/Marathon: Airlock fixes (#33621)
jbox144 Nov 30, 2024
8679158
Automatic changelog update
PJBot Nov 30, 2024
021c983
Fix for handcuffing someone more than once (#33646)
Plykiya Nov 30, 2024
973f42b
Automatic changelog update
PJBot Nov 30, 2024
450bf81
Fix for inspecting entities in hand (#33642)
Plykiya Nov 30, 2024
3d98460
Automatic changelog update
PJBot Nov 30, 2024
fb76cd9
Fix for inspecting entities in the stripping window (#33644)
Plykiya Nov 30, 2024
766389a
Automatic changelog update
PJBot Nov 30, 2024
ab36b15
Fix borgs not getting names on roundstart (#33578)
Winkarst-cpu Nov 30, 2024
720fccf
Automatic changelog update
PJBot Nov 30, 2024
efb35d7
Require Wield To Activate Double-bladed ESword (#32869)
thetolbean Nov 30, 2024
44ef60a
Automatic changelog update
PJBot Nov 30, 2024
061b1b8
Fix makeghostroleraffle command where 4 arguments (#31836)
TokenStyle Nov 30, 2024
a46323d
Automatic changelog update
PJBot Nov 30, 2024
3984f0a
Update Credits (#33670)
github-actions[bot] Dec 1, 2024
2d405c9
Fix formatting IDE0055 warnings in VS Code (#33669)
CrafterKolyan Dec 1, 2024
5fdf03c
Replace obsolete GetTilesIntersecting methods (#32455)
MilenVolf Dec 1, 2024
bf312f2
Update Snowasis (#33364)
IProduceWidgets Dec 1, 2024
237324e
Automatic changelog update
PJBot Dec 1, 2024
d4067bc
Fix wrong system usage (#33679)
MilenVolf Dec 1, 2024
b3841e8
Fix BuckleSystem always marking InteractHandEvent as Handled (#33602)
MilenVolf Dec 1, 2024
560fd8d
Automatic changelog update
PJBot Dec 1, 2024
7f966ab
Touching up Bagel Security Brig (#33680)
dylanstrategie Dec 2, 2024
768d2ba
[Maps] Tushkan update #3 — Winter (#2826)
Ko4ergaPunk Dec 2, 2024
eada6f3
Map pool tweak (#2827)
Ko4ergaPunk Dec 2, 2024
638a1dc
Fixed ghost role rules for some syndicate familiars (#32457)
JIPDawg Dec 2, 2024
cc804bf
Automatic changelog update
PJBot Dec 2, 2024
b800d98
Fix lobby countdown not showing hours (#33685)
SpaceManiac Dec 2, 2024
e4e84ae
New Low-Mid Pop Station - Amber Station (#33441)
southbridge-fur Dec 3, 2024
f0829a6
Automatic changelog update
PJBot Dec 3, 2024
2e31eb3
Makes kukri not use combat knife's storage sprite (#33661)
SpaceRox1244 Dec 3, 2024
c1491e9
Adds a morgue locked maints airlock (#33693)
IamVelcroboy Dec 3, 2024
029b037
Juiceable slimeballs (#33660)
luizwritescode Dec 3, 2024
e50c98c
Add missing nacho recipes (#33637)
CheddaCheez Dec 3, 2024
bfd005a
Automatic changelog update
PJBot Dec 3, 2024
2c2a435
Amber Station Seasonal Update (#33698)
southbridge-fur Dec 3, 2024
8902943
[Maps] Pilgrim update #8 & Silly tweak (#2828)
Ko4ergaPunk Dec 3, 2024
8718263
Amber Improvements (#33707)
southbridge-fur Dec 3, 2024
cf202e8
Fix sinks and toilets not draining (#33691)
Partmedia Dec 4, 2024
7ffd801
Automatic changelog update
PJBot Dec 4, 2024
c10a72b
Fix layout on wires UI (#33714)
PJB3005 Dec 4, 2024
fc8f7fb
Automatic changelog update
PJBot Dec 4, 2024
2e26ca7
Fix for towels not having a cooldown for cleaning (#33700)
tapiocaphobe Dec 4, 2024
152cf33
Add cooldown to buttons in borg's laws UI (#31490)
Hreno Dec 4, 2024
82528dc
Adds Store on Collide and Wand of the Locker (#33710)
keronshb Dec 4, 2024
fbfcccb
Automatic changelog update
PJBot Dec 4, 2024
e76bb1f
Merge remote-tracking branch 'wizards/master' into upstream-sync
Morb0 Dec 4, 2024
214b315
Update locale
Morb0 Dec 4, 2024
e5ea431
Fix upstream
Morb0 Dec 5, 2024
f02ba8b
Merge pull request #2830 from space-syndicate/upstream-sync
Morb0 Dec 5, 2024
f8c547c
upstream
AwareFoxy Dec 5, 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
  •  
  •  
  •  
23 changes: 23 additions & 0 deletions .github/workflows/labeler-review.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "Labels: Approved"
on:
pull_request_review:
types: [submitted]
jobs:
add_label:
# Change the repository name after you've made sure the team name is correct for your fork!
if: ${{ (github.repository == 'space-wizards/space-station-14') && (github.event.review.state == 'APPROVED') }}
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- uses: tspascoal/get-user-teams-membership@v3
id: checkUserMember
with:
username: ${{ github.actor }}
team: "content-maintainers,junior-maintainers"
GITHUB_TOKEN: ${{ secrets.LABELER_PAT }}
- if: ${{ steps.checkUserMember.outputs.isTeamMember == 'true' }}
uses: actions-ecosystem/action-add-labels@v1
with:
labels: "S: Approved"
12 changes: 6 additions & 6 deletions Content.Client/Actions/ActionsSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,13 +258,13 @@ public void UnlinkAllActions()

public void LinkAllActions(ActionsComponent? actions = null)
{
if (_playerManager.LocalEntity is not { } user ||
!Resolve(user, ref actions, false))
{
return;
}
if (_playerManager.LocalEntity is not { } user ||
!Resolve(user, ref actions, false))
{
return;
}

LinkActions?.Invoke(actions);
LinkActions?.Invoke(actions);
}

public override void Shutdown()
Expand Down
11 changes: 5 additions & 6 deletions Content.Client/Administration/UI/BanPanel/BanPanel.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ namespace Content.Client.Administration.UI.BanPanel;
[GenerateTypedNameReferences]
public sealed partial class BanPanel : DefaultWindow
{
public event Action<string?, (IPAddress, int)?, bool, byte[]?, bool, uint, string, NoteSeverity, string[]?, bool>? BanSubmitted;
public event Action<string?, (IPAddress, int)?, bool, ImmutableTypedHwid?, bool, uint, string, NoteSeverity, string[]?, bool>? BanSubmitted;
public event Action<string>? PlayerChanged;
private string? PlayerUsername { get; set; }
private (IPAddress, int)? IpAddress { get; set; }
private byte[]? Hwid { get; set; }
private ImmutableTypedHwid? Hwid { get; set; }
private double TimeEntered { get; set; }
private uint Multiplier { get; set; }
private bool HasBanFlag { get; set; }
Expand Down Expand Up @@ -371,9 +371,8 @@ private void OnIpChanged()
private void OnHwidChanged()
{
var hwidString = HwidLine.Text;
var length = 3 * (hwidString.Length / 4) - hwidString.TakeLast(2).Count(c => c == '=');
Hwid = new byte[length];
if (HwidCheckbox.Pressed && !(string.IsNullOrEmpty(hwidString) && LastConnCheckbox.Pressed) && !Convert.TryFromBase64String(hwidString, Hwid, out _))
ImmutableTypedHwid? hwid = null;
if (HwidCheckbox.Pressed && !(string.IsNullOrEmpty(hwidString) && LastConnCheckbox.Pressed) && !ImmutableTypedHwid.TryParse(hwidString, out hwid))
{
ErrorLevel |= ErrorLevelEnum.Hwid;
HwidLine.ModulateSelfOverride = Color.Red;
Expand All @@ -390,7 +389,7 @@ private void OnHwidChanged()
Hwid = null;
return;
}
Hwid = Convert.FromHexString(hwidString);
Hwid = hwid;
}

private void OnTypeChanged()
Expand Down
1 change: 1 addition & 0 deletions Content.Client/Administration/UI/Notes/NoteEdit.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ private void OnTypeChanged(OptionButton.ItemSelectedEventArgs args)
SecretCheckBox.Pressed = false;
SeverityOption.Disabled = false;
PermanentCheckBox.Pressed = true;
SubmitButton.Disabled = true;
UpdatePermanentCheckboxFields();
break;
case (int) NoteType.Message: // Message: these are shown to the player when they log on
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
using Robust.Shared.GameObjects;

namespace Content.Client.Atmos.Components;

[RegisterComponent]
public sealed partial class PipeColorVisualsComponent : Component
{
}
public sealed partial class PipeColorVisualsComponent : Component;
3 changes: 1 addition & 2 deletions Content.Client/Atmos/Consoles/AtmosAlarmEntryContainer.xaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<BoxContainer xmlns="https://spacestation14.io"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:s="clr-namespace:Content.Client.Stylesheets"
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
Orientation="Vertical" HorizontalExpand ="True" Margin="0 0 0 3">
Expand Down Expand Up @@ -62,7 +61,7 @@
</PanelContainer>
</BoxContainer>

<!-- If the alarm is inactive, this is label is diplayed instead -->
<!-- If the alarm is inactive, this is label is displayed instead -->
<Label Name="NoDataLabel" Text="{Loc 'atmos-alerts-window-no-data-available'}" HorizontalAlignment="Center" Margin="0 15" FontColorOverride="#a9a9a9" ReservesSpace="False" Visible="False"></Label>

<!-- Silencing progress bar -->
Expand Down
11 changes: 5 additions & 6 deletions Content.Client/Atmos/Consoles/AtmosAlarmEntryContainer.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,9 @@ public void UpdateEntry(AtmosAlertsComputerEntry entry, bool isFocus, AtmosAlert
GasGridContainer.RemoveAllChildren();

var gasData = focusData.Value.GasData.Where(g => g.Key != Gas.Oxygen);
var keyValuePairs = gasData.ToList();

if (gasData.Count() == 0)
if (keyValuePairs.Count == 0)
{
// No other gases
var gasLabel = new Label()
Expand All @@ -158,13 +159,11 @@ public void UpdateEntry(AtmosAlertsComputerEntry entry, bool isFocus, AtmosAlert
else
{
// Add an entry for each gas
foreach ((var gas, (var mol, var percent, var alert)) in gasData)
foreach ((var gas, (var mol, var percent, var alert)) in keyValuePairs)
{
var gasPercent = (FixedPoint2)0f;
gasPercent = percent * 100f;
FixedPoint2 gasPercent = percent * 100f;

if (!_gasShorthands.TryGetValue(gas, out var gasShorthand))
gasShorthand = "X";
var gasShorthand = _gasShorthands.GetValueOrDefault(gas, "X");

var gasLabel = new Label()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ protected override void Open()
_menu = new AtmosAlertsComputerWindow(this, Owner);
_menu.OpenCentered();
_menu.OnClose += Close;

EntMan.TryGetComponent<TransformComponent>(Owner, out var xform);
}

protected override void UpdateState(BoundUserInterfaceState state)
Expand All @@ -24,9 +22,6 @@ protected override void UpdateState(BoundUserInterfaceState state)

var castState = (AtmosAlertsComputerBoundInterfaceState) state;

if (castState == null)
return;

EntMan.TryGetComponent<TransformComponent>(Owner, out var xform);
_menu?.UpdateUI(xform?.Coordinates, castState.AirAlarms, castState.FireAlarms, castState.FocusData);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<controls:FancyWindow xmlns="https://spacestation14.io"
xmlns:ui="clr-namespace:Content.Client.Pinpointer.UI"
xmlns:controls="clr-namespace:Content.Client.UserInterface.Controls"
xmlns:gfx="clr-namespace:Robust.Client.Graphics;assembly=Robust.Client"
Title="{Loc 'atmos-alerts-window-title'}"
Resizable="False"
SetSize="1120 750"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
using Content.Shared.Atmos.Piping;
using JetBrains.Annotations;
using Robust.Client.GameObjects;
using Robust.Client.ResourceManagement;
using Robust.Shared.Serialization.TypeSerializers.Implementations;

namespace Content.Client.Atmos.EntitySystems;

Expand All @@ -19,7 +17,7 @@ public override void Initialize()
base.Initialize();

SubscribeLocalEvent<PipeAppearanceComponent, ComponentInit>(OnInit);
SubscribeLocalEvent<PipeAppearanceComponent, AppearanceChangeEvent>(OnAppearanceChanged, after: new[] { typeof(SubFloorHideSystem) });
SubscribeLocalEvent<PipeAppearanceComponent, AppearanceChangeEvent>(OnAppearanceChanged, after: [typeof(SubFloorHideSystem)]);
}

private void OnInit(EntityUid uid, PipeAppearanceComponent component, ComponentInit args)
Expand Down Expand Up @@ -84,7 +82,8 @@ private void OnAppearanceChanged(EntityUid uid, PipeAppearanceComponent componen

layer.Visible &= visible;

if (!visible) continue;
if (!visible)
continue;

layer.Color = color;
}
Expand Down
9 changes: 2 additions & 7 deletions Content.Client/Atmos/Monitor/AtmosAlarmableVisualsSystem.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
using System.Collections.Generic;
using Content.Shared.Atmos.Monitor;
using Content.Shared.Power;
using Robust.Client.GameObjects;
using Robust.Client.Graphics;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Maths;
using Robust.Shared.Serialization.Manager.Attributes;

namespace Content.Client.Atmos.Monitor;

Expand All @@ -27,7 +22,7 @@ protected override void OnAppearanceChange(EntityUid uid, AtmosAlarmableVisualsC
{
foreach (var visLayer in component.HideOnDepowered)
{
if (args.Sprite.LayerMapTryGet(visLayer, out int powerVisibilityLayer))
if (args.Sprite.LayerMapTryGet(visLayer, out var powerVisibilityLayer))
args.Sprite.LayerSetVisible(powerVisibilityLayer, powered);
}
}
Expand All @@ -36,7 +31,7 @@ protected override void OnAppearanceChange(EntityUid uid, AtmosAlarmableVisualsC
{
foreach (var (setLayer, powerState) in component.SetOnDepowered)
{
if (args.Sprite.LayerMapTryGet(setLayer, out int setStateLayer))
if (args.Sprite.LayerMapTryGet(setLayer, out var setStateLayer))
args.Sprite.LayerSetState(setStateLayer, new RSI.StateId(powerState));
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
using Content.Shared.Atmos;
using Content.Shared.Atmos.Monitor;
using Content.Shared.Atmos.Monitor.Components;
using Robust.Client.GameObjects;
using Robust.Client.UserInterface;
using Robust.Shared.GameObjects;
using Robust.Shared.IoC;
using Robust.Shared.Log;

namespace Content.Client.Atmos.Monitor.UI;

Expand Down Expand Up @@ -78,6 +74,7 @@ protected override void Dispose(bool disposing)
{
base.Dispose(disposing);

if (disposing) _window?.Dispose();
if (disposing)
_window?.Dispose();
}
}
21 changes: 8 additions & 13 deletions Content.Client/Atmos/Monitor/UI/AirAlarmWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
using Content.Shared.Atmos.Piping.Unary.Components;
using Content.Shared.Temperature;
using Robust.Client.AutoGenerated;
using Robust.Client.GameObjects;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;

Expand Down Expand Up @@ -59,7 +58,7 @@ public AirAlarmWindow()
AirAlarmMode.Fill => "air-alarm-ui-mode-fill",
AirAlarmMode.Panic => "air-alarm-ui-mode-panic",
AirAlarmMode.None => "air-alarm-ui-mode-none",
_ => "error"
_ => "error",
};
_modes.AddItem(Loc.GetString(text));
}
Expand All @@ -70,7 +69,7 @@ public AirAlarmWindow()
AirAlarmModeChanged!.Invoke((AirAlarmMode) args.Id);
};

_autoMode.OnToggled += args =>
_autoMode.OnToggled += _ =>
{
AutoModeChanged!.Invoke(_autoMode.Pressed);
};
Expand Down Expand Up @@ -176,22 +175,18 @@ public void UpdateDeviceData(string addr, IAtmosDeviceData device)

public static Color ColorForThreshold(float amount, AtmosAlarmThreshold threshold)
{
threshold.CheckThreshold(amount, out AtmosAlarmType curAlarm);
threshold.CheckThreshold(amount, out var curAlarm);
return ColorForAlarm(curAlarm);
}

public static Color ColorForAlarm(AtmosAlarmType curAlarm)
{
if(curAlarm == AtmosAlarmType.Danger)
return curAlarm switch
{
return StyleNano.DangerousRedFore;
}
else if(curAlarm == AtmosAlarmType.Warning)
{
return StyleNano.ConcerningOrangeFore;
}

return StyleNano.GoodGreenFore;
AtmosAlarmType.Danger => StyleNano.DangerousRedFore,
AtmosAlarmType.Warning => StyleNano.ConcerningOrangeFore,
_ => StyleNano.GoodGreenFore,
};
}


Expand Down
8 changes: 2 additions & 6 deletions Content.Client/Atmos/Monitor/UI/Widgets/PumpControl.xaml.cs
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
using System;
using Content.Shared.Atmos.Monitor;
using Content.Shared.Atmos.Monitor.Components;
using Content.Shared.Atmos.Piping.Unary.Components;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls;
using Robust.Client.UserInterface.XAML;
using Robust.Shared.Localization;

namespace Content.Client.Atmos.Monitor.UI.Widgets;

Expand All @@ -25,7 +21,7 @@ public sealed partial class PumpControl : BoxContainer
private OptionButton _pressureCheck => CPressureCheck;
private FloatSpinBox _externalBound => CExternalBound;
private FloatSpinBox _internalBound => CInternalBound;
private Button _copySettings => CCopySettings;
private Button _copySettings => CCopySettings;

public PumpControl(GasVentPumpData data, string address)
{
Expand Down Expand Up @@ -86,7 +82,7 @@ public PumpControl(GasVentPumpData data, string address)
_data.PressureChecks = (VentPressureBound) args.Id;
PumpDataChanged?.Invoke(_address, _data);
};

_copySettings.OnPressed += _ =>
{
PumpDataCopied?.Invoke(_data);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
using System;
using System.Collections.Generic;
using System.Linq;
using Content.Shared.Atmos;
using Content.Shared.Atmos.Monitor;
using Content.Shared.Atmos.Monitor.Components;
using Content.Shared.Atmos.Piping.Unary.Components;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.CustomControls;
using Robust.Client.UserInterface.XAML;
using Robust.Shared.Localization;

namespace Content.Client.Atmos.Monitor.UI.Widgets;

Expand All @@ -27,7 +21,7 @@ public sealed partial class ScrubberControl : BoxContainer
private OptionButton _pumpDirection => CPumpDirection;
private FloatSpinBox _volumeRate => CVolumeRate;
private CheckBox _wideNet => CWideNet;
private Button _copySettings => CCopySettings;
private Button _copySettings => CCopySettings;

private GridContainer _gases => CGasContainer;
private Dictionary<Gas, Button> _gasControls = new();
Expand Down Expand Up @@ -77,7 +71,7 @@ public ScrubberControl(GasVentScrubberData data, string address)
_data.PumpDirection = (ScrubberPumpDirection) args.Id;
ScrubberDataChanged?.Invoke(_address, _data);
};

_copySettings.OnPressed += _ =>
{
ScrubberDataCopied?.Invoke(_data);
Expand Down
Loading
Loading