mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user