forked from ss220club/Paradise-SS220
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add
antag-mix
gamemode. Add blood brothers (ss220club#840)
## Что этот PR делает Добавляем новый режим `Antag Mix`, который позволяет совмешать без лишних проблем разных антагонистов раундстартом. Так же добавлены `Antag Scenarios`, которые собственно и представляют отдельных антагонистов в `Antag-Mix`. Поправлены баги, которые я так же поправлю на оффах, и лично решу мерж конлфликт, как он возникнет. Так же, особенностью этого режима есть то, что раунд всегда будет заполнен антагонистами, если они есть. Допустим, что есть `changeling` и `traitor`. Если у всех игроков отключен `changeling`, то в раунд смогут попасть только `traitor` и займут все доступные слоты, и наоборот. Если будут включены и те, и те - выбор будет происходит из тех и других, беря во внимание `weight` сценариев. Так же добавлен новый антагонист `Blood Brothers`, из-за которого, собственно, и возникла причина добавить режим `Antag Mix`, потому что создавать комбинации режимов для каждого антагониста - это за гранью моих сил :clueless: Отдельное спасибо @dj-34 за созданную им композицию для антаг интро (музыка при получении роли) ## Почему это хорошо для игры Больше контроля за раундстарт антагонистами, достаточно гибкая настройка каждого антаг сценария. Новый Кооп антагонист - Blood Brothers. О нём вы сможете прочитать детальнее на [вики](https://wiki.ss220.club/index.php/Blood_Brothers), а короткая сводка выводится при старте игры за этого антагониста. ## Изображения изменений Всё в коде. ## Тестирование <!-- Как вы тестировали свой PR, если делали это вовсе? --> ## Changelog :cl: add: Добавлен антагонист `Blood Brothers`. Включать, как обычно, в префах add: Режим `Antag Mix`, который позволяет раундстартом вводить в раунд разных антагонистов. Пока миксуются только трейторы, генокрады, вампиры и новые `Братья по крови` /:cl: --------- Co-authored-by: Volodymir Ohorodnytskyi <[email protected]>
- Loading branch information
Showing
22 changed files
with
1,292 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#define ANTAG_HUD_BLOOD_BROTHER 21 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#define SPECIAL_ROLE_BLOOD_BROTHER "Blood Brother" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#define ROLE_BLOOD_BROTHER "blood brother" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/datum/modpack/antagonists | ||
name = "Антагонисты и режимы" | ||
desc = "Добавляет новые режимы и антагонистов." | ||
author = "Gaxeer, dj-34" | ||
|
||
/datum/modpack/antagonists/initialize() | ||
GLOB.special_roles |= ROLE_BLOOD_BROTHER | ||
GLOB.huds += new/datum/atom_hud/antag/hidden() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#include "_antagonists.dm" | ||
|
||
#include "code/antag_mix/scenarios/antag_scenario.dm" | ||
#include "code/antag_mix/scenarios/antag_team_scenario.dm" | ||
#include "code/antag_mix/scenarios/minor_scenarios.dm" | ||
#include "code/configuration/antag_mix_configuration.dm" | ||
#include "code/blood_brothers/blood_brothers_datum.dm" | ||
#include "code/blood_brothers/blood_brothers_team.dm" | ||
#include "code/mind/memory_edit.dm" | ||
#include "code/antag_mix/antag_mix.dm" |
Oops, something went wrong.