From dcace521842383796834e5d9b5a96dede36ce85b Mon Sep 17 00:00:00 2001 From: Fox McCloud Date: Tue, 2 Mar 2021 11:16:47 -0500 Subject: [PATCH] Makes the Clown All Powerful (#15612) * Makes the Clown All Powerful * sadtrombone.ogg --- code/game/jobs/job/support.dm | 2 ++ .../items/weapons/implants/implant_clown.dm | 29 +++++++++++++++++++ .../simple_animal/hostile/mining/hivelord.dm | 2 ++ .../research/designs/medical_designs.dm | 12 +++++++- paradise.dme | 1 + 5 files changed, 45 insertions(+), 1 deletion(-) create mode 100644 code/game/objects/items/weapons/implants/implant_clown.dm diff --git a/code/game/jobs/job/support.dm b/code/game/jobs/job/support.dm index 8a90da80dfa..4f0c1aa0d64 100644 --- a/code/game/jobs/job/support.dm +++ b/code/game/jobs/job/support.dm @@ -272,6 +272,8 @@ /obj/item/instrument/bikehorn = 1 ) + implants = list(/obj/item/implant/sad_trombone) + backpack = /obj/item/storage/backpack/clown satchel = /obj/item/storage/backpack/clown dufflebag = /obj/item/storage/backpack/duffel/clown diff --git a/code/game/objects/items/weapons/implants/implant_clown.dm b/code/game/objects/items/weapons/implants/implant_clown.dm new file mode 100644 index 00000000000..bb5170fced6 --- /dev/null +++ b/code/game/objects/items/weapons/implants/implant_clown.dm @@ -0,0 +1,29 @@ +/obj/item/implant/sad_trombone + name = "sad trombone implant" + activated = FALSE + +/obj/item/implant/sad_trombone/get_data() + var/dat = {"Implant Specifications:
+ Name: Honk Co. Sad Trombone Implant
+ Life: Activates upon death.
+ "} + return dat + +/obj/item/implant/sad_trombone/trigger(emote, mob/source, force) + if(force && emote == "deathgasp") + playsound(loc, 'sound/misc/sadtrombone.ogg', 50, FALSE) + +/obj/item/implanter/sad_trombone + name = "implanter (sad trombone)" + +/obj/item/implanter/sad_trombone/New() //gross + imp = new /obj/item/implant/sad_trombone + ..() + +/obj/item/implantcase/sad_trombone + name = "implant case - 'Sad Trombone'" + desc = "A glass case containing a sad trombone implant." + +/obj/item/implantcase/sad_trombone/New() //gross + imp = new /obj/item/implant/sad_trombone + ..() diff --git a/code/modules/mob/living/simple_animal/hostile/mining/hivelord.dm b/code/modules/mob/living/simple_animal/hostile/mining/hivelord.dm index 4f526d2e119..a2972b7d14f 100644 --- a/code/modules/mob/living/simple_animal/hostile/mining/hivelord.dm +++ b/code/modules/mob/living/simple_animal/hostile/mining/hivelord.dm @@ -384,6 +384,8 @@ backpack_contents += list(/obj/item/stack/sheet/mineral/bananium = pickweight(list( 1 = 3, 2 = 2, 3 = 1))) if(prob(10)) l_pocket = pickweight(list(/obj/item/bikehorn/golden = 3, /obj/item/bikehorn/airhorn= 1 )) + if(prob(10)) + r_pocket = /obj/item/implanter/sad_trombone if("Golem") mob_species = pick(list(/datum/species/golem/adamantine, /datum/species/golem/plasma, /datum/species/golem/diamond, /datum/species/golem/gold, /datum/species/golem/silver, /datum/species/golem/plasteel, /datum/species/golem/titanium, /datum/species/golem/plastitanium)) if(prob(30)) diff --git a/code/modules/research/designs/medical_designs.dm b/code/modules/research/designs/medical_designs.dm index 32a570a9964..ef0c984596a 100644 --- a/code/modules/research/designs/medical_designs.dm +++ b/code/modules/research/designs/medical_designs.dm @@ -527,12 +527,22 @@ name = "Chemical Implant Case" desc = "A glass case containing an implant." id = "implant_chem" - req_tech = list("materials" = 3, "biotech" = 5,) + req_tech = list("materials" = 3, "biotech" = 5) build_type = PROTOLATHE materials = list(MAT_GLASS = 700) build_path = /obj/item/implantcase/chem category = list("Medical") +/datum/design/implant_sadtrombone + name = "Sad Trombone Implant Case" + desc = "Makes death amusing." + id = "implant_trombone" + req_tech = list("materials" = 3, "biotech" = 5) + build_type = PROTOLATHE + materials = list(MAT_GLASS = 500, MAT_BANANIUM = 500) + build_path = /obj/item/implantcase/sad_trombone + category = list("Medical") + /datum/design/implant_tracking name = "Tracking Implant Case" desc = "A glass case containing an implant." diff --git a/paradise.dme b/paradise.dme index 362e7c2a6ce..f787871e9b9 100644 --- a/paradise.dme +++ b/paradise.dme @@ -996,6 +996,7 @@ #include "code\game\objects\items\weapons\implants\implant.dm" #include "code\game\objects\items\weapons\implants\implant_abductor.dm" #include "code\game\objects\items\weapons\implants\implant_chem.dm" +#include "code\game\objects\items\weapons\implants\implant_clown.dm" #include "code\game\objects\items\weapons\implants\implant_death_alarm.dm" #include "code\game\objects\items\weapons\implants\implant_explosive.dm" #include "code\game\objects\items\weapons\implants\implant_freedom.dm"