]> git.smokeofanarchy.ru Git - space-station-14.git/commit
make thief a subgamemode (#25740)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Sat, 2 Mar 2024 16:33:24 +0000 (16:33 +0000)
committerGitHub <noreply@github.com>
Sat, 2 Mar 2024 16:33:24 +0000 (11:33 -0500)
commit7f060eb129f100754647e5221e9ebab2b00e6925
tree401654b3c318e03b7c361ebc8e4609611462f931
parent709881f912ac74c396b7e9f7cd0d676ee918b6ba
make thief a subgamemode (#25740)

* add SubGamemodes comp/sys

* remove RuleChance from thief rule

* use SubGamemodes for adding thief rule instead of adding ThiefRule component to random gamemodes

* clean up thief rule prototype

* add better logging + end rule if it fails to start

* march 1st incident

* preset ops

* the dreaded

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
Content.Server/GameTicking/Rules/Components/SubGamemodesComponent.cs [new file with mode: 0644]
Content.Server/GameTicking/Rules/Components/ThiefRuleComponent.cs
Content.Server/GameTicking/Rules/SubGamemodesSystem.cs [new file with mode: 0644]
Content.Server/GameTicking/Rules/ThiefRuleSystem.cs
Resources/Prototypes/GameRules/midround.yml
Resources/Prototypes/GameRules/roundstart.yml
Resources/Prototypes/game_presets.yml