More progress

This commit is contained in:
Dahlular
2021-03-09 03:12:30 -07:00
parent c72cde0fab
commit b8f601203e
7 changed files with 461 additions and 229 deletions
+1 -1
View File
@@ -38,7 +38,7 @@
/datum/component/chasm/proc/is_safe()
//if anything matching this typecache is found in the chasm, we don't drop things
var/static/list/chasm_safeties_typecache = typecacheof(list(/obj/structure/lattice/catwalk, /obj/structure/stone_tile))
var/static/list/chasm_safeties_typecache = typecacheof(list(/obj/structure/lattice/catwalk, /obj/structure/lattice, /obj/structure/stone_tile))
var/atom/parent = src.parent
var/list/found_safeties = typecache_filter_list(parent.contents, chasm_safeties_typecache)
+3 -3
View File
@@ -5,17 +5,17 @@ area/layenia
blob_allowed = FALSE
requires_power = TRUE
outdoors = TRUE
dynamic_lighting = DYNAMIC_LIGHTING_DISABLED
dynamic_lighting = DYNAMIC_LIGHTING_FORCED
ambientsounds = MINING
area/layenia/cloudlayer
name = "Laneya clouds"
icon_state = "space"
dynamic_lighting = DYNAMIC_LIGHTING_DISABLED
dynamic_lighting = DYNAMIC_LIGHTING_FORCED
area/layenia/powered
name = "Layenia Powered"
icon_state = "mining"
icon_state = "centcom"
requires_power = FALSE
has_gravity = STANDARD_GRAVITY
noteleport = FALSE
+16
View File
@@ -92,6 +92,22 @@
heavyfootstep = FOOTSTEP_GENERIC_HEAVY
tiled_dirt = FALSE
/turf/open/indestructible/layenia/crystal
name = "Lattice Crystal"
desc = "A glowing azure crystal, with strange properties to make things float."
icon = 'icons/turf/floors/crystal_floor.dmi'
baseturfs = /turf/open/indestructible/layenia/crystal
slowdown = 1
light_range = 4
light_power = 0.5
barefootstep = FOOTSTEP_HARD_BAREFOOT
clawfootstep = FOOTSTEP_HARD_CLAW
heavyfootstep = FOOTSTEP_GENERIC_HEAVY
light_color = LIGHT_COLOR_BLUE
initial_gas_mix = FROZEN_ATMOS
smooth = SMOOTH_TRUE | SMOOTH_BORDER | SMOOTH_MORE
canSmoothWith = list(/turf/open/indestructible/layenia/crystal)
/turf/open/indestructible/necropolis
name = "necropolis floor"
desc = "It's regarding you suspiciously."
+3 -2
View File
@@ -122,5 +122,6 @@
desc = "Clouds as far as the eye can see... Or is it just fog? Best not fall into it."
icon = 'icons/turf/floors/cloud_chasm.dmi'
baseturfs = /turf/open/chasm/cloud
light_range = 1
light_power = 0.25
light_range = 5
light_power = 0.45
light_color = LIGHT_COLOR_WHITE
@@ -384,3 +384,16 @@
bullet_bounce_sound = null
digResult = /obj/item/stack/ore/glass/basalt
floor_variance = 50
light_range = 2
light_power = 0.15
light_color = LIGHT_COLOR_WHITE
/turf/open/floor/plating/asteroid/layenia/Initialize()
. = ..()
set_layenia_light(src)
/proc/set_layenia_light(turf/open/floor/B)
switch(B.icon_state)
if("layenia5", "layenia6")
B.set_light(2, 0.6, LIGHT_COLOR_BLUE) //more light