Nanite heart buff (#17809)

This commit is contained in:
Molti
2023-02-11 10:36:57 -06:00
committed by GitHub
parent 87bd1794db
commit 00769859a2

View File

@@ -13,6 +13,11 @@
/obj/item/organ/heart/nanite/on_life()
. = ..()
if(owner)//makes nanites tick on every life tick, only about 33% speed increase
var/datum/component/nan = owner.GetExactComponent(/datum/component/nanites)
if(nan)
nan.process()
if(SEND_SIGNAL(owner, COMSIG_HAS_NANITES))
SEND_SIGNAL(owner, COMSIG_NANITE_ADJUST_VOLUME, nanite_boost)
else