Buffs arm implants (#19773)

* fuck it signal time

* heres a great example of simplifcation!

* fuck it sometimes you have to ball, fuck stoplag

* fuck yeah baby, mob signals instead

* bam good code

* add support for drop button

* lets not drop nulls

* sirryan review
This commit is contained in:
Contrabang
2022-12-29 17:49:31 +00:00
committed by GitHub
parent 8ef4aa727e
commit b013639cf5
6 changed files with 29 additions and 11 deletions
+5 -5
View File
@@ -248,15 +248,15 @@
name = "photon projector"
desc = "A high-powered photon projector implant normally used for lighting purposes, but also doubles as a flashbulb weapon. Self-repair protocols fix the flashbulb if it ever burns out."
cooldown_duration = 2 SECONDS
var/obj/item/organ/internal/cyberimp/arm/flash/I = null
var/obj/item/organ/internal/cyberimp/arm/implant = null
/obj/item/flash/armimplant/burn_out()
if(I && I.owner)
to_chat(I.owner, "<span class='warning'>Your [name] implant overheats and deactivates!</span>")
I.Retract()
if(implant?.owner)
to_chat(implant.owner, "<span class='warning'>Your [name] implant overheats and deactivates!</span>")
implant.Retract()
/obj/item/flash/armimplant/Destroy()
I = null
implant = null
return ..()
/obj/item/flash/synthetic //just a regular flash now