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] Upstream. Yappie #50

Merged
merged 62 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from 61 commits
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
67a3813
Fix Prize Balls' Pet Rock (#831)
ShatteredSwords Sep 3, 2024
d6f1509
More/Better Tips (#844)
VMSolidus Sep 5, 2024
8d4d3e6
Automatic Changelog Update (#844)
SimpleStation14 Sep 5, 2024
b9881f4
Fix some Things with Interaction Verbs (#854)
Mnemotechnician Sep 5, 2024
8f26a4e
Automatic Changelog Update (#854)
SimpleStation14 Sep 5, 2024
844ed30
Fix Colored Jumpskirts Actually Being Skirts (#848)
VMSolidus Sep 5, 2024
41b6154
Automatic Changelog Update (#848)
SimpleStation14 Sep 5, 2024
0aadf94
Ports Trait Rebalance From Floof (#842)
ShatteredSwords Sep 6, 2024
31f042d
Automatic Changelog Update (#842)
SimpleStation14 Sep 6, 2024
bcd8bd9
Roboticist (#801)
Mnemotechnician Sep 6, 2024
93fb609
Automatic Changelog Update (#801)
SimpleStation14 Sep 6, 2024
1cf73dd
Loadouts V3 (#736)
DEATHB4DEFEAT Sep 6, 2024
49f7b7b
Automatic Changelog Update (#736)
SimpleStation14 Sep 6, 2024
bd60c4c
Fix For Discord Changelog (#869)
Evgencheg Sep 7, 2024
df2e20c
Civilian Uniform Loadout Group (#872)
VMSolidus Sep 7, 2024
d32f663
Shoes Loadout Group (#873)
VMSolidus Sep 7, 2024
c2fe9dd
Hat Loadout Group (#876)
VMSolidus Sep 7, 2024
e016075
Outerclothes Loadout Group (#877)
VMSolidus Sep 7, 2024
ba05feb
Gloves Loadout Group (#878)
VMSolidus Sep 7, 2024
a1b6688
Miscellaneous Item Groups (#880)
VMSolidus Sep 7, 2024
32ea6c9
Neck Loadout Group (#874)
VMSolidus Sep 7, 2024
f9d2d30
Automatic Changelog Update (#872)
SimpleStation14 Sep 7, 2024
25250a5
Automatic Changelog Update (#874)
SimpleStation14 Sep 7, 2024
d603de4
Eyewear Loadout Group (#879)
VMSolidus Sep 7, 2024
796989d
Masks Loadout Group (#875)
VMSolidus Sep 7, 2024
848427a
Automatic Changelog Update (#879)
SimpleStation14 Sep 7, 2024
dcfbd3d
Automatic Changelog Update (#875)
SimpleStation14 Sep 7, 2024
41e0e04
Update discord-changelog.yml (#881)
DEATHB4DEFEAT Sep 7, 2024
50ae69f
Revert "[Feature] Short Construction System / Система Крафтов В Руках…
Remuchi Sep 9, 2024
a244cb4
[Feature] Shortcut Construction System (#861)
Remuchi Sep 7, 2024
b7b2816
Automatic Changelog Update (#861)
SimpleStation14 Sep 7, 2024
babbf89
fix: a few fixes
Remuchi Sep 9, 2024
1f32eb6
Make Height Sliders Affect Your Bloodstream Volume (#858)
Mnemotechnician Sep 8, 2024
6594443
Automatic Changelog Update (#858)
SimpleStation14 Sep 8, 2024
a0b052c
Change Slime Scream (#849)
BasedUser Sep 8, 2024
9d0f1d2
Automatic Changelog Update (#849)
SimpleStation14 Sep 8, 2024
fdf9f27
Make Hugging/Petting Interactions Affect Mood (#823)
Mnemotechnician Sep 8, 2024
0c974eb
Display Language Fonts/Colors in Chat Bubbles (#812)
Mnemotechnician Sep 8, 2024
61cc6cb
TraitSystem Component Removals (Anomalous Positronics Trait) (#885)
VMSolidus Sep 8, 2024
2f1dab7
Cherry-Pick "Shrimp Mob for Metempsychosis (#862)" (#882)
Mnemotechnician Sep 8, 2024
eb291e6
Automatic Changelog Update (#812)
SimpleStation14 Sep 8, 2024
f81f5bb
Automatic Changelog Update (#882)
SimpleStation14 Sep 8, 2024
086b58d
Fix Translators Not Working Correctly Under Certain Conditions (#834)
Mnemotechnician Sep 8, 2024
5158c60
Automatic Changelog Update (#834)
SimpleStation14 Sep 8, 2024
e54db5c
Re-Enable Recycler Gibbing (#822)
VMSolidus Sep 8, 2024
8c63bac
Adds a Toy Which Makes Bwoink Sound (#759)
BlueHNT Sep 8, 2024
cfef5c6
Automatic Changelog Update (#822)
SimpleStation14 Sep 8, 2024
18a4c3f
AddPsionicPower Command (#807)
VMSolidus Sep 8, 2024
cfd52ff
Automatic Changelog Update (#759)
SimpleStation14 Sep 8, 2024
e8309b2
Automatic Changelog Update (#807)
SimpleStation14 Sep 8, 2024
5b2d126
Fix Maps Missing Assistants (#838)
VMSolidus Sep 9, 2024
9f75c78
Automatic Changelog Update (#838)
SimpleStation14 Sep 9, 2024
c9bfbdf
Update Clothing Assignments of Suit/Skirt (#857)
Tirochora Sep 9, 2024
8dff172
Americanize Contests System (#814)
VMSolidus Sep 9, 2024
800c8be
Step Trigger Minor Refactor (#884)
VMSolidus Sep 9, 2024
67a29b5
Automatic Changelog Update (#884)
SimpleStation14 Sep 9, 2024
c7d8541
Fix Logic Requirements Not Checking Inversion (#891)
DEATHB4DEFEAT Sep 9, 2024
09ba4f5
Split Arm And Leg Markings (#870)
VMSolidus Sep 9, 2024
d8a894c
Automatic Changelog Update (#870)
SimpleStation14 Sep 9, 2024
83b0982
feat: перевод ченджлога
Remuchi Sep 9, 2024
f8d5efa
fix: fix maid and hobo
Remuchi Sep 9, 2024
b94d092
fix: fixed hobo and maids loadouts
Remuchi Sep 9, 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
80 changes: 37 additions & 43 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ env:
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
CHANGELOG_DIR: ${{ vars.CHANGELOG_DIR }}
PR_NUMBER: ${{ github.event.number }}
CHANGELOG_WEBHOOK: ${{ secrets.CHANGELOG_WEBHOOK }}

jobs:
changelog:
Expand All @@ -17,45 +16,40 @@ jobs:
permissions:
contents: write
steps:
- name: Checkout Master
uses: actions/checkout@v3
with:
token: ${{ secrets.BOT_TOKEN }}
ref: "${{ vars.CHANGELOG_BRANCH }}"

- name: Setup Git
run: |
git config --global user.name "${{ vars.CHANGELOG_USER }}"
git config --global user.email "${{ vars.CHANGELOG_EMAIL }}"
shell: bash

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Install Dependencies
run: |
cd "Tools/changelogs"
npm install
shell: bash
continue-on-error: true

- name: Generate Changelog
run: |
cd "Tools/changelogs"
node changelog.js
shell: bash
continue-on-error: true

- name: Commit Changelog
run: |
git add *.yml
git commit -m "${{ vars.CHANGELOG_MESSAGE }} (#${{ env.PR_NUMBER }})"
git push
shell: bash
continue-on-error: true

- name: Publish changelog
run: Tools/actions_changelogs_since_last_run.py
continue-on-error: true
- name: Checkout Master
uses: actions/checkout@v3
with:
token: ${{ secrets.BOT_TOKEN }}
ref: ${{ vars.CHANGELOG_BRANCH }}

- name: Setup Git
run: |
git config --global user.name "${{ vars.CHANGELOG_USER }}"
git config --global user.email "${{ vars.CHANGELOG_EMAIL }}"
shell: bash

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x

- name: Install Dependencies
run: |
cd "Tools/changelogs"
npm install
shell: bash

- name: Generate Changelog
run: |
cd "Tools/changelogs"
node changelog.js
shell: bash

- name: Commit Changelog
run: |
git pull origin master
git add *.yml
git commit -m "${{ vars.CHANGELOG_MESSAGE }} (#${{ env.PR_NUMBER }})"
git push
shell: bash
continue-on-error: true
24 changes: 24 additions & 0 deletions .github/workflows/discord-changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Discord Changelog

on:
workflow_dispatch:
schedule:
- cron: '0 6 * * *'

jobs:
publish_changelog:
runs-on: ubuntu-latest
steps:

- name: checkout
uses: actions/checkout@v3
with:
ref: master

- name: Publish changelog
run: Tools/actions_changelogs_since_last_run.py
env:
CHANGELOG_DIR: ${{ vars.CHANGELOG_DIR }}
CHANGELOG_WEBHOOK: ${{ secrets.CHANGELOG_WEBHOOK }}
GITHUB_TOKEN: ${{ secrets.BOT_TOKEN }}
continue-on-error: true
2 changes: 1 addition & 1 deletion Content.Client/Administration/UI/AdminUIHelpers.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public static bool TryConfirm(Button button, Dictionary<Button, ConfirmationData
button.Text = data.OriginalText;
}, data.Cancellation.Token);

button.ModulateSelfOverride = StyleNano.ButtonColorCautionDefault;
button.ModulateSelfOverride = StyleNano.ButtonColorDangerDefault;
button.Text = Loc.GetString("admin-player-actions-confirm");
return false;
}
Expand Down
4 changes: 2 additions & 2 deletions Content.Client/Changelog/ChangelogButton.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,12 @@ private void UpdateStuff()
if (_changelogManager.NewChangelogEntries)
{
Text = Loc.GetString("changelog-button-new-entries");
StyleClasses.Add(StyleBase.ButtonCaution);
StyleClasses.Add(StyleBase.ButtonDanger);
}
else
{
Text = Loc.GetString("changelog-button");
StyleClasses.Remove(StyleBase.ButtonCaution);
StyleClasses.Remove(StyleBase.ButtonDanger);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/FlavorText/FlavorText.xaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Control Name="CFlavorText" xmlns="https://spacestation14.io">
<Control Name="CFlavorText" HorizontalExpand="True" xmlns="https://spacestation14.io">
<BoxContainer Orientation="Vertical" HorizontalExpand="True">
<TextEdit Name="CFlavorTextInput" Access="Public" MinSize="220 100" Margin="10" HorizontalExpand="True" VerticalExpand="True" />
</BoxContainer>
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Gateway/UI/GatewayWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ public void UpdateState(GatewayBoundUserInterfaceState state)

if (Pressable())
{
openButton.AddStyleClass(StyleBase.ButtonCaution);
openButton.AddStyleClass(StyleBase.ButtonDanger);
}

var buttonContainer = new BoxContainer()
Expand Down
3 changes: 2 additions & 1 deletion Content.Client/LateJoin/LateJoinGui.cs
Original file line number Diff line number Diff line change
Expand Up @@ -266,9 +266,10 @@ private void RebuildUI()
prototype.Requirements ?? new(),
prototype,
(HumanoidCharacterProfile) (_prefs.Preferences?.SelectedCharacter
?? HumanoidCharacterProfile.DefaultWithSpecies()),
?? HumanoidCharacterProfile.DefaultWithSpecies()),
_jobRequirements.GetRawPlayTimeTrackers(),
_jobRequirements.IsWhitelisted(),
prototype,
_entityManager,
_prototypeManager,
_configManager,
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Options/UI/Tabs/KeyRebindTab.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,7 @@ public KeyControl(KeyRebindTab parent, BoundKeyFunction function)

BindButton1 = new BindButton(parent, this, StyleBase.ButtonOpenRight);
BindButton2 = new BindButton(parent, this, StyleBase.ButtonOpenLeft);
ResetButton = new Button { Text = Loc.GetString("ui-options-bind-reset"), StyleClasses = { StyleBase.ButtonCaution } };
ResetButton = new Button { Text = Loc.GetString("ui-options-bind-reset"), StyleClasses = { StyleBase.ButtonDanger } };

var hBox = new BoxContainer
{
Expand Down
1 change: 1 addition & 0 deletions Content.Client/Preferences/UI/AntagPreferenceSelector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public AntagPreferenceSelector(AntagPrototype proto, JobPrototype highJob) : bas
(HumanoidCharacterProfile) (prefs.Preferences?.SelectedCharacter ?? HumanoidCharacterProfile.DefaultWithSpecies()),
requirements.GetRawPlayTimeTrackers(),
requirements.IsWhitelisted(),
proto,
entMan,
protoMan,
configMan,
Expand Down
2 changes: 1 addition & 1 deletion Content.Client/Preferences/UI/CharacterSetupGui.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ public CharacterPickerButton(
Text = Loc.GetString("character-setup-gui-character-picker-button-confirm-delete-button"),
Visible = false,
};
confirmDeleteButton.ModulateSelfOverride = StyleNano.ButtonColorCautionDefault;
confirmDeleteButton.ModulateSelfOverride = StyleNano.ButtonColorDangerDefault;
confirmDeleteButton.OnPressed += _ =>
{
Parent?.RemoveChild(this);
Expand Down
79 changes: 52 additions & 27 deletions Content.Client/Preferences/UI/HumanoidProfileEditor.xaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
xmlns:prefUi="clr-namespace:Content.Client.Preferences.UI"
xmlns:humanoid="clr-namespace:Content.Client.Humanoid"
xmlns:cc="clr-namespace:Content.Client.Administration.UI.CustomControls"
xmlns:ui="clr-namespace:Content.Client.UserInterface.Controls"
HorizontalExpand="True">
<!-- Left side -->
<BoxContainer Orientation="Vertical" Margin="10 10 10 10" HorizontalExpand="True">
Expand Down Expand Up @@ -45,12 +46,12 @@
</BoxContainer>
</BoxContainer>
<Control MinHeight="10" />
<!-- tabContainer -->
<TabContainer Name="CTabContainer" VerticalExpand="True">
<BoxContainer Orientation="Vertical">
<ScrollContainer VerticalExpand="True">
<!-- appearanceList -->
<BoxContainer Orientation="Vertical">
<!-- TabContainer -->
<ui:NeoTabContainer Name="CTabContainer" VerticalExpand="True" HScrollEnabled="False" VScrollEnabled="False">
<BoxContainer Name="CAppearance" HorizontalExpand="True" Orientation="Vertical">
<!-- appearanceList -->
<ScrollContainer HorizontalExpand="True" HScrollEnabled="True" VerticalExpand="True" VScrollEnabled="True">
<BoxContainer HorizontalExpand="True" Orientation="Vertical">
<BoxContainer Margin="10" Orientation="Vertical" HorizontalExpand="True">
<!-- Species -->
<BoxContainer HorizontalExpand="True">
Expand Down Expand Up @@ -108,7 +109,7 @@
<Control HorizontalExpand="True"/>
<OptionButton Name="CSpawnPriorityButton" HorizontalAlignment="Right" />
</BoxContainer>
<!-- Height -->
<!-- Height -->
<BoxContainer HorizontalExpand="True">
<Label Name="CHeightLabel" MinWidth="110" />
<Slider Name="CHeightSlider" MinValue="0.5" Value="1" MaxValue="1.5" HorizontalExpand="True" Margin="5 0 5 0" />
Expand Down Expand Up @@ -144,52 +145,76 @@
</BoxContainer>
</ScrollContainer>
</BoxContainer>
<BoxContainer Orientation="Vertical">
<BoxContainer Name="CJobs" HorizontalExpand="True">
<!-- Jobs -->
<OptionButton Name="CPreferenceUnavailableButton" />
<ScrollContainer VerticalExpand="True">
<BoxContainer Name="CJobList" Orientation="Vertical" />
<ScrollContainer HorizontalExpand="True" HScrollEnabled="True" VerticalExpand="True" VScrollEnabled="True">
<BoxContainer HorizontalExpand="True" Orientation="Vertical">
<OptionButton Name="CPreferenceUnavailableButton" StyleClasses="OpenBoth" />
<BoxContainer Name="CJobList" Orientation="Vertical" />
</BoxContainer>
</ScrollContainer>
</BoxContainer>
<BoxContainer Orientation="Vertical" Margin="10">
</BoxContainer>
<BoxContainer Name="CAntags" HorizontalExpand="True" Orientation="Vertical" Margin="10">
<!-- Antags -->
<ScrollContainer VerticalExpand="True">
<ScrollContainer HorizontalExpand="True" HScrollEnabled="True" VerticalExpand="True" VScrollEnabled="True">
<BoxContainer Name="CAntagList" Orientation="Vertical" />
</ScrollContainer>
</BoxContainer>
<BoxContainer Name="CTraitsTab" Orientation="Vertical" Margin="10">
<BoxContainer Name="CTraitsTab" HorizontalExpand="True" Orientation="Vertical" Margin="10">
<!-- Traits -->
<Label Name="TraitPointsLabel" HorizontalAlignment="Stretch" Align="Center" />
<ProgressBar Name="TraitPointsBar" MaxValue="1" Value="1" MaxHeight="8" Margin="0 5" />

<Button Name="TraitsShowUnusableButton"
<BoxContainer HorizontalExpand="True" Margin="0 0 0 5">
<Button
Name="TraitsShowUnusableButton"
Text="{Loc 'humanoid-profile-editor-traits-show-unusable-button'}"
ToolTip="{Loc 'humanoid-profile-editor-traits-show-unusable-button-tooltip'}"
ToggleMode="True"
Margin="0 0 0 5" />
HorizontalAlignment="Stretch"
HorizontalExpand="True"
StyleClasses="OpenRight" />
<Button
Name="TraitsRemoveUnusableButton"
Text="You shouldn't see this"
ToolTip="{Loc 'humanoid-profile-editor-traits-remove-unusable-button-tooltip'}"
HorizontalAlignment="Stretch"
HorizontalExpand="True"
StyleClasses="OpenLeft" />
</BoxContainer>

<TabContainer Name="CTraitsTabs" VerticalExpand="True" />
<ui:NeoTabContainer Name="CTraitsTabs" VerticalExpand="True" SeparatorMargin="0" />
</BoxContainer>
<BoxContainer Name="CLoadoutsTab" Orientation="Vertical" Margin="10">
<BoxContainer Name="CLoadoutsTab" HorizontalExpand="True" Orientation="Vertical" Margin="10">
<!-- Loadouts -->
<Label Name="LoadoutPointsLabel" HorizontalAlignment="Stretch" Align="Center" />
<ProgressBar Name="LoadoutPointsBar" MaxValue="1" Value="1" MaxHeight="8" Margin="0 5" />

<Button Name="LoadoutsShowUnusableButton"
<BoxContainer HorizontalExpand="True" Margin="0 0 0 5">
<Button
Name="LoadoutsShowUnusableButton"
Text="{Loc 'humanoid-profile-editor-loadouts-show-unusable-button'}"
ToolTip="{Loc 'humanoid-profile-editor-loadouts-show-unusable-button-tooltip'}"
ToggleMode="True"
Margin="0 0 0 5" />
HorizontalAlignment="Stretch"
HorizontalExpand="True"
StyleClasses="OpenRight" />
<Button
Name="LoadoutsRemoveUnusableButton"
Text="You shouldn't see this"
ToolTip="{Loc 'humanoid-profile-editor-loadouts-remove-unusable-button-tooltip'}"
HorizontalAlignment="Stretch"
HorizontalExpand="True"
StyleClasses="OpenLeft" />
</BoxContainer>

<TabContainer Name="CLoadoutsTabs" VerticalExpand="True" />
<ui:NeoTabContainer Name="CLoadoutsTabs" VerticalExpand="True" SeparatorMargin="0" />
</BoxContainer>
<BoxContainer Name="CMarkingsTab" Orientation="Vertical" Margin="10">
<BoxContainer Name="CMarkingsTab" HorizontalExpand="True" Orientation="Vertical" Margin="10">
<!-- Markings -->
<ScrollContainer VerticalExpand="True">
<humanoid:MarkingPicker Name="CMarkings" IgnoreCategories="Hair,FacialHair" />
</ScrollContainer>
<humanoid:MarkingPicker Name="CMarkings" IgnoreCategories="Hair,FacialHair" />
</BoxContainer>
</TabContainer>
</ui:NeoTabContainer>
</BoxContainer>
<!-- Right side -->
<BoxContainer Orientation="Vertical" VerticalExpand="True" VerticalAlignment="Center">
Expand Down
Loading
Loading