mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-01-15 03:27:46 +00:00
* Converts diggable from component to bespoke element (#67695) * Changes diggable to an element and fixes it, saving on some memory. * Converts diggable from component to bespoke element Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com>
18 lines
480 B
Plaintext
18 lines
480 B
Plaintext
/turf/open/misc/basalt
|
|
gender = NEUTER
|
|
name = "volcanic floor"
|
|
desc = "Rough volcanic floor that can be dug up for basalt."
|
|
icon = 'icons/turf/floors.dmi'
|
|
icon_state = "basalt"
|
|
initial_gas_mix = OPENTURF_LOW_PRESSURE
|
|
|
|
/turf/open/misc/basalt/Initialize(mapload)
|
|
. = ..()
|
|
AddElement(/datum/element/diggable, /obj/item/stack/ore/glass/basalt, 2)
|
|
if(prob(15))
|
|
icon_state = "basalt[rand(0, 12)]"
|
|
set_basalt_light(src)
|
|
|
|
/turf/open/misc/basalt/safe
|
|
planetary_atmos = FALSE
|