mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 12:07:27 +01:00
Admin tools, adds better logging for viruses (#19132)
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
else
|
||||
DD.vars[V] = D.vars[V]
|
||||
|
||||
create_log(MISC_LOG, "has contacted the virus \"[DD]\"")
|
||||
DD.affected_mob.med_hud_set_status()
|
||||
|
||||
|
||||
|
||||
@@ -150,6 +150,7 @@ GLOBAL_LIST_INIT(diseases, subtypesof(/datum/disease))
|
||||
if(!(type in affected_mob.resistances))
|
||||
affected_mob.resistances += type
|
||||
remove_virus()
|
||||
affected_mob.create_log(MISC_LOG, "has been cured from the virus \"[src]\"")
|
||||
qdel(src)
|
||||
|
||||
/datum/disease/proc/IsSame(datum/disease/D)
|
||||
|
||||
@@ -64,6 +64,7 @@
|
||||
var/obj/O = affected_mob.loc
|
||||
O.force_eject_occupant(affected_mob)
|
||||
var/mob/living/new_mob = new new_form(affected_mob.loc)
|
||||
affected_mob.create_log(MISC_LOG, "has transformed into [new_mob], due to having the virus \"[src]\"")
|
||||
if(istype(new_mob))
|
||||
new_mob.a_intent = "harm"
|
||||
if(affected_mob.mind)
|
||||
|
||||
Reference in New Issue
Block a user