mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 20:48:56 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user