Merge pull request #680 from ArchieBeepBoop/lunar

Lunar Items v0.1
This commit is contained in:
Dahlular
2020-11-13 19:15:12 -07:00
committed by GitHub
6 changed files with 403 additions and 0 deletions
@@ -0,0 +1,315 @@
//MAP CONVERTED BY dmm2tgm.py THIS HEADER COMMENT PREVENTS RECONVERSION, DO NOT REMOVE
"a" = (
/turf/template_noop,
/area/template_noop)
"c" = (
/turf/open/lava/smooth/lava_land_surface,
/area/ruin/unpowered)
"d" = (
/obj/effect/decal/remains/human,
/mob/living/simple_animal/hostile/carp/eyeball,
/turf/open/floor/plasteel/cult/airless,
/area/ruin/unpowered)
"e" = (
/obj/effect/decal/remains/human,
/turf/open/floor/plating/asteroid/basalt/lava_land_surface,
/area/ruin/unpowered)
"f" = (
/obj/effect/decal/cleanable/blood/gibs/human/limb,
/turf/open/floor/plasteel/cult/airless,
/area/ruin/unpowered)
"g" = (
/obj/effect/decal/cleanable/blood,
/turf/open/floor/plasteel/cult/airless,
/area/ruin/unpowered)
"l" = (
/obj/effect/decal/remains/human,
/turf/open/floor/plasteel/cult/airless,
/area/ruin/unpowered)
"o" = (
/obj/structure/lunaraltar,
/turf/open/floor/plasteel/cult/airless,
/area/ruin/unpowered)
"q" = (
/turf/open/floor/plasteel/cult/airless,
/area/ruin/unpowered)
"s" = (
/turf/open/floor/plating/asteroid/basalt/lava_land_surface,
/area/ruin/unpowered)
"x" = (
/obj/effect/decal/cleanable/blood,
/obj/effect/decal/cleanable/blood,
/turf/open/floor/plasteel/cult/airless,
/area/ruin/unpowered)
"y" = (
/obj/effect/decal/cleanable/blood/gibs/human,
/turf/open/floor/plasteel/cult/airless,
/area/ruin/unpowered)
"A" = (
/mob/living/simple_animal/hostile/carp/eyeball,
/turf/open/floor/plasteel/cult/airless,
/area/ruin/unpowered)
"R" = (
/obj/effect/decal/cleanable/ash/large,
/turf/open/floor/plasteel/cult/airless,
/area/ruin/unpowered)
"X" = (
/obj/effect/decal/cleanable/blood/gibs/human/lizard/limb,
/turf/open/floor/plasteel/cult/airless,
/area/ruin/unpowered)
(1,1,1) = {"
a
a
a
a
a
a
c
c
c
a
a
a
a
a
a
"}
(2,1,1) = {"
a
s
e
c
c
c
c
c
c
c
c
c
s
s
a
"}
(3,1,1) = {"
a
e
s
s
c
c
c
c
c
c
c
e
s
s
a
"}
(4,1,1) = {"
a
s
s
c
c
c
c
c
c
c
c
c
e
s
a
"}
(5,1,1) = {"
a
c
c
c
c
c
c
c
c
c
c
c
c
s
a
"}
(6,1,1) = {"
a
c
c
c
c
c
l
f
d
c
c
c
c
c
a
"}
(7,1,1) = {"
c
c
c
c
c
l
q
g
g
y
c
c
c
c
c
"}
(8,1,1) = {"
c
c
c
c
c
A
q
o
x
g
c
c
c
c
c
"}
(9,1,1) = {"
c
c
c
c
c
l
q
R
X
l
c
c
c
c
c
"}
(10,1,1) = {"
a
c
c
c
c
c
q
q
A
c
c
c
c
c
a
"}
(11,1,1) = {"
a
s
c
c
c
c
c
c
c
c
c
c
s
s
a
"}
(12,1,1) = {"
a
s
s
c
c
c
c
c
c
c
c
c
e
s
a
"}
(13,1,1) = {"
a
e
s
c
c
c
c
c
c
c
c
e
s
s
a
"}
(14,1,1) = {"
a
s
e
c
c
c
c
c
c
c
c
s
s
s
a
"}
(15,1,1) = {"
a
a
a
a
a
a
c
c
c
a
a
a
a
a
a
"}
+8
View File
@@ -233,3 +233,11 @@
suffix = "lavaland_surface_oasis.dmm"
allow_duplicates = FALSE
cost = 0
/datum/map_template/ruin/lavaland/lunaraltar
name = "Lunar Altar"
id = "lunaraltar"
description = "Millenia ago, the humanoids of this strange land used to offer sacrifices here..."
suffix = "lavaland_surface_lunaraltar.dmm"
allow_duplicates = FALSE
cost = 10
+79
View File
@@ -0,0 +1,79 @@
/obj/structure/lunaraltar
name = "lunar altar"
desc = "Judging by the symbols, millenia ago, it seems that the creatures of this world used something precious to the icy moon that orbits this hellish planet. You... Wouldn't do that, would you?"
icon = 'icons/obj/hand_of_god_structures.dmi' //Placeholder.
icon_state = "convertaltar-blue" //Placeholder.
anchored = TRUE
density = FALSE
var/used = FALSE
/obj/structure/lunaraltar/attack_hand(mob/living/user)
. = ..()
if(.)
return
if(used)
to_chat(user, "<span class='notice'>The altar seems shattered.</span>")
return
if(istype(user, /mob/living/carbon/human/))
var/part = pick("1","2","3","4")
var/mob/living/carbon/human/H = user
var/obj/item/bodypart/bodypart
switch(part)
if("1")
bodypart = H.get_bodypart(BODY_ZONE_L_LEG)
if("2")
bodypart = H.get_bodypart(BODY_ZONE_R_LEG)
if("3")
bodypart = H.get_bodypart(BODY_ZONE_L_ARM)
if("4")
bodypart = H.get_bodypart(BODY_ZONE_R_ARM)
if(!bodypart)
to_chat(user, "<span class='notice'>The altar does nothing.</span>")
return
to_chat(user,"<span class='warning'>You begin placing your hand on the altar.</span>")
playsound(src, 'sound/weapons/slice.ogg', 50, 1, 5)
if(do_after(user, 100, target=src))
if(used)
return
visible_message("<span class='danger'>[user]'s [bodypart] is momentarily enveloped by shadows before they are 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.Destroy()
H.bleed_rate += 5
H.emote("scream")
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>")
message_admins("[ADMIN_LOOKUPFLW(user)] has sacrificed their [bodypart] on the lunar altar at [AREACOORD(src)].")
icon_state = "sacrificealtar-blue"
update_icon()
used = TRUE
/obj/item/helfiretincture
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?"
var/cooldowntime = 45 SECONDS
var/used = FALSE
/obj/item/helfiretincture/attack_self(mob/user)
if(!used)
used = TRUE
visible_message("<span class='danger'>[user] draws from the power of a Hellfire Tincture!</span>", \
"<span class='userdanger'>You draw the power of the Hellfire Tincture!</span>")
for(var/mob/living/H in spiral_range(8, user))
H.adjustFireLoss(10)
H.adjust_fire_stacks(5)
H.IgniteMob()
playsound(src.loc, 'hyperstation/sound/misc/helfire_use.ogg', 100, 1, extrarange = 8)
icon_state = "helfire_tincture_used"
update_icon()
addtimer(CALLBACK(src, .proc/restore, user), cooldowntime)
else
to_chat(user, "<span class='warning'>It's too soon to use this again!</span>")
/obj/item/helfiretincture/proc/restore(mob/user)
used = FALSE
icon_state = "helfire_tincture"
update_icon()
to_chat(user, "<span class='warning'>The tincture vibrates with power once again.</span>")
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.
+1
View File
@@ -3007,6 +3007,7 @@
#include "hyperstation\code\obj\fluff.dm"
#include "hyperstation\code\obj\kinkyclothes.dm"
#include "hyperstation\code\obj\leash.dm"
#include "hyperstation\code\obj\lunaritems.dm"
#include "hyperstation\code\obj\milking machine.dm"
#include "hyperstation\code\obj\plushes.dm"
#include "hyperstation\code\obj\pregnancytester.dm"