Update nanite_programs.dm

This commit is contained in:
kevinz000
2019-11-28 23:00:09 -07:00
committed by GitHub
parent a105f55e38
commit 2c19c55fc3
@@ -238,12 +238,12 @@ datum/nanite_program/proc/on_mob_remove()
else if(deactivation_code && code == deactivation_code && activated) else if(deactivation_code && code == deactivation_code && activated)
deactivate() deactivate()
host_mob.investigate_log("[host_mob]'s [name] nanite program was deactivated by [source] with code [code].", INVESTIGATE_NANITES) host_mob.investigate_log("[host_mob]'s [name] nanite program was deactivated by [source] with code [code].", INVESTIGATE_NANITES)
if(can_trigger && trigger_code && code == trigger_code)
trigger()
host_mob.investigate_log("[host_mob]'s [name] nanite program was triggered by [source] with code [code].", INVESTIGATE_NANITES)
if(kill_code && code == kill_code) if(kill_code && code == kill_code)
host_mob.investigate_log("[host_mob]'s [name] nanite program was deleted by [source] with code [code].", INVESTIGATE_NANITES) host_mob.investigate_log("[host_mob]'s [name] nanite program was deleted by [source] with code [code].", INVESTIGATE_NANITES)
qdel(src) qdel(src)
else if(can_trigger && trigger_code && code == trigger_code)
trigger()
host_mob.investigate_log("[host_mob]'s [name] nanite program was triggered by [source] with code [code].", INVESTIGATE_NANITES)
/datum/nanite_program/proc/get_timer_type_text() /datum/nanite_program/proc/get_timer_type_text()
switch(timer_type) switch(timer_type)