34 lines
1.4 KiB
Plaintext
34 lines
1.4 KiB
Plaintext
/**********************Mining Equipment Vendor Items**************************/
|
|
//misc stuff you can buy from the vendor that has special code but doesn't really need its own file
|
|
|
|
/**********************Facehugger toy**********************/
|
|
/obj/item/clothing/mask/facehugger/toy
|
|
item_state = "facehugger_inactive"
|
|
desc = "A toy often used to play pranks on other miners by putting it in their beds. It takes a bit to recharge after latching onto something."
|
|
throwforce = 0
|
|
real = 0
|
|
sterile = 1
|
|
tint = 3 //Makes it feel more authentic when it latches on
|
|
|
|
/obj/item/clothing/mask/facehugger/toy/Die()
|
|
return
|
|
|
|
/*********************Hivelord stabilizer****************/
|
|
/obj/item/weapon/hivelordstabilizer
|
|
name = "stabilizing serum"
|
|
icon = 'icons/obj/chemical.dmi'
|
|
icon_state = "bottle19"
|
|
desc = "Inject certain types of monster organs with this stabilizer to preserve their healing powers indefinitely."
|
|
w_class = WEIGHT_CLASS_TINY
|
|
origin_tech = "biotech=3"
|
|
|
|
/obj/item/weapon/hivelordstabilizer/afterattack(obj/item/organ/M, mob/user)
|
|
var/obj/item/organ/hivelord_core/C = M
|
|
if(!istype(C, /obj/item/organ/hivelord_core))
|
|
to_chat(user, "<span class='warning'>The stabilizer only works on certain types of monster organs, generally regenerative in nature.</span>")
|
|
return ..()
|
|
|
|
C.preserved()
|
|
to_chat(user, "<span class='notice'>You inject the [M] with the stabilizer. It will no longer go inert.</span>")
|
|
qdel(src)
|