Antag reputation rewards are now configurable

This commit is contained in:
Jordan Brown
2018-06-02 19:48:19 -04:00
committed by letterjay
parent 5bf3bd761d
commit 7be9b6ebf9
5 changed files with 22 additions and 2 deletions
+6
View File
@@ -49,6 +49,7 @@
var/exp_type_department = ""
//The amount of good boy points playing this role will earn you towards a higher chance to roll antagonist next round
//can be overriden by antag_rep.txt config
var/antag_rep = 10
//Only override this proc
@@ -67,6 +68,11 @@
/datum/job/proc/special_check_latejoin(client/C)
return TRUE
/datum/job/proc/GetAntagRep()
. = CONFIG_GET(keyed_number_list/antag_rep)[lowertext(title)]
if(. == null)
return antag_rep
//Don't override this unless the job transforms into a non-human (Silicons do this for example)
/datum/job/proc/equip(mob/living/carbon/human/H, visualsOnly = FALSE, announce = TRUE, latejoin = FALSE)
if(!H)