diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md
index 5e65967968..2389606031 100644
--- a/.github/PULL_REQUEST_TEMPLATE.md
+++ b/.github/PULL_REQUEST_TEMPLATE.md
@@ -1,17 +1,23 @@
## About the PR
-
## Why / Balance
-
## Media
+
+**Changelog**
+
diff --git a/.github/workflows/CP14Publish.yml b/.github/workflows/CP14Publish.yml
index 2ab9ccfdca..2e7dec2557 100644
--- a/.github/workflows/CP14Publish.yml
+++ b/.github/workflows/CP14Publish.yml
@@ -1,4 +1,4 @@
-name: Publish
+name: Edge Publish
concurrency:
group: publish
@@ -10,6 +10,15 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
+
+ - name: Checkout repository
+ uses: actions/checkout@v4
+ with:
+ submodules: recursive
+
+ - name: Install Python dependencies
+ run: sudo apt-get install -y python3-paramiko python3-lxml
+
- name: Send POST-request
uses: appleboy/ssh-action@master
with:
@@ -18,3 +27,10 @@ jobs:
password: ${{ secrets.BUILD_PASS }}
port: 22
script: sh update.sh &> /dev/null
+
+ - name: Publish changelog (Discord)
+ continue-on-error: true
+ run: Tools/actions_changelogs_since_last_run.py
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ DISCORD_WEBHOOK_URL: ${{ secrets.CHANGELOG_DISCORD_WEBHOOK }}
\ No newline at end of file
diff --git a/Content.Client/Clothing/ClientClothingSystem.cs b/Content.Client/Clothing/ClientClothingSystem.cs
index 0ed281f317..ad2de7ef5d 100644
--- a/Content.Client/Clothing/ClientClothingSystem.cs
+++ b/Content.Client/Clothing/ClientClothingSystem.cs
@@ -40,7 +40,7 @@ public sealed class ClientClothingSystem : ClothingSystem
{Jumpsuit, "INNERCLOTHING"},
{"neck", "NECK"},
{"back", "BACKPACK"},
- {"belt1", "BELT1"},
+ {"belt", "BELT"},
{"belt2", "BELT2"},
{"gloves", "HAND"},
{"shoes", "FEET"},
diff --git a/Content.Client/Entry/EntryPoint.cs b/Content.Client/Entry/EntryPoint.cs
index 3ea4ecb612..d75642136a 100644
--- a/Content.Client/Entry/EntryPoint.cs
+++ b/Content.Client/Entry/EntryPoint.cs
@@ -1,5 +1,6 @@
using Content.Client._CP14.Discord;
using Content.Client._CP14.JoinQueue;
+using Content.Client._CP14.Input;
using Content.Client.Administration.Managers;
using Content.Client.Changelog;
using Content.Client.Chat.Managers;
@@ -171,6 +172,7 @@ namespace Content.Client.Entry
_parallaxManager.LoadDefaultParallax();
//CP14
+ CP14ContentContexts.SetupContexts(_inputManager.Contexts);
_overlayManager.AddOverlay(new CP14BasePostProcessOverlay());
_discordAuth.Initialize();
_joinQueueManager.Initialize();
diff --git a/Content.Client/Guidebook/Controls/GuideReagentReaction.xaml b/Content.Client/Guidebook/Controls/GuideReagentReaction.xaml
index 116c78b417..b33426766c 100644
--- a/Content.Client/Guidebook/Controls/GuideReagentReaction.xaml
+++ b/Content.Client/Guidebook/Controls/GuideReagentReaction.xaml
@@ -26,27 +26,6 @@
-
-
-
-
diff --git a/Content.Client/Guidebook/Controls/GuideReagentReaction.xaml.cs b/Content.Client/Guidebook/Controls/GuideReagentReaction.xaml.cs
index 1a52166075..29ed124422 100644
--- a/Content.Client/Guidebook/Controls/GuideReagentReaction.xaml.cs
+++ b/Content.Client/Guidebook/Controls/GuideReagentReaction.xaml.cs
@@ -37,7 +37,7 @@ public sealed partial class GuideReagentReaction : BoxContainer, ISearchableCont
Container container = ReactantsContainer;
SetReagents(prototype.Reactants, ref container, protoMan);
Container productContainer = ProductsContainer;
- var products = new Dictionary(prototype._products); // CP14 random reactions
+ var products = new Dictionary(prototype.Products);
foreach (var (reagent, reactantProto) in prototype.Reactants)
{
if (reactantProto.Catalyst)
@@ -45,14 +45,6 @@ public sealed partial class GuideReagentReaction : BoxContainer, ISearchableCont
}
SetReagents(products, ref productContainer, protoMan, false);
- // CP14 random reagents begin
- if (prototype.Cp14RandomProducts.Count > 0)
- {
- var randomProducts = new Dictionary(prototype.Cp14RandomProducts[prototype.Cp14RandomProductIndex]);
- SetReagents(randomProducts, ref productContainer, protoMan, false);
- }
- // CP14 random reagents end
-
var mixingCategories = new List();
if (prototype.MixingCategories != null)
{
diff --git a/Content.Client/Input/ContentContexts.cs b/Content.Client/Input/ContentContexts.cs
index 97965913ee..5b7614780b 100644
--- a/Content.Client/Input/ContentContexts.cs
+++ b/Content.Client/Input/ContentContexts.cs
@@ -85,9 +85,6 @@ namespace Content.Client.Input
human.AddFunction(ContentKeyFunctions.Arcade1);
human.AddFunction(ContentKeyFunctions.Arcade2);
human.AddFunction(ContentKeyFunctions.Arcade3);
- //CP14 Keys
- human.AddFunction(ContentKeyFunctions.CP14OpenSkillMenu);
- //CP14 Keys end
// actions should be common (for ghosts, mobs, etc)
common.AddFunction(ContentKeyFunctions.OpenActionsMenu);
diff --git a/Content.Client/Options/UI/Tabs/KeyRebindTab.xaml.cs b/Content.Client/Options/UI/Tabs/KeyRebindTab.xaml.cs
index 43169fc561..fe12016b5e 100644
--- a/Content.Client/Options/UI/Tabs/KeyRebindTab.xaml.cs
+++ b/Content.Client/Options/UI/Tabs/KeyRebindTab.xaml.cs
@@ -1,3 +1,4 @@
+using Content.Shared._CP14.Input;
using System.Numerics;
using Content.Client.Stylesheets;
using Content.Shared.CCVar;
@@ -313,7 +314,9 @@ namespace Content.Client.Options.UI.Tabs
//CP14
AddHeader("ui-options-header-cp14");
- AddButton(ContentKeyFunctions.CP14OpenSkillMenu);
+ AddButton(CP14ContentKeyFunctions.CP14OpenSkillMenu);
+ AddButton(CP14ContentKeyFunctions.OpenBelt2);
+ AddButton(CP14ContentKeyFunctions.SmartEquipBelt2);
//CP14 end
foreach (var control in _keyControls.Values)
diff --git a/Content.Client/UserInterface/Systems/MenuBar/Widgets/GameTopMenuBar.xaml b/Content.Client/UserInterface/Systems/MenuBar/Widgets/GameTopMenuBar.xaml
index 9bcf64cf0e..8b58293c3d 100644
--- a/Content.Client/UserInterface/Systems/MenuBar/Widgets/GameTopMenuBar.xaml
+++ b/Content.Client/UserInterface/Systems/MenuBar/Widgets/GameTopMenuBar.xaml
@@ -3,6 +3,7 @@
xmlns:style="clr-namespace:Content.Client.Stylesheets"
xmlns:ic="clr-namespace:Robust.Shared.Input;assembly=Robust.Shared"
xmlns:is="clr-namespace:Content.Shared.Input;assembly=Content.Shared"
+ xmlns:isc="clr-namespace:Content.Shared._CP14.Input;assembly=Content.Shared"
xmlns:xe="clr-namespace:Content.Client.UserInterface.XamlExtensions"
xmlns:ui="clr-namespace:Content.Client.UserInterface.Controls"
xmlns:widgets="clr-namespace:Content.Client.UserInterface.Systems.MenuBar.Widgets"
@@ -39,7 +40,7 @@
Access="Internal"
Icon="{xe:Tex '/Textures/Interface/students-cap.svg.192dpi.png'}"
ToolTip="{Loc 'cp14-game-hud-open-skill-menu-button-tooltip'}"
- BoundKey = "{x:Static is:ContentKeyFunctions.CP14OpenSkillMenu}"
+ BoundKey = "{x:Static isc:CP14ContentKeyFunctions.CP14OpenSkillMenu}"
MinSize="42 64"
HorizontalExpand="True"
AppendStyleClass="{x:Static style:StyleBase.ButtonSquare}"
diff --git a/Content.Client/_CP14/Input/CP14ContentContexts.cs b/Content.Client/_CP14/Input/CP14ContentContexts.cs
new file mode 100644
index 0000000000..1ae01a68a9
--- /dev/null
+++ b/Content.Client/_CP14/Input/CP14ContentContexts.cs
@@ -0,0 +1,16 @@
+using Content.Shared._CP14.Input;
+using Robust.Shared.Input;
+
+namespace Content.Client._CP14.Input
+{
+ public static class CP14ContentContexts
+ {
+ public static void SetupContexts(IInputContextContainer contexts)
+ {
+ var human = contexts.GetContext("human");
+ human.AddFunction(CP14ContentKeyFunctions.OpenBelt2);
+ human.AddFunction(CP14ContentKeyFunctions.SmartEquipBelt2);
+ human.AddFunction(CP14ContentKeyFunctions.CP14OpenSkillMenu);
+ }
+ }
+}
diff --git a/Content.Client/_CP14/Trading/CP14TradingPlatformBoundUserInterface.cs b/Content.Client/_CP14/Trading/CP14TradingPlatformBoundUserInterface.cs
index 47a2d19950..b089d39347 100644
--- a/Content.Client/_CP14/Trading/CP14TradingPlatformBoundUserInterface.cs
+++ b/Content.Client/_CP14/Trading/CP14TradingPlatformBoundUserInterface.cs
@@ -14,7 +14,6 @@ public sealed class CP14TradingPlatformBoundUserInterface(EntityUid owner, Enum
_window = this.CreateWindow();
- _window.OnUnlock += pos => SendMessage(new CP14TradingPositionUnlockAttempt(pos));
_window.OnBuy += pos => SendMessage(new CP14TradingPositionBuyAttempt(pos));
}
diff --git a/Content.Client/_CP14/Trading/CP14TradingPlatformWindow.xaml b/Content.Client/_CP14/Trading/CP14TradingPlatformWindow.xaml
index 37e9a615f7..716a801381 100644
--- a/Content.Client/_CP14/Trading/CP14TradingPlatformWindow.xaml
+++ b/Content.Client/_CP14/Trading/CP14TradingPlatformWindow.xaml
@@ -35,6 +35,10 @@
+
+
+
+
@@ -47,17 +51,6 @@
-
-
-
-
-
-
-
-
-