Families wanted stars now only show up when you are involved in it, and announcements for wanted level changes (#50283)
* Wanted level stuff * fuck * Update code/game/gamemodes/gang/gang.dm Co-Authored-By: Rohesie <rohesie@gmail.com> * Update code/_onclick/hud/families.dm Co-Authored-By: Rohesie <rohesie@gmail.com> * Update code/game/gamemodes/gang/gang.dm Co-Authored-By: Rohesie <rohesie@gmail.com> * Update code/modules/antagonists/gang/gang.dm Co-Authored-By: Rohesie <rohesie@gmail.com> * Update code/modules/antagonists/ert/ert.dm Co-Authored-By: Rohesie <rohesie@gmail.com> Co-authored-by: Rohesie <rohesie@gmail.com>
This commit is contained in:
@@ -179,11 +179,19 @@
|
||||
..()
|
||||
var/mob/living/M = mob_override || owner.current
|
||||
add_antag_hud(antag_hud_type, antag_hud_name, M)
|
||||
if(M.hud_used)
|
||||
var/datum/hud/H = M.hud_used
|
||||
H.wanted_lvl = new /obj/screen/wanted
|
||||
H.infodisplay += H.wanted_lvl
|
||||
|
||||
|
||||
/datum/antagonist/ert/families/remove_innate_effects(mob/living/mob_override)
|
||||
var/mob/living/M = mob_override || owner.current
|
||||
remove_antag_hud(antag_hud_type, M)
|
||||
if(M.hud_used)
|
||||
var/datum/hud/H = M.hud_used
|
||||
H.infodisplay -= H.wanted_lvl
|
||||
QDEL_NULL(H.wanted_lvl)
|
||||
..()
|
||||
|
||||
/datum/antagonist/ert/families/greet()
|
||||
|
||||
@@ -106,12 +106,20 @@
|
||||
package_spawner.my_gang_datum = src
|
||||
var/mob/living/M = mob_override || owner.current
|
||||
add_antag_hud(antag_hud_type, antag_hud_name, M)
|
||||
if(M.hud_used)
|
||||
var/datum/hud/H = M.hud_used
|
||||
H.wanted_lvl = new /obj/screen/wanted
|
||||
H.infodisplay += H.wanted_lvl
|
||||
|
||||
/datum/antagonist/gang/remove_innate_effects(mob/living/mob_override)
|
||||
if(starter_gangster)
|
||||
package_spawner.Remove(owner.current)
|
||||
var/mob/living/M = mob_override || owner.current
|
||||
remove_antag_hud(antag_hud_type, M)
|
||||
if(M.hud_used)
|
||||
var/datum/hud/H = M.hud_used
|
||||
H.infodisplay -= H.wanted_lvl
|
||||
QDEL_NULL(H.wanted_lvl)
|
||||
..()
|
||||
|
||||
/// Gives a gangster their equipment in their backpack and / or pockets.
|
||||
|
||||
Reference in New Issue
Block a user