Files
Bubberstation/code/modules/unit_tests/station_trait_tests.dm
T
FikouandGitHub 6f78cb4399 fixes station trait unit test and gives coroner a cybernetic revolution implant (#77235)
## About The Pull Request
what the title says, the implant is a bone tongue

## Why It's Good For The Game
bone tongue kinda fits as a unique implant. we should have more implants
though cause we kinda ran outta them

## Changelog
🆑
fix: coroner has an implant during cybernetic revolution
/🆑
2023-07-31 13:22:45 +02:00

11 lines
553 B
Plaintext

/// This test spawns various station traits and looks through them to see if there's any errors.
/datum/unit_test/station_traits
/datum/unit_test/station_traits/Run()
var/datum/station_trait/cybernetic_revolution/cyber_trait = allocate(/datum/station_trait/cybernetic_revolution)
for(var/datum/job/job as anything in subtypesof(/datum/job))
if(!(initial(job.job_flags) & JOB_CREW_MEMBER))
continue
if(!(job in cyber_trait.job_to_cybernetic))
TEST_FAIL("Job [job] does not have an assigned cybernetic for [cyber_trait.type] station trait.")