mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-26 14:31:59 +01:00
The End of the World: the Adhomai North Pole (#15905)
* The end of the world as they know it * The horrors are here * changelog * conflict fix
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
/obj/structure/geyser
|
||||
name = "arctic geyser"
|
||||
desc = "A mound fuming with hot steam."
|
||||
icon = 'icons/obj/geyser.dmi'
|
||||
icon_state = "geyser_dormant"
|
||||
density = FALSE
|
||||
pixel_x = -32
|
||||
|
||||
/obj/structure/geyser/Initialize()
|
||||
. = ..()
|
||||
if(prob(50))
|
||||
icon_state = "geyser_plume"
|
||||
|
||||
/obj/structure/geyser/Crossed(AM as mob|obj, var/ignore_deployment = FALSE)
|
||||
if(ishuman(AM))
|
||||
var/mob/living/carbon/human/L = AM
|
||||
if(prob(50))
|
||||
trigger(L)
|
||||
|
||||
..()
|
||||
|
||||
/obj/structure/geyser/proc/trigger(mob/living/carbon/human/L)
|
||||
visible_message(SPAN_WARNING("The [src] spews a cloud of hot steam!"))
|
||||
flick("geyser_fire", src)
|
||||
var/steam_temperature = pick(10,50,100,500)
|
||||
L.bodytemperature += steam_temperature
|
||||
if(steam_temperature >= 100)
|
||||
L.apply_damage(50, DAMAGE_BURN)
|
||||
to_chat(L, SPAN_WARNING("Your skin fizzes as the steam touches it!"))
|
||||
@@ -0,0 +1,32 @@
|
||||
/obj/structure/monolith
|
||||
name = "monolith"
|
||||
desc = "An obviously artifical structure of unknown origin."
|
||||
icon = 'icons/obj/monolith.dmi'
|
||||
icon_state = "jaggy1"
|
||||
layer = ABOVE_ALL_MOB_LAYER
|
||||
density = TRUE
|
||||
anchored = TRUE
|
||||
var/active = FALSE
|
||||
var/list/possible_colors = list("#232B2B", COLOR_ASTEROID_ROCK, COLOR_HULL)
|
||||
|
||||
/obj/structure/monolith/Initialize()
|
||||
. = ..()
|
||||
icon_state = "jaggy[rand(1,4)]"
|
||||
if(!color)
|
||||
color = pick(possible_colors)
|
||||
update_icon()
|
||||
|
||||
/obj/structure/monolith/update_icon()
|
||||
overlays.Cut()
|
||||
if(active)
|
||||
var/image/I = image(icon,"[icon_state]decor")
|
||||
I.appearance_flags = RESET_COLOR
|
||||
I.color = get_random_colour(0, 150, 255)
|
||||
I.layer = EFFECTS_ABOVE_LIGHTING_LAYER
|
||||
add_overlay(I)
|
||||
set_light(0.3, 0.1, 2, l_color = I.color)
|
||||
|
||||
var/turf/simulated/floor/exoplanet/T = get_turf(src)
|
||||
if(istype(T))
|
||||
var/image/I = overlay_image(icon, "dugin", T.dirt_color, RESET_COLOR)
|
||||
add_overlay(I)
|
||||
Reference in New Issue
Block a user