From 540febcbadc6d9a8d73edfd7ad2ff0b8df08ebe3 Mon Sep 17 00:00:00 2001 From: deltanedas <39013340+deltanedas@users.noreply.github.com> Date: Sun, 30 Jun 2024 19:40:33 +0000 Subject: [PATCH] fugitives redux (#1413) * add fugitive rule logic * add fugitive role * add fugitive event * remove nyano spawner and make midround antag spawner work real * fix announcement logic * fix the funny bug i think * fix crimes * fix crime count * 1 less min crime * fix sex (real) * thief bag unhardcode MaxSelectedSets * :trollface: * :trollface: * add fugitive stash * fix * add misc stuff and fugitive stash * m --------- Co-authored-by: deltanedas <@deltanedas:kde.org> --- Content.Client/Thief/ThiefBackpackMenu.xaml | 2 +- .../Thief/ThiefBackpackMenu.xaml.cs | 1 + .../Components/FugitiveRuleComponent.cs | 87 ++++++++++++ .../StationEvents/Events/FugitiveRule.cs | 129 ++++++++++++++++++ Content.Server/Roles/FugitiveRoleComponent.cs | 9 ++ .../ThiefUndeterminedBackpackComponent.cs | 6 + .../ThiefUndeterminedBackpackSystem.cs | 5 +- .../Locale/en-US/deltav/fugitive/sets.ftl | 24 ++++ .../game-ticking/game-rules/rule-fugitive.ftl | 48 +++++++ .../ghost/roles/ghost-role-component.ftl | 4 + Resources/Locale/en-US/thief/backpack.ftl | 5 +- .../DeltaV/Catalog/fugitive_sets.yml | 61 +++++++++ .../DeltaV/Datasets/fugitive_crimes.yml | 5 + .../Entities/Markers/Spawners/ghost_roles.yml | 15 ++ .../DeltaV/Entities/Objects/Misc/paper.yml | 7 + .../Entities/Objects/Specific/fugitive.yml | 15 ++ .../Prototypes/DeltaV/GameRules/events.yml | 31 +++++ .../Prototypes/DeltaV/Objectives/fugitive.yml | 24 ++++ .../DeltaV/Roles/Antags/fugitive.yml | 26 ++++ .../Entities/Markers/Spawners/ghost_roles.yml | 22 +-- 20 files changed, 500 insertions(+), 26 deletions(-) create mode 100644 Content.Server/DeltaV/StationEvents/Components/FugitiveRuleComponent.cs create mode 100644 Content.Server/DeltaV/StationEvents/Events/FugitiveRule.cs create mode 100644 Content.Server/Roles/FugitiveRoleComponent.cs create mode 100644 Resources/Locale/en-US/deltav/fugitive/sets.ftl create mode 100644 Resources/Locale/en-US/deltav/game-ticking/game-rules/rule-fugitive.ftl create mode 100644 Resources/Prototypes/DeltaV/Catalog/fugitive_sets.yml create mode 100644 Resources/Prototypes/DeltaV/Datasets/fugitive_crimes.yml create mode 100644 Resources/Prototypes/DeltaV/Entities/Objects/Specific/fugitive.yml create mode 100644 Resources/Prototypes/DeltaV/Objectives/fugitive.yml create mode 100644 Resources/Prototypes/DeltaV/Roles/Antags/fugitive.yml diff --git a/Content.Client/Thief/ThiefBackpackMenu.xaml b/Content.Client/Thief/ThiefBackpackMenu.xaml index c1739eb321..e46f18d4ed 100644 --- a/Content.Client/Thief/ThiefBackpackMenu.xaml +++ b/Content.Client/Thief/ThiefBackpackMenu.xaml @@ -5,7 +5,7 @@ MinSize="700 700"> -