mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-19 03:50:32 +01:00
403f4336db
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.
38 lines
1.1 KiB
Plaintext
38 lines
1.1 KiB
Plaintext
/obj/item/implant/krav_maga
|
|
name = "krav maga implant"
|
|
desc = "Teaches you the arts of Krav Maga in 5 short instructional videos beamed directly into your eyeballs."
|
|
icon = 'icons/obj/clothing/gloves.dmi'
|
|
icon_state ="fightgloves"
|
|
activated = 1
|
|
var/datum/martial_art/krav_maga/style = new
|
|
|
|
/obj/item/implant/krav_maga/get_data()
|
|
var/dat = {"<b>Implant Specifications:</b><BR>
|
|
<b>Name:</b> Krav Maga 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 Krav Maga."}
|
|
return dat
|
|
|
|
/obj/item/implant/krav_maga/activate()
|
|
. = ..()
|
|
var/mob/living/carbon/human/H = imp_in
|
|
if(!ishuman(H))
|
|
return
|
|
if(!H.mind)
|
|
return
|
|
if(H.mind.has_martialart(MARTIALART_KRAVMAGA))
|
|
style.remove(H)
|
|
else
|
|
style.teach(H,1)
|
|
|
|
/obj/item/implanter/krav_maga
|
|
name = "implanter (krav maga)"
|
|
imp_type = /obj/item/implant/krav_maga
|
|
|
|
/obj/item/implantcase/krav_maga
|
|
name = "implant case - 'Krav Maga'"
|
|
desc = "A glass case containing an implant that can teach the user the arts of Krav Maga."
|
|
imp_type = /obj/item/implant/krav_maga
|
|
|