This commit is contained in:
kevinz000
2020-04-22 10:42:11 -07:00
parent 6467cc9647
commit 3e09ee8328
3 changed files with 64 additions and 34 deletions
+7
View File
@@ -229,6 +229,7 @@
var/flashcd = 20
var/overheat = 0
var/obj/item/organ/cyberimp/arm/flash/I = null
var/active_light_strength = 7
/obj/item/assembly/flash/armimplant/burn_out()
if(I && I.owner)
@@ -248,6 +249,12 @@
update_icon(1)
return TRUE
/obj/item/assembly/flash/armimplant/Moved(oldLoc, dir)
. = ..()
if(!ismob(loc))
set_light(0)
else
set_light(7)
/obj/item/assembly/flash/armimplant/proc/cooldown()
overheat = FALSE