]> git.smokeofanarchy.ru Git - space-station-14.git/commit
Add TryGetPrimaryDepartment to jobs system (#23317)
authordeltanedas <39013340+deltanedas@users.noreply.github.com>
Sun, 14 Jan 2024 08:18:34 +0000 (08:18 +0000)
committerGitHub <noreply@github.com>
Sun, 14 Jan 2024 08:18:34 +0000 (19:18 +1100)
commitd1d11d09c7a2698fa723c11a910258f69c3d7b9e
tree31305a2145c36fd2074506074fbfb02197aa81f3
parent1346cc051d5bf5fc7637789bf9c83d2b82f4db4c
Add TryGetPrimaryDepartment to jobs system (#23317)

* add primary departments

* make command and station specific secondary

* add a unit test

* fixy

* compile

* webedit ops

---------

Co-authored-by: deltanedas <@deltanedas:kde.org>
Content.IntegrationTests/Tests/Minds/JobTests.cs [new file with mode: 0644]
Content.Shared/Roles/DepartmentPrototype.cs
Content.Shared/Roles/Jobs/SharedJobSystem.cs
Resources/Prototypes/Roles/Jobs/departments.yml