[MIRROR] Refactors roundstart centcom threat report. (#2739)
* Refactors roundstart centcom threat report. * Update blob.dm * Update changeling.dm * Update traitor_chan.dm * Update sandbox.dm * Update traitor.dm
This commit is contained in:
committed by
Poojawa
parent
0bc0d643ab
commit
9a4f84da5e
@@ -129,6 +129,8 @@ GLOBAL_PROTECT(config_dir)
|
||||
//game_options.txt configs
|
||||
var/force_random_names = 0
|
||||
var/list/mode_names = list()
|
||||
var/list/mode_reports = list()
|
||||
var/list/mode_false_report_weight = list()
|
||||
var/list/modes = list() // allowed modes
|
||||
var/list/votable_modes = list() // votable modes
|
||||
var/list/probabilities = list() // relative probability of each mode
|
||||
@@ -297,6 +299,8 @@ GLOBAL_PROTECT(config_dir)
|
||||
modes += M.config_tag
|
||||
mode_names[M.config_tag] = M.name
|
||||
probabilities[M.config_tag] = M.probability
|
||||
mode_reports[M.config_tag] = M.generate_report()
|
||||
mode_false_report_weight[M.config_tag] = M.false_report_weight
|
||||
if(M.votable)
|
||||
votable_modes += M.config_tag
|
||||
qdel(M)
|
||||
|
||||
Reference in New Issue
Block a user