Skip to content

Commit

Permalink
Revert "removes the incusion implant (BeeStation#9090)" (BeeStation#9180
Browse files Browse the repository at this point in the history
)

This reverts commit 8a072c6.
  • Loading branch information
itsmeow committed Jun 6, 2023
1 parent 9514317 commit 01e2a4a
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
15 changes: 15 additions & 0 deletions code/game/objects/items/implants/implant_misc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,25 @@
<b>Implant Details:</b> Allows user to use an internal radio, useful if user expects equipment loss, or cannot equip conventional radios."}
return dat

/obj/item/implant/radio/syndicate/selfdestruct
name = "hacked internal radio implant"

/obj/item/implant/radio/syndicate/selfdestruct/on_implanted(mob/living/user)
if(!user.mind.has_antag_datum(/datum/antagonist/incursion))
user.visible_message("<span class='warning'>[imp_in] starts beeping ominously!</span>", "<span class='userdanger'>You have a sudden feeling of dread. The implant is rigged to explode!</span>")
playsound(user, 'sound/items/timer.ogg', 30, 0)
explosion(src,0,0,2,2, flame_range = 2)
user.gib(1)
qdel(src)

/obj/item/implanter/radio
name = "implanter (internal radio)"
imp_type = /obj/item/implant/radio

/obj/item/implanter/radio/syndicate
name = "implanter (internal syndicate radio)"
imp_type = /obj/item/implant/radio/syndicate

/obj/item/implanter/radio/syndicate/selfdestruct
name = "implanter (modified internal syndicate radio)"
imp_type = /obj/item/implant/radio/syndicate/selfdestruct
2 changes: 2 additions & 0 deletions code/modules/antagonists/incursion/incursion.dm
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@

/datum/antagonist/incursion/proc/equip(var/silent = FALSE)
owner.equip_traitor("The Syndicate", FALSE, src, 15)
var/obj/item/implant/radio/syndicate/selfdestruct/syndio = new
syndio.implant(owner.current)

/datum/team/incursion
name = "syndicate incursion force"
Expand Down

0 comments on commit 01e2a4a

Please sign in to comment.