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 sync #1743

Merged
merged 201 commits into from
Jan 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
201 commits
Select commit Hold shift + click to select a range
8ae07db
Fix Guidebook Singularity entry (#23535)
Varen Jan 4, 2024
2de5570
Fix tiny grammar/spelling issues (#23534)
Tayrtahn Jan 4, 2024
79c790c
Added reaction OilBreakdown (#23537)
ada-please Jan 4, 2024
435e218
Use default panic bunker messages on Leviathan and Lizard (#23541)
Chief-Engineer Jan 4, 2024
c242e05
Created Proximity Detection and Beeper Systems (#23177)
Jezithyr Jan 4, 2024
7947b4e
Arachnid plushie (#23504)
Dutch-VanDerLinde Jan 4, 2024
9acbe38
Revert "Electric anomaly rework" (#23546)
Emisse Jan 5, 2024
31b1b6f
fix pda pai ejection slot image (#23547)
Dutch-VanDerLinde Jan 5, 2024
7d4e234
Penguins are more tolerant to the cold (#23209)
UbaserB Jan 5, 2024
7c66beb
Revert "Revert "Electric anomaly rework"" (#23549)
metalgearsloth Jan 5, 2024
bb100e5
Hyper convection lathe buff (#23542)
EmoGarbage404 Jan 5, 2024
0f8c004
Teslaloose and Singuloose counterplay (#23444)
TheShuEd Jan 5, 2024
29e48d3
Ports the derelict sign decal (#23544)
Flareguy Jan 5, 2024
ccd9ae2
Uranium Ore Visual Change (#23526)
Alekshhh Jan 5, 2024
c337511
Map Readability (#23446)
Errant-4 Jan 5, 2024
78f4bec
Allows a possibility for a new reagant to work on dead if applied. (#…
Adrian16199 Jan 5, 2024
663983b
NetSyncEnabled fixes (#23553)
ElectroJr Jan 5, 2024
bb2a9ea
Update engine to v202.1.1 (#23554)
ElectroJr Jan 5, 2024
a2cdbda
Flatpacker Tweaks (#23552)
EmoGarbage404 Jan 5, 2024
920d706
Fixed client console flooding with warnings on RGB color slider chang…
YuriyKiss Jan 5, 2024
3d911a6
Fix atmos UI decimal separator bug (#23009)
koteq Jan 5, 2024
cc19839
remove salvage mob ghost roles for real (#23561)
Emisse Jan 5, 2024
d7aba2d
gemini update (#23566)
Emisse Jan 5, 2024
0a9e9ce
Beacon Update Omega (#23567)
Errant-4 Jan 5, 2024
1b4f1ac
New moth antennae and wing pair, Underwing (#23559)
UbaserB Jan 5, 2024
1f2a89d
More Buildable Furniture + Tweaks (#23188)
Nairodian Jan 5, 2024
5c02a4f
Diagnostic Hud can see health silicon (#23580)
Strol20 Jan 5, 2024
655b541
Can no longer place an infinite quantity of items inside a microwave …
SpeltIncorrectyl Jan 5, 2024
8577507
make chem layer in bottles not semitransparent (#23581)
GreyMario Jan 5, 2024
7f0c9c5
Fix epinephrine yaml (#23579)
UbaserB Jan 5, 2024
88dc9cb
Slightly nerf rigged boxing gloves (#23576)
asperger-sind Jan 5, 2024
35fe144
Ghost Sheet Inhand Fix (#23560)
Alekshhh Jan 5, 2024
4c179d6
add secret weight prototype cvar (#23564)
LankLTE Jan 5, 2024
c26bb7b
Nerf rigged gloves PROPERLY (#23592)
asperger-sind Jan 6, 2024
4dc0a5f
More arachnid emote noises (#23548)
Dutch-VanDerLinde Jan 6, 2024
8b7bec2
Fix throwing asserts (#23562)
metalgearsloth Jan 6, 2024
86c1e36
Fix iron naming, add specific materials for ores (#23590)
EmoGarbage404 Jan 6, 2024
a2fdad3
Expose preset in status (#23586)
VasilisThePikachu Jan 6, 2024
a9075e5
Fix Round Restarted Announcements not playing (#23387)
FairlySadPanda Jan 6, 2024
a448e5f
Allow storage to specify a default orientation for stored items. (#23…
EmoGarbage404 Jan 6, 2024
7ff348f
Fix player rolling agent and operative at the same time (#23568)
dolgovmi Jan 6, 2024
20a1b4a
Adds steel tiles to construction module (#23598)
Arendian Jan 6, 2024
ff965b9
Remove dummy gameticker cvars (#23596)
metalgearsloth Jan 6, 2024
05866a2
Lizzer axolotl frills no longer look bad (it had messed up offset) (#…
Aexxie Jan 6, 2024
5492cc5
Login tips (#22234)
VigersRay Jan 6, 2024
c94189d
Added more pride cloaks and made them craftable at the uniform printe…
TherapyGoth Jan 6, 2024
731cfc2
Add input port of the network system in timer (#20026)
MrFippik Jan 6, 2024
0ae3858
Examine prediction (#23565)
mirrorcult Jan 6, 2024
14e15b4
Large tail marking (#23551)
UbaserB Jan 6, 2024
ed7a787
Restore correct table-bonk behaviour with clumsy mobs. (#23583)
DrMelon Jan 6, 2024
6a49144
Fixed lighters exeption with missing component (#23589)
778b Jan 6, 2024
45be12b
Some thief steal target tweaks (#23572)
TheShuEd Jan 6, 2024
7d30b5a
Tesla Gun (#23175)
TheShuEd Jan 6, 2024
46ea3b6
Added Black Jumpsuit and various colorful gloves to the Clothesmate (…
GNF54 Jan 6, 2024
412f3f4
Set pAI up with a static map the pAI can use (#23499)
mr-bo-jangles Jan 6, 2024
da0b502
marathon update (#23603)
Emisse Jan 6, 2024
ea7428c
Add medhud to the lockers medics (#23591)
Nimfar11 Jan 6, 2024
9b4325b
Update submodule to 203.0.0 (#23604)
metalgearsloth Jan 6, 2024
2629a8d
Provide non-flake hermetic shell by pinning nixpkgs (#23368)
yathxyz Jan 6, 2024
1544167
add syndicate singularity beacon (#18486)
Ilya246 Jan 6, 2024
d73c7e9
more balanced constructing and unscrewing for metal objects (#21051)
iacore Jan 6, 2024
52aac0e
Add Diphenhydramine Recipe (#23006)
IamVelcroboy Jan 6, 2024
f0097d4
Barber scissors fix (#22895)
TheShuEd Jan 6, 2024
57f245e
Add whitelist to centrifuge, only allowing vials. (#23538)
tday93 Jan 6, 2024
347655f
Freeze eventbus dictionaries (#22628)
ElectroJr Jan 6, 2024
993793f
Fix deadmin on join cvar for nukies (#20198)
LankLTE Jan 6, 2024
434206c
Tags fix (#23608)
metalgearsloth Jan 6, 2024
43d1be5
Limits the minimum base skin color brightness for species with Hue co…
deathride58 Jan 6, 2024
d9eaf9f
Snout Fitting Masks (#23545)
Nairodian Jan 6, 2024
d79ead6
Make DamageOtherOnHitSystem only flash an entity red if damage was de…
DrSmugleaf Jan 6, 2024
17da2f0
Fix a stray pixel on the large lizard tail (#23619)
UbaserB Jan 6, 2024
04cf1c3
Add hats and berets to the uniform printer (take 2) (#23556)
MACMAN2003 Jan 6, 2024
1299c81
Add Flippo lighter to the cig vend (#23620)
UbaserB Jan 6, 2024
d8cbddf
Fix bad sawmill IPostInjectInit (#23626)
PJB3005 Jan 6, 2024
172fcaf
Rename Goldschläger to Gildlager (#23223)
UbaserB Jan 6, 2024
7858dad
Darken syndicate implanter sprite (#23622)
UbaserB Jan 6, 2024
a3f40c2
Ore Visual Change (#23618)
Alekshhh Jan 6, 2024
f5909f6
Fix more tag ordering (#23634)
metalgearsloth Jan 6, 2024
abfa9ff
Fixes NPCs that lack a UseDelay component failing to interact with ob…
deathride58 Jan 6, 2024
eb46918
Remove a couple translations to the archaic accent (#23614)
UbaserB Jan 6, 2024
4ddb3db
Fix NavMap exception (#23636)
ElectroJr Jan 6, 2024
3261962
Fixing performance issue with Proximity Detector (#23557)
Jezithyr Jan 7, 2024
94d4d22
Add trench coats (#23563)
UbaserB Jan 7, 2024
e57b472
Kobold noises! Gently the kobolds (and monkeys)! Monkey YAML cleanup!
deathride58 Jan 7, 2024
21ec29b
Microwaves no longer instantly gib living creatures Microwaves now he…
deathride58 Jan 7, 2024
8b107b5
Update tips (#23611)
UbaserB Jan 7, 2024
39e59cb
Update dice state handling (#23643)
tday93 Jan 7, 2024
5f8eab7
Update Credits (#23651)
github-actions[bot] Jan 7, 2024
dfc8ea6
Game server api (#23129)
Simyon264 Jan 7, 2024
d22fe3f
SyndiCat (#22554)
TheShuEd Jan 7, 2024
b85a9d7
Bullet Type Visual Indicator (#21068)
MaloTV Jan 7, 2024
40e4d43
feat: add xsl stylesheet to changelogs (#21930)
psykzz Jan 7, 2024
fed15b0
Fix master (#23656)
metalgearsloth Jan 7, 2024
fb24f9a
Fix salvage magnet determinism (#23655)
metalgearsloth Jan 7, 2024
3452521
Fix exped dungeons (#23654)
metalgearsloth Jan 7, 2024
d0f51de
Fix asteroid UI determinism (#23661)
metalgearsloth Jan 7, 2024
fe91132
Bump blob asteroid iterations (#23660)
metalgearsloth Jan 7, 2024
1a2c3ba
Observation kit sunglasses actually look like sunglasses now. (#23621)
UbaserB Jan 7, 2024
3c8d78c
Disable magnet wrecks (#23664)
metalgearsloth Jan 7, 2024
8fd8ca6
Add Food Recipe for food bounty in chef guidebook (#23659)
Minty642 Jan 7, 2024
23ec7d8
added the pride cloaks to maint spawns (#23658)
2013HORSEMEATSCANDAL Jan 7, 2024
0fc5bf5
Fix magnet despawning deletion (#23657)
metalgearsloth Jan 7, 2024
bb294a7
Rock Anom effects (#23633)
brainfood1183 Jan 7, 2024
93a77e8
Flower wreaths (#23662)
UbaserB Jan 7, 2024
f724291
Adds the central commanders cloak. (#23666)
Aexxie Jan 7, 2024
627aa56
Tweak vodka martini description (#23669)
UbaserB Jan 7, 2024
3e3ff02
Onion Rings can now be dipped (#23582)
Froozigiusz Jan 7, 2024
c05a458
Revert "Game server api (#23129)" (#23672)
DrSmugleaf Jan 7, 2024
5d1fcf9
Fix magnet re-parenting (#23680)
metalgearsloth Jan 7, 2024
bc07cbc
Fix audio fades (#23684)
metalgearsloth Jan 7, 2024
a78e9a8
Hellfire Thermomachines (#23543)
EmoGarbage404 Jan 7, 2024
d9d2862
Butcher-able gloves (#23216)
UbaserB Jan 7, 2024
c6e829c
Ninja and Syndie reinforcement ghost role locale (#23691)
lapatison Jan 7, 2024
aa7fcb1
Update ChemicalReaction and ReagentEffect logs. (#23649)
tday93 Jan 7, 2024
7c87ba3
Adds ties to the uniform printer. (#23686)
Adrian16199 Jan 7, 2024
19e4101
Pies and tarts categorized in meal_recipes.yml, added their recipes w…
GreyMario Jan 7, 2024
ee21939
Red racoon suit (#22862)
lzk228 Jan 7, 2024
875f24b
Core update (#23690)
UbaserB Jan 7, 2024
4c2fd55
Gun cyborg module (#19629)
TruePaIntGit Jan 7, 2024
ac1990f
Prevent ejection of cleaning module's holofan powercell (#23696)
Arendian Jan 7, 2024
1b93243
Adds syndicate cyborgs. Adds Assault cyborgs to nukie uplink (#19733)
Naive817 Jan 7, 2024
1638d52
Oneliner (#23700)
TheShuEd Jan 7, 2024
fd3c529
Adds .001 chance for vending spawners to spawn mimic (#21997)
IamVelcroboy Jan 7, 2024
2f4204c
Fix Vote Relay (#23670)
Pangogie Jan 7, 2024
e1e99e1
Fix duplicate popups in ripley (#23692)
Arendian Jan 7, 2024
6c9c8ab
Patch Cargo Lathe Abuse (#23698)
Nairodian Jan 7, 2024
c4a99c1
dev_test map update (#23681)
Errant-4 Jan 7, 2024
31133ef
Fix RoundStartTimeSpan not being networked on client-side after recon…
DoutorWhite Jan 8, 2024
c9b700a
Grappling fixes (#23709)
EmoGarbage404 Jan 8, 2024
75df580
Fix changelog RSS being broken (#23712)
PJB3005 Jan 8, 2024
3e7ee0c
Syndicate cyborg changes/fixes (#23710)
Dutch-VanDerLinde Jan 8, 2024
81aa5d3
Gives engineering and research access to locked gas canisters (#23706)
Flareguy Jan 8, 2024
6bf6994
Incendiary projectiles and lava firestack reduction (#23479)
Arendian Jan 8, 2024
aea68b9
Fix PA particles (#23719)
EmoGarbage404 Jan 8, 2024
7652cfa
Increase minimum requirement for lowpop maps (#23718)
UbaserB Jan 8, 2024
dc994f9
Improve visibility of gun bolts (#23711)
notquitehadouken Jan 8, 2024
f0d9782
Cleanup mimic event (#23705)
metalgearsloth Jan 8, 2024
2cf4ba8
Dehydrated cube box overhaul (#23685)
UbaserB Jan 8, 2024
00ee48e
Cryoxadone and doxarubixadone now work on the dead (#23558)
Scribbles0 Jan 8, 2024
b3e695c
Mothroach gib threshold and resilience increase (#23722)
Arendian Jan 8, 2024
c861b66
Turbo Recharger (#23723)
EmoGarbage404 Jan 8, 2024
945a402
Make only advertise vendors say thanks for using (#23726)
lzk228 Jan 8, 2024
6913ebc
Add ability to copy data from pda (#23533)
user424242420 Jan 8, 2024
cce9bde
Fix gun cursor popup spam (#23732)
metalgearsloth Jan 8, 2024
36fe294
Add Initial Cooldown To Communications Computers (#21681)
Jrpl Jan 8, 2024
ad8927b
fland beacon update (#23607)
Errant-4 Jan 8, 2024
6cba5b4
salvager maxim suit (#23734)
Emisse Jan 8, 2024
08b3263
fixes rotations of wideswings on the fireaxes (#23742)
QuietlyWhisper Jan 8, 2024
5cb9797
robotech vendor changes (#23747)
Dutch-VanDerLinde Jan 8, 2024
4972e25
Round mixing temperature entries in the guidebook (#23751)
Tayrtahn Jan 8, 2024
ee9e37d
Origin Station Update 08.01.2024 (#23749)
brainfood1183 Jan 8, 2024
1e32400
Fix stray pixel in white monkey jumpsuit (#23750)
Tayrtahn Jan 8, 2024
e0e4d76
Salvage wrecks (#23733)
Emisse Jan 8, 2024
df1d8c3
kill machine parts + migrate machine part spawners to salvage loot sp…
Emisse Jan 8, 2024
20ae57a
move crushers out of salvage vendor (#23753)
Emisse Jan 8, 2024
a312774
Fixes ninja not being able to use abilities (#23748)
AJCM-git Jan 9, 2024
efb1c58
unique satchel grid (#23724)
EmoGarbage404 Jan 9, 2024
eb9770e
Reduce vendor thank you message spam and add variety (#23746)
Tayrtahn Jan 9, 2024
b1c7179
syndicate monkey changes, new nukeop monkey (#23744)
Dutch-VanDerLinde Jan 9, 2024
a34ee7c
Add delicious mopwata (#23740)
Afrokada Jan 9, 2024
b8e8e61
Appraisal tools check for cargo bounty completion (#23760)
ike709 Jan 9, 2024
78442ce
Mining rebalance + seismic charges (#23757)
Emisse Jan 9, 2024
fd024cf
Revert "Cryoxadone and doxarubixadone now work on the dead" (#23763)
EmoGarbage404 Jan 9, 2024
e97fd47
Powered stasis bed prevents body decay (#23520)
koteq Jan 9, 2024
5db615a
Autoattacking weapons (#23765)
EmoGarbage404 Jan 9, 2024
f2647ac
Checking for used utensils actually happens now (#23766)
GreyMario Jan 9, 2024
fdd18c9
Quantum Spin Inverter (#23756)
EmoGarbage404 Jan 9, 2024
05d42dc
Don't predict mind examine (#23769)
mirrorcult Jan 9, 2024
6c0467c
Skeleton species locale (#23770)
lzk228 Jan 9, 2024
670db09
L shape drill + Surgical Tool Rotation fixes (#23773)
Rainbeon Jan 9, 2024
74a0f47
fixed flippo lighter sprites in vending machines (#23778)
lunarcomets Jan 9, 2024
f39fbd4
Add the N1984 pistol (#23775)
IProduceWidgets Jan 9, 2024
e7c94c5
Make the atmospherics meta not bad (#23737)
notquitehadouken Jan 9, 2024
a014876
Update Core (#23781)
UbaserB Jan 9, 2024
b22c9aa
Fix storagecomp serialization (#23780)
metalgearsloth Jan 9, 2024
7f02c0f
derotate barratry (#23782)
Emisse Jan 9, 2024
57c607b
Update submodule to 204.0.0 (#23785)
metalgearsloth Jan 9, 2024
fd7c641
Resprite powersink (#23281)
UbaserB Jan 9, 2024
122611c
meta update (#23788)
Emisse Jan 9, 2024
d7eb7b7
Biome marker layer tweaks (#23663)
metalgearsloth Jan 9, 2024
d59e285
Quick N1984 fix because I goofy (Emisse no kill me please) (#23789)
IProduceWidgets Jan 9, 2024
5fd3d45
More pirate weapon content(two new cannon ammo types, a musket and fl…
Boaz1111 Jan 9, 2024
dfbf47c
Fix pirate weapons (#23794)
metalgearsloth Jan 9, 2024
5a2b1f1
Minor antag name fix (#23812)
lapatison Jan 9, 2024
c0df421
Further adjust rigged gloves (#23811)
asperger-sind Jan 9, 2024
eff3c64
Automatic changelog update
PJBot Jan 3, 2024
d7ac1d8
Automatic changelog update
PJBot Jan 9, 2024
e622df9
Make Puddle drawable by syringes and droppers. (#23804)
ItsMeThom Jan 9, 2024
2fe861e
Fix TrashOnSolutionEmptySystem modifying uninitialized entities (#23798)
DrSmugleaf Jan 9, 2024
1a5e22f
Automatic changelog update
PJBot Jan 9, 2024
7450507
Fix pop.ogg (was stereo now mono) (#23795)
brainfood1183 Jan 9, 2024
3fb0bd9
fix mice eating (#23801)
themias Jan 9, 2024
615330c
Bunch of slot locales (#23792)
lapatison Jan 9, 2024
4456d93
Automatic changelog update
PJBot Jan 9, 2024
1e0bee2
Merge remote-tracking branch 'upstream/master' into upstream-sync
Morb0 Jan 9, 2024
fbe2ba0
Update locale
Morb0 Jan 9, 2024
a81a423
Update locale
Morb0 Jan 9, 2024
a703df1
Fix guide generator
Morb0 Jan 9, 2024
599fc87
Fix locale
Morb0 Jan 9, 2024
d31febd
Replace some reptilian mask states with digi versions
Morb0 Jan 9, 2024
5a25967
Remove Barratry from Corvax map pool
Morb0 Jan 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 .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
# - name: Install dependencies
# run: sudo apt-get install -y python3-paramiko
# run: sudo apt-get install -y python3-paramiko python3-lxml

- uses: actions/[email protected]
with:
Expand Down
1 change: 1 addition & 0 deletions Content.Benchmarks/EntityManagerGetAllComponents.cs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ public void Setup()
var componentFactory = new Mock<IComponentFactory>();
componentFactory.Setup(p => p.GetComponent<DummyComponent>()).Returns(new DummyComponent());
componentFactory.Setup(p => p.GetRegistration(It.IsAny<DummyComponent>())).Returns(dummyReg);
componentFactory.Setup(p => p.GetAllRegistrations()).Returns(new[] { dummyReg });
componentFactory.Setup(p => p.GetAllRefTypes()).Returns(new[] { CompIdx.Index<DummyComponent>() });

IoCManager.RegisterInstance<IComponentFactory>(componentFactory.Object);
Expand Down
4 changes: 2 additions & 2 deletions Content.Client/Atmos/UI/GasFilterBoundUserInterface.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using Content.Client.Atmos.EntitySystems;
using Content.Shared.Atmos;
using Content.Shared.Atmos.Piping.Trinary.Components;
using Content.Shared.Localizations;
using JetBrains.Annotations;
using Robust.Client.GameObjects;

namespace Content.Client.Atmos.UI
{
Expand Down Expand Up @@ -50,7 +50,7 @@ private void OnToggleStatusButtonPressed()

private void OnFilterTransferRatePressed(string value)
{
float rate = float.TryParse(value, out var parsed) ? parsed : 0f;
var rate = UserInputParser.TryFloat(value, out var parsed) ? parsed : 0f;

SendMessage(new GasFilterChangeRateMessage(rate));
}
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Atmos/UI/GasFilterWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
<Label Text="{Loc comp-gas-filter-ui-filter-transfer-rate}"/>
<LineEdit Name="FilterTransferRateInput" MinSize="60 0" />
<LineEdit Name="FilterTransferRateInput" MinSize="70 0" />
<Button Name="SetFilterRate" Text="{Loc comp-gas-filter-ui-filter-set-rate}" Disabled="True"/>
</BoxContainer>

Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Atmos/UI/GasFilterWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public GasFilterWindow(IEnumerable<GasPrototype> gases)

public void SetTransferRate(float rate)
{
FilterTransferRateInput.Text = rate.ToString(CultureInfo.InvariantCulture);
FilterTransferRateInput.Text = rate.ToString(CultureInfo.CurrentCulture);
}

public void SetFilterStatus(bool enabled)
Expand Down
5 changes: 3 additions & 2 deletions Content.Client/Atmos/UI/GasMixerBoundUserInteface.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Content.Shared.Atmos;
using Content.Shared.Atmos.Piping.Trinary.Components;
using Content.Shared.Localizations;
using JetBrains.Annotations;
using Robust.Client.GameObjects;

Expand Down Expand Up @@ -47,7 +48,7 @@ private void OnToggleStatusButtonPressed()

private void OnMixerOutputPressurePressed(string value)
{
var pressure = float.TryParse(value, out var parsed) ? parsed : 0f;
var pressure = UserInputParser.TryFloat(value, out var parsed) ? parsed : 0f;
if (pressure > MaxPressure)
pressure = MaxPressure;

Expand All @@ -57,7 +58,7 @@ private void OnMixerOutputPressurePressed(string value)
private void OnMixerSetPercentagePressed(string value)
{
// We don't need to send both nodes because it's just 100.0f - node
var node = float.TryParse(value, out var parsed) ? parsed : 1.0f;
var node = UserInputParser.TryFloat(value, out var parsed) ? parsed : 1.0f;

node = Math.Clamp(node, 0f, 100.0f);

Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Atmos/UI/GasMixerWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
<Label Text="{Loc comp-gas-mixer-ui-mixer-output-pressure}"/>
<Control MinSize="5 0" />
<LineEdit Name="MixerPressureOutputInput" MinSize="60 0" />
<LineEdit Name="MixerPressureOutputInput" MinSize="70 0" />
<Control MinSize="5 0" />
<Button Name="SetMaxPressureButton" Text="{Loc comp-gas-mixer-ui-mixer-max}" />
<Control MinSize="5 0" />
Expand Down
8 changes: 4 additions & 4 deletions Content.Client/Atmos/UI/GasMixerWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public GasMixerWindow()

SetMaxPressureButton.OnPressed += _ =>
{
MixerPressureOutputInput.Text = Atmospherics.MaxOutputPressure.ToString(CultureInfo.InvariantCulture);
MixerPressureOutputInput.Text = Atmospherics.MaxOutputPressure.ToString(CultureInfo.CurrentCulture);
SetOutputPressureButton.Disabled = false;
};

Expand All @@ -69,16 +69,16 @@ public GasMixerWindow()

public void SetOutputPressure(float pressure)
{
MixerPressureOutputInput.Text = pressure.ToString(CultureInfo.InvariantCulture);
MixerPressureOutputInput.Text = pressure.ToString(CultureInfo.CurrentCulture);
}

public void SetNodePercentages(float nodeOne)
{
nodeOne *= 100.0f;
MixerNodeOneInput.Text = nodeOne.ToString("0.##", CultureInfo.InvariantCulture);
MixerNodeOneInput.Text = nodeOne.ToString("0.##", CultureInfo.CurrentCulture);

float nodeTwo = 100.0f - nodeOne;
MixerNodeTwoInput.Text = nodeTwo.ToString("0.##", CultureInfo.InvariantCulture);
MixerNodeTwoInput.Text = nodeTwo.ToString("0.##", CultureInfo.CurrentCulture);
}

public void SetMixerStatus(bool enabled)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Content.Shared.Atmos;
using Content.Shared.Atmos.Piping.Binary.Components;
using Content.Shared.Localizations;
using JetBrains.Annotations;
using Robust.Client.GameObjects;

Expand Down Expand Up @@ -46,7 +47,7 @@ private void OnToggleStatusButtonPressed()

private void OnPumpOutputPressurePressed(string value)
{
float pressure = float.TryParse(value, out var parsed) ? parsed : 0f;
var pressure = UserInputParser.TryFloat(value, out var parsed) ? parsed : 0f;
if (pressure > MaxPressure) pressure = MaxPressure;

SendMessage(new GasPressurePumpChangeOutputPressureMessage(pressure));
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Atmos/UI/GasPressurePumpWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
<Label Text="{Loc comp-gas-pump-ui-pump-output-pressure}"/>
<Control MinSize="5 0" />
<LineEdit Name="PumpPressureOutputInput" MinSize="60 0" />
<LineEdit Name="PumpPressureOutputInput" MinSize="70 0" />
<Control MinSize="5 0" />
<Button Name="SetMaxPressureButton" Text="{Loc comp-gas-pump-ui-pump-set-max}" />
<Control MinSize="5 0" />
Expand Down
4 changes: 2 additions & 2 deletions Content.Client/Atmos/UI/GasPressurePumpWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ public GasPressurePumpWindow()

SetMaxPressureButton.OnPressed += _ =>
{
PumpPressureOutputInput.Text = Atmospherics.MaxOutputPressure.ToString(CultureInfo.InvariantCulture);
PumpPressureOutputInput.Text = Atmospherics.MaxOutputPressure.ToString(CultureInfo.CurrentCulture);
SetOutputPressureButton.Disabled = false;
};
}

public void SetOutputPressure(float pressure)
{
PumpPressureOutputInput.Text = pressure.ToString(CultureInfo.InvariantCulture);
PumpPressureOutputInput.Text = pressure.ToString(CultureInfo.CurrentCulture);
}

public void SetPumpStatus(bool enabled)
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Atmos/UI/GasThermomachineWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public GasThermomachineWindow()
RobustXamlLoader.Load(this);

SpinboxHBox.AddChild(
TemperatureSpinbox = new FloatSpinBox(.1f, 2) { MaxWidth = 150, HorizontalExpand = true }
TemperatureSpinbox = new FloatSpinBox(.1f, 2) { MinWidth = 150, HorizontalExpand = true }
);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
using Content.Shared.Atmos;
using Content.Shared.Atmos.Piping.Binary.Components;
using Content.Shared.Localizations;
using JetBrains.Annotations;
using Robust.Client.GameObjects;

Expand Down Expand Up @@ -46,7 +47,7 @@ private void OnToggleStatusButtonPressed()

private void OnPumpTransferRatePressed(string value)
{
var rate = float.TryParse(value, out var parsed) ? parsed : 0f;
var rate = UserInputParser.TryFloat(value, out var parsed) ? parsed : 0f;
if (rate > MaxTransferRate)
rate = MaxTransferRate;

Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Atmos/UI/GasVolumePumpWindow.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<BoxContainer Orientation="Horizontal" HorizontalExpand="True">
<Label Text="{Loc comp-gas-pump-ui-pump-transfer-rate}"/>
<Control MinSize="5 0" />
<LineEdit Name="PumpTransferRateInput" MinSize="60 0" />
<LineEdit Name="PumpTransferRateInput" MinSize="70 0" />
<Control MinSize="5 0" />
<Button Name="SetMaxRateButton" Text="{Loc comp-gas-pump-ui-pump-set-max}" />
<Control MinSize="5 0" />
Expand Down
4 changes: 2 additions & 2 deletions Content.Client/Atmos/UI/GasVolumePumpWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ public GasVolumePumpWindow()

SetMaxRateButton.OnPressed += _ =>
{
PumpTransferRateInput.Text = Atmospherics.MaxTransferRate.ToString(CultureInfo.InvariantCulture);
PumpTransferRateInput.Text = Atmospherics.MaxTransferRate.ToString(CultureInfo.CurrentCulture);
SetTransferRateButton.Disabled = false;
};
}

public void SetTransferRate(float rate)
{
PumpTransferRateInput.Text = rate.ToString(CultureInfo.InvariantCulture);
PumpTransferRateInput.Text = rate.ToString(CultureInfo.CurrentCulture);
}

public void SetPumpStatus(bool enabled)
Expand Down
4 changes: 1 addition & 3 deletions Content.Client/Audio/ContentAudioSystem.AmbientMusic.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public sealed partial class ContentAudioSystem
[Dependency] private readonly IGameTiming _timing = default!;
[Dependency] private readonly IPlayerManager _player = default!;
[Dependency] private readonly IPrototypeManager _proto = default!;
[Dependency] private readonly IResourceCache _resource = default!;
[Dependency] private readonly IRobustRandom _random = default!;
[Dependency] private readonly IStateManager _state = default!;
[Dependency] private readonly RulesSystem _rules = default!;
Expand Down Expand Up @@ -153,8 +152,7 @@ private void UpdateAmbientMusic()
// Update still runs in lobby so just ignore it.
if (_state.CurrentState is not GameplayState)
{
Audio.Stop(_ambientMusicStream);
_ambientMusicStream = null;
_ambientMusicStream = Audio.Stop(_ambientMusicStream);
_musicProto = null;
return;
}
Expand Down
6 changes: 4 additions & 2 deletions Content.Client/Audio/ContentAudioSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,8 @@ private void UpdateFades(float frameTime)
}

var volume = component.Volume - change * frameTime;
component.Volume = MathF.Max(MinVolume, volume);
volume = MathF.Max(MinVolume, volume);
_audio.SetVolume(stream, volume, component);

if (component.Volume.Equals(MinVolume))
{
Expand All @@ -145,7 +146,8 @@ private void UpdateFades(float frameTime)
}

var volume = component.Volume + change * frameTime;
component.Volume = MathF.Min(target, volume);
volume = MathF.Max(target, volume);
_audio.SetVolume(stream, volume, component);

if (component.Volume.Equals(target))
{
Expand Down
10 changes: 9 additions & 1 deletion Content.Client/CombatMode/CombatModeIndicatorsOverlay.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using Robust.Client.GameObjects;
using Robust.Client.Graphics;
using Robust.Client.Input;
using Robust.Client.Serialization;
using Robust.Client.UserInterface;
using Robust.Shared.Enums;
using Robust.Shared.Graphics;
Expand All @@ -26,6 +27,7 @@ public sealed class CombatModeIndicatorsOverlay : Overlay
private readonly HandsSystem _hands = default!;

private readonly Texture _gunSight;
private readonly Texture _gunBoltSight;
private readonly Texture _meleeSight;

public override OverlaySpace Space => OverlaySpace.ScreenSpace;
Expand All @@ -46,6 +48,8 @@ public CombatModeIndicatorsOverlay(IInputManager input, IEntityManager entMan,
var spriteSys = _entMan.EntitySysManager.GetEntitySystem<SpriteSystem>();
_gunSight = spriteSys.Frame0(new SpriteSpecifier.Rsi(new ResPath("/Textures/Interface/Misc/crosshair_pointers.rsi"),
"gun_sight"));
_gunBoltSight = spriteSys.Frame0(new SpriteSpecifier.Rsi(new ResPath("/Textures/Interface/Misc/crosshair_pointers.rsi"),
"gun_bolt_sight"));
_meleeSight = spriteSys.Frame0(new SpriteSpecifier.Rsi(new ResPath("/Textures/Interface/Misc/crosshair_pointers.rsi"),
"melee_sight"));
}
Expand All @@ -67,12 +71,16 @@ protected override void Draw(in OverlayDrawArgs args)

var handEntity = _hands.GetActiveHandEntity();
var isHandGunItem = _entMan.HasComponent<GunComponent>(handEntity);
var isGunBolted = true;
if (_entMan.TryGetComponent(handEntity, out ChamberMagazineAmmoProviderComponent? chamber))
isGunBolted = chamber.BoltClosed ?? true;


var mousePos = mouseScreenPosition.Position;
var uiScale = (args.ViewportControl as Control)?.UIScale ?? 1f;
var limitedScale = uiScale > 1.25f ? 1.25f : uiScale;

var sight = isHandGunItem ? _gunSight : _meleeSight;
var sight = isHandGunItem ? (isGunBolted ? _gunSight : _gunBoltSight) : _meleeSight;
DrawSight(sight, args.ScreenHandle, mousePos, limitedScale * Scale);
}

Expand Down
35 changes: 19 additions & 16 deletions Content.Client/Construction/ConstructionSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,27 +81,30 @@ public override void Shutdown()

private void HandleConstructionGhostExamined(EntityUid uid, ConstructionGhostComponent component, ExaminedEvent args)
{
if (component.Prototype == null) return;
if (component.Prototype == null)
return;

args.PushMarkup(Loc.GetString(
"construction-ghost-examine-message",
("name", component.Prototype.Name)));
using (args.PushGroup(nameof(ConstructionGhostComponent)))
{
args.PushMarkup(Loc.GetString(
"construction-ghost-examine-message",
("name", component.Prototype.Name)));

if (!_prototypeManager.TryIndex(component.Prototype.Graph, out ConstructionGraphPrototype? graph))
return;
if (!_prototypeManager.TryIndex(component.Prototype.Graph, out ConstructionGraphPrototype? graph))
return;

var startNode = graph.Nodes[component.Prototype.StartNode];
var startNode = graph.Nodes[component.Prototype.StartNode];

if (!graph.TryPath(component.Prototype.StartNode, component.Prototype.TargetNode, out var path) ||
!startNode.TryGetEdge(path[0].Name, out var edge))
{
return;
}
if (!graph.TryPath(component.Prototype.StartNode, component.Prototype.TargetNode, out var path) ||
!startNode.TryGetEdge(path[0].Name, out var edge))
{
return;
}

foreach (ConstructionGraphStep step in edge.Steps)
{
args.Message.PushNewline();
step.DoExamine(args);
foreach (var step in edge.Steps)
{
step.DoExamine(args);
}
}
}

Expand Down
9 changes: 5 additions & 4 deletions Content.Client/Construction/UI/FlatpackCreatorMenu.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,21 @@
<BoxContainer Orientation="Horizontal" HorizontalExpand="True" VerticalExpand="True" Margin="10">
<BoxContainer SizeFlagsStretchRatio="2" Orientation="Vertical" HorizontalExpand="True" VerticalExpand="True">
<BoxContainer Orientation="Vertical">
<SpriteView Name="MachineSprite" Scale="4 4" HorizontalAlignment="Center" MinSize="128 128"/>
<SpriteView Name="MachineSprite" Scale="4 4" HorizontalAlignment="Center" VerticalExpand="True" MinSize="128 128"/>
<RichTextLabel Name="MachineNameLabel" HorizontalAlignment="Center" StyleClasses="LabelKeyText"/>
</BoxContainer>
<Control MinHeight="10"/>
<Button Name="PackButton" Text="{Loc 'flatpacker-ui-pack-button'}" MaxWidth="150" Margin="0 0 0 10"/>
<BoxContainer Orientation="Vertical" VerticalExpand="True">
<BoxContainer Orientation="Vertical" VerticalExpand="True" RectClipContent="True">
<Label Name="CostHeaderLabel" Text="{Loc 'flatpacker-ui-cost-label'}" HorizontalAlignment="Left"/>
<PanelContainer VerticalExpand="True"
HorizontalExpand="True">
<PanelContainer.PanelOverride>
<gfx:StyleBoxFlat BackgroundColor="#1B1B1E" />
</PanelContainer.PanelOverride>
<BoxContainer Orientation="Vertical" VerticalExpand="True">
<RichTextLabel Name="CostLabel" HorizontalAlignment="Center"/>
<BoxContainer Orientation="Vertical" VerticalAlignment="Center">
<RichTextLabel Name="CostLabel" HorizontalAlignment="Center" VerticalAlignment="Center"/>
<RichTextLabel Name="InsertLabel" HorizontalAlignment="Center" VerticalAlignment="Center"/>
</BoxContainer>
</PanelContainer>
</BoxContainer>
Expand Down
Loading
Loading