From 7a03f00cfd97a29d6ddcdf67f7325a834aae9e68 Mon Sep 17 00:00:00 2001 From: 20kdc Date: Tue, 2 Nov 2021 00:42:04 +0000 Subject: [PATCH] Placeholder pAIs, ghost role rules window (#4972) --- Content.Client/Entry/IgnoredComponents.cs | 1 + .../Ghost/Roles/UI/GhostRoleRulesWindow.xaml | 12 ++ .../Roles/UI/GhostRoleRulesWindow.xaml.cs | 20 +++ .../Ghost/Roles/UI/GhostRolesEui.cs | 29 +++- .../Ghost/Roles/UI/GhostRolesWindow.xaml.cs | 4 +- .../Ghost/Roles/UI/MakeGhostRoleEui.cs | 5 +- .../Ghost/Roles/UI/MakeGhostRoleWindow.xaml | 4 + .../Roles/UI/MakeGhostRoleWindow.xaml.cs | 6 +- .../Roles/Components/GhostRoleComponent.cs | 17 +- Content.Server/Ghost/Roles/GhostRoleSystem.cs | 2 +- .../Ghost/Roles/MakeGhostRoleCommand.cs | 7 +- Content.Server/PAI/PAIComponent.cs | 21 +++ Content.Server/PAI/PAISystem.cs | 154 ++++++++++++++++++ .../Ghost/Roles/GhostRolesEuiMessages.cs | 1 + Content.Shared/PAI/PAIShared.cs | 23 +++ .../ghost/roles/ghost-role-component.ftl | 3 + Resources/Locale/en-US/pai/pai-system.ftl | 15 ++ .../Prototypes/Entities/Objects/Fun/pai.yml | 38 +++++ 18 files changed, 350 insertions(+), 12 deletions(-) create mode 100644 Content.Client/Ghost/Roles/UI/GhostRoleRulesWindow.xaml create mode 100644 Content.Client/Ghost/Roles/UI/GhostRoleRulesWindow.xaml.cs create mode 100644 Content.Server/PAI/PAIComponent.cs create mode 100644 Content.Server/PAI/PAISystem.cs create mode 100644 Content.Shared/PAI/PAIShared.cs create mode 100644 Resources/Locale/en-US/ghost/roles/ghost-role-component.ftl create mode 100644 Resources/Locale/en-US/pai/pai-system.ftl create mode 100644 Resources/Prototypes/Entities/Objects/Fun/pai.yml diff --git a/Content.Client/Entry/IgnoredComponents.cs b/Content.Client/Entry/IgnoredComponents.cs index 23e9e9facb..492c685e29 100644 --- a/Content.Client/Entry/IgnoredComponents.cs +++ b/Content.Client/Entry/IgnoredComponents.cs @@ -65,6 +65,7 @@ namespace Content.Client.Entry "Paper", "Write", "Bloodstream", + "PAI", "TransformableContainer", "Mind", "StorageFill", diff --git a/Content.Client/Ghost/Roles/UI/GhostRoleRulesWindow.xaml b/Content.Client/Ghost/Roles/UI/GhostRoleRulesWindow.xaml new file mode 100644 index 0000000000..432f1e1bda --- /dev/null +++ b/Content.Client/Ghost/Roles/UI/GhostRoleRulesWindow.xaml @@ -0,0 +1,12 @@ + + + +