]> git.smokeofanarchy.ru Git - space-station-14.git/commit
dragon antag refactor (#28217)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Fri, 31 May 2024 15:08:26 +0000 (15:08 +0000)
committerGitHub <noreply@github.com>
Fri, 31 May 2024 15:08:26 +0000 (11:08 -0400)
commit5da2151924f372bf8c88ddda191886a0da62e0f1
treee628b19f5fc6cd2cf747f6b120767888de555625
parent6e278a12fb9f183a23637180708bdab4203733c2
dragon antag refactor (#28217)

* remove dragon system usage of GenericAntag

* add AntagRandomSpawn for making antags spawn at a random tile

* add AntagSpawner to make an antag spawner just spawn an entity

* add antag prototype for dragon since it never had one

* make dragon spawner a GhostRoleAntagSpawner, remove GenericAntag

* make dragon rule use AntagSelection and stuff

* remove dragon GenericAntag rule

* add back to spawn menu

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
Content.Server/Antag/AntagRandomSpawnRule.cs [new file with mode: 0644]
Content.Server/Antag/AntagSpawnerSystem.cs [new file with mode: 0644]
Content.Server/Antag/Components/AntagRandomSpawnComponent.cs [new file with mode: 0644]
Content.Server/Antag/Components/AntagSpawnerComponent.cs [new file with mode: 0644]
Content.Server/Dragon/DragonSystem.cs
Resources/Locale/en-US/prototypes/roles/antags.ftl
Resources/Prototypes/Entities/Markers/Spawners/ghost_roles.yml
Resources/Prototypes/Entities/Mobs/Player/dragon.yml
Resources/Prototypes/GameRules/events.yml
Resources/Prototypes/GameRules/midround.yml
Resources/Prototypes/Roles/Antags/dragon.yml [new file with mode: 0644]