Update nanite_programs.dm
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user