Adds new station traits that give deathrattle implants (#57174)

Add a family of related station traits to the pool. One set provides
deathrattle implants for a randomly chosen department, such as Service
or Command.

The other provides deathrattle implants to the entire station in a
single group.

Co-authored-by: Fikou <piotrbryla@onet.pl>
This commit is contained in:
Qustinnus
2021-02-26 17:02:41 +00:00
committed by GitHub
co-authored by Fikou
parent c4f1fb3dd9
commit cc46f7cd5e
40 changed files with 149 additions and 1 deletions
@@ -27,6 +27,8 @@ PROCESSING_SUBSYSTEM_DEF(station)
/datum/controller/subsystem/processing/station/proc/SetupTraits()
for(var/i in subtypesof(/datum/station_trait))
var/datum/station_trait/trait_typepath = i
if(initial(trait_typepath.trait_flags) & STATION_TRAIT_ABSTRACT)
continue //Dont add abstract ones to it
selectable_traits_by_types[initial(trait_typepath.trait_type)][trait_typepath] = initial(trait_typepath.weight)
var/positive_trait_count = pick(20;0, 5;1, 1;2)