mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-17 05:27:38 +03:00
* Give silicons proper lobby/character editor previews No more naked dummies, properly show a borg/AI sprite now. This means taking the JobEntity into account when spawning the dummy. For AIs I had to add a "JobPreviewEntity" field because they'd look like a posibrain otherwise. AI therefore uses a custom dummy entity I defined. Also I had to add some margins to the UI, because otherwise the 32x32 sprite of the AI would look bad. * Update Content.Shared/Roles/JobPrototype.cs * Update Content.Client/Lobby/LobbyUIController.cs * Update Resources/Prototypes/Entities/Mobs/Player/silicon.yml --------- Co-authored-by: slarticodefast <161409025+slarticodefast@users.noreply.github.com> (cherry picked from commit 299b13f21b91166fa0db6a4dd97578a03a1ef966)
12 lines
860 B
XML
12 lines
860 B
XML
<ContainerButton xmlns="https://spacestation14.io"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
xmlns:style="clr-namespace:Content.Client.Stylesheets">
|
|
<BoxContainer Orientation="Horizontal" HorizontalExpand="True" SeparationOverride="0" Name="InternalHBox">
|
|
<SpriteView Scale="2 2" Margin="0 4 4 4" OverrideDirection="South" Name="View"/>
|
|
<Label Name="DescriptionLabel" ClipText="True" HorizontalExpand="True"/>
|
|
<Button Name="DeleteButton" Text="{Loc 'character-setup-gui-character-picker-button-delete-button'}"/>
|
|
<Button Name="ConfirmDeleteButton" Text="{Loc 'character-setup-gui-character-picker-button-confirm-delete-button'}"
|
|
Visible="False" ModulateSelfOverride="{x:Static style:StyleNano.ButtonColorDangerDefault}"/>
|
|
</BoxContainer>
|
|
</ContainerButton>
|