mirror of
https://github.com/KabKebab/GS13.git
synced 2026-07-16 18:36:54 +01:00
More progress
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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."
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user