mirror of
https://github.com/KabKebab/GS13.git
synced 2026-08-25 05:56:27 +01:00
Actually let's change this
This commit is contained in:
@@ -4,9 +4,14 @@
|
|||||||
icon = 'icons/obj/hand_of_god_structures.dmi' //Placeholder.
|
icon = 'icons/obj/hand_of_god_structures.dmi' //Placeholder.
|
||||||
icon_state = "convertaltar-blue" //Placeholder.
|
icon_state = "convertaltar-blue" //Placeholder.
|
||||||
anchored = TRUE
|
anchored = TRUE
|
||||||
density = FALSE
|
density = TRUE
|
||||||
|
light_color = LIGHT_COLOR_FIRE
|
||||||
var/used = FALSE
|
var/used = FALSE
|
||||||
|
|
||||||
|
/obj/structure/lunaraltar/Initialize()
|
||||||
|
. = ..()
|
||||||
|
set_light(2)
|
||||||
|
|
||||||
/obj/structure/lunaraltar/attack_hand(mob/living/user)
|
/obj/structure/lunaraltar/attack_hand(mob/living/user)
|
||||||
. = ..()
|
. = ..()
|
||||||
if(.)
|
if(.)
|
||||||
@@ -15,21 +20,23 @@
|
|||||||
to_chat(user, "<span class='notice'>The altar seems shattered.</span>")
|
to_chat(user, "<span class='notice'>The altar seems shattered.</span>")
|
||||||
return
|
return
|
||||||
if(istype(user, /mob/living/carbon/human/))
|
if(istype(user, /mob/living/carbon/human/))
|
||||||
if(isjellyperson(user))
|
var/part = pick("r_arm","l_arm","r_leg","l_leg")
|
||||||
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/mob/living/carbon/human/H = user
|
var/mob/living/carbon/human/H = user
|
||||||
var/obj/item/bodypart/bodypart
|
var/obj/item/bodypart/bodypart
|
||||||
|
var/paralysistype
|
||||||
switch(part)
|
switch(part)
|
||||||
if("1")
|
if("l_leg")
|
||||||
bodypart = H.get_bodypart(BODY_ZONE_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)
|
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)
|
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)
|
bodypart = H.get_bodypart(BODY_ZONE_R_ARM)
|
||||||
|
paralysistype = TRAIT_PARALYSIS_R_ARM
|
||||||
if(!bodypart)
|
if(!bodypart)
|
||||||
to_chat(user, "<span class='notice'>The altar does nothing.</span>")
|
to_chat(user, "<span class='notice'>The altar does nothing.</span>")
|
||||||
return
|
return
|
||||||
@@ -42,12 +49,15 @@
|
|||||||
"<span class='userdanger'>Your [bodypart] is momentarily enveloped by shadows before it's gruesomely twisted and dismembered!</span>")
|
"<span class='userdanger'>Your [bodypart] is momentarily enveloped by shadows before it's gruesomely twisted and dismembered!</span>")
|
||||||
bodypart.dismember()
|
bodypart.dismember()
|
||||||
bodypart.Destroy()
|
bodypart.Destroy()
|
||||||
|
ADD_TRAIT(H, paralysistype, "trauma_paralysis")
|
||||||
|
H.update_disabled_bodyparts()
|
||||||
H.bleed_rate += 5
|
H.bleed_rate += 5
|
||||||
H.emote("scream")
|
H.emote("scream")
|
||||||
new /obj/item/helfiretincture(src.loc) //Eventually a pick, with different items.
|
new /obj/item/helfiretincture(src.loc) //Eventually a pick, with different items.
|
||||||
visible_message("<span class='warning'>As you blink, cracks appear on the altar and a flash of lunar light reaches its surface. A gift?</span>")
|
visible_message("<span class='warning'>As you blink, cracks appear on the altar and a flash of lunar light reaches its surface. A gift?</span>")
|
||||||
message_admins("[ADMIN_LOOKUPFLW(user)] has sacrificed their [bodypart] on the lunar altar at [AREACOORD(src)].")
|
message_admins("[ADMIN_LOOKUPFLW(user)] has sacrificed their [bodypart] on the lunar altar at [AREACOORD(src)].")
|
||||||
icon_state = "sacrificealtar-blue"
|
icon_state = "sacrificealtar-blue"
|
||||||
|
set_light(0)
|
||||||
update_icon()
|
update_icon()
|
||||||
used = TRUE
|
used = TRUE
|
||||||
|
|
||||||
@@ -55,7 +65,7 @@
|
|||||||
name = "helfire tincture" //"Hel" not Hell. Intended.
|
name = "helfire tincture" //"Hel" not Hell. Intended.
|
||||||
icon = 'hyperstation/icons/obj/lunar.dmi'
|
icon = 'hyperstation/icons/obj/lunar.dmi'
|
||||||
icon_state = "helfire_tincture"
|
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/cooldowntime = 45 SECONDS
|
||||||
var/used = FALSE
|
var/used = FALSE
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user