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

Upstream110224 #407

Merged
merged 671 commits into from
Feb 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
671 commits
Select commit Hold shift + click to select a range
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
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
1a4b96c
Rebalances electrocution damage to a log scale (#24829)
Varen Feb 5, 2024
66e9974
Automatic changelog update
PJBot 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
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
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
0071b09
fixed fland cargo shuttle not having tiny fans (sorry) (#25095)
Mangohydra 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
8e59b4f
Gibbing contents hotfix (#25114)
Jezithyr Feb 11, 2024
05a2ddf
Predict two-way levers (#25043)
metalgearsloth 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
1cb60b7
Merge remote-tracking branch 'wizard/master' into upstream110224
PyotrIgn Feb 11, 2024
4813a7c
Частично фиксы, куча ошибок
xtray85 Feb 11, 2024
9931736
Серверную часть поправил, проблемы в YAML
xtray85 Feb 11, 2024
c614f24
Частично фикс YAML
xtray85 Feb 11, 2024
046f9ec
Частично фиксы YAML
xtray85 Feb 11, 2024
a858cf0
Частично фиксы YAML
xtray85 Feb 11, 2024
7a40670
Частичный фикс YAML
xtray85 Feb 11, 2024
3af7ca2
Частично правки YAML
xtray85 Feb 11, 2024
e6283ff
добавил недостающую иконку
Schrodinger71 Feb 11, 2024
6b01a50
Update meta.json
Schrodinger71 Feb 11, 2024
a6ee206
Update job.yml
Schrodinger71 Feb 11, 2024
8cda69b
Фикс yml
Schrodinger71 Feb 11, 2024
6c9413c
Update job.yml
Schrodinger71 Feb 11, 2024
0a5b1b6
Фиксы YAML
Schrodinger71 Feb 11, 2024
6dd7954
Фикс yml
Schrodinger71 Feb 11, 2024
0f4cd79
Update meta.json
Schrodinger71 Feb 11, 2024
95f3842
Фикс Yml
Schrodinger71 Feb 11, 2024
adaf9d7
Update meta.json
Schrodinger71 Feb 11, 2024
f3b60e9
add Changeling icon for state
Schrodinger71 Feb 11, 2024
1c33ac8
fix YAML
Schrodinger71 Feb 11, 2024
0afc17c
Закомментил пояс парамедика
Schrodinger71 Feb 11, 2024
a7f1ce7
Коммент сумки дека
Schrodinger71 Feb 11, 2024
01fbe01
Фикс YML?
Schrodinger71 Feb 11, 2024
d53bf04
Update meta.json
Schrodinger71 Feb 11, 2024
5e6b2cf
Фикс Yml
Schrodinger71 Feb 12, 2024
629575e
Закомментил модуль у инж борга
Schrodinger71 Feb 12, 2024
5279571
id: NesCombatEmitter коммент строк 41-43
Schrodinger71 Feb 12, 2024
62eb745
id: ADTSmokeGrenade коммент 11-12 строки
Schrodinger71 Feb 12, 2024
a32d91c
id: ADTAnomalyAbomination коммент 23-33 строк
Schrodinger71 Feb 12, 2024
4fd30c7
id: ADTFloorBlackOrange tweak in 12 string bool on false
Schrodinger71 Feb 12, 2024
392dc7b
fix
Schrodinger71 Feb 12, 2024
7c5e94b
- type: technology id: HUD коммент 17-18 строку
Schrodinger71 Feb 12, 2024
16de6f2
halloween_tile.yml comment 12 and 29 string
Schrodinger71 Feb 12, 2024
cfcd718
id: NesCombatEmitterSmall comment 103-105 string
Schrodinger71 Feb 12, 2024
bcf887f
id: ADTSSmokeGrenade comment 34-35 string
Schrodinger71 Feb 12, 2024
fd8ae9b
id: NesFloorPlanetDirtArtificial comment 5 string
Schrodinger71 Feb 12, 2024
7fab6a6
Update job.yml
Schrodinger71 Feb 12, 2024
4be4996
test
Schrodinger71 Feb 12, 2024
ea95f15
Update job.yml
Schrodinger71 Feb 12, 2024
1a4bf12
fix YAML
Schrodinger71 Feb 12, 2024
f9db557
Update sec_cyborg.yml
Schrodinger71 Feb 12, 2024
e71a453
Update job.yml
Schrodinger71 Feb 12, 2024
cb14cc5
Update meta.json
Schrodinger71 Feb 12, 2024
d7d6169
Rename JobADTIconSecurityCyborg.png to jobADTIconSecurityCyborg.png
Schrodinger71 Feb 12, 2024
a6e1bbc
Update job.yml
Schrodinger71 Feb 12, 2024
88f1252
Delete Resources/Textures/Interface/Misc/job_icons.rsi directory
Schrodinger71 Feb 12, 2024
2d69fb0
Add files via upload
Schrodinger71 Feb 12, 2024
7b54840
пробный шар фикса джоб юмл
PyotrIgn Feb 16, 2024
403d748
шар номер два - удаляем иконку
PyotrIgn Feb 16, 2024
c9fd455
шар номер три - возвращаем
PyotrIgn Feb 16, 2024
22d4499
шар 4 - радикально решаем вопрос
PyotrIgn Feb 16, 2024
2db3893
попытка номер 5
PyotrIgn Feb 16, 2024
4801d5a
попытка номер 6
PyotrIgn Feb 16, 2024
485a4da
Revert "попытка номер 6"
PyotrIgn Feb 16, 2024
6871106
Revert "попытка номер 5"
PyotrIgn Feb 16, 2024
0a4b9b4
Revert "шар 4 - радикально решаем вопрос"
PyotrIgn Feb 16, 2024
f759e0a
Revert "шар номер три - возвращаем"
PyotrIgn Feb 16, 2024
ad7f36b
Revert "шар номер два - удаляем иконку"
PyotrIgn Feb 16, 2024
e24e163
Revert "пробный шар фикса джоб юмл"
PyotrIgn Feb 16, 2024
354b184
замена метыджейсона
PyotrIgn Feb 17, 2024
0ab58d4
пробуем удалить джобайконс
PyotrIgn Feb 17, 2024
e41e69c
делаем новый рси
PyotrIgn Feb 17, 2024
deea37a
пробуем еще
PyotrIgn Feb 17, 2024
5f40a1c
удаляем новое - возвращаем доапстримовое
PyotrIgn Feb 17, 2024
f459f08
вовзращаем старые айдишники кастомных профессий
PyotrIgn Feb 17, 2024
00d40f6
добавляем иконку гостя
PyotrIgn Feb 17, 2024
ece2b2f
фикс номер 1 билдтеста
PyotrIgn Feb 17, 2024
157a9fd
закомментировал медицинские технологии в сервисе
PyotrIgn Feb 17, 2024
bdc8b8a
вернул монитор здоровья синдиката
PyotrIgn Feb 17, 2024
7f22234
вернул тэги для кувшинов
PyotrIgn Feb 17, 2024
b400b84
отках базового раздатчика химикатов
PyotrIgn Feb 17, 2024
4efea2b
попытка 1 фикса контейнеров
PyotrIgn Feb 17, 2024
b3d7197
часть отката отката диспенсеров
PyotrIgn Feb 17, 2024
5670dd0
тест фикса ямлинтера
PyotrIgn Feb 17, 2024
daea681
фикс 2
PyotrIgn Feb 17, 2024
81fedd5
фикс номер 3
PyotrIgn Feb 17, 2024
5d62620
убираем емаганный ивентарь раздатчиков напитков
PyotrIgn Feb 17, 2024
f2904b8
фиксы билдтеста
PyotrIgn Feb 17, 2024
0d08b48
фикс станбатона джея
PyotrIgn Feb 17, 2024
376929f
фиксы карт
PyotrIgn Feb 17, 2024
bcf6ba5
убираем плохие флажки на ПЫВО
PyotrIgn Feb 17, 2024
7bd4694
фикс детектива и прочих
PyotrIgn Feb 17, 2024
6187b6e
фикс подчинения детектива
PyotrIgn Feb 17, 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."
# })
7 changes: 7 additions & 0 deletions .run/Content Server+Client.run.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="Content Server+Client" type="CompoundRunConfigurationType">
<toRun name="Content.Client" type="DotNetProject" />
<toRun name="Content.Server" type="DotNetProject" />
<method v="2" />
</configuration>
</component>
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
18 changes: 10 additions & 8 deletions Content.Client/Audio/AmbientSoundSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ public sealed class AmbientSoundSystem : SharedAmbientSoundSystem
{
[Dependency] private readonly AmbientSoundTreeSystem _treeSys = default!;
[Dependency] private readonly SharedAudioSystem _audio = default!;
[Dependency] private readonly SharedTransformSystem _xformSystem = default!;
[Dependency] private readonly IConfigurationManager _cfg = default!;
[Dependency] private readonly IGameTiming _gameTiming = default!;
[Dependency] private readonly IPlayerManager _playerManager = default!;
Expand Down Expand Up @@ -172,7 +173,7 @@ public override void Update(float frameTime)

_targetTime = _gameTiming.CurTime+TimeSpan.FromSeconds(_cooldown);

var player = _playerManager.LocalPlayer?.ControlledEntity;
var player = _playerManager.LocalEntity;
if (!EntityManager.TryGetComponent(player, out TransformComponent? xform))
{
ClearSounds();
Expand All @@ -198,13 +199,13 @@ private readonly struct QueryState
public readonly Dictionary<string, List<(float Importance, AmbientSoundComponent)>> SourceDict = new();
public readonly Vector2 MapPos;
public readonly TransformComponent Player;
public readonly EntityQuery<TransformComponent> Query;
public readonly SharedTransformSystem TransformSystem;

public QueryState(Vector2 mapPos, TransformComponent player, EntityQuery<TransformComponent> query)
public QueryState(Vector2 mapPos, TransformComponent player, SharedTransformSystem transformSystem)
{
MapPos = mapPos;
Player = player;
Query = query;
TransformSystem = transformSystem;
}
}

Expand All @@ -218,7 +219,7 @@ private static bool Callback(

var delta = xform.ParentUid == state.Player.ParentUid
? xform.LocalPosition - state.Player.LocalPosition
: xform.WorldPosition - state.MapPos;
: state.TransformSystem.GetWorldPosition(xform) - state.MapPos;

var range = delta.Length();
if (range >= ambientComp.Range)
Expand All @@ -244,7 +245,7 @@ private void ProcessNearbyAmbience(TransformComponent playerXform)
{
var query = GetEntityQuery<TransformComponent>();
var metaQuery = GetEntityQuery<MetaDataComponent>();
var mapPos = playerXform.MapPosition;
var mapPos = _xformSystem.GetMapCoordinates(playerXform);

// Remove out-of-range ambiences
foreach (var (comp, sound) in _playingSounds)
Expand All @@ -258,9 +259,10 @@ private void ProcessNearbyAmbience(TransformComponent playerXform)
xform.MapID == playerXform.MapID &&
!metaQuery.GetComponent(entity).EntityPaused)
{
// TODO: This is just trydistance for coordinates.
var distance = (xform.ParentUid == playerXform.ParentUid)
? xform.LocalPosition - playerXform.LocalPosition
: xform.WorldPosition - mapPos.Position;
: _xformSystem.GetWorldPosition(xform) - mapPos.Position;

if (distance.LengthSquared() < comp.Range * comp.Range)
continue;
Expand All @@ -277,7 +279,7 @@ private void ProcessNearbyAmbience(TransformComponent playerXform)
return;

var pos = mapPos.Position;
var state = new QueryState(pos, playerXform, query);
var state = new QueryState(pos, playerXform, _xformSystem);
var worldAabb = new Box2(pos - MaxAmbientVector, pos + MaxAmbientVector);
_treeSys.QueryAabb(ref state, Callback, mapPos.MapId, worldAabb);

Expand Down
Loading
Loading