mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-16 21:17:39 +03:00
<!-- This is a semi-strict format, you can add/remove sections as needed but the order/format should be kept the same Remove these comments before submitting --> # Description <!-- Explain this PR in as much detail as applicable Some example prompts to consider: How might this affect the game? The codebase? What might be some alternatives to this? How/Who does this benefit/hurt [the game/codebase]? --> Adds a component (added to MobSoliconBase) which allows you to rename an entity in-game via a verb. --- # TODO <!-- A list of everything you have to do before this PR is "complete" You probably won't have to complete everything before merging but it's good to leave future references --> - [x] Make the Verb appear - [x] Successfully open the UI - [x] Apply input as entity name --- <!-- This is default collapsed, readers click to expand it and see all your media The PR media section can get very large at times, so this is a good way to keep it clean The title is written using HTML tags The title must be within the <summary> tags or you won't see it --> <details><summary><h1>Media</h1></summary> <p>  </p> </details> --- # Changelog <!-- You can add an author after the `🆑` to change the name that appears in the changelog (ex: `🆑 Death`) Leaving it blank will default to your GitHub display name This includes all available types for the changelog --> 🆑 - tweak: Allow renaming robots and pAI --------- Signed-off-by: Timfa <timfalken@hotmail.com> Co-authored-by: sleepyyapril <123355664+sleepyyapril@users.noreply.github.com> (cherry picked from commit 3014a0db4560e9949e690caaa49f46866bc20079)
9 lines
415 B
XML
9 lines
415 B
XML
<DefaultWindow xmlns="https://spacestation14.io"
|
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
|
Title="{Loc 'renamable-ui-header'}">
|
|
<BoxContainer Orientation="Vertical" SeparationOverride="4" MinWidth="150">
|
|
<Label Name="CurrentNameLabel" Text="{Loc 'renamable-current-name-label'}" />
|
|
<LineEdit Name="NameLineEdit" />
|
|
</BoxContainer>
|
|
</DefaultWindow>
|