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 2024-10-04 #223

Merged
Merged
Show file tree
Hide file tree
Changes from 78 commits
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
b75052a
Remove InteractionPopup From IPCs (#961)
Mnemotechnician Sep 26, 2024
bf8e970
Backpack Loadout Category (#957)
VMSolidus Sep 28, 2024
0e6da21
Automatic Changelog Update (#957)
SimpleStation14 Sep 28, 2024
2027625
Fix IPC Reboot Button (#963)
VMSolidus Sep 28, 2024
232a280
Automatic Changelog Update (#963)
SimpleStation14 Sep 28, 2024
b969542
Fix HealthContest Crash (#954)
VMSolidus Sep 28, 2024
320a62c
Automatic Changelog Update (#954)
SimpleStation14 Sep 28, 2024
12b4fd2
Fix Moodlet Popup Spam (#948)
VMSolidus Sep 28, 2024
7f909b0
Automatic Changelog Update (#948)
SimpleStation14 Sep 28, 2024
acb9ba3
Update Noospheric Events' Glimmer Ranges (#969)
Mnemotechnician Sep 28, 2024
c8d8358
Pulling Minor Fixes (#966)
Mnemotechnician Sep 28, 2024
65913bb
Automatic Changelog Update (#969)
SimpleStation14 Sep 28, 2024
62db3d3
Automatic Changelog Update (#966)
SimpleStation14 Sep 28, 2024
8664b8b
Kemonomimi Markings For Humans (#964)
VMSolidus Sep 28, 2024
b4bb489
Automatic Changelog Update (#964)
SimpleStation14 Sep 28, 2024
b18c261
Harpy Language! (#968)
VMSolidus Sep 28, 2024
ef2360d
Automatic Changelog Update (#968)
SimpleStation14 Sep 28, 2024
bb77cc9
Heal Other Bugfix 2 (#970)
VMSolidus Sep 29, 2024
914bd56
1984 Psionics Guide (#972)
VMSolidus Sep 29, 2024
ef9d346
Automatic Changelog Update (#970)
SimpleStation14 Sep 29, 2024
620c8ea
Automatic Changelog Update (#972)
SimpleStation14 Sep 29, 2024
d8e376e
Fixed Cyberlimbs and Named Color Categories (#974)
Aikakakah Sep 29, 2024
dde8c6c
Automatic Changelog Update (#974)
SimpleStation14 Sep 29, 2024
d138495
Nerf Reagent Slimes (#977)
VMSolidus Sep 29, 2024
e1f2c2d
Automatic Changelog Update (#977)
SimpleStation14 Sep 29, 2024
bef577e
Interaction Verb Minor Fixes (#965)
Mnemotechnician Sep 30, 2024
287d52b
Automatic Changelog Update (#965)
SimpleStation14 Sep 30, 2024
a5e3318
Update LobbyGui.xaml (#962)
Evgencheg Sep 30, 2024
ce9d9aa
Automatic Changelog Update (#962)
SimpleStation14 Sep 30, 2024
13f52f7
Shadeskip Power (#987)
VMSolidus Sep 30, 2024
d158cfe
Automatic Changelog Update (#987)
SimpleStation14 Sep 30, 2024
e063784
Psionic Mood System Interactions (#988)
VMSolidus Sep 30, 2024
5ae7f42
More Psionic Traits (#983)
VMSolidus Sep 30, 2024
138b280
Automatic Changelog Update (#988)
SimpleStation14 Sep 30, 2024
211df73
Automatic Changelog Update (#983)
SimpleStation14 Sep 30, 2024
1ec982a
Better Narcolepsy (#967)
Mnemotechnician Sep 30, 2024
ac7b170
Automatic Changelog Update (#967)
SimpleStation14 Sep 30, 2024
50a2a4a
Space Dragon Gib/Butchering Fixes (#992)
zelezniciar1 Oct 1, 2024
8784e83
Automatic Changelog Update (#992)
SimpleStation14 Oct 1, 2024
1e29e65
Undo Accidental Revert Of Rampant Brand Intelligence (#947)
VMSolidus Oct 1, 2024
5e88207
Automatic Changelog Update (#947)
SimpleStation14 Oct 1, 2024
b9167c9
Fix Markings Menu (#997)
VMSolidus Oct 1, 2024
a1aaa35
Automatic Changelog Update (#997)
SimpleStation14 Oct 1, 2024
c162c31
Uncomment Immovable Rod (#973)
VMSolidus Oct 2, 2024
c895546
Automatic Changelog Update (#973)
SimpleStation14 Oct 2, 2024
4babad0
Harpy Guidebook (#993)
VMSolidus Oct 2, 2024
8b63a56
Fix Command Dumping To Uncategorized (#989)
VMSolidus Oct 2, 2024
88f384c
More Kemonomimi Markings (#981)
VMSolidus Oct 2, 2024
d3d9181
Automatic Changelog Update (#993)
SimpleStation14 Oct 2, 2024
9001be8
Vent Spawn Fix (#982)
fenndragon Oct 2, 2024
b86dc6e
Automatic Changelog Update (#981)
SimpleStation14 Oct 2, 2024
f6706a0
Automatic Changelog Update (#982)
SimpleStation14 Oct 2, 2024
1c25688
Uncomment Grapple And Tether Guns (#1000)
VMSolidus Oct 2, 2024
ad6949e
Automatic Changelog Update (#1000)
SimpleStation14 Oct 2, 2024
1dbce62
Fix Mail Doors (#986)
Fansana Oct 2, 2024
2de4f6d
Anomalist Power System (#991)
VMSolidus Oct 2, 2024
83bc824
Automatic Changelog Update (#986)
SimpleStation14 Oct 2, 2024
7deb42f
Add LocalizedPrototype Type (#747)
DEATHB4DEFEAT Oct 2, 2024
7e224a2
Telekinetic Pulse Power (#1002)
VMSolidus Oct 4, 2024
0086588
Automatic Changelog Update (#1002)
SimpleStation14 Oct 4, 2024
ef59cbb
Windows And Tables Resprites! (#958)
FoxxoTrystan Oct 4, 2024
e8f26b6
Automatic Changelog Update (#958)
SimpleStation14 Oct 4, 2024
c9c999e
Port Respawn System (#998)
VMSolidus Oct 4, 2024
cf35458
Automatic Changelog Update (#998)
SimpleStation14 Oct 4, 2024
94bae78
Nerf the Fuck Out of Winter Boots (#1004)
Mnemotechnician Oct 4, 2024
ff1db70
Automatic Changelog Update (#1004)
SimpleStation14 Oct 4, 2024
3e7629d
Merge remote-tracking branch 'real-ee/master' into floof-upstream-mer…
Mnemotechnician Oct 4, 2024
5aa7288
Fix ghost respawn locales
Mnemotechnician Oct 4, 2024
3f5ba91
Fix floof command loadouts
Mnemotechnician Oct 4, 2024
1c6c0bd
Fix some Locales Seemingly Made Using Google Translate (#1006)
Mnemotechnician Oct 5, 2024
9c589ce
Blood Regeneration Affects Hunger/Thirst (#1007)
Mnemotechnician Oct 5, 2024
e8a0612
Unathi Lore Update (#1008)
VMSolidus Oct 5, 2024
99cde5d
Update CloningSystem.Utility.cs (#1009)
VMSolidus Oct 5, 2024
6cb4562
MoodSystem Crit Threshold CVar (#1010)
VMSolidus Oct 5, 2024
8ba95f3
Automatic Changelog Update (#1009)
SimpleStation14 Oct 5, 2024
1b0e883
Merge branch 'master' of https://github.com/simple-station/einstein-e…
Mnemotechnician Oct 6, 2024
f8e68a5
Let's hope this doesn't corrupt the db.
Mnemotechnician Oct 6, 2024
6a5bc92
Apply Changes
FoxxoTrystan Oct 7, 2024
cb31cd3
Draw Depth Fixes For Downed Entities (#1017)
gluesniffler Oct 7, 2024
de4959a
Respawn System CVar (#1015)
VMSolidus Oct 7, 2024
2051dee
More Drug Moodlets (#1014)
VMSolidus Oct 7, 2024
e9d6b15
Nerf Lotophagoi Oil Addiction (#1013)
VMSolidus Oct 7, 2024
f160a2d
Automatic Changelog Update (#1017)
SimpleStation14 Oct 7, 2024
929f2c7
Nerf Shadeskip (#1012)
VMSolidus Oct 7, 2024
c1effc9
Automatic Changelog Update (#1013)
SimpleStation14 Oct 7, 2024
3ae1cf1
Automatic Changelog Update (#1012)
SimpleStation14 Oct 7, 2024
1f0cc56
Merge remote-tracking branch 'EE/master' into pr/Mnemotechnician/223
FoxxoTrystan Oct 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions Content.Client/Ghost/GhostSystem.cs
Original file line number Diff line number Diff line change
Expand Up @@ -181,5 +181,11 @@ public void ToggleGhostVisibility()
{
GhostVisibility = !GhostVisibility;
}

public void ReturnToRound()
{
var msg = new GhostReturnToRoundRequest();
RaiseNetworkEvent(msg);
}
}
}
2 changes: 1 addition & 1 deletion Content.Client/Lobby/UI/LobbyGui.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
Stretch="KeepAspectCovered" />
<BoxContainer Name="MainContainer" VerticalExpand="True" HorizontalExpand="True" Orientation="Horizontal"
Margin="10 10 10 10" SeparationOverride="2">
<SplitContainer State="Auto" HorizontalExpand="True">
<SplitContainer State="Auto" ResizeMode="NotResizable" HorizontalExpand="True">
<!-- LHS Controls -->
<BoxContainer Name="LeftSide" Orientation="Vertical" SeparationOverride="4" HorizontalExpand="True">
<Control Name="DefaultState" VerticalExpand="True">
Expand Down
18 changes: 4 additions & 14 deletions Content.Client/Preferences/UI/HumanoidProfileEditor.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,18 +91,6 @@
<Control HorizontalExpand="True"/>
<Button Name="ShowLoadouts" Pressed="True" ToggleMode="True" Text="{Loc 'Show'}" HorizontalAlignment="Right" />
</BoxContainer>
<!-- Clothing -->
<BoxContainer HorizontalExpand="True">
<Label Text="{Loc 'humanoid-profile-editor-clothing-label'}" />
<Control HorizontalExpand="True"/>
<OptionButton Name="CClothingButton" HorizontalAlignment="Right" />
</BoxContainer>
<!-- Backpack -->
<BoxContainer HorizontalExpand="True">
<Label Text="{Loc 'humanoid-profile-editor-backpack-label'}" />
<Control HorizontalExpand="True"/>
<OptionButton Name="CBackpackButton" HorizontalAlignment="Right" />
</BoxContainer>
<!-- Spawn Priority -->
<BoxContainer HorizontalExpand="True">
<Label Text="{Loc 'humanoid-profile-editor-spawn-priority-label'}" />
Expand Down Expand Up @@ -211,8 +199,10 @@
<ui:NeoTabContainer Name="CLoadoutsTabs" VerticalExpand="True" SeparatorMargin="0" />
</BoxContainer>
<BoxContainer Name="CMarkingsTab" HorizontalExpand="True" Orientation="Vertical" Margin="10">
<!-- Markings -->
<humanoid:MarkingPicker Name="CMarkings" IgnoreCategories="Hair,FacialHair" />
<ScrollContainer HorizontalExpand="True" HScrollEnabled="True" VerticalExpand="True" VScrollEnabled="True">
<!-- Markings -->
<humanoid:MarkingPicker Name="CMarkings" IgnoreCategories="Hair,FacialHair" />
</ScrollContainer>
</BoxContainer>
</ui:NeoTabContainer>
</BoxContainer>
Expand Down
71 changes: 0 additions & 71 deletions Content.Client/Preferences/UI/HumanoidProfileEditor.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,21 @@
using Content.Client.Lobby;
using Content.Client.Message;
using Content.Client.Players.PlayTimeTracking;
using Content.Client.Roles;
using Content.Client.UserInterface.Controls;
using Content.Client.UserInterface.Systems.Guidebook;
using Content.Shared.CCVar;
using Content.Shared.Clothing.Components;
using Content.Shared.Clothing.Loadouts.Prototypes;
using Content.Shared.Clothing.Loadouts.Systems;
using Content.Shared.Customization.Systems;
using Content.Shared.GameTicking;
using Content.Shared.Humanoid;
using Content.Shared.Humanoid.Markings;
using Content.Shared.Humanoid.Prototypes;
using Content.Shared.Preferences;
using Content.Shared.Roles;
using Content.Shared.Roles.Jobs;
using Content.Shared.Traits;
using Robust.Client.AutoGenerated;
using Robust.Client.Graphics;
using Robust.Client.Player;
using Robust.Client.UserInterface;
using Robust.Client.UserInterface.Controls;
using Robust.Client.UserInterface.XAML;
Expand All @@ -33,10 +29,8 @@
using Robust.Shared.Enums;
using Robust.Shared.Map;
using Robust.Shared.Physics;
using Robust.Shared.Player;
using Robust.Shared.Prototypes;
using Robust.Shared.Utility;
using static Content.Client.Stylesheets.StyleBase;
using Direction = Robust.Shared.Maths.Direction;

namespace Content.Client.Preferences.UI
Expand All @@ -63,8 +57,6 @@ public sealed partial class HumanoidProfileEditor : BoxContainer
private OptionButton _sexButton => CSexButton;
private OptionButton _genderButton => CPronounsButton;
private Slider _skinColor => CSkin;
private OptionButton _clothingButton => CClothingButton;
private OptionButton _backpackButton => CBackpackButton;
private OptionButton _spawnPriorityButton => CSpawnPriorityButton;
private SingleMarkingPicker _hairPicker => CHairStylePicker;
private SingleMarkingPicker _facialHairPicker => CFacialHairPicker;
Expand Down Expand Up @@ -408,33 +400,6 @@ public HumanoidProfileEditor(IClientPreferencesManager preferencesManager, IProt

#endregion Hair

#region Clothing

_clothingButton.AddItem(Loc.GetString("humanoid-profile-editor-preference-jumpsuit"), (int) ClothingPreference.Jumpsuit);
_clothingButton.AddItem(Loc.GetString("humanoid-profile-editor-preference-jumpskirt"), (int) ClothingPreference.Jumpskirt);

_clothingButton.OnItemSelected += args =>
{
_clothingButton.SelectId(args.Id);
SetClothing((ClothingPreference) args.Id);
};

#endregion Clothing

#region Backpack

_backpackButton.AddItem(Loc.GetString("humanoid-profile-editor-preference-backpack"), (int) BackpackPreference.Backpack);
_backpackButton.AddItem(Loc.GetString("humanoid-profile-editor-preference-satchel"), (int) BackpackPreference.Satchel);
_backpackButton.AddItem(Loc.GetString("humanoid-profile-editor-preference-duffelbag"), (int) BackpackPreference.Duffelbag);

_backpackButton.OnItemSelected += args =>
{
_backpackButton.SelectId(args.Id);
SetBackpack((BackpackPreference) args.Id);
};

#endregion Backpack

#region SpawnPriority

foreach (var value in Enum.GetValues<SpawnPriorityPreference>())
Expand Down Expand Up @@ -975,24 +940,6 @@ private void SetName(string newName)
IsDirty = true;
}

private void SetClothing(ClothingPreference newClothing)
{
Profile = Profile?.WithClothingPreference(newClothing);
UpdateCharacterRequired();
IsDirty = true;
_controller.UpdateClothes = true;
UpdatePreview();
}

private void SetBackpack(BackpackPreference newBackpack)
{
Profile = Profile?.WithBackpackPreference(newBackpack);
UpdateCharacterRequired();
IsDirty = true;
_controller.UpdateClothes = true;
UpdatePreview();
}

private void SetSpawnPriority(SpawnPriorityPreference newSpawnPriority)
{
Profile = Profile?.WithSpawnPriorityPreference(newSpawnPriority);
Expand Down Expand Up @@ -1162,22 +1109,6 @@ private void UpdateGenderControls()
_genderButton.SelectId((int) Profile.Gender);
}

private void UpdateClothingControls()
{
if (Profile == null)
return;

_clothingButton.SelectId((int) Profile.Clothing);
}

private void UpdateBackpackControls()
{
if (Profile == null)
return;

_backpackButton.SelectId((int) Profile.Backpack);
}

private void UpdateSpawnPriorityControls()
{
if (Profile == null)
Expand Down Expand Up @@ -1344,8 +1275,6 @@ public void UpdateControls()
UpdateGenderControls();
UpdateSkinColor();
UpdateSpecies();
UpdateClothingControls();
UpdateBackpackControls();
UpdateSpawnPriorityControls();
UpdateAgeEdit();
UpdateEyePickers();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ public void LoadGui()
Gui.ReturnToBodyPressed += ReturnToBody;
Gui.GhostRolesPressed += GhostRolesPressed;
Gui.TargetWindow.WarpClicked += OnWarpClicked;
Gui.ReturnToRoundPressed += ReturnToRound;

UpdateGui();
}
Expand All @@ -133,6 +134,7 @@ public void UnloadGui()
Gui.ReturnToBodyPressed -= ReturnToBody;
Gui.GhostRolesPressed -= GhostRolesPressed;
Gui.TargetWindow.WarpClicked -= OnWarpClicked;
Gui.ReturnToRoundPressed -= ReturnToRound;

Gui.Hide();
}
Expand All @@ -142,6 +144,11 @@ private void ReturnToBody()
_system?.ReturnToBody();
}

private void ReturnToRound()
{
_system?.ReturnToRound();
}

private void RequestWarps()
{
_system?.RequestWarps();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
<Button Name="ReturnToBodyButton" Text="{Loc ghost-gui-return-to-body-button}" />
<Button Name="GhostWarpButton" Text="{Loc ghost-gui-ghost-warp-button}" />
<Button Name="GhostRolesButton" />
<Button Name="ReturnToRound" Text="{Loc ghost-gui-return-to-round-button}" />
</BoxContainer>
</widgets:GhostGui>
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ public sealed partial class GhostGui : UIWidget
public event Action? RequestWarpsPressed;
public event Action? ReturnToBodyPressed;
public event Action? GhostRolesPressed;
public event Action? ReturnToRoundPressed;

public GhostGui()
{
Expand All @@ -26,6 +27,7 @@ public GhostGui()
GhostWarpButton.OnPressed += _ => RequestWarpsPressed?.Invoke();
ReturnToBodyButton.OnPressed += _ => ReturnToBodyPressed?.Invoke();
GhostRolesButton.OnPressed += _ => GhostRolesPressed?.Invoke();
ReturnToRound.OnPressed += _ => ReturnToRoundPressed?.Invoke();
}

public void Hide()
Expand Down
Loading
Loading