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 #1626

Merged
merged 222 commits into from
Feb 10, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
222 commits
Select commit Hold shift + click to select a range
06a1615
Additional Ionstorm Law Updates (#34197)
southbridge-fur Jan 16, 2025
5d9311d
Automatic changelog update
PJBot Jan 16, 2025
4809ee2
Add option to disable bwoink sound. (#33782)
c4llv07e Jan 17, 2025
40e0496
Automatic changelog update
PJBot Jan 17, 2025
8295bfb
Pride Scarves (#34448)
southbridge-fur Jan 17, 2025
ac04604
Automatic changelog update
PJBot Jan 17, 2025
50bb5e0
Replace the djstation intercoms with freelance intercoms (#34478)
Minemoder5000 Jan 17, 2025
2fa4f0a
Update nix flake for .NET 9 (#34480)
Toby222 Jan 17, 2025
464f68d
Automatic changelog update
PJBot Jan 17, 2025
efd5d64
Holopad networking rework (#34112)
chromiumboy Jan 17, 2025
0e840d8
Make GasMixture enumerable
PJB3005 Jan 17, 2025
f63eb69
Improve canister admin logs.
PJB3005 Jan 17, 2025
9d4e600
Optimize & clean up RadiationSystem (#34459)
ElectroJr Jan 18, 2025
970b4a6
Improve canister admin logs (#34495)
Partmedia Jan 18, 2025
c4542ee
Update engine to v240.0.1 (#34497)
ElectroJr Jan 18, 2025
c78717e
Various Locale Typo Fixes (and spaces) (#34483)
Monotheonist Jan 18, 2025
7f0ff0b
Space lizard plushie can now be worn on your head (#33809)
ArtisticRoomba Jan 18, 2025
17464ff
Automatic changelog update
PJBot Jan 18, 2025
343f59f
Adds bullet collision to wall mounted cameras (#34500)
Spessmann Jan 18, 2025
fb38bf3
Automatic changelog update
PJBot Jan 18, 2025
026d65d
Staging -> Master merge (#34489)
VasilisThePikachu Jan 18, 2025
86cf3a4
Change MaskComponent to accommodate sprites namings (#33451)
Winkarst-cpu Jan 18, 2025
5d06ee2
Automatic changelog update
PJBot Jan 18, 2025
1840160
Add a 10u vial of plasma to the chemical locker (#33871)
Minemoder5000 Jan 18, 2025
4a015d1
Automatic changelog update
PJBot Jan 18, 2025
993b5c4
Rarer Highcaps (#34469)
Nox38 Jan 18, 2025
428fcd6
Automatic changelog update
PJBot Jan 18, 2025
2f8f536
New dry fire sound (#34447)
K-Dynamic Jan 19, 2025
a2df771
Automatic changelog update
PJBot Jan 19, 2025
b471c10
CentComm Map Updates (#34475)
minus1over12 Jan 19, 2025
5fb8ebb
Automatic changelog update
PJBot Jan 19, 2025
c917bcc
Cog power setup fix (#34188)
TytosB Jan 19, 2025
bf59371
Add Airlocks with Bar and Kitchen access (#33821)
CheesePlated Jan 19, 2025
a83fd7b
Fixed minor spelling mistake in Noir Trenchcoat description. (#34519)
Tezzaide Jan 19, 2025
2894f49
Update Credits (#34507)
github-actions[bot] Jan 19, 2025
b09cd1c
Make storage implant drop items on gibbing (#33493)
Winkarst-cpu Jan 19, 2025
c0fcf4b
Automatic changelog update
PJBot Jan 19, 2025
ef50219
Fix `emergency_elkridge` being saved as a map (#34496)
ElectroJr Jan 19, 2025
40f9170
Update engine to v240.1.0 (#34524)
ElectroJr Jan 20, 2025
ed44f32
Fixes some mobs not being able to honk/weh (#33777)
ArtisticRoomba Jan 20, 2025
9485cb6
Automatic changelog update
PJBot Jan 20, 2025
6ed60fe
Welding gas mask toggleable with action (#32691)
K-Dynamic Jan 20, 2025
a84b67a
Automatic changelog update
PJBot Jan 20, 2025
c4ed3fc
Update engine to v240.1.1 (#34527)
ElectroJr Jan 20, 2025
6b6dc13
Automatic changelog update
PJBot Jan 20, 2025
6361a12
Plasma Dirt Fix (#34534)
southbridge-fur Jan 20, 2025
b0c9c79
Merge stable into master (#34547)
slarticodefast Jan 20, 2025
04c0817
Plasma station population tweak (#34549)
Compilatron144 Jan 21, 2025
f092ddc
Automatic changelog update
PJBot Jan 21, 2025
796f599
Job contraband rework (#33385)
sporkyz Jan 21, 2025
1f6e041
Automatic changelog update
PJBot Jan 21, 2025
24219cb
Electrified doors/windoors now spark, new tips to deal with doors wit…
K-Dynamic Jan 21, 2025
14aff1c
Automatic changelog update
PJBot Jan 21, 2025
07ad21d
Merge salamander whitelist hotfix #34532 into master (#34551)
slarticodefast Jan 21, 2025
0da6a99
Blueprint double emergency tank (#34232)
Nimfar11 Jan 21, 2025
1031d2a
Automatic changelog update
PJBot Jan 21, 2025
71c9dfc
Add system to kick people if they connect to multiple servers at once…
PJB3005 Jan 21, 2025
ef24e4b
Automatic changelog update
PJBot Jan 21, 2025
20acef1
Merge stable into master (#34564)
slarticodefast Jan 21, 2025
3499b47
bagel update (#34572)
Emisse Jan 22, 2025
ee7f98a
remove tropico from devmap (#34585)
Errant-4 Jan 22, 2025
7415149
Update wizden config to disallow multiple connections to multiple wiz…
VasilisThePikachu Jan 22, 2025
85da235
Give the chef access to cloth boxes (#34403)
sowelipililimute Jan 22, 2025
b4fa49a
Automatic changelog update
PJBot Jan 22, 2025
cb5e798
lecter visual update (#34589)
Emisse Jan 23, 2025
7db3595
Automatic changelog update
PJBot Jan 23, 2025
9944076
Box Station - Update (#34605)
southbridge-fur Jan 23, 2025
39c1737
pluralize the job name in the contra description (#34559)
Ian321 Jan 23, 2025
f186838
Automatic changelog update
PJBot Jan 23, 2025
68b0dfb
Feature/make radial menu great again (#32653)
Fildrance Jan 23, 2025
713d451
Automatic changelog update
PJBot Jan 23, 2025
9bd8b89
Return Drozd full-auto and semi-auto firing modes (#34604)
K-Dynamic Jan 23, 2025
bc5812d
Automatic changelog update
PJBot Jan 23, 2025
033f844
added missing allowed department to the restricted severity (#34558)
Ian321 Jan 23, 2025
b248921
Automatic changelog update
PJBot Jan 23, 2025
f792837
C4 Helmet (#34076)
TheShuEd Jan 23, 2025
0402149
Automatic changelog update
PJBot Jan 23, 2025
7168de6
Make radioactive material radioactive (#34436)
minus1over12 Jan 23, 2025
7f02efc
Automatic changelog update
PJBot Jan 23, 2025
5e7cc99
Small fixes for Meta station (#34613)
Nox38 Jan 23, 2025
371b1f8
replace all instances of "department-{id}" with department.name (#34607)
Ian321 Jan 24, 2025
2580a21
Renaming sexy mime and clown mask (#34258)
JustinWinningham Jan 24, 2025
05ed43f
Automatic changelog update
PJBot Jan 24, 2025
613e710
Moved Cyborg Recharging Circuit Board from Lathe to Circuit Imprinter…
Velken Jan 24, 2025
cc24164
Automatic changelog update
PJBot Jan 24, 2025
052be81
Replace starter borg brain with Positronic (#34614)
Errant-4 Jan 24, 2025
0707ee5
Automatic changelog update
PJBot Jan 24, 2025
e1291d0
Elkridge Depot fixes and changes (#34539)
Deerstop Jan 24, 2025
d410728
delete radstorm locale (#34630)
lzk228 Jan 25, 2025
ff27555
display the current version in the changelog window (#34556)
MilonPL Jan 25, 2025
2214857
Update Credits (#34644)
github-actions[bot] Jan 26, 2025
2a632b2
New solar sprites, new solar panel upgrades, and some solar panel fix…
CaasGit Jan 26, 2025
f0652d8
Automatic changelog update
PJBot Jan 26, 2025
6240b9d
Added Unused HoS's Flask to HoS locker (#34658)
Coolsurf6 Jan 26, 2025
7d0b135
Automatic changelog update
PJBot Jan 26, 2025
e464736
Fland Fix (#34670)
SlimmSlamm Jan 27, 2025
65fb71e
Reroute Meta station power, engineering cosmetic changes, minor fixes…
ArtisticRoomba Jan 27, 2025
cc4f9dd
Amber Station Changes (#34656)
southbridge-fur Jan 27, 2025
61cd1f6
Box Station Changes (#34655)
southbridge-fur Jan 27, 2025
06a2dca
Fix mv cable crate typo (#34673)
DinnerCalzone Jan 27, 2025
8ba4193
Plasma station patch 1 (#34602)
Compilatron144 Jan 27, 2025
5b6ef12
Automatic changelog update
PJBot Jan 27, 2025
c1456e0
add a chem dispenser to the nukie planet (#34674)
ArtisticRoomba Jan 27, 2025
3e34601
Adds better description to pneumatic valve and build menu description…
ArtisticRoomba Jan 27, 2025
f9c74f3
Automatic changelog update
PJBot Jan 27, 2025
bbad147
fixrotations - Modified Targetted Entities (#34638)
southbridge-fur Jan 27, 2025
88456a4
Fix match box (#34632)
Helm4142 Jan 27, 2025
5388414
Automatic changelog update
PJBot Jan 27, 2025
276ec74
Hi-viz vest now actually hi-viz (#34087)
kosticia Jan 27, 2025
fd25dac
Storage UI V2 (#33045)
metalgearsloth Jan 27, 2025
1b9d84a
Automatic changelog update
PJBot Jan 27, 2025
012c835
Added Pain Numbness Trait (#34538)
Coolsurf6 Jan 27, 2025
66d9794
Automatic changelog update
PJBot Jan 27, 2025
79f8ea0
Update submodule to 241.0.0 (#34678)
metalgearsloth Jan 27, 2025
5733b47
Add puddle drawdepth (#32369)
metalgearsloth Jan 27, 2025
cf40804
Automatic changelog update
PJBot Jan 27, 2025
25fba30
Revert "Fix match box" (#34681)
TheShuEd Jan 27, 2025
d1b2884
update .editorconfig (#34677)
MilonPL Jan 27, 2025
b1f83fb
Make crew monitor update blips at consistent rates (#32555)
eoineoineoin Jan 27, 2025
be5b20e
Added the ability for pAIs and station maps to be stored in engineeri…
august-sun Jan 27, 2025
24486da
Automatic changelog update
PJBot Jan 27, 2025
98c606d
Engineering guidebook megaupdate v2 (#33062)
ArtisticRoomba Jan 27, 2025
0b78e17
Automatic changelog update
PJBot Jan 27, 2025
cab9871
Omega: fix cryo pipe (#34663)
NakataRin Jan 27, 2025
69eccc4
Add more escape pods on Packed (#34628)
CheesePlated Jan 27, 2025
3e091c4
Storage sidebar fix (#34680)
metalgearsloth Jan 27, 2025
5c782d3
Add conditional camera offset based on cursor - Hristov Rework, Part …
SlamBamActionman Jan 27, 2025
18cc84a
Automatic changelog update
PJBot Jan 27, 2025
c212273
Amber Station Stuff (#34686)
southbridge-fur Jan 28, 2025
c504588
Fake mindshield componentry and Implanter (#34079)
poklj Jan 28, 2025
f42ed32
Automatic changelog update
PJBot Jan 28, 2025
3d3b95a
reworking the chunked telecomms salv ruin (#34529)
TytosB Jan 28, 2025
7594ed5
loop update (#34688)
Emisse Jan 28, 2025
6287cd8
bagel update (#34690)
Emisse Jan 28, 2025
bd34568
Fix airsensors not having a nitrogen threshold (#34689)
ArtisticRoomba Jan 28, 2025
2e03ef1
Buff frezon to acceptable values, pending a frezon rework (#34049)
ArtisticRoomba Jan 28, 2025
f69f5c1
Automatic changelog update
PJBot Jan 28, 2025
c71a995
Stun baton precise attack thrust animation (#34693)
K-Dynamic Jan 28, 2025
b422d08
Automatic changelog update
PJBot Jan 28, 2025
afb884b
Add disposal units to marathon chapelroid (#34709)
CheesePlated Jan 28, 2025
d1c98b0
Oasis: add some emergency O2/N2 lockers (#34715)
Orange-Winds Jan 28, 2025
67812ce
Removes radioactive suppermatter from Plasma Station (#34726)
Compilatron144 Jan 29, 2025
565ba4a
New salvage ruin: the ruined prison ship (#34651)
TytosB Jan 29, 2025
bb99ff2
Buff savlage vault-medium-1's loot (#34732)
TytosB Jan 29, 2025
bde4e32
drozd visual update (#34574)
Emisse Jan 29, 2025
1f57f05
Automatic changelog update
PJBot Jan 29, 2025
55bffa8
Nuke Timer MinimumTime (#34734)
southbridge-fur Jan 29, 2025
f743ec1
Automatic changelog update
PJBot Jan 29, 2025
8a12017
Fix thrust animation rotation (#34713)
themias Jan 29, 2025
ebf045e
Automatic changelog update
PJBot Jan 29, 2025
55ee0a4
Fix vulture spawning additional salvage debris (#34593)
slarticodefast Jan 29, 2025
a480c22
Nukie briefing fix (#34737)
Errant-4 Jan 29, 2025
aea4e3c
Sentient medibot now can inject (#32110)
godisdeadLOL Jan 29, 2025
b942438
Criminal Records Computer Better UX + Filtering (#32352)
jamessimo Jan 29, 2025
c3f1f71
Added some more borg names (#32502)
Starbuckss14 Jan 29, 2025
786d3be
Automatic changelog update
PJBot Jan 29, 2025
3ad8337
Update ScalingViewport for Engine PR (#28786)
ElectroJr Jan 29, 2025
5fe94f8
Update submodule to 242.0.0 (#34739)
metalgearsloth Jan 29, 2025
467b686
fix stop bleeding popup (#34729)
lzk228 Jan 29, 2025
da75258
Fix RoleTimeRequirement localization (#34735)
TheShuEd Jan 29, 2025
9319e09
reworking chem and adding psychology to loop (#34749)
TytosB Jan 29, 2025
e938512
Fix shuttle console angular velocity (#34748)
slarticodefast Jan 29, 2025
84328ee
Syndicate and CentComm Radio Implanters (#33533)
thetolbean Jan 30, 2025
54ce3d7
Automatic changelog update
PJBot Jan 30, 2025
a07df05
New Highpop map: Convex recreational complex (#33346)
Spessmann Jan 30, 2025
e286baa
Automatic changelog update
PJBot Jan 30, 2025
60e8337
Update cigarette.yml (#34756)
DR-DOCTOR-EVIL-EVIL Jan 30, 2025
253a9fb
Seperate EMAG into EMAG and Authentication Disruptor (#34337)
ScarKy0 Jan 30, 2025
a13eaa3
Automatic changelog update
PJBot Jan 30, 2025
1af53b1
Astro Asteroid Sand (#34463)
southbridge-fur Jan 30, 2025
163a55c
Automatic changelog update
PJBot Jan 30, 2025
4085fe7
The Goliath Hardsuit (#34721)
august-sun Jan 30, 2025
f4c648f
Automatic changelog update
PJBot Jan 30, 2025
3a51f11
make RefreshOverlay default to the player session (#32354)
MilonPL Jan 30, 2025
036bf9e
Loop station minor tweaks (#34758)
TytosB Jan 30, 2025
c360a97
Juice that makes you go boom (#34730)
Velken Jan 30, 2025
21ed0da
Automatic changelog update
PJBot Jan 30, 2025
cccdd88
Adjust inventory size of ginormous scrap (#33454)
SpaceRox1244 Jan 30, 2025
cd46a39
Automatic changelog update
PJBot Jan 30, 2025
bc1d642
After getting banned, you now have to re-read the rules! (#33270)
beck-thompson Jan 30, 2025
dbbfab1
More robust Particle Accelerator menu (retry) (#34037)
c4llv07e Jan 30, 2025
ca297f5
Serializable emag flags (#34766)
ScarKy0 Jan 30, 2025
5af13ae
Fix Double Muzzle Flash (#33981)
sleepyyapril Jan 30, 2025
d7d91eb
Automatic changelog update
PJBot Jan 30, 2025
5be5ee9
fix BankClientComponent never updating (#33123)
MilonPL Jan 30, 2025
1859214
Add history tab to bounty console (#33932)
BarryNorfolk Jan 30, 2025
5fbda2a
Automatic changelog update
PJBot Jan 30, 2025
1cbfc7d
Minor shotgun changes and comments for future changes (#33512)
K-Dynamic Jan 30, 2025
992d695
Automatic changelog update
PJBot Jan 30, 2025
dd252e6
Fixed: Ore now correctly drops the right amount of ore (#34557)
beck-thompson Jan 30, 2025
6b62257
Automatic changelog update
PJBot Jan 30, 2025
aa83689
Implement mrp rule changes pursuant to community votes (#34772)
nikthechampiongr Jan 30, 2025
60f531b
#34771 Fix door system assuming all door layer states are in single R…
FairlySadPanda Jan 31, 2025
7579620
HOTFIX update staging submodule to 242.0.1 (#34833)
Errant-4 Feb 2, 2025
f34233a
HOTFIX revert lecter visual update #34589 (#34826)
Errant-4 Feb 2, 2025
82bd0a2
Allowed windows to be properly clicked on (#34751)
impubbi Feb 2, 2025
f257201
Fix hitting through directional windows (and more!) (#34793)
SlamBamActionman Feb 2, 2025
87fa6a3
Revert "Add taped logo back for 10th anniversary" (#34831)
slarticodefast Feb 2, 2025
e58d031
Hristov & .60 changes - Hristov Rework, Part 2 (#31662)
SlamBamActionman Feb 4, 2025
eb2aa08
revert engine
Errant-4 Feb 5, 2025
d6a9ddd
Revert "Storage sidebar fix (#34680)"
Errant-4 Feb 5, 2025
fc80a18
Revert "Storage UI V2 (#33045)"
Errant-4 Feb 5, 2025
f2c74ef
Revert "Update ScalingViewport for Engine PR (#28786)"
Errant-4 Feb 5, 2025
6824ab4
Emisse told me I can name it the grinch (#34905)
VasilisThePikachu Feb 5, 2025
cd91eff
HOTFIX: Fix lineedit focus (#34621)
ShadowCommander Feb 6, 2025
11e5d59
HOTFIX: fix minibomb implant and syndicats not exploding (#34923)
slarticodefast Feb 6, 2025
e49d1cd
Merge branch 'stable' of https://github.com/space-wizards/space-stati…
formlessnameless Feb 8, 2025
9b5ec4c
this is going to take a second
formlessnameless Feb 8, 2025
1817895
there was more
formlessnameless Feb 9, 2025
1d8c4e4
one mroe
formlessnameless Feb 9, 2025
d5ad6b9
update contraband to meet new standard
formlessnameless Feb 9, 2025
a3b5764
this works its fine
formlessnameless Feb 9, 2025
965c874
missed these
formlessnameless Feb 9, 2025
6dc5f9a
rock
formlessnameless Feb 9, 2025
2804d41
radial menu fixes, heretic ftl fix, thaven emagging fix
Darkmajia Feb 10, 2025
41e92dc
Fixed thaven emagging happening multiple times
TGRCdev Feb 10, 2025
e23911b
Merge branch 'dev' into upstream-1626-fixes
formlessnameless Feb 10, 2025
2401b37
Merge pull request #3 from Darkmajia/upstream-1626-fixes
formlessnameless Feb 10, 2025
4d78696
remove the rest of the doorjack
formlessnameless Feb 10, 2025
8e9cd26
Merge branch 'dev' of https://github.com/Gh0ulcaller/imp-station-14 i…
formlessnameless Feb 10, 2025
fe9d4d3
some changes
formlessnameless Feb 10, 2025
2f3a28a
one last one
formlessnameless Feb 10, 2025
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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,9 @@ resharper_keep_existing_attribute_arrangement = true
resharper_wrap_chained_binary_patterns = chop_if_long
resharper_wrap_chained_method_calls = chop_if_long
resharper_csharp_trailing_comma_in_multiline_lists = true
resharper_csharp_qualified_using_at_nested_scope = false
resharper_csharp_prefer_qualified_reference = false
resharper_csharp_allow_alias = false

[*.{csproj,xml,yml,yaml,dll.config,msbuildproj,targets,props}]
indent_size = 2
Expand Down
5 changes: 3 additions & 2 deletions .envrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
if ! has nix_direnv_version || ! nix_direnv_version 3.0.4; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.4/direnvrc" "sha256-DzlYZ33mWF/Gs8DDeyjr8mnVmQGx7ASYqA5WlxwvBG4="
set -e
if ! has nix_direnv_version || ! nix_direnv_version 3.0.6; then
source_url "https://raw.githubusercontent.com/nix-community/nix-direnv/3.0.6/direnvrc" "sha256-RYcUJaRMf8oF5LznDrlCXbkOQrywm0HDv1VjYGaJGdM="
fi
use flake
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", "Satlern", "Box", "Bagel", "Dev", "CentComm", "Core", "TestTeg", "Packed", "Omega", "Reach", "Origin", "Meta", "Marathon", "MeteorArena", "Fland", "Oasis", "Cog" };
public static readonly string[] MapsSource = { "Empty", "Satlern", "Box", "Bagel", "Dev", "CentComm", "Core", "TestTeg", "Packed", "Omega", "Reach", "Meta", "Marathon", "MeteorArena", "Fland", "Oasis", "Cog", "Convex"};

[ParamsSource(nameof(MapsSource))]
public string Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,6 @@ protected override void UpdateState(BoundUserInterfaceState message)
if (message is not CargoBountyConsoleState state)
return;

_menu?.UpdateEntries(state.Bounties, state.UntilNextSkip);
_menu?.UpdateEntries(state.Bounties, state.History, state.UntilNextSkip);
}
}
22 changes: 22 additions & 0 deletions Content.Client/Cargo/UI/BountyHistoryEntry.xaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<BoxContainer xmlns="https://spacestation14.io"
xmlns:customControls="clr-namespace:Content.Client.Administration.UI.CustomControls"
Margin="10 10 10 0"
HorizontalExpand="True">
<PanelContainer StyleClasses="AngleRect" HorizontalExpand="True">
<BoxContainer Orientation="Vertical"
HorizontalExpand="True">
<BoxContainer Orientation="Horizontal">
<BoxContainer Orientation="Vertical" HorizontalExpand="True">
<RichTextLabel Name="RewardLabel"/>
<RichTextLabel Name="ManifestLabel"/>
</BoxContainer>
<BoxContainer Orientation="Vertical" MinWidth="120" Margin="0 0 10 0">
<RichTextLabel Name="TimestampLabel" HorizontalAlignment="Right" />
<RichTextLabel Name="IdLabel" HorizontalAlignment="Right" />
</BoxContainer>
</BoxContainer>
<customControls:HSeparator Margin="5 10 5 10"/>
<RichTextLabel Name="NoticeLabel" />
</BoxContainer>
</PanelContainer>
</BoxContainer>
49 changes: 49 additions & 0 deletions Content.Client/Cargo/UI/BountyHistoryEntry.xaml.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
using Content.Client.Message;
using Content.Shared.Cargo;
using Content.Shared.Cargo.Prototypes;
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;
using Robust.Shared.Prototypes;
using Robust.Shared.Timing;

namespace Content.Client.Cargo.UI;

[GenerateTypedNameReferences]
public sealed partial class BountyHistoryEntry : BoxContainer
{
[Dependency] private readonly IPrototypeManager _prototype = default!;

public BountyHistoryEntry(CargoBountyHistoryData bounty)
{
RobustXamlLoader.Load(this);
IoCManager.InjectDependencies(this);

if (!_prototype.TryIndex(bounty.Bounty, out var bountyPrototype))
return;

var items = new List<string>();
foreach (var entry in bountyPrototype.Entries)
{
items.Add(Loc.GetString("bounty-console-manifest-entry",
("amount", entry.Amount),
("item", Loc.GetString(entry.Name))));
}

ManifestLabel.SetMarkup(Loc.GetString("bounty-console-manifest-label", ("item", string.Join(", ", items))));
RewardLabel.SetMarkup(Loc.GetString("bounty-console-reward-label", ("reward", bountyPrototype.Reward)));
IdLabel.SetMarkup(Loc.GetString("bounty-console-id-label", ("id", bounty.Id)));

TimestampLabel.SetMarkup(bounty.Timestamp.ToString(@"hh\:mm\:ss"));

if (bounty.Result == CargoBountyHistoryData.BountyResult.Completed)
{
NoticeLabel.SetMarkup(Loc.GetString("bounty-console-history-notice-completed-label"));
}
else
{
NoticeLabel.SetMarkup(Loc.GetString("bounty-console-history-notice-skipped-label",
("id", bounty.ActorName ?? "")));
}
}
}
31 changes: 22 additions & 9 deletions Content.Client/Cargo/UI/CargoBountyMenu.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,28 @@
<PanelContainer.PanelOverride>
<gfx:StyleBoxFlat BackgroundColor="#1B1B1E" />
</PanelContainer.PanelOverride>
<ScrollContainer HScrollEnabled="False"
HorizontalExpand="True"
VerticalExpand="True">
<BoxContainer Name="BountyEntriesContainer"
Orientation="Vertical"
VerticalExpand="True"
HorizontalExpand="True">
</BoxContainer>
</ScrollContainer>
<TabContainer Name="MasterTabContainer" VerticalExpand="True" HorizontalExpand="True">
<ScrollContainer HScrollEnabled="False"
HorizontalExpand="True"
VerticalExpand="True">
<BoxContainer Name="BountyEntriesContainer"
Orientation="Vertical"
VerticalExpand="True"
HorizontalExpand="True" />
</ScrollContainer>
<ScrollContainer HScrollEnabled="False"
HorizontalExpand="True"
VerticalExpand="True">
<Label Name="NoHistoryLabel"
Text="{Loc 'bounty-console-history-empty-label'}"
Visible="False"
Align="Center" />
<BoxContainer Name="BountyHistoryContainer"
Orientation="Vertical"
VerticalExpand="True"
HorizontalExpand="True" />
</ScrollContainer>
</TabContainer>
</PanelContainer>
<!-- Footer -->
<BoxContainer Orientation="Vertical">
Expand Down
21 changes: 20 additions & 1 deletion Content.Client/Cargo/UI/CargoBountyMenu.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,12 @@ public sealed partial class CargoBountyMenu : FancyWindow
public CargoBountyMenu()
{
RobustXamlLoader.Load(this);

MasterTabContainer.SetTabTitle(0, Loc.GetString("bounty-console-tab-available-label"));
MasterTabContainer.SetTabTitle(1, Loc.GetString("bounty-console-tab-history-label"));
}

public void UpdateEntries(List<CargoBountyData> bounties, TimeSpan untilNextSkip)
public void UpdateEntries(List<CargoBountyData> bounties, List<CargoBountyHistoryData> history, TimeSpan untilNextSkip)
{
BountyEntriesContainer.Children.Clear();
foreach (var b in bounties)
Expand All @@ -32,5 +35,21 @@ public void UpdateEntries(List<CargoBountyData> bounties, TimeSpan untilNextSkip
{
MinHeight = 10
});

BountyHistoryContainer.Children.Clear();
if (history.Count == 0)
{
NoHistoryLabel.Visible = true;
}
else
{
NoHistoryLabel.Visible = false;

// Show the history in reverse, so last entry is first in the list
for (var i = history.Count - 1; i >= 0; i--)
{
BountyHistoryContainer.AddChild(new BountyHistoryEntry(history[i]));
}
}
}
}
23 changes: 20 additions & 3 deletions Content.Client/Changelog/ChangelogWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,18 @@
using Robust.Client.AutoGenerated;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.XAML;
using Robust.Shared;
using Robust.Shared.Configuration;
using Robust.Shared.Console;

namespace Content.Client.Changelog
{
[GenerateTypedNameReferences]
public sealed partial class ChangelogWindow : FancyWindow
{
[Dependency] private readonly IClientAdminManager _adminManager = default!;
[Dependency] private readonly ChangelogManager _changelog = default!;
[Dependency] private readonly IClientAdminManager _adminManager = default!;
[Dependency] private readonly IConfigurationManager _cfg = default!;

public ChangelogWindow()
{
Expand Down Expand Up @@ -67,8 +70,22 @@ private async void PopulateChangelog()
Tabs.SetTabTitle(i++, Loc.GetString($"changelog-tab-title-{changelog.Name}"));
}

var version = typeof(ChangelogWindow).Assembly.GetName().Version ?? new Version(1, 0);
VersionLabel.Text = Loc.GetString("changelog-version-tag", ("version", version.ToString()));
// Try to get the current version from the build.json file
var version = _cfg.GetCVar(CVars.BuildVersion);
var forkId = _cfg.GetCVar(CVars.BuildForkId);

var versionText = Loc.GetString("changelog-version-unknown");

// Make sure these aren't empty, like in a dev env
if (!string.IsNullOrEmpty(version) && !string.IsNullOrEmpty(forkId))
{
versionText = Loc.GetString("changelog-version-tag",
("fork", forkId),
("version", version[..7])); // Only show the first 7 characters
}

// if else statements are ugly, shut up
VersionLabel.Text = versionText;

TabsUpdated();
}
Expand Down
22 changes: 11 additions & 11 deletions Content.Client/Chat/UI/EmotesMenu.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ui:RadialMenu xmlns="https://spacestation14.io"
<ui:RadialMenu xmlns="https://spacestation14.io"
xmlns:ui="clr-namespace:Content.Client.UserInterface.Controls"
BackButtonStyleClass="RadialMenuBackButton"
CloseButtonStyleClass="RadialMenuCloseButton"
Expand All @@ -8,25 +8,25 @@

<!-- Main -->
<!-- Impstation edit - changed all pngs to new assets-->
<ui:RadialContainer Name="Main" VerticalExpand="True" HorizontalExpand="True" Radius="64" ReserveSpaceForHiddenChildren="False">
<ui:RadialMenuTextureButton StyleClasses="RadialMenuButton" SetSize="64 64" ToolTip="{Loc 'emote-menu-category-general'}" TargetLayer="General" Visible="False">
<ui:RadialContainer Name="Main" VerticalExpand="True" HorizontalExpand="True" InitialRadius="100" ReserveSpaceForHiddenChildren="False">
<ui:RadialMenuTextureButtonWithSector SetSize="64 64" ToolTip="{Loc 'emote-menu-category-general'}" TargetLayer="General" Visible="False">
<TextureRect VerticalAlignment="Center" HorizontalAlignment="Center" TextureScale="2 2" TexturePath="/Textures/_Impstation/Interface/Emotes/general.png"/>
</ui:RadialMenuTextureButton>
<ui:RadialMenuTextureButton StyleClasses="RadialMenuButton" SetSize="64 64" ToolTip="{Loc 'emote-menu-category-vocal'}" TargetLayer="Vocal" Visible="False">
</ui:RadialMenuTextureButtonWithSector>
<ui:RadialMenuTextureButtonWithSector SetSize="64 64" ToolTip="{Loc 'emote-menu-category-vocal'}" TargetLayer="Vocal" Visible="False">
<TextureRect VerticalAlignment="Center" HorizontalAlignment="Center" TextureScale="2 2" TexturePath="/Textures/_Impstation/Interface/Emotes/vocal.png"/>
</ui:RadialMenuTextureButton>
<ui:RadialMenuTextureButton StyleClasses="RadialMenuButton" SetSize="64 64" ToolTip="{Loc 'emote-menu-category-hands'}" TargetLayer="Hands" Visible="False">
</ui:RadialMenuTextureButtonWithSector>
<ui:RadialMenuTextureButtonWithSector SetSize="64 64" ToolTip="{Loc 'emote-menu-category-hands'}" TargetLayer="Hands" Visible="False">
<TextureRect VerticalAlignment="Center" HorizontalAlignment="Center" TextureScale="2 2" TexturePath="/Textures/_Impstation/Interface/Emotes/hand.png"/>
</ui:RadialMenuTextureButton>
</ui:RadialMenuTextureButtonWithSector>
</ui:RadialContainer>

<!-- General -->
<ui:RadialContainer Name="General" VerticalExpand="True" HorizontalExpand="True" Radius="64"/>
<ui:RadialContainer Name="General" VerticalExpand="True" HorizontalExpand="True" InitialRadius="100"/>

<!-- Vocal -->
<ui:RadialContainer Name="Vocal" VerticalExpand="True" HorizontalExpand="True" Radius="64"/>
<ui:RadialContainer Name="Vocal" VerticalExpand="True" HorizontalExpand="True" InitialRadius="100"/>

<!-- Hands -->
<ui:RadialContainer Name="Hands" VerticalExpand="True" HorizontalExpand="True" Radius="64"/>
<ui:RadialContainer Name="Hands" VerticalExpand="True" HorizontalExpand="True" InitialRadius="100"/>

</ui:RadialMenu>
3 changes: 1 addition & 2 deletions Content.Client/Chat/UI/EmotesMenu.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ public EmotesMenu()

var button = new EmoteMenuButton
{
StyleClasses = { "RadialMenuButton" },
SetSize = new Vector2(64f, 64f),
ToolTip = Loc.GetString(emote.Name),
ProtoId = emote.ID,
Expand Down Expand Up @@ -106,7 +105,7 @@ private void AddEmoteClickAction(RadialContainer container)
}


public sealed class EmoteMenuButton : RadialMenuTextureButton
public sealed class EmoteMenuButton : RadialMenuTextureButtonWithSector
{
public ProtoId<EmotePrototype> ProtoId { get; set; }
}
2 changes: 1 addition & 1 deletion Content.Client/Clickable/ClickMapManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ internal sealed class ClickMapManager : IClickMapManager, IPostInjectInit
"/Textures/Logo",
};

private const float Threshold = 0.25f;
private const float Threshold = 0.1f;
private const int ClickRadius = 2;

[Dependency] private readonly IResourceCache _resourceCache = default!;
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/CrewManifest/UI/CrewManifestSection.cs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public CrewManifestSection(
AddChild(new Label()
{
StyleClasses = { "LabelBig" },
Text = Loc.GetString($"department-{section.ID}")
Text = Loc.GetString(section.Name)
});

var departmentContainer = new BoxContainer()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ protected override void Open()
SendMessage(new CriminalRecordChangeStatus(status, null));
_window.OnDialogConfirmed += (status, reason) =>
SendMessage(new CriminalRecordChangeStatus(status, reason));
_window.OnStatusFilterPressed += (statusFilter) =>
SendMessage(new CriminalRecordSetStatusFilter(statusFilter));
_window.OnHistoryUpdated += UpdateHistory;
_window.OnHistoryClosed += () => _historyWindow?.Close();
_window.OnClose += Close;
Expand Down
Loading
Loading