diff --git a/hyperstation/code/obj/lunaritems.dm b/hyperstation/code/obj/lunaritems.dm index e2bfa45e..27d82cfe 100644 --- a/hyperstation/code/obj/lunaritems.dm +++ b/hyperstation/code/obj/lunaritems.dm @@ -4,9 +4,14 @@ icon = 'icons/obj/hand_of_god_structures.dmi' //Placeholder. icon_state = "convertaltar-blue" //Placeholder. anchored = TRUE - density = FALSE + density = TRUE + light_color = LIGHT_COLOR_FIRE var/used = FALSE +/obj/structure/lunaraltar/Initialize() + . = ..() + set_light(2) + /obj/structure/lunaraltar/attack_hand(mob/living/user) . = ..() if(.) @@ -15,21 +20,23 @@ to_chat(user, "The altar seems shattered.") return if(istype(user, /mob/living/carbon/human/)) - if(isjellyperson(user)) - to_chat(user, "You feel that there is nothing of value your species can sacrifice.") //NO SLIME CHEESE BRO - return - var/part = pick("1","2","3","4") + var/part = pick("r_arm","l_arm","r_leg","l_leg") var/mob/living/carbon/human/H = user var/obj/item/bodypart/bodypart + var/paralysistype switch(part) - if("1") + if("l_leg") bodypart = H.get_bodypart(BODY_ZONE_L_LEG) - if("2") + paralysistype = TRAIT_PARALYSIS_L_LEG + if("r_leg") bodypart = H.get_bodypart(BODY_ZONE_R_LEG) - if("3") + paralysistype = TRAIT_PARALYSIS_R_LEG + if("l_arm") bodypart = H.get_bodypart(BODY_ZONE_L_ARM) - if("4") + paralysistype = TRAIT_PARALYSIS_L_ARM + if("r_arm") bodypart = H.get_bodypart(BODY_ZONE_R_ARM) + paralysistype = TRAIT_PARALYSIS_R_ARM if(!bodypart) to_chat(user, "The altar does nothing.") return @@ -42,12 +49,15 @@ "Your [bodypart] is momentarily enveloped by shadows before it's gruesomely twisted and dismembered!") bodypart.dismember() bodypart.Destroy() + ADD_TRAIT(H, paralysistype, "trauma_paralysis") + H.update_disabled_bodyparts() H.bleed_rate += 5 H.emote("scream") new /obj/item/helfiretincture(src.loc) //Eventually a pick, with different items. visible_message("As you blink, cracks appear on the altar and a flash of lunar light reaches its surface. A gift?") message_admins("[ADMIN_LOOKUPFLW(user)] has sacrificed their [bodypart] on the lunar altar at [AREACOORD(src)].") icon_state = "sacrificealtar-blue" + set_light(0) update_icon() used = TRUE @@ -55,7 +65,7 @@ name = "helfire tincture" //"Hel" not Hell. Intended. icon = 'hyperstation/icons/obj/lunar.dmi' icon_state = "helfire_tincture" - desc = "Burn everyone nearby... including you. You wouldn't do that on the shuttle now, would you?" + desc = "Burn everyone nearby... Including you." var/cooldowntime = 45 SECONDS var/used = FALSE