Merge pull request #877 from Chemlight/Implants-and-maybe-some-cargo

Lots of bus implants and ATV supply n' demand
This commit is contained in:
QuoteFox
2021-01-15 18:32:32 +00:00
committed by GitHub
9 changed files with 237 additions and 3 deletions
@@ -0,0 +1,38 @@
/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
@@ -1,8 +1,8 @@
/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/wizard.dmi'
icon_state ="scroll2"
icon = 'icons/obj/clothing/gloves.dmi'
icon_state ="fightgloves"
activated = 1
var/datum/martial_art/krav_maga/style = new
@@ -0,0 +1,38 @@
/obj/item/implant/mushpunch
name = "Mushroom Punch implant"
desc = "Teaches you the arts of Mushroom Punch in 5 short instructional videos beamed directly into your eyeballs."
icon = 'icons/obj/hydroponics/harvest.dmi'
icon_state ="angel"
activated = 1
var/datum/martial_art/mushpunch/style = new
/obj/item/implant/mushpunch/get_data()
var/dat = {"<b>Implant Specifications:</b><BR>
<b>Name:</b> Mushroom Punch 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 Mushroom Punch."}
return dat
/obj/item/implant/mushpunch/activate()
. = ..()
var/mob/living/carbon/human/H = imp_in
if(!ishuman(H))
return
if(!H.mind)
return
if(H.mind.has_martialart(MARTIALART_MUSHPUNCH))
style.remove(H)
to_chat(H, "<span class='notice'>You forget the teachings of Mushroom Punch.</span>")
else
style.teach(H,1)
to_chat(H, "<span class='notice'>You learn the arts of Mushroom Punch!</span>")
/obj/item/implanter/mushpunch
name = "implanter (Mushroom Punch)"
imp_type = /obj/item/implant/mushpunch
/obj/item/implantcase/mushpunch
name = "implant case - 'Mushroom Punch'"
desc = "A glass case containing an implant that can teach the user the arts of Mushroom Punch."
imp_type = /obj/item/implant/mushpunch
@@ -0,0 +1,38 @@
/obj/item/implant/plasmafist
name = "Plasma Fist implant"
desc = "Teaches you the arts of Plasma Fist in 5 short instructional videos beamed directly into your eyeballs."
icon = 'icons/obj/items_and_weapons.dmi'
icon_state ="disintegrate"
activated = 1
var/datum/martial_art/plasma_fist/style = new
/obj/item/implant/plasmafist/get_data()
var/dat = {"<b>Implant Specifications:</b><BR>
<b>Name:</b> Plasma Fist 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 Plasma Fist."}
return dat
/obj/item/implant/plasmafist/activate()
. = ..()
var/mob/living/carbon/human/H = imp_in
if(!ishuman(H))
return
if(!H.mind)
return
if(H.mind.has_martialart(MARTIALART_PLASMAFIST))
style.remove(H)
to_chat(H, "<span class='notice'>You forget the teachings of the Plasma Fist.</span>")
else
style.teach(H,1)
to_chat(H, "<span class='notice'>You learn the arts of the Plasma Fist!</span>")
/obj/item/implanter/plasmafist
name = "implanter (Plasma Fist)"
imp_type = /obj/item/implant/plasmafist
/obj/item/implantcase/plasmafist
name = "implant case - 'Plasma Fist'"
desc = "A glass case containing an implant that can teach the user the arts of Plasma Fist."
imp_type = /obj/item/implant/plasmafist
@@ -0,0 +1,38 @@
/obj/item/implant/psychobrawl
name = "Psychotic Brawling implant"
desc = "Teaches you the arts of Psychotic Brawling in 5 short instructional videos beamed directly into your eyeballs."
icon = 'icons/obj/surgery.dmi'
icon_state ="brain"
activated = 1
var/datum/martial_art/psychotic_brawling/style = new
/obj/item/implant/psychobrawl/get_data()
var/dat = {"<b>Implant Specifications:</b><BR>
<b>Name:</b> Psychotic Brawling 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 Psychotic Brawling."}
return dat
/obj/item/implant/psychobrawl/activate()
. = ..()
var/mob/living/carbon/human/H = imp_in
if(!ishuman(H))
return
if(!H.mind)
return
if(H.mind.has_martialart(MARTIALART_PSYCHOBRAWL))
style.remove(H)
to_chat(H, "<span class='notice'>You forget the teachings of Psychotic Brawling.</span>")
else
style.teach(H,1)
to_chat(H, "<span class='notice'>You learn the arts of Psychotic Brawling!</span>")
/obj/item/implanter/psychobrawl
name = "implanter (Psychotic Brawling)"
imp_type = /obj/item/implant/psychobrawl
/obj/item/implantcase/psychobrawl
name = "implant case - 'Psychotic Brawling'"
desc = "A glass case containing an implant that can teach the user the arts of Psychotic Brawling."
imp_type = /obj/item/implant/psychobrawl
@@ -0,0 +1,38 @@
/obj/item/implant/sleepingcarp
name = "Sleeping Carp implant"
desc = "Teaches you the arts of Sleeping Carp in 5 short instructional videos beamed directly into your eyeballs."
icon = 'icons/obj/wizard.dmi'
icon_state ="scroll2"
activated = 1
var/datum/martial_art/the_sleeping_carp/style = new
/obj/item/implant/sleepingcarp/get_data()
var/dat = {"<b>Implant Specifications:</b><BR>
<b>Name:</b> Sleeping Carp 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 Sleeping Carp."}
return dat
/obj/item/implant/sleepingcarp/activate()
. = ..()
var/mob/living/carbon/human/H = imp_in
if(!ishuman(H))
return
if(!H.mind)
return
if(H.mind.has_martialart(MARTIALART_SLEEPINGCARP))
style.remove(H)
to_chat(H, "<span class='notice'>You forget the teachings of the Sleeping Carp.</span>")
else
style.teach(H,1)
to_chat(H, "<span class='notice'>You learn the arts of the Sleeping Carp!</span>")
/obj/item/implanter/sleepingcarp
name = "implanter (Sleeping Carp)"
imp_type = /obj/item/implant/sleepingcarp
/obj/item/implantcase/sleepingcarp
name = "implant case - 'Sleeping Carp'"
desc = "A glass case containing an implant that can teach the user the arts of Sleeping Carp."
imp_type = /obj/item/implant/sleepingcarp
@@ -0,0 +1,38 @@
/obj/item/implant/wrestling
name = "Wrestling implant"
desc = "Teaches you the arts of Wrestling in 5 short instructional videos beamed directly into your eyeballs."
icon = 'icons/obj/clothing/masks.dmi'
icon_state ="luchador"
activated = 1
var/datum/martial_art/wrestling/style = new
/obj/item/implant/wrestling/get_data()
var/dat = {"<b>Implant Specifications:</b><BR>
<b>Name:</b> Wrestling 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 Wrestling."}
return dat
/obj/item/implant/wrestling/activate()
. = ..()
var/mob/living/carbon/human/H = imp_in
if(!ishuman(H))
return
if(!H.mind)
return
if(H.mind.has_martialart(MARTIALART_WRESTLING))
style.remove(H)
to_chat(H, "<span class='notice'>You forget the teachings of Wrestling.</span>")
else
style.teach(H,1)
to_chat(H, "<span class='notice'>You learn the arts of Wrestling!</span>")
/obj/item/implanter/wrestling
name = "implanter (Wrestling)"
imp_type = /obj/item/implant/wrestling
/obj/item/implantcase/wrestling
name = "implant case - 'Wrestling'"
desc = "A glass case containing an implant that can teach the user the arts of Wrestling."
imp_type = /obj/item/implant/wrestling