added ethereals

This commit is contained in:
Putnam
2020-08-08 00:08:43 -07:00
parent 9974c90d8e
commit 9bb3ba5c5a
37 changed files with 524 additions and 24 deletions
+12 -1
View File
@@ -610,7 +610,18 @@
var/mob/living/carbon/human/H = user
if(istype(H))
var/datum/species/ethereal/eth_species = H.dna?.species
if(istype(eth_species))
to_chat(H, "<span class='notice'>You start channeling some power through the [fitting] into your body.</span>")
if(do_after(user, 50, target = src))
var/obj/item/organ/stomach/ethereal/stomach = H.getorganslot(ORGAN_SLOT_STOMACH)
if(istype(stomach))
to_chat(H, "<span class='notice'>You receive some charge from the [fitting].</span>")
stomach.adjust_charge(2)
else
to_chat(H, "<span class='warning'>You can't receive charge from the [fitting]!</span>")
return
if(H.gloves)
var/obj/item/clothing/gloves/G = H.gloves
if(G.max_heat_protection_temperature)