From fc84bd1526f3148ee366f36f5c872eff08d650ab Mon Sep 17 00:00:00 2001 From: coiax Date: Sat, 6 May 2017 16:58:54 +0100 Subject: [PATCH] Plastic golems (#26914) * Plastic golems :cl: coiax add: It is now possible to make plastic golems, who are made of a material flexible enough to crawl through vents and plastic flaps. /:cl: Pretty simple. Plastic golems (remember, we actually have plastic as a material) can ventcrawl, which also gives them the ability to go through plastic flaps. They are otherwise the same as iron golems. More uses of plastic are good, and this seems appropriate for a flexible material to make flexible golems. Very much a material only found on the station, and thus having an ability that really only makes sense on the station. @XDTM * Naked ventcrawling golems --- .../living/carbon/human/species_types/golems.dm | 15 +++++++++++++++ code/modules/ruins/lavaland_ruin_code.dm | 3 +++ 2 files changed, 18 insertions(+) diff --git a/code/modules/mob/living/carbon/human/species_types/golems.dm b/code/modules/mob/living/carbon/human/species_types/golems.dm index 52145f609b6..8a9efde9662 100644 --- a/code/modules/mob/living/carbon/human/species_types/golems.dm +++ b/code/modules/mob/living/carbon/human/species_types/golems.dm @@ -646,3 +646,18 @@ if(P.is_hot()) visible_message("[src] bursts into flames!") fire_act() + +/datum/species/golem/plastic + name = "Plastic" + id = "plastic golem" + prefix = "Plastic" + fixed_mut_color = "fff" + info_text = "As a Plastic Golem, you are capable of ventcrawling, and passing through plastic flaps." + +/datum/species/golem/plastic/on_species_gain(mob/living/carbon/C, datum/species/old_species) + . = ..() + C.ventcrawler = VENTCRAWLER_NUDE + +/datum/species/golem/plastic/on_species_loss(mob/living/carbon/C) + . = ..() + C.ventcrawler = initial(C.ventcrawler) diff --git a/code/modules/ruins/lavaland_ruin_code.dm b/code/modules/ruins/lavaland_ruin_code.dm index bdd85ae4d46..35ffdefce67 100644 --- a/code/modules/ruins/lavaland_ruin_code.dm +++ b/code/modules/ruins/lavaland_ruin_code.dm @@ -107,6 +107,9 @@ if(istype(O, /obj/item/stack/sheet/mineral/adamantine)) species = /datum/species/golem/adamantine + if(istype(O, /obj/item/stack/sheet/plastic)) + species = /datum/species/golem/plastic + if(species) if(O.use(10)) to_chat(user, "You finish up the golem shell with ten sheets of [O].")