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

8/9/2024 Upstream merge #386

Merged
merged 746 commits into from
Aug 13, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
746 commits
Select commit Hold shift + click to select a range
2575e44
Add pen clicking sound (#30531)
themias Jul 31, 2024
b5a6f85
Automatic changelog update
PJBot Jul 31, 2024
7a99c96
Fix exploding pen clicking (#30533)
themias Jul 31, 2024
52b32fa
Fix hypo pen clicking (#30535)
themias Jul 31, 2024
ba16100
Update RespiratorSystem.cs to not use Component.Owner (#30426)
Plykiya Aug 1, 2024
1ef4f26
Remove obsolete code from VomitSystem (#30544)
Mervill Aug 1, 2024
1d2b713
Meteors now leave behind a bit of ore (#30419)
Plykiya Aug 1, 2024
34450dc
Automatic changelog update
PJBot Aug 1, 2024
ad0aba5
Change Social Anxiety ----> Stutter (#29898)
PixeltheAertistContrib Aug 1, 2024
b5524bf
Automatic changelog update
PJBot Aug 1, 2024
1d79b92
Adds hand labelers to the ChemDrobe, LawDrobe, and PTech (#29958)
Plykiya Aug 1, 2024
ab05228
Automatic changelog update
PJBot Aug 1, 2024
4b73250
Remove obsolete code from LightningSystem (#30546)
Mervill Aug 1, 2024
2c26be6
Add support for printing reagents in lathes (#30476)
EmoGarbage404 Aug 1, 2024
27f3bea
Cutter machine & steel mozaic item tiles (#30431)
Ko4ergaPunk Aug 1, 2024
ff76214
Automatic changelog update
PJBot Aug 1, 2024
7da2fb1
Change from using obsolete method in ExplosionOverlay (#30550)
SlamBamActionman Aug 1, 2024
71ea151
added paramedic to train (#30556)
NakataRin Aug 1, 2024
2422a60
Update Marathon (#30534)
lzk228 Aug 1, 2024
dc5f951
Remove cubes from nukie outpost. (#30547)
IProduceWidgets Aug 1, 2024
ce3169e
Automatic changelog update
PJBot Aug 1, 2024
b8fc703
Detective's closet now has a hand labeler (#30501)
marboww Aug 1, 2024
1fcbaa1
Automatic changelog update
PJBot Aug 1, 2024
dceb562
add(TransferAmountWindow): QoL stuff (#30464)
Brandon-Huu Aug 2, 2024
e6b6754
Update MoverController.cs to not use Component.Owner (#29965)
Plykiya Aug 2, 2024
20cb65f
Fix double interaction popups (#30452)
metalgearsloth Aug 2, 2024
a2e945f
Automatic changelog update
PJBot Aug 2, 2024
c99cdf5
susbox locale fix (#30564)
NakataRin Aug 2, 2024
4179821
Show the player a server message when they get booted from the arriva…
Mervill Aug 2, 2024
745d90a
Revolver fixes for caseless ammo and wielding (#30117)
Kaga-404 Aug 2, 2024
67fc8af
Adjusts the lethality of meteor explosions (#29199)
WarMechanic Aug 2, 2024
0b253e9
Automatic changelog update
PJBot Aug 2, 2024
2c31e03
Fix borgs being unable to state laws or open other UIs without module…
slarticodefast Aug 2, 2024
fa5995d
Automatic changelog update
PJBot Aug 2, 2024
b4607ac
add flash bounty for revs (#29248)
deltanedas Aug 2, 2024
5dd3e9b
tweak(BurialSystem): Don't cancel doafter on keyup (#30507)
Brandon-Huu Aug 2, 2024
d13bcd1
WRU and FS autocompletion (#30508)
TropicalHibi Aug 2, 2024
bfd47ed
Automatic changelog update
PJBot Aug 2, 2024
c36b943
Add PR guidelines checkbox to PR template (#30283)
VasilisThePikachu Aug 2, 2024
378d1e5
Adjusts the Bingus steal target to include any of the named cats (#30…
IamVelcroboy Aug 2, 2024
85bcc74
Add percentage reading to chargers (#28500)
Plykiya Aug 2, 2024
533c968
Automatic changelog update
PJBot Aug 2, 2024
448f380
Remove duplicate cartridge rsi (#30498)
slarticodefast Aug 2, 2024
ccdbdee
Add DoAfter handling to `InteractWithOperator` (#30319)
osjarw Aug 2, 2024
1579c8a
Deploy foldable (#30000)
ShadowCommander Aug 2, 2024
8d23d36
Automatic changelog update
PJBot Aug 2, 2024
36038a1
Allow ai to understand if its handcuffed. (#30402)
IProduceWidgets Aug 2, 2024
029771d
'Spawn Here' Verb Forces Mind Transfer (#30568)
Aidenkrz Aug 2, 2024
ed4ae16
Add "fill levels" to spear in-hand/wielded/equipped sprites (#28865)
Tayrtahn Aug 2, 2024
ac4086f
apc touchup sprite (#30460)
Emisse Aug 2, 2024
af75258
Remove obsolete code from Food, Drink and Respirator systems. (#30560)
Mervill Aug 2, 2024
2a29fea
make the digital audio workstation rotatable (#30571)
slarticodefast Aug 2, 2024
f153f13
Automatic changelog update
PJBot Aug 2, 2024
1fd934d
Use EntityQuery for footstep modifier and map grid in SharedMoverCont…
DrSmugleaf Aug 2, 2024
0f33025
Debug command to make you thirsty (#30562)
Mervill Aug 2, 2024
ea6be02
Automatic changelog update
PJBot Aug 2, 2024
577f30f
Add haloperidol, potassium iodide (#27454)
slarticodefast Aug 2, 2024
858f954
Automatic changelog update
PJBot Aug 2, 2024
a2f27f9
Fix Bwoink Player sorting again.... (#30580)
Titian3 Aug 2, 2024
32d1ea4
Automatic changelog update
PJBot Aug 2, 2024
7efc557
Marathon had extra pipes under windows (#30584)
JustCone14 Aug 2, 2024
be681aa
Packed Singulo Substation & Chemistry Windoors (#30572)
JustCone14 Aug 2, 2024
4a1b654
Toxins Guidebook spelling mistakes (#30585)
JustCone14 Aug 2, 2024
0689e16
Recolor winter boots (#30350)
Blackern5000 Aug 2, 2024
b72818c
Automatic changelog update
PJBot Aug 2, 2024
7c7dfb4
Greyscale Winter Coats and Hoods, some reorganizing of rsi. (#30314)
IProduceWidgets Aug 2, 2024
8931800
Add Ngl to chatsan (#30589)
OrangeMoronage9622 Aug 3, 2024
64273cb
Display the administrator's title in ahelp and ahelp relay (#30075)
chavonadelal Aug 3, 2024
b432dc6
Shotgun spread refactor (#27773)
RiceMar1244 Aug 3, 2024
a969332
SpeakOnUseSystem and phrases for figurines (#30455)
lzk228 Aug 3, 2024
a15fb56
Automatic changelog update
PJBot Aug 3, 2024
aad2441
Made the dank pizza actually dank (#30430)
JoelZimmerman Aug 3, 2024
77eb70e
Automatic changelog update
PJBot Aug 3, 2024
a937f05
fix(GhostRoleAntagSpawner): Create a new mind before transfering (#30…
Brandon-Huu Aug 3, 2024
936dc94
Docking ports now block air only in the direction their port is. (#30…
IProduceWidgets Aug 3, 2024
b55c37e
Fix a typo in the raid suit's description (#30612)
voidnull000 Aug 3, 2024
6e8f8d7
Update Credits (#30620)
github-actions[bot] Aug 4, 2024
54d5bd2
Add mapping editor (#23427)
DrSmugleaf Aug 4, 2024
0d506cc
added relevant guides to help menus (#30462)
Ian321 Aug 4, 2024
968cd9d
fix(ChargerSystem): Don't show battery level twice. (#30625)
Brandon-Huu Aug 4, 2024
2aa7226
Automatic changelog update
PJBot Aug 4, 2024
8865d4a
Make pointing cooldown a cvar (#30623)
DrSmugleaf Aug 4, 2024
94a1b67
Don't show toggle internals verb if no breath tools are found while o…
DrSmugleaf Aug 4, 2024
4fc8790
Automatic changelog update
PJBot Aug 4, 2024
f8bbc31
fix(Solutions): Implement missing bounds check (#30239)
Brandon-Huu Aug 4, 2024
c3c5a6b
Fix verbs in mapping state (#30631)
metalgearsloth Aug 4, 2024
206495f
Remove unused variable from ThownInsertContainerSystem (#30611)
Mervill Aug 4, 2024
bb29814
replace all uses of TryGetContainingContainer with non-obsolete overl…
slarticodefast Aug 4, 2024
f15cb8b
Give rotten meat `Trash` and `Recyclable` tag (#30594)
Mervill Aug 4, 2024
65d5539
Automatic changelog update
PJBot Aug 4, 2024
21d0326
Meta Robotics Console (#30652)
JustCone14 Aug 4, 2024
f1b8dcb
Cluster Christmas Removal (#30635)
JustCone14 Aug 4, 2024
17cecec
Update Core (#30633)
UbaserB Aug 4, 2024
548f9e3
Box Atmos Miners Grille Removal (#30610)
JustCone14 Aug 4, 2024
c237ef2
Fland Atmos Gas Miners Grille Removal (#30615)
JustCone14 Aug 4, 2024
8e43bb1
fml to chatsan (#30651)
OrangeMoronage9622 Aug 4, 2024
b306130
tweak(grammar): Correct multiple instances of incorrect "it's" usage…
Brandon-Huu Aug 4, 2024
c04f717
tweak(grammar): Correct multiple instances of incorrect "its" usage (…
Brandon-Huu Aug 4, 2024
d87d9c4
Fix GhostRoleRadio icons (#30650)
Plykiya Aug 5, 2024
84a9253
Fix falsely showing damage color effect to entities that aren't allow…
DrSmugleaf Aug 5, 2024
490de1d
Explosion resistance is now predicted! (#30654)
beck-thompson Aug 5, 2024
118ea97
Automatic changelog update
PJBot Aug 5, 2024
82d7636
Fix some descriptions (#30644)
lzk228 Aug 5, 2024
d0884a3
Improve communications console countdown formatting (#30495)
slarticodefast Aug 5, 2024
c5b887f
Gets rid of all leftover usages of IEyeManager.CurrentMap (#30022)
Plykiya Aug 5, 2024
6503cb7
Sleeper agents event no longer occurs when evacuation is called (#30646)
Killerqu00 Aug 5, 2024
7e285ee
Automatic changelog update
PJBot Aug 5, 2024
a79cbf3
Give Mice Combat Mode and a 0 Damage Attack (#30487)
Cojoke-dot Aug 5, 2024
68dbf64
Automatic changelog update
PJBot Aug 5, 2024
0ef5f66
Fix warnings in ShuttleSystem.GridFill.cs (#30253)
Simyon264 Aug 5, 2024
01e1624
Move PaperSystem to Shared (#30592)
Plykiya Aug 5, 2024
a95d225
JobRequirement refactor (#30347)
TheShuEd Aug 5, 2024
71a8fd5
Automatic changelog update
PJBot Aug 5, 2024
6264a55
Restore the longer traitor briefing message (#30404)
Errant-4 Aug 5, 2024
9a8620d
De-duplicate loadout gear (#30341)
metalgearsloth Aug 5, 2024
a3cbbe7
Change the mimebot and killer tomato's descriptions (#30639)
voidnull000 Aug 5, 2024
c9b69ef
Update submodule to 229.1.0 (#30664)
metalgearsloth Aug 5, 2024
e2ca1a1
add(Spawners): Add a honk bot spawner (#30616)
Brandon-Huu Aug 5, 2024
1629e20
Missing mime mask sprites for Vox (#30607)
foboscheshir Aug 5, 2024
bc3d53e
Automatic changelog update
PJBot Aug 5, 2024
8771cc0
Debug command to set either your hunger or thirst to one of their res…
Mervill Aug 5, 2024
52e03d2
Automatic changelog update
PJBot Aug 5, 2024
8197382
Fix random unused field warnings (#29948)
metalgearsloth Aug 5, 2024
bf06d0e
Change Thief Syndie & Chameleon kit contents, add Syndie codeword pap…
SlamBamActionman Aug 5, 2024
50408da
Automatic changelog update
PJBot Aug 5, 2024
b3a64d4
Add slowdown to low temperatures (#29692)
EmoGarbage404 Aug 5, 2024
d45810b
Automatic changelog update
PJBot Aug 5, 2024
c1eb319
Refactor the `hungry` debug command to be in line with `thirsty` (#30…
Mervill Aug 5, 2024
f7d8b4e
Fix verb sub (#30667)
metalgearsloth Aug 5, 2024
9bb9e80
tweak(SolutionTransfer): Raise default max transfer amount. (#29969)
Brandon-Huu Aug 5, 2024
edd1707
Fix admin logs cache caching rounds forever if multiple game servers …
DrSmugleaf Aug 5, 2024
f8c5a51
add(fland): Add a space cleaner dispenser to flands janitoral departm…
Brandon-Huu Aug 6, 2024
c948bd0
add(reach): Add a space cleaner dispenser to flands janitoral departm…
Brandon-Huu Aug 6, 2024
a8c74ca
add(emergency_omega): Add defib to medical treatment area (#30693)
Brandon-Huu Aug 6, 2024
e477a49
Make biofab distinct from biogen (#30696)
EmoGarbage404 Aug 6, 2024
fb994e8
Add comment into jetpack system, to prevent future grid jetpack PRs (…
TheShuEd Aug 6, 2024
26ad898
Automatic changelog update
PJBot Aug 6, 2024
9522dbc
Vox nukies and ninjafix (#29783)
Errant-4 Aug 6, 2024
53719bd
better examine text for radiation collectors (#30606)
EmoGarbage404 Aug 6, 2024
4426ce1
Automatic changelog update
PJBot Aug 6, 2024
7117b92
Add whitelist to cryostorage (#30574)
slarticodefast Aug 6, 2024
7b3ff00
Automatic changelog update
PJBot Aug 6, 2024
a87efd7
Replace xform.WorldPosition with xformSystem method for Setting/Getti…
Plykiya Aug 6, 2024
37e36bf
Vox head displacement map (#30699)
Flareguy Aug 6, 2024
de98531
Automatic changelog update
PJBot Aug 6, 2024
048da47
fix(emergency_meta): Lock the doors on evac shuttle (#29255)
Brandon-Huu Aug 6, 2024
bb80d44
marathon update (#30714)
Emisse Aug 6, 2024
1caddfa
packed update (#30716)
Emisse Aug 6, 2024
bd36ff9
train update (#30721)
Emisse Aug 6, 2024
e5fe6f7
Add mapping load acts (#30722)
metalgearsloth Aug 7, 2024
b4dfeec
Add more storage admin logs & fix some interaction validation (#30725)
ElectroJr Aug 7, 2024
05630bd
bagel update (#30727)
Emisse Aug 7, 2024
5247878
Fix Mind Transfer and Role Assignment Logic for Antagonists (#30711)
NakataRin Aug 7, 2024
6ccc10e
Vox Medical Mask sprite fix (#30702)
Errant-4 Aug 7, 2024
9903d36
Automatic changelog update
PJBot Aug 7, 2024
2dabf33
fix(FieldGenerators): Add missing connection check (#30468)
Brandon-Huu Aug 7, 2024
ce97225
Replace IClickAlert with events (#30728)
EmoGarbage404 Aug 7, 2024
7dc6a56
Space Dragons can't be flashed (#30658)
Lyroth001 Aug 7, 2024
c613841
Automatic changelog update
PJBot Aug 7, 2024
d10fa77
bagel update (#30730)
Emisse Aug 7, 2024
d86438c
martathon update (#30731)
Emisse Aug 7, 2024
6a5cc88
Dragdrop fold rollerbed (#30002)
ShadowCommander Aug 7, 2024
150e8f0
Automatic changelog update
PJBot Aug 7, 2024
15aa75f
Updated remaining ghostroles for species loadouts (#29746)
Errant-4 Aug 7, 2024
6d0e915
Automatic changelog update
PJBot Aug 7, 2024
3dd5d56
Rename mining walls as "mining walls" (#30729)
Ko4ergaPunk Aug 7, 2024
7754ea9
Fix warning cone rotation in inventory (#30672)
lzk228 Aug 7, 2024
ff28fee
butter is slippery (#29772)
IProduceWidgets Aug 7, 2024
8e3ddcc
Automatic changelog update
PJBot Aug 7, 2024
d4ad2e4
Don't disable collision on dead mobs, fixes an issue with pulling (#3…
Dutch-VanDerLinde Aug 7, 2024
d86c886
Add more advertisements (#30653)
lzk228 Aug 7, 2024
9645f55
Strip drag drop test (#30754)
ShadowCommander Aug 8, 2024
b8d10a3
Add verbose (client predicted!) examine text to Gas Miners (#30480)
Mervill Aug 8, 2024
3a50880
Automatic changelog update
PJBot Aug 8, 2024
23e4a9a
Update submodule to 229.1.2 (#30764)
metalgearsloth Aug 8, 2024
ab28e1a
Remove obsolete occurrences of IComponent.Owner being assigned just b…
Mervill Aug 8, 2024
929e6a2
Improved Spanish accent (#30551)
BackeTako Aug 8, 2024
0057141
Automatic changelog update
PJBot Aug 8, 2024
489efeb
remove GenericAntag completely (#28218)
deltanedas Aug 8, 2024
1df8451
Add EntityWorldTargetAction (#29819)
ShadowCommander Aug 8, 2024
f24949a
ai stays seated and pulled while cuffed. (#30397)
IProduceWidgets Aug 8, 2024
35819e4
more consistent CentComm naming (#29217)
strO0pwafel Aug 8, 2024
1d5a330
Buff EMP implant and grenade range (#30660)
Plykiya Aug 8, 2024
aea28b7
Automatic changelog update
PJBot Aug 8, 2024
bd51cf3
Teleport and delete buttons in objects tab. (#28914)
VigersRay Aug 8, 2024
190ceda
Add BreakOnDropItem, update do afters, remove unnecessary declaration…
Plykiya Aug 8, 2024
6d6c836
Automatic changelog update
PJBot Aug 8, 2024
03745ef
Thief beacons (try 2) (#29997)
TheShuEd Aug 8, 2024
6570515
Automatic changelog update
PJBot Aug 8, 2024
703c884
Fix for issue 30781 (#30788)
saintmuntzer Aug 8, 2024
66f0cd4
Remove suspect figurine line (#30795)
dffdff2423 Aug 8, 2024
3db51a7
train update (#30797)
Emisse Aug 8, 2024
25afc26
Add RD labcoat in RD's dresser (#30671)
lzk228 Aug 8, 2024
c43fcdf
Automatic changelog update
PJBot Aug 8, 2024
07174d0
Better DNA forensics & ReagentData (#26699)
SlamBamActionman Aug 8, 2024
0423691
Automatic changelog update
PJBot Aug 8, 2024
1b1008a
Scrap (#30762)
EmoGarbage404 Aug 8, 2024
8ebe105
Add butter slices (#30789)
themias Aug 8, 2024
15ae043
Automatic changelog update
PJBot Aug 8, 2024
e4ff578
full sticky prediction (#30230)
deltanedas Aug 8, 2024
ad18c6e
Secret stash refractor (#29396)
beck-thompson Aug 8, 2024
2528231
offgrid mob friction (#29383)
EmoGarbage404 Aug 9, 2024
2ea17a4
Automatic changelog update
PJBot Aug 9, 2024
da0b8d4
remove UntrackedMapBoundUserInterface (#30752)
slarticodefast Aug 9, 2024
8a4ef69
Add random seed options to tests (#30735)
ElectroJr Aug 9, 2024
b266c9b
Create Generic DamageOnInteract/Attacked Comps/Systems (#30244)
Plykiya Aug 9, 2024
d1a60fa
Implement a playerpanel (#30238)
nikthechampiongr Aug 9, 2024
a03d7c6
Automatic changelog update
PJBot Aug 9, 2024
06a44a8
require the warden to notify admins on disconnect (#30745)
Ian321 Aug 9, 2024
b54a420
Automatic changelog update
PJBot Aug 9, 2024
bce17e6
Fix decal megadiffs (#30732)
metalgearsloth Aug 9, 2024
279e287
Fix Panic bunker and Baby Jail being up to 14hrs incorrect. (#30581)
Titian3 Aug 9, 2024
1c5c155
Automatic changelog update
PJBot Aug 9, 2024
b7ef5ad
Add replacement words to Russian accent (#30554)
Psychpsyo Aug 9, 2024
c091acd
add(FaxComponent): Allows for setting defaults in the component. (#30…
CaasGit Aug 9, 2024
e6d6416
Add minimum required trigger speed to mouse traps (#30593)
Plykiya Aug 9, 2024
eab0c34
Create In-Guidebook Errors (#28942)
Aeshus Aug 9, 2024
e0d30af
Add tooltips to the agent ID job icons and improve status icon protot…
slarticodefast Aug 9, 2024
8d96c99
Automatic changelog update
PJBot Aug 9, 2024
4c4cdb5
UI to edit silicon laws from admin verb (#28483)
Simyon264 Aug 9, 2024
05a21ab
Automatic changelog update
PJBot Aug 9, 2024
60b63b5
Head bandana ingestion blocking fix (#28910)
stalengd Aug 9, 2024
619ba16
Automatic changelog update
PJBot Aug 9, 2024
e05df5d
tweak(HealthAnalyzer): Stop showing poup when used on self or when ca…
Brandon-Huu Aug 9, 2024
736325a
Log enrichment: Explosion damage to players (#29762)
TsjipTsjip Aug 9, 2024
31cd2a0
Add admin logs to Rehydration comp. (#30597)
Titian3 Aug 9, 2024
efe36c3
Automatic changelog update
PJBot Aug 9, 2024
c46a4e0
Fix(CuffableSystem): Check if cuffs can be transferred(dropped) (#30465)
Brandon-Huu Aug 9, 2024
268cab9
Make hotplate and grill anchorable on table part 2 (#29454)
lzk228 Aug 9, 2024
3c6df0e
add ghost role raffle to sentient artifact (#30746)
Ilya246 Aug 9, 2024
de86fdb
setgamepreset command rework (#30756)
Errant-4 Aug 9, 2024
ecf278a
Make clickable 1% nicer (#29706)
metalgearsloth Aug 9, 2024
0b256a0
Automatic changelog update
PJBot Aug 9, 2024
55d400b
New decals for mapping (#30374)
Ko4ergaPunk Aug 9, 2024
b8fc879
Automatic changelog update
PJBot Aug 9, 2024
1649ed4
Add access to gun components (#30688)
metalgearsloth Aug 9, 2024
0b2fa94
Revert "setgamepreset command rework" (#30807)
metalgearsloth Aug 9, 2024
d0a2187
Improve Criminal Records Computer usability (#30292)
eoineoineoin Aug 9, 2024
ed8bcb0
improve job special (#30753)
deltanedas Aug 9, 2024
c1797b7
Resprite the equipped gas canister suit slots (#30809)
UbaserB Aug 9, 2024
c3e96b3
Automatic changelog update
PJBot Aug 9, 2024
9f8ff02
Fix for stripping doafters (#30821)
Plykiya Aug 9, 2024
3f4e093
[Sprites/Fix] In hand for BlueSpace beaker & CMO's equipped cloak (#2…
MureixloI Aug 9, 2024
873c314
Add arm64 support to packager for windows and osx (#29723)
VasilisThePikachu Aug 9, 2024
1e824d7
Buckling an entity requires a do-after (#29621)
Plykiya Aug 9, 2024
bd5b13e
Automatic changelog update
PJBot Aug 9, 2024
ed3ec4d
Crowbar variants (#28988)
UbaserB Aug 9, 2024
218fef3
Automatic changelog update
PJBot Aug 9, 2024
c80c262
Crowbars fix (#30828)
lzk228 Aug 9, 2024
39efad7
Merge remote-tracking branch 'ss14/master' into 8-9-2024-upstream
deathride58 Aug 9, 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
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ csharp_indent_braces = false
csharp_indent_switch_labels = true

# Space preferences
csharp_space_after_cast = true
csharp_space_after_cast = false
csharp_space_after_colon_in_inheritance_clause = true
csharp_space_after_comma = true
csharp_space_after_dot = false
Expand Down
13 changes: 10 additions & 3 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,17 @@ Small fixes/refactors are exempt.
Any media may be used in SS14 progress reports, with clear credit given.

If you're unsure whether your PR will require media, ask a maintainer.

Check the box below to confirm that you have in fact seen this (put an X in the brackets, like [X]):
-->

## Requirements
<!--
Due to influx of PR's we require to ensure that PR's are following the correct guidelines.

Please take a moment to read these if its your first time.

Check the boxes below to confirm that you have in fact seen these (put an X in the brackets, like [X]):
-->
- [ ] I have read and I am following the [Pull Request Guidelines](https://docs.spacestation14.com/en/general-development/codebase-info/pull-request-guidelines.html). I understand that not doing so may get my pr closed at maintainer’s discretion
- [ ] I have added screenshots/videos to this PR showcasing its changes ingame, **or** this PR does not require an ingame showcase

## Breaking changes
Expand All @@ -34,7 +41,7 @@ Make players aware of new features and changes that could affect how they play t
-->

<!--
Make sure to take this Changelog template out of the comment block in order for it to show up.
Make sure to take this Changelog template out of the comment block in order for it to show up. Changelog must have a :cl: symbol, so the bot recognizes the changes and adds them to the game's changelog.
:cl:
- add: Added fun!
- remove: Removed fun!
Expand Down
8 changes: 6 additions & 2 deletions .github/labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,17 @@
"Changes: Map":
- changed-files:
- any-glob-to-any-file:
- 'Resources/Maps/*.yml'
- 'Resources/Prototypes/Maps/*.yml'
- 'Resources/Maps/**/*.yml'
- 'Resources/Prototypes/Maps/**/*.yml'

"Changes: UI":
- changed-files:
- any-glob-to-any-file: '**/*.xaml*'

"Changes: Shaders":
- changed-files:
- any-glob-to-any-file: '**/*.swsl'

"No C#":
- changed-files:
# Equiv to any-glob-to-all as long as this has one matcher. If ALL changed files are not C# files, then apply label.
Expand Down
42 changes: 19 additions & 23 deletions .github/workflows/publish.yml.disabled
Original file line number Diff line number Diff line change
Expand Up @@ -41,31 +41,22 @@ jobs:
- name: Package client
run: dotnet run --project Content.Packaging client --no-wipe-release

- name: Update Build Info
run: Tools/gen_build_info.py

- name: Shuffle files around
run: |
mkdir "release/${{ github.sha }}"
mv release/*.zip "release/${{ github.sha }}"

- name: Upload files to centcomm
uses: appleboy/scp-action@master
- name: Upload build artifact
id: artifact-upload-step
uses: actions/upload-artifact@v4
with:
host: centcomm.spacestation14.io
username: wizards-build-push
key: ${{ secrets.CENTCOMM_WIZARDS_BUILDS_PUSH_KEY }}
source: "release/${{ github.sha }}"
target: "/home/wizards-build-push/builds_dir/builds/"
strip_components: 1
name: build
path: release/*.zip
compression-level: 0
retention-days: 0

- name: Update manifest JSON
uses: appleboy/ssh-action@master
with:
host: centcomm.spacestation14.io
username: wizards-build-push
key: ${{ secrets.CENTCOMM_WIZARDS_BUILDS_PUSH_KEY }}
script: /home/wizards-build-push/push.ps1 ${{ github.sha }}
- name: Publish version
run: Tools/publish_github_artifact.py
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
ARTIFACT_ID: ${{ steps.artifact-upload-step.outputs.artifact-id }}
GITHUB_REPOSITORY: ${{ vars.GITHUB_REPOSITORY }}

- name: Publish changelog (Discord)
run: Tools/actions_changelogs_since_last_run.py
Expand All @@ -77,3 +68,8 @@ jobs:
run: Tools/actions_changelog_rss.py
env:
CHANGELOG_RSS_KEY: ${{ secrets.CHANGELOG_RSS_KEY }}

- uses: geekyeggo/delete-artifact@v5
if: always()
with:
name: build
8 changes: 0 additions & 8 deletions .github/workflows/test-packaging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,3 @@ jobs:

- name: Package client
run: dotnet run --project Content.Packaging client --no-wipe-release

- name: Update Build Info
run: Tools/gen_build_info.py

- name: Shuffle files around
run: |
mkdir "release/${{ github.sha }}"
mv release/*.zip "release/${{ github.sha }}"
9 changes: 8 additions & 1 deletion Content.Client/Access/UI/AccessLevelControl.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,18 @@ namespace Content.Client.Access.UI;
[GenerateTypedNameReferences]
public sealed partial class AccessLevelControl : GridContainer
{
[Dependency] private readonly ILogManager _logManager = default!;

private ISawmill _sawmill = default!;

public readonly Dictionary<ProtoId<AccessLevelPrototype>, Button> ButtonsList = new();

public AccessLevelControl()
{
RobustXamlLoader.Load(this);
IoCManager.InjectDependencies(this);

_sawmill = _logManager.GetSawmill("accesslevelcontrol");
}

public void Populate(List<ProtoId<AccessLevelPrototype>> accessLevels, IPrototypeManager prototypeManager)
Expand All @@ -25,7 +32,7 @@ public void Populate(List<ProtoId<AccessLevelPrototype>> accessLevels, IPrototyp
{
if (!prototypeManager.TryIndex(access, out var accessLevel))
{
Logger.Error($"Unable to find accesslevel for {access}");
_sawmill.Error($"Unable to find accesslevel for {access}");
continue;
}

Expand Down
45 changes: 25 additions & 20 deletions Content.Client/Access/UI/AccessOverriderBoundUserInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
using Content.Shared.Access.Components;
using Content.Shared.Access.Systems;
using Content.Shared.Containers.ItemSlots;
using Robust.Client.UserInterface;
using Robust.Shared.Prototypes;
using static Content.Shared.Access.Components.AccessOverriderComponent;

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

_window = this.CreateWindow<AccessOverriderWindow>();
RefreshAccess();
_window.Title = EntMan.GetComponent<MetaDataComponent>(Owner).EntityName;
_window.OnSubmit += SubmitData;

_window.PrivilegedIdButton.OnPressed += _ => SendMessage(new ItemSlotButtonPressedEvent(PrivilegedIdCardSlotId));
}

public override void OnProtoReload(PrototypesReloadedEventArgs args)
{
base.OnProtoReload(args);
if (!args.WasModified<AccessLevelPrototype>())
return;

RefreshAccess();

if (State != null)
_window?.UpdateState(_prototypeManager, (AccessOverriderBoundUserInterfaceState) State);
}

private void RefreshAccess()
{
List<ProtoId<AccessLevelPrototype>> accessLevels;

if (EntMan.TryGetComponent<AccessOverriderComponent>(Owner, out var accessOverrider))
{
accessLevels = accessOverrider.AccessLevels;
accessLevels.Sort();
}

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

_window = new AccessOverriderWindow(this, _prototypeManager, accessLevels)
{
Title = EntMan.GetComponent<MetaDataComponent>(Owner).EntityName
};

_window.PrivilegedIdButton.OnPressed += _ => SendMessage(new ItemSlotButtonPressedEvent(PrivilegedIdCardSlotId));

_window.OnClose += Close;
_window.OpenCentered();
}

protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
if (!disposing)
return;

_window?.Dispose();
_window?.SetAccessLevels(_prototypeManager, accessLevels);
}

protected override void UpdateState(BoundUserInterfaceState state)
{
base.UpdateState(state);
var castState = (AccessOverriderBoundUserInterfaceState) state;
_window?.UpdateState(castState);
_window?.UpdateState(_prototypeManager, castState);
}

public void SubmitData(List<ProtoId<AccessLevelPrototype>> newAccessList)
Expand Down
41 changes: 18 additions & 23 deletions Content.Client/Access/UI/AccessOverriderWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,26 +13,24 @@ namespace Content.Client.Access.UI
[GenerateTypedNameReferences]
public sealed partial class AccessOverriderWindow : DefaultWindow
{
[Dependency] private readonly ILogManager _logManager = default!;
[Dependency] private readonly IPrototypeManager _prototypeManager = default!;

private readonly AccessOverriderBoundUserInterface _owner;
private readonly Dictionary<string, Button> _accessButtons = new();

public AccessOverriderWindow(AccessOverriderBoundUserInterface owner, IPrototypeManager prototypeManager,
List<ProtoId<AccessLevelPrototype>> accessLevels)
public event Action<List<ProtoId<AccessLevelPrototype>>>? OnSubmit;

public AccessOverriderWindow()
{
RobustXamlLoader.Load(this);
IoCManager.InjectDependencies(this);
var logMill = _logManager.GetSawmill(SharedAccessOverriderSystem.Sawmill);
}

_owner = owner;
public void SetAccessLevels(IPrototypeManager protoManager, List<ProtoId<AccessLevelPrototype>> accessLevels)
{
_accessButtons.Clear();
AccessLevelGrid.DisposeAllChildren();

foreach (var access in accessLevels)
{
if (!prototypeManager.TryIndex(access, out var accessLevel))
if (!protoManager.TryIndex(access, out var accessLevel))
{
logMill.Error($"Unable to find accesslevel for {access}");
continue;
}

Expand All @@ -44,11 +42,16 @@ public AccessOverriderWindow(AccessOverriderBoundUserInterface owner, IPrototype

AccessLevelGrid.AddChild(newButton);
_accessButtons.Add(accessLevel.ID, newButton);
newButton.OnPressed += _ => SubmitData();
newButton.OnPressed += _ =>
{
OnSubmit?.Invoke(
// Iterate over the buttons dictionary, filter by `Pressed`, only get key from the key/value pair
_accessButtons.Where(x => x.Value.Pressed).Select(x => new ProtoId<AccessLevelPrototype>(x.Key)).ToList());
};
}
}

public void UpdateState(AccessOverriderBoundUserInterfaceState state)
public void UpdateState(IPrototypeManager protoManager, AccessOverriderBoundUserInterfaceState state)
{
PrivilegedIdLabel.Text = state.PrivilegedIdName;
PrivilegedIdButton.Text = state.IsPrivilegedIdPresent
Expand All @@ -66,11 +69,11 @@ public void UpdateState(AccessOverriderBoundUserInterfaceState state)

if (state.MissingPrivilegesList != null && state.MissingPrivilegesList.Any())
{
List<string> missingPrivileges = new List<string>();
var missingPrivileges = new List<string>();

foreach (string tag in state.MissingPrivilegesList)
{
string privilege = Loc.GetString(_prototypeManager.Index<AccessLevelPrototype>(tag)?.Name ?? "generic-unknown");
var privilege = Loc.GetString(protoManager.Index<AccessLevelPrototype>(tag)?.Name ?? "generic-unknown");
missingPrivileges.Add(privilege);
}

Expand All @@ -90,13 +93,5 @@ public void UpdateState(AccessOverriderBoundUserInterfaceState state)
}
}
}

private void SubmitData()
{
_owner.SubmitData(

// Iterate over the buttons dictionary, filter by `Pressed`, only get key from the key/value pair
_accessButtons.Where(x => x.Value.Pressed).Select(x => new ProtoId<AccessLevelPrototype>(x.Key)).ToList());
}
}
}
23 changes: 5 additions & 18 deletions Content.Client/Access/UI/AgentIDCardBoundUserInterface.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Content.Shared.Access.Systems;
using Content.Shared.StatusIcon;
using Robust.Client.GameObjects;
using Robust.Client.UserInterface;
using Robust.Shared.Prototypes;

namespace Content.Client.Access.UI
Expand All @@ -20,16 +21,11 @@ protected override void Open()
{
base.Open();

_window?.Dispose();
_window = new AgentIDCardWindow(this);
if (State != null)
UpdateState(State);
_window = this.CreateWindow<AgentIDCardWindow>();

_window.OpenCentered();

_window.OnClose += Close;
_window.OnNameChanged += OnNameChanged;
_window.OnJobChanged += OnJobChanged;
_window.OnJobIconChanged += OnJobIconChanged;
}

private void OnNameChanged(string newName)
Expand All @@ -42,7 +38,7 @@ private void OnJobChanged(string newJob)
SendMessage(new AgentIDCardJobChangedMessage(newJob));
}

public void OnJobIconChanged(ProtoId<StatusIconPrototype> newJobIconId)
public void OnJobIconChanged(ProtoId<JobIconPrototype> newJobIconId)
{
SendMessage(new AgentIDCardJobIconChangedMessage(newJobIconId));
}
Expand All @@ -59,16 +55,7 @@ protected override void UpdateState(BoundUserInterfaceState state)

_window.SetCurrentName(cast.CurrentName);
_window.SetCurrentJob(cast.CurrentJob);
_window.SetAllowedIcons(cast.Icons, cast.CurrentJobIconId);
}

protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
if (!disposing)
return;

_window?.Dispose();
_window.SetAllowedIcons(cast.CurrentJobIconId);
}
}
}
11 changes: 4 additions & 7 deletions Content.Client/Access/UI/AgentIDCardWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,9 @@
<LineEdit Name="NameLineEdit" />
<Label Name="CurrentJob" Text="{Loc 'agent-id-card-current-job'}" />
<LineEdit Name="JobLineEdit" />
<BoxContainer Orientation="Horizontal">
<Label Text="{Loc 'agent-id-card-job-icon-label'}"/>
<Control HorizontalExpand="True" MinSize="50 0"/>
<GridContainer Name="IconGrid" Columns="10">
<!-- Job icon buttons are generated in the code -->
</GridContainer>
</BoxContainer>
<Label Text="{Loc 'agent-id-card-job-icon-label'}"/>
<GridContainer Name="IconGrid" Columns="10">
<!-- Job icon buttons are generated in the code -->
</GridContainer>
</BoxContainer>
</DefaultWindow>
Loading
Loading