]> git.smokeofanarchy.ru Git - space-station-14.git/commit
antag objective issuing refactor (#28216)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Sat, 25 May 2024 20:14:48 +0000 (20:14 +0000)
committerGitHub <noreply@github.com>
Sat, 25 May 2024 20:14:48 +0000 (16:14 -0400)
commita06ea58249889febd1268d9a67397636d69bae57
tree34980553379e4cb247c7963a29aff6c60902095f
parentf1c70d69f2669cac0bdbca758a9da3e7c3608cbc
antag objective issuing refactor (#28216)

* add AntagObjectives from GenericAntag

* add AntagRandomObjectives that traitor and thief can use

* make ObjectivesSystem use initial character name which AntagSelection passes

* make thief and traitor use AntagRandomObjectives

* remove now unused locale

* make sleeper agents rule use baseTraitorRule

* restore dragon rule oop

* bandaid for genericantag

* real

* typo

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
18 files changed:
Content.Server/Antag/AntagObjectivesSystem.cs [new file with mode: 0644]
Content.Server/Antag/AntagRandomObjectivesSystem.cs [new file with mode: 0644]
Content.Server/Antag/AntagSelectionSystem.API.cs
Content.Server/Antag/AntagSelectionSystem.cs
Content.Server/Antag/Components/AntagObjectivesComponent.cs [new file with mode: 0644]
Content.Server/Antag/Components/AntagRandomObjectivesComponent.cs [new file with mode: 0644]
Content.Server/Antag/Components/AntagSelectionComponent.cs
Content.Server/GameTicking/Rules/Components/ThiefRuleComponent.cs
Content.Server/GameTicking/Rules/Components/TraitorRuleComponent.cs
Content.Server/GameTicking/Rules/GenericAntagRuleSystem.cs
Content.Server/GameTicking/Rules/ThiefRuleSystem.cs
Content.Server/GameTicking/Rules/TraitorRuleSystem.cs
Content.Server/Objectives/ObjectivesSystem.cs
Resources/Locale/en-US/objectives/round-end.ftl
Resources/Prototypes/GameRules/events.yml
Resources/Prototypes/GameRules/midround.yml
Resources/Prototypes/GameRules/roundstart.yml
Resources/Prototypes/Objectives/objectiveGroups.yml