Files
GS13/code/game/objects/items/implants/implant_CQC.dm
Chemlight 403f4336db Lotsa bus implants and ATV supply n' demand
Since Krav maga has an implant to toggle it on and on, I thought lets add everything else! (Aside from boxing, that for example is just tied to boxing gloves).

Also ATV's are too easy to get, make it need effort to buy and become speed racer.
2021-01-15 04:25:16 -08:00

39 lines
1.1 KiB
Plaintext

/obj/item/implant/cqc
name = "CQC implant"
desc = "Teaches you the arts of CQC in 5 short instructional videos beamed directly into your eyeballs."
icon = 'icons/obj/library.dmi'
icon_state ="cqcmanual"
activated = 1
var/datum/martial_art/cqc/style = new
/obj/item/implant/cqc/get_data()
var/dat = {"<b>Implant Specifications:</b><BR>
<b>Name:</b> CQC Implant<BR>
<b>Life:</b> 4 hours after death of host<BR>
<b>Implant Details:</b> <BR>
<b>Function:</b> Teaches even the clumsiest host the arts of CQC."}
return dat
/obj/item/implant/cqc/activate()
. = ..()
var/mob/living/carbon/human/H = imp_in
if(!ishuman(H))
return
if(!H.mind)
return
if(H.mind.has_martialart(MARTIALART_CQC))
style.remove(H)
to_chat(H, "<span class='notice'>You forget the basics of CQC.</span>")
else
style.teach(H,1)
to_chat(H, "<span class='notice'>You remember the basics of CQC!</span>")
/obj/item/implanter/cqc
name = "implanter (CQC)"
imp_type = /obj/item/implant/cqc
/obj/item/implantcase/cqc
name = "implant case - 'CQC'"
desc = "A glass case containing an implant that can teach the user the arts of CQC."
imp_type = /obj/item/implant/cqc