From 024aac7c05c8578bd040408ae3a1e0d185d362d0 Mon Sep 17 00:00:00 2001 From: Drsmail <60036448+Drsmail@users.noreply.github.com> Date: Thu, 19 Dec 2024 16:32:29 +0300 Subject: [PATCH] Adds mindflayer to antag mix (#1703) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Что этот PR делает Добавляет нового антагониста пожирателя разума в режим Antag Mix fix https://github.com/ss220club/Paradise-SS220/issues/1636 ## Почему это хорошо для игры Исправлен не дочет разработки. ## Тестирование ![image](https://github.com/user-attachments/assets/5c334371-f37b-4f0b-b5bf-0bb4c4c1f642) Получил нужную роль на локалке ## Changelog :cl: tweak: Пожиратель разума теперь может появляться в режиме Antag Mix. /:cl: --- config/example/config.toml | 27 +++++++++++++++++ .../antag_mix/scenarios/minor_scenarios.dm | 30 +++++++++++++++++++ 2 files changed, 57 insertions(+) diff --git a/config/example/config.toml b/config/example/config.toml index 0f3cdf9abd87..23f693da64a4 100644 --- a/config/example/config.toml +++ b/config/example/config.toml @@ -1149,6 +1149,33 @@ tag = "blood_brothers" "Solar Federation General", ] +[[antag_mix_gamemode_configuration.antag_scenarios_configuration]] +tag = "mindflayer" + +[antag_mix_gamemode_configuration.antag_scenarios_configuration.params] +"required_players" = 1 +"cost" = 1 +"weight" = 1 +"antag_cap" = 1 +"candidates_required" = 1 +"restricted_roles" = ["Cyborg", "AI"] +"protected_roles" = [ + "Security Cadet", + "Security Officer", + "Warden", + "Detective", + "Head of Security", + "Captain", + "Blueshield", + "Nanotrasen Representative", + "Magistrate", + "Internal Affairs Agent", + "Nanotrasen Navy Officer", + "Special Operations Officer", + "Solar Federation General", +] +possible_species = ["Machine"] + [[antag_mix_gamemode_configuration.antag_scenarios_configuration]] tag = "vox_raiders" diff --git a/modular_ss220/antagonists/code/antag_mix/scenarios/minor_scenarios.dm b/modular_ss220/antagonists/code/antag_mix/scenarios/minor_scenarios.dm index f0f2c7ae1aad..408c3f390a1a 100644 --- a/modular_ss220/antagonists/code/antag_mix/scenarios/minor_scenarios.dm +++ b/modular_ss220/antagonists/code/antag_mix/scenarios/minor_scenarios.dm @@ -87,6 +87,36 @@ "Solar Federation General") restricted_species = list("Machine") +/datum/antag_scenario/mindflayer + name = "Mindflayer" + config_tag = "mindflayer" + abstract = FALSE + antag_role = ROLE_MIND_FLAYER + antag_special_role = SPECIAL_ROLE_MIND_FLAYER + antag_datum = /datum/antagonist/mindflayer + required_players = 1 + cost = 10 + weight = 1 + antag_cap = 1 + candidates_required = 1 + restricted_roles = list("Cyborg", "AI") + protected_roles = list( + "Security Cadet", + "Security Officer", + "Warden", + "Detective", + "Head of Security", + "Captain", + "Blueshield", + "Nanotrasen Representative", + "Magistrate", + "Internal Affairs Agent", + "Nanotrasen Navy Officer", + "Special Operations Officer", + "Syndicate Officer", + "Solar Federation General") + possible_species = list("Machine") + /datum/antag_scenario/team/blood_brothers name = "Blood Brothers" config_tag = "blood_brothers"