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 merge 51 #716

Merged
merged 559 commits into from
Feb 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
559 commits
Select commit Hold shift + click to select a range
ca54709
Remove EntityUid from debug context menu (#24660)
metalgearsloth Feb 1, 2024
f3ff35d
Added Warning state for AME (#24699)
GloryOfNight Feb 1, 2024
498ad2d
Lock Anomaly generator to research access (#24464)
TheShuEd Feb 1, 2024
3054328
Automatic changelog update
PJBot Feb 1, 2024
dfef9dd
Remove starvation damage (#24790)
PJB3005 Feb 1, 2024
5669c41
Automatic changelog update
PJBot Feb 1, 2024
d76121d
Airlock assembly prototypes (#23821)
Flareguy Feb 1, 2024
ed0f2aa
Client customization late-join spawner priority for arrivals/cryostor…
Krunklehorn Feb 1, 2024
1862f8a
Visitor job (#23972)
SlamBamActionman Feb 1, 2024
c4f275b
Automatic changelog update
PJBot Feb 1, 2024
4f3b8d7
Spacelube slide (#24801)
Arendian Feb 1, 2024
4177e64
Automatic changelog update
PJBot Feb 1, 2024
3c88826
RD Locker Binary Comms Key and Binary Key Price decrease (#24778)
FungiFellow Feb 1, 2024
bbab394
Automatic changelog update
PJBot Feb 1, 2024
ecea561
Paraplegicn't zombies (#24169)
Arendian Feb 1, 2024
879b4d1
Buff the AME until somebody fixes engineering (#24806)
PJB3005 Feb 1, 2024
1f1809d
Automatic changelog update
PJBot Feb 1, 2024
628e22b
Newton cradle (#22914)
lzk228 Feb 1, 2024
bd86447
Fix item toggles where no sound exists (#24807)
metalgearsloth Feb 1, 2024
cdfff3c
Fixes Electrocutions to use available power, not consumed power (#24554)
Varen Feb 1, 2024
8385e93
Automatic changelog update
PJBot Feb 1, 2024
c0227bc
Fix tests (#24809)
metalgearsloth Feb 1, 2024
b8f0ed3
Cleanups PolymorphSystem/Components/Prototypes (#23721)
AJCM-git Feb 1, 2024
d520198
Make paper edible (#24755)
SlamBamActionman Feb 1, 2024
8b29267
Remove tiered part crates from expeditions (#24810)
mac6na6na Feb 1, 2024
1fc237a
Automatic changelog update
PJBot Feb 1, 2024
e212b10
Open some windows non-centered to avoid covering the player (#24767)
mirrorcult Feb 1, 2024
b932d94
Automatic changelog update
PJBot Feb 1, 2024
6b03aaa
make dialog window not evil (#24677)
deltanedas Feb 1, 2024
870661f
box update (#24813)
Emisse Feb 1, 2024
5dc1481
Make plushies, whoopie cushions, and some toys usable as modular gren…
Tayrtahn Feb 1, 2024
45dff4b
Automatic changelog update
PJBot Feb 1, 2024
0084121
Fix aHelp relay to detect AFK Admins (#24482)
Titian3 Feb 1, 2024
3f4ddeb
Automatic changelog update
PJBot Feb 1, 2024
c989340
Minor bizzaresoft_flipped visual issues. (#24498)
africalimedrop Feb 1, 2024
8b19b7f
Rev Components are no longer leaked + Rev and Zombie icon visibility …
nikthechampiongr Feb 1, 2024
4520ac8
add lizard speech bubble (#23365)
lunarcomets Feb 1, 2024
467e983
Move grenade components to shared (#22691)
Aexxie Feb 1, 2024
9cd6e4d
Fix clientside storage Whitelists (#24063)
Nopey Feb 1, 2024
d418514
Automatic changelog update
PJBot Feb 1, 2024
5280869
Remove obsolete transform call (#24217)
metalgearsloth Feb 1, 2024
67286f3
Update submodule to 209.0.0 (#24819)
metalgearsloth Feb 1, 2024
0375cd8
Remove bad tag (#24820)
metalgearsloth Feb 1, 2024
2aa5759
Update submodule to 209.0.1 (#24822)
metalgearsloth Feb 1, 2024
5d5c4c4
Action for closing prs submitted by the submitters master branch (#24…
VasilisThePikachu Feb 1, 2024
66b37b4
Adds ExaminableSolutionComponent to spray bottles (#24838)
Blazeror Feb 1, 2024
abd2bfc
Automatic changelog update
PJBot Feb 1, 2024
eed7ca1
Fix dylovene OD damage (#24826)
themias Feb 1, 2024
912b591
Automatic changelog update
PJBot Feb 1, 2024
e36844d
Remove gondola donkpocket & change berry box description (#24655)
SlamBamActionman Feb 1, 2024
c49c78b
spray painter rework (#23287)
deltanedas Feb 1, 2024
efb623d
Fix cryopod debug assert (#24830)
themias Feb 1, 2024
f25093e
Add Diona salute sound (#24836)
themias Feb 1, 2024
1b424d6
Automatic changelog update
PJBot Feb 1, 2024
8ef69ff
detective patch (#24739)
Dutch-VanDerLinde Feb 1, 2024
92dcc0a
Automatic changelog update
PJBot Feb 1, 2024
20ecbc2
Nerf the fridge explosion resistance (#24844)
VasilisThePikachu Feb 1, 2024
d356a07
Automatic changelog update
PJBot Feb 1, 2024
82434e7
Booze/Soda Dispenser label fix (#24848)
Hanzdegloker Feb 2, 2024
214961f
Fix slipping through fences (#24850)
Arendian Feb 2, 2024
dfa86fb
Automatic changelog update
PJBot Feb 2, 2024
606c5a8
Make popups nullable (#24802)
metalgearsloth Feb 2, 2024
58e28b5
fix spray paint popup spam on invalid door (#24857)
deltanedas Feb 2, 2024
6b15241
Add popup message for activating trigger with hand (#24858)
Partmedia Feb 2, 2024
ba0ca39
Screen Shake Intensity Slider in Accessibility Settings (#24749)
Psychpsyo Feb 2, 2024
5973341
Automatic changelog update
PJBot Feb 2, 2024
84c5057
Fix drug descriptions (#24622)
UbaserB Feb 2, 2024
3ffa15c
Fix storage destruction/deletion bug (#24882)
ElectroJr Feb 3, 2024
b98dc66
MeleeSoundComponent Working With 0 Damage (#24872)
Bixkitts Feb 3, 2024
30bd3d1
Fix mob pull issue (#22485)
Anzarot121 Feb 3, 2024
2191c75
Remove puller from simplemob (#22957)
metalgearsloth Feb 3, 2024
7e97d54
Automatic changelog update
PJBot Feb 3, 2024
641fb66
Add puller sanity test (#24885)
metalgearsloth Feb 3, 2024
765ea78
Add Stonk Pockets (#24876)
Tayrtahn Feb 3, 2024
b6dbdf2
Automatic changelog update
PJBot Feb 3, 2024
7ba6a27
Update cargo guidebook entry and other minor guidebook changes (#24828)
Hmeister-real Feb 3, 2024
ca5db8a
freezer prevents nuclear annihilation (#24884)
IProduceWidgets Feb 3, 2024
215da3f
Automatic changelog update
PJBot Feb 3, 2024
e7ee364
Space-Up flavor quick-fix (#24863)
lapatison Feb 3, 2024
2e7d236
Actually fix round restart audio this time (#24754)
FairlySadPanda Feb 3, 2024
bff50de
Make scarfs craftable (#24735)
Adrian16199 Feb 3, 2024
f0dddd4
Automatic changelog update
PJBot Feb 3, 2024
3120700
Fix pressing shift while held triggering escape (#24878)
Tayrtahn Feb 3, 2024
e4f6a4b
Various borg law fixes (#24870)
Zap527 Feb 3, 2024
3630956
Automatic changelog update
PJBot Feb 3, 2024
79e3a66
Update FollowerSystem's fix to use new helper property (#24889)
Tayrtahn Feb 3, 2024
0d8254b
Pulling rework (#20906)
metalgearsloth Feb 3, 2024
f7b61f6
Automatic changelog update
PJBot Feb 3, 2024
c4e7f1e
Remove soapy water (#24301)
lzk228 Feb 3, 2024
5db6a3e
Decouple panels and wires (#24840)
EmoGarbage404 Feb 3, 2024
3484e69
Automatic changelog update
PJBot Feb 3, 2024
778a704
Fixed unable to select None for character spawn priority (#24897)
Krunklehorn Feb 3, 2024
240ebfa
Automatic changelog update
PJBot Feb 3, 2024
d01d750
Travelling pointing arrows, brains can no longer point (#24864)
Krunklehorn Feb 3, 2024
864904d
Automatic changelog update
PJBot Feb 3, 2024
9e484c4
Fix sliding bug (#24846)
Arendian Feb 3, 2024
8af1bea
Fixed incorrect path to the uranium spear image in the construction m…
shampunj Feb 3, 2024
07523b5
Automatic changelog update
PJBot Feb 3, 2024
6047485
Add carp pocket (#24888)
deltanedas Feb 3, 2024
09daa53
Fix end of round messages looping forever (#24920)
nikthechampiongr Feb 3, 2024
c9018cf
Automatic changelog update
PJBot Feb 3, 2024
2d48ec5
chat color change (#24922)
EmoGarbage404 Feb 3, 2024
b7814c7
Automatic changelog update
PJBot Feb 3, 2024
24af66a
nuke biochem research discipline (#24871)
deltanedas Feb 3, 2024
914bab1
Automatic changelog update
PJBot Feb 3, 2024
c15b069
Emergency revert for pulling (#24923)
Jezithyr Feb 3, 2024
257909f
Adds a refund button & action upgrades for stores (#24518)
keronshb Feb 4, 2024
09dd92c
EMP disables suit sensors (#24869)
themias Feb 4, 2024
494af9a
Automatic changelog update
PJBot Feb 4, 2024
b503fe5
Add face bandanas (#24597)
themias Feb 4, 2024
7d15672
Automatic changelog update
PJBot Feb 4, 2024
042feae
Predicted movement opening lockers (#24937)
metalgearsloth Feb 4, 2024
66a0896
Automatic changelog update
PJBot Feb 4, 2024
9947120
Update Credits (#24935)
github-actions[bot] Feb 4, 2024
aa86b93
Adds navmap beacon for escape pods (#24938)
IamVelcroboy Feb 4, 2024
50e38cb
Fix quantum dispose (#24772)
koteq Feb 4, 2024
41cf3e5
Add open/closed/fill states and sprites (#24600)
Tayrtahn Feb 4, 2024
d9e6d3e
Automatic changelog update
PJBot Feb 4, 2024
66d7e60
grille is flimsy (#24881)
deltanedas Feb 4, 2024
0ccdd87
Automatic changelog update
PJBot Feb 4, 2024
1837459
Fix guidebook (#24947)
Hmeister-real Feb 4, 2024
8ae63cc
Auto Attack for Holoparasites (#24944)
Scribbles0 Feb 4, 2024
c856dd7
Automatic changelog update
PJBot Feb 4, 2024
683591a
criminal records revival (#22510)
deltanedas Feb 4, 2024
a8c9af1
Fixes bug with criminal records (#24954)
AJCM-git Feb 5, 2024
1ed8612
criminal records cl (#24953)
deltanedas Feb 5, 2024
e79d2b5
Store Action Upgrade Fix (#24959)
keronshb Feb 5, 2024
b88a8f0
Actually fix store action upgrades (#24960)
keronshb Feb 5, 2024
a40ec2c
Revert "Comment out faulty test"
TheArturZh Feb 5, 2024
30fd0c8
Sectech Advert Change (#24965)
UltimateJester Feb 5, 2024
9deaf67
Automatic changelog update
PJBot Feb 5, 2024
9b1c88b
move criminal records console component to shared (#24957)
deltanedas Feb 5, 2024
2ba1bd2
Update log probe UI for better looking (#24966)
koteq Feb 5, 2024
dafcf8b
Merge commit 'b4046bc2bb498bd525b8a40c7839a543c92ca18c' into upstream…
TheArturZh Feb 5, 2024
02396d7
Restore our Jaws-Of-Life functionality
TheArturZh Feb 5, 2024
1a4b96c
Rebalances electrocution damage to a log scale (#24829)
Varen Feb 5, 2024
66e9974
Automatic changelog update
PJBot Feb 5, 2024
26f9903
Revert "Add colored chat names (#844)"
TheArturZh Feb 5, 2024
58f9367
Merge commit 'abcdfbea187084aa150cf10f7637f3d09880cd06' into upstream…
TheArturZh Feb 5, 2024
a1fa82f
Adjust drink reagent colors (#24968)
Tayrtahn Feb 5, 2024
24f91ca
fix criminal records cl real (#24973)
deltanedas Feb 5, 2024
62b1082
Automatic changelog update
PJBot Feb 5, 2024
ab87db0
readd station records locale (#24976)
deltanedas Feb 5, 2024
66e162c
Restore Outlaw Glasses full identity blocking coverage (#24971)
themias Feb 5, 2024
f59a4e4
Automatic changelog update
PJBot Feb 5, 2024
43b9233
Special pens embed again (#24849)
Emisse Feb 5, 2024
9dc73f0
Automatic changelog update
PJBot Feb 5, 2024
bedccf8
Allow opening doors mid-deny animation, if you have the access (#24969)
koteq Feb 5, 2024
c0ce2a4
Fix our plasteel recipe
TheArturZh Feb 5, 2024
d47865c
Minor addition to Cybersun pen description (#24704)
SlamBamActionman Feb 5, 2024
ce77589
Borg Module QoL and Gas Analyzer Module Removal (#24702)
FungiFellow Feb 5, 2024
b34931b
Automatic changelog update
PJBot Feb 5, 2024
304dd2a
Bench recolor
TheArturZh Feb 6, 2024
4af033f
Revert space ambience distance change
TheArturZh Feb 6, 2024
f7056e4
Merge commit '740c298d2fb5ec5fb74ded3eee667251c613fd64' into upstream…
TheArturZh Feb 6, 2024
3c4c8a5
remove revolutionaries from all-at-once gamemode
TheArturZh Feb 6, 2024
9238db8
add asteroid rock migration
TheArturZh Feb 6, 2024
7e220d1
Revert "New shuttle guns sounds (#691)"
TheArturZh Feb 6, 2024
9cc3e8b
Adjust bulb glow mask
TheArturZh Feb 6, 2024
4129c77
Make Health Analysers UI continuously update (#22449)
Rainfey Feb 6, 2024
8e766ba
Automatic changelog update
PJBot Feb 6, 2024
c5027b5
Added Monitor Computer Boards to Observation Kit (#24979)
ada-please Feb 6, 2024
4dba9a5
Automatic changelog update
PJBot Feb 6, 2024
effcc5d
Make radiation collector a power supplier (#24978)
Partmedia Feb 6, 2024
f8df3ae
Fixed glass cargo opened sprite (#25003)
snebl Feb 6, 2024
635bd2a
Automatic changelog update
PJBot Feb 6, 2024
934ec97
meta update (#24952)
Emisse Feb 7, 2024
c70c1a1
box update (#25012)
Emisse Feb 7, 2024
e789e9c
Add New Fland Shuttle (#25016)
Mangohydra Feb 7, 2024
8dec7a6
Automatic changelog update
PJBot Feb 7, 2024
8ccdbe7
Disable voting for Sandbox mode (#25027)
Partmedia Feb 7, 2024
9cee54e
Improved output distribution of RoundToLevels (#25026)
Tayrtahn Feb 7, 2024
d4434db
Fix scram implant's teleportation out of containers (#24827)
koteq Feb 7, 2024
6e91190
Fixed GluedComponent interactions with metamorphic glasses (#24943)
Krunklehorn Feb 7, 2024
55dbe26
predict egg cracking + refactor (#25028)
deltanedas Feb 8, 2024
6c20938
Paper is now bad food (#25065)
Tunguso4ka Feb 8, 2024
5380f64
allow building atmos devices on lattice or thindow tiles (#25057)
Ilya246 Feb 8, 2024
af21657
Remove tail wag emote text (#25054)
Krunklehorn Feb 8, 2024
3f0572b
Automatic changelog update
PJBot Feb 8, 2024
601da0c
Small t-ray scanner resprite (#25047)
UbaserB Feb 8, 2024
e57cfea
Automatic changelog update
PJBot Feb 8, 2024
1a3ce6c
Fix brig timer labels to displaying correctly. (#25033)
nikthechampiongr Feb 8, 2024
f77550d
fix follow comannd help locale (#25032)
crazybrain23 Feb 8, 2024
8422216
Automatic changelog update
PJBot Feb 8, 2024
717d423
Fixes indestructible mop buckets (#25001)
vero5123 Feb 8, 2024
a6de63c
Automatic changelog update
PJBot Feb 8, 2024
007adfc
Straw hat. (#24997)
Adrian16199 Feb 8, 2024
a81ce94
Automatic changelog update
PJBot Feb 8, 2024
3b2921a
Alphabetically sorted guidebook entries (#24963)
Sk1tch Feb 8, 2024
9e79a26
Automatic changelog update
PJBot Feb 8, 2024
ca9523f
atlas update (#25071)
deltanedas Feb 9, 2024
20292cc
box update (#25074)
Emisse Feb 9, 2024
3b7d979
fland update (#25075)
Emisse Feb 9, 2024
5e02e1f
marathon update (#25076)
Emisse Feb 9, 2024
f72d7ca
meta update (#25077)
Emisse Feb 9, 2024
de0d5e4
Syndicate key grammar fix (#25085)
ARMOKS Feb 9, 2024
28755f5
Fix hybridization seedless probability (#25084)
Partmedia Feb 10, 2024
bd4e2c3
Added Tourniquets to stop bleeds (#23198)
PoorMansDreams Feb 10, 2024
0567f92
Update Skelly Vs The Rev lobby art (#25088)
FairlySadPanda Feb 10, 2024
d6c6c1d
Automatic changelog update
PJBot Feb 10, 2024
39b01fd
Minor airlock assembly clean up (#25073)
lapatison Feb 10, 2024
0a6eab2
Update README.md (#25067)
BasedUser Feb 10, 2024
2293f46
prevent opening debug menus without perms (#25091)
EmoGarbage404 Feb 10, 2024
b46944f
Remove battery from crew observation kit, fix description (#25000)
Varen Feb 10, 2024
667cebe
Laughin' Peas (#25089)
potato1234x Feb 10, 2024
83be213
Automatic changelog update
PJBot Feb 10, 2024
400036b
QM drip DLC (#24477)
Hanzdegloker Feb 10, 2024
b07e8ab
EMT Belt Part 2 (#24289)
UbaserB Feb 10, 2024
f7a3ea6
Flipped caps real (#24961)
themias Feb 10, 2024
1be7865
Automatic changelog update
PJBot Feb 10, 2024
cc5f45b
Nerf Beanbags (#24653)
Blackern5000 Feb 10, 2024
98015a4
Automatic changelog update
PJBot Feb 10, 2024
560ea97
Fix screenspace popups (#24987)
metalgearsloth Feb 10, 2024
21e2289
Automatic changelog update
PJBot Feb 10, 2024
543cd6a
Fix crew manifest department bugs (#24975)
themias Feb 10, 2024
b59dc29
Automatic changelog update
PJBot Feb 10, 2024
7a04acc
Changed door remote to trigger based on vision occlusion(#25093)
Plykiya Feb 10, 2024
7e91ffe
GPS In Paramed Locker (#25096)
PoorMansDreams Feb 10, 2024
148e102
Remove 'travis scott day' from the game (#25106)
bhenrich Feb 10, 2024
04ca43c
Automatic changelog update
PJBot Feb 10, 2024
64d2733
Remove erroneous changelog (#25107)
mirrorcult Feb 10, 2024
4a32152
Merge commit 'c25ddfd638e2c50b541e5ebf8c2eda85778f3711' into upstream…
TheArturZh Feb 10, 2024
0071b09
fixed fland cargo shuttle not having tiny fans (sorry) (#25095)
Mangohydra Feb 10, 2024
d3a9aab
Readd vehicles
TheArturZh Feb 10, 2024
2a9fa67
Glass box for antique laser pistol (#25104)
Nimfar11 Feb 10, 2024
541d8f8
Gibbing refactor (Per-part gibbing and giblet throwing!) (#24989)
Jezithyr Feb 10, 2024
0495b17
Automatic changelog update
PJBot Feb 10, 2024
19e067c
Fix blueshield loadout
TheArturZh Feb 10, 2024
5ccd452
Revert "Put entity resetting behind command flag (#24436)"
TheArturZh Feb 10, 2024
b2bb87c
Revert "Detectives gain independency (#23114)"
TheArturZh Feb 10, 2024
8e59b4f
Gibbing contents hotfix (#25114)
Jezithyr Feb 11, 2024
826abf2
fix avrite
TheArturZh Feb 11, 2024
179e335
Merge commit 'c856dd75067bace5944332a0f4b43d5bde413042' into upstream…
TheArturZh Feb 11, 2024
d11caa9
Revert "Buff the AME until somebody fixes engineering (#24806)"
TheArturZh Feb 11, 2024
8c7af2c
Revert "detective patch (#24739)"
TheArturZh Feb 11, 2024
05a2ddf
Predict two-way levers (#25043)
metalgearsloth Feb 11, 2024
48e12e2
post-merge fixes
TheArturZh Feb 11, 2024
b681019
Merge branch 'master' into upstream-merge-51
TheArturZh Feb 11, 2024
b2d0dd9
Replace Romerol with Ambuzol in chemist guidebook (#25108)
FluffiestFloof Feb 11, 2024
402051c
Fix borgs being able to emag themselves (#24748)
Zap527 Feb 11, 2024
82046ae
Ectoplasm is grindable into Necrosol (#25053)
UbaserB Feb 11, 2024
d804e47
Automatic changelog update
PJBot Feb 11, 2024
5e63b0c
Automatic changelog update
PJBot Feb 11, 2024
93d225d
Roundstart Food Service research (#25046)
UbaserB Feb 11, 2024
fabcc2b
Automatic changelog update
PJBot Feb 11, 2024
247be5b
Add option for character name colors in chat & move coloration to cli…
SlamBamActionman Feb 11, 2024
cd2eb35
Automatic changelog update
PJBot Feb 11, 2024
d41369e
Merge commit '9b1c88b78b4d27d7a762ebd80dc4294e9cf6332f' into upstream…
TheArturZh Feb 11, 2024
89f01e9
Criminal record console fixes
TheArturZh Feb 11, 2024
0cf48b7
Merge branch 'master' of https://github.com/space-wizards/space-stati…
TheArturZh Feb 11, 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
  •  
  •  
  •  
27 changes: 27 additions & 0 deletions .github/workflows/close-master-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Close PR's on master

on:
pull_request_target:
types: [ opened, ready_for_review ]

jobs:
run:
runs-on: ubuntu-latest
if: ${{github.head_ref == 'master' || github.head_ref == 'main' || github.head_ref == 'develop'}}

steps:
- uses: superbrothers/close-pull-request@v3
with:
comment: "Thank you for contributing to the Space Station 14 repository. Unfortunately, it looks like you submitted your pull request from the master branch. We suggest you follow [our git usage documentation](https://docs.spacestation14.com/en/general-development/setup/git-for-the-ss14-developer.html) \n\n You can move your current work from the master branch to another branch by doing `git branch <branch_name` and resetting the master branch."

# If you prefer to just comment on the pr and not close it, uncomment the bellow and comment the above

# - uses: actions/github-script@v7
# with:
# script: |
# github.rest.issues.createComment({
# issue_number: ${{ github.event.number }},
# owner: context.repo.owner,
# repo: context.repo.repo,
# body: "Thank you for contributing to the Space Station 14 repository. Unfortunately, it looks like you submitted your pull request from the master branch. We suggest you follow [our git usage documentation](https://docs.spacestation14.com/en/general-development/setup/git-for-the-ss14-developer.html) \n\n You can move your current work from the master branch to another branch by doing `git branch <branch_name` and resetting the master branch. \n\n This pr won't be automatically closed. However, a maintainer may close it for this reason."
# })
2 changes: 1 addition & 1 deletion .run/Content Server+Client.run.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<component name="ProjectRunConfigurationManager">
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Content Server+Client" type="CompoundRunConfigurationType">
<toRun name="Content.Client" type="DotNetProject" />
<toRun name="Content.Server" type="DotNetProject" />
Expand Down
2 changes: 1 addition & 1 deletion Content.Benchmarks/DeviceNetworkingBenchmark.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
using Content.IntegrationTests;
using Content.IntegrationTests.Pair;
using Content.IntegrationTests.Tests.DeviceNetwork;
using Content.Server.DeviceNetwork;
using Content.Server.DeviceNetwork.Systems;
using Content.Shared.DeviceNetwork;
using Robust.Shared;
using Robust.Shared.Analyzers;
using Robust.Shared.GameObjects;
Expand Down
2 changes: 1 addition & 1 deletion Content.Benchmarks/MapLoadBenchmark.cs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public async Task Cleanup()
PoolManager.Shutdown();
}

public static readonly string[] MapsSource = { "Empty", "Box", "Aspid", "Bagel", "Dev", "CentComm", "Atlas", "Core", "TestTeg", "Saltern", "Packed", "Omega", "Cluster", "Gemini", "Reach", "Origin", "Meta", "Marathon", "Europa", "MeteorArena", "Fland", "Barratry" };
public static readonly string[] MapsSource = { "Empty", "Box", "Bagel", "Dev", "CentComm", "Atlas", "Core", "TestTeg", "Saltern", "Packed", "Omega", "Cluster", "Reach", "Origin", "Meta", "Marathon", "Europa", "MeteorArena", "Fland", "Barratry" };

[ParamsSource(nameof(MapsSource))]
public string Map;
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Access/UI/IdCardConsoleWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public IdCardConsoleWindow(IdCardConsoleBoundUserInterface owner, IPrototypeMana

foreach (var job in jobs)
{
if (!job.SetPreference)
if (!job.OverrideConsoleVisibility.GetValueOrDefault(job.SetPreference))
{
continue;
}
Expand Down
154 changes: 11 additions & 143 deletions Content.Client/Administration/QuickDialogSystem.cs
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
using System.Linq;
using Content.Client.UserInterface.Controls;
using Content.Shared.Administration;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls;

namespace Content.Client.Administration;

// mfw they ported input() from BYOND

/// <summary>
/// This handles the client portion of quick dialogs.
/// </summary>
Expand All @@ -21,149 +16,22 @@ public override void Initialize()

private void OpenDialog(QuickDialogOpenEvent ev)
{
var window = new FancyWindow()
{
Title = ev.Title
};

var entryContainer = new BoxContainer()
{
Orientation = BoxContainer.LayoutOrientation.Vertical,
Margin = new Thickness(8),
};

var promptsDict = new Dictionary<string, LineEdit>();

for (var index = 0; index < ev.Prompts.Count; index++)
{
var entry = ev.Prompts[index];
var entryBox = new BoxContainer()
{
Orientation = BoxContainer.LayoutOrientation.Horizontal
};

entryBox.AddChild(new Label { Text = entry.Prompt, HorizontalExpand = true, SizeFlagsStretchRatio = 0.5f });
var edit = new LineEdit() { HorizontalExpand = true };
entryBox.AddChild(edit);
switch (entry.Type)
{
case QuickDialogEntryType.Integer:
edit.IsValid += VerifyInt;
edit.PlaceHolder = Loc.GetString("quick-dialog-ui-integer");
break;
case QuickDialogEntryType.Float:
edit.IsValid += VerifyFloat;
edit.PlaceHolder = Loc.GetString("quick-dialog-ui-float");
break;
case QuickDialogEntryType.ShortText:
edit.IsValid += VerifyShortText;
edit.PlaceHolder = Loc.GetString("quick-dialog-ui-short-text");
break;
case QuickDialogEntryType.LongText:
edit.IsValid += VerifyLongText;
edit.PlaceHolder = Loc.GetString("quick-dialog-ui-long-text");
break;
default:
throw new ArgumentOutOfRangeException();
}

promptsDict.Add(entry.FieldId, edit);
entryContainer.AddChild(entryBox);

if (index == ev.Prompts.Count - 1)
{
// Last text box gets enter confirmation.
// Only the last so you don't accidentally confirm early.
edit.OnTextEntered += _ => Confirm();
}
}
var ok = (ev.Buttons & QuickDialogButtonFlag.OkButton) != 0;
var cancel = (ev.Buttons & QuickDialogButtonFlag.CancelButton) != 0;
var window = new DialogWindow(ev.Title, ev.Prompts, ok: ok, cancel: cancel);

var buttonsBox = new BoxContainer()
window.OnConfirmed += responses =>
{
Orientation = BoxContainer.LayoutOrientation.Horizontal,
HorizontalAlignment = Control.HAlignment.Center,
};

var alreadyReplied = false;

if ((ev.Buttons & QuickDialogButtonFlag.OkButton) != 0)
{
var okButton = new Button()
{
Text = Loc.GetString("quick-dialog-ui-ok"),
};

okButton.OnPressed += _ => Confirm();

buttonsBox.AddChild(okButton);
}

if ((ev.Buttons & QuickDialogButtonFlag.OkButton) != 0)
{
var cancelButton = new Button()
{
Text = Loc.GetString("quick-dialog-ui-cancel"),
};

cancelButton.OnPressed += _ =>
{
RaiseNetworkEvent(new QuickDialogResponseEvent(ev.DialogId,
new(),
QuickDialogButtonFlag.CancelButton));
alreadyReplied = true;
window.Close();
};

buttonsBox.AddChild(cancelButton);
}

window.OnClose += () =>
{
if (!alreadyReplied)
{
RaiseNetworkEvent(new QuickDialogResponseEvent(ev.DialogId,
new(),
QuickDialogButtonFlag.CancelButton));
}
RaiseNetworkEvent(new QuickDialogResponseEvent(ev.DialogId,
responses,
QuickDialogButtonFlag.OkButton));
};

entryContainer.AddChild(buttonsBox);

window.ContentsContainer.AddChild(entryContainer);

window.MinWidth *= 2; // Just double it.

window.OpenCentered();

return;

void Confirm()
window.OnCancelled += () =>
{
RaiseNetworkEvent(new QuickDialogResponseEvent(ev.DialogId,
promptsDict.Select(x => (x.Key, x.Value.Text)).ToDictionary(x => x.Key, x => x.Text),
QuickDialogButtonFlag.OkButton));
alreadyReplied = true;
window.Close();
}
}

private bool VerifyInt(string input)
{
return int.TryParse(input, out var _);
}

private bool VerifyFloat(string input)
{
return float.TryParse(input, out var _);
}

private bool VerifyShortText(string input)
{
return input.Length <= 100;
}

private bool VerifyLongText(string input)
{
return input.Length <= 2000;
new(),
QuickDialogButtonFlag.CancelButton));
};
}
}
42 changes: 32 additions & 10 deletions Content.Client/Antag/AntagStatusIconSystem.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
using Content.Shared.Ghost;
using Content.Shared.Antag;
using Content.Shared.Revolutionary.Components;
using Content.Shared.StatusIcon;
using Content.Shared.StatusIcon.Components;
using Content.Shared.Zombies;
using Robust.Client.Player;
using Robust.Shared.Prototypes;

Expand All @@ -9,24 +11,44 @@ namespace Content.Client.Antag;
/// <summary>
/// Used for assigning specified icons for antags.
/// </summary>
public abstract class AntagStatusIconSystem<T> : SharedStatusIconSystem
where T : IComponent
public sealed class AntagStatusIconSystem : SharedStatusIconSystem
{
[Dependency] private readonly IPrototypeManager _prototype = default!;
[Dependency] private readonly IPlayerManager _player = default!;
public override void Initialize()
{
base.Initialize();

SubscribeLocalEvent<RevolutionaryComponent, GetStatusIconsEvent>(GetRevIcon);
SubscribeLocalEvent<ZombieComponent, GetStatusIconsEvent>(GetIcon);
SubscribeLocalEvent<HeadRevolutionaryComponent, GetStatusIconsEvent>(GetIcon);
}

/// <summary>
/// Will check if the local player has the same component as the one who called it and give the status icon.
/// Adds a Status Icon on an entity if the player is supposed to see it.
/// </summary>
/// <param name="antagStatusIcon">The status icon that your antag uses</param>
/// <param name="args">The GetStatusIcon event.</param>
protected virtual void GetStatusIcon(string antagStatusIcon, ref GetStatusIconsEvent args)
private void GetIcon<T>(EntityUid uid, T comp, ref GetStatusIconsEvent ev) where T: IAntagStatusIconComponent
{
var ent = _player.LocalPlayer?.ControlledEntity;
var ent = _player.LocalSession?.AttachedEntity;

var canEv = new CanDisplayStatusIconsEvent(ent);
RaiseLocalEvent(uid, ref canEv);

if (!canEv.Cancelled)
ev.StatusIcons.Add(_prototype.Index(comp.StatusIcon));
}

if (!HasComp<T>(ent) && !HasComp<GhostComponent>(ent))

/// <summary>
/// Adds the Rev Icon on an entity if the player is supposed to see it. This additional function is needed to deal
/// with a special case where if someone is a head rev we only want to display the headrev icon.
/// </summary>
private void GetRevIcon(EntityUid uid, RevolutionaryComponent comp, ref GetStatusIconsEvent ev)
{
if (HasComp<HeadRevolutionaryComponent>(uid))
return;

args.StatusIcons.Add(_prototype.Index<StatusIconPrototype>(antagStatusIcon));
GetIcon(uid, comp, ref ev);

}
}
8 changes: 8 additions & 0 deletions Content.Client/Atmos/EntitySystems/FirestarterSystem.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
using Content.Shared.Atmos.EntitySystems;

namespace Content.Client.Atmos.EntitySystems;

public sealed class FirestarterSystem : SharedFirestarterSystem
{

}
2 changes: 1 addition & 1 deletion Content.Client/Atmos/UI/GasAnalyzerBoundUserInterface.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ protected override void Open()

_window = new GasAnalyzerWindow();
_window.OnClose += OnClose;
_window.OpenCentered();
_window.OpenCenteredLeft();
}

protected override void ReceiveMessage(BoundUserInterfaceMessage message)
Expand Down
26 changes: 16 additions & 10 deletions Content.Client/Audio/BackgroundAudioSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@ public sealed class BackgroundAudioSystem : EntitySystem
[Dependency] private readonly IStateManager _stateManager = default!;

private readonly AudioParams _lobbyParams = new(-5f, 1, "Master", 0, 0, 0, true, 0f);
private readonly AudioParams _roundEndParams = new(-5f, 1, "Master", 0, 0, 0, false, 0f);

public EntityUid? LobbyStream;
public EntityUid? LobbyMusicStream;
public EntityUid? LobbyRoundRestartAudioStream;

public override void Initialize()
{
Expand Down Expand Up @@ -115,7 +117,7 @@ public void RestartLobbyMusic()

public void StartLobbyMusic()
{
if (LobbyStream != null || !_configManager.GetCVar(CCVars.LobbyMusicEnabled))
if (LobbyMusicStream != null || !_configManager.GetCVar(CCVars.LobbyMusicEnabled))
return;

var file = _gameTicker.LobbySong;
Expand All @@ -124,18 +126,21 @@ public void StartLobbyMusic()
return;
}

LobbyStream = _audio.PlayGlobal(file, Filter.Local(), false,
LobbyMusicStream = _audio.PlayGlobal(
file,
Filter.Local(),
false,
_lobbyParams.WithVolume(_lobbyParams.Volume + SharedAudioSystem.GainToVolume(_configManager.GetCVar(CCVars.LobbyMusicVolume))))?.Entity;
}

private void EndLobbyMusic()
{
LobbyStream = _audio.Stop(LobbyStream);
LobbyMusicStream = _audio.Stop(LobbyMusicStream);
}

private void PlayRestartSound(RoundRestartCleanupEvent ev)
{
if (!_configManager.GetCVar(CCVars.LobbyMusicEnabled))
if (!_configManager.GetCVar(CCVars.RestartSoundsEnabled))
return;

var file = _gameTicker.RestartSound;
Expand All @@ -144,10 +149,11 @@ private void PlayRestartSound(RoundRestartCleanupEvent ev)
return;
}

var volume = _lobbyParams.WithVolume(_lobbyParams.Volume +
SharedAudioSystem.GainToVolume(
_configManager.GetCVar(CCVars.LobbyMusicVolume)));

_audio.PlayGlobal(file, Filter.Local(), false, volume);
LobbyRoundRestartAudioStream = _audio.PlayGlobal(
file,
Filter.Local(),
false,
_roundEndParams.WithVolume(_roundEndParams.Volume + SharedAudioSystem.GainToVolume(_configManager.GetCVar(CCVars.LobbyMusicVolume)))
)?.Entity;
}
}
Loading
Loading