155 lines
4.6 KiB
Plaintext
155 lines
4.6 KiB
Plaintext
/turf/closed
|
|
layer = CLOSED_TURF_LAYER
|
|
opacity = 1
|
|
density = TRUE
|
|
blocks_air = 1
|
|
|
|
/turf/closed/ComponentInitialize()
|
|
. = ..()
|
|
AddComponent(/datum/component/rad_insulation, RAD_MEDIUM_INSULATION)
|
|
|
|
/turf/closed/ChangeTurf()
|
|
. = ..()
|
|
SSair.high_pressure_delta -= src
|
|
|
|
/turf/closed/get_smooth_underlay_icon(mutable_appearance/underlay_appearance, turf/asking_turf, adjacency_dir)
|
|
return FALSE
|
|
|
|
/turf/closed/CanPass(atom/movable/mover, turf/target)
|
|
if(istype(mover) && (mover.pass_flags & PASSCLOSEDTURF))
|
|
return TRUE
|
|
return ..()
|
|
|
|
/turf/closed/indestructible
|
|
name = "wall"
|
|
icon = 'icons/turf/walls.dmi'
|
|
explosion_block = 50
|
|
|
|
/turf/closed/indestructible/TerraformTurf(path, defer_change = FALSE, ignore_air = FALSE)
|
|
return
|
|
|
|
/turf/closed/indestructible/acid_act(acidpwr, acid_volume, acid_id)
|
|
return 0
|
|
|
|
/turf/closed/indestructible/oldshuttle
|
|
name = "strange shuttle wall"
|
|
icon = 'icons/turf/shuttleold.dmi'
|
|
icon_state = "block"
|
|
|
|
/turf/closed/indestructible/oldshuttle/corner
|
|
icon_state = "corner"
|
|
|
|
/turf/closed/indestructible/splashscreen
|
|
name = "Space Station 13"
|
|
icon = 'icons/blank_title.png'
|
|
icon_state = ""
|
|
layer = FLY_LAYER
|
|
bullet_bounce_sound = null
|
|
|
|
/turf/closed/indestructible/splashscreen/New()
|
|
SStitle.splash_turf = src
|
|
if(SStitle.icon)
|
|
icon = SStitle.icon
|
|
..()
|
|
|
|
/turf/closed/indestructible/splashscreen/vv_edit_var(var_name, var_value)
|
|
. = ..()
|
|
if(.)
|
|
switch(var_name)
|
|
if("icon")
|
|
SStitle.icon = icon
|
|
|
|
/turf/closed/indestructible/riveted
|
|
icon = 'icons/turf/walls/riveted.dmi'
|
|
icon_state = "riveted"
|
|
smooth = SMOOTH_TRUE
|
|
|
|
/turf/closed/indestructible/riveted/uranium
|
|
icon = 'icons/turf/walls/uranium_wall.dmi'
|
|
icon_state = "uranium"
|
|
|
|
/turf/closed/indestructible/abductor
|
|
icon_state = "alien1"
|
|
|
|
/turf/closed/indestructible/opshuttle
|
|
icon_state = "wall3"
|
|
|
|
/turf/closed/indestructible/fakeglass
|
|
name = "window"
|
|
icon_state = "fake_window"
|
|
opacity = 0
|
|
smooth = SMOOTH_TRUE
|
|
icon = 'icons/obj/smooth_structures/reinforced_window.dmi'
|
|
|
|
/turf/closed/indestructible/fakeglass/Initialize()
|
|
. = ..()
|
|
icon_state = null //set the icon state to null, so our base state isn't visible
|
|
underlays += mutable_appearance('icons/obj/structures.dmi', "grille") //add a grille underlay
|
|
underlays += mutable_appearance('icons/turf/floors.dmi', "plating") //add the plating underlay, below the grille
|
|
|
|
/turf/closed/indestructible/fakedoor
|
|
name = "CentCom Access"
|
|
icon = 'icons/obj/doors/airlocks/centcom/centcom.dmi'
|
|
icon_state = "fake_door"
|
|
|
|
/turf/closed/indestructible/rock
|
|
name = "dense rock"
|
|
desc = "An extremely densely-packed rock, most mining tools or explosives would never get through this."
|
|
icon = 'icons/turf/mining.dmi'
|
|
icon_state = "rock"
|
|
|
|
/turf/closed/indestructible/rock/snow
|
|
name = "mountainside"
|
|
desc = "An extremely densely-packed rock, sheeted over with centuries worth of ice and snow."
|
|
icon = 'icons/turf/walls.dmi'
|
|
icon_state = "snowrock"
|
|
bullet_sizzle = TRUE
|
|
bullet_bounce_sound = null
|
|
|
|
/turf/closed/indestructible/rock/snow/ice
|
|
name = "iced rock"
|
|
desc = "Extremely densely-packed sheets of ice and rock, forged over the years of the harsh cold."
|
|
icon = 'icons/turf/walls.dmi'
|
|
icon_state = "icerock"
|
|
|
|
/turf/closed/indestructible/paper
|
|
name = "thick paper wall"
|
|
desc = "A wall layered with impenetrable sheets of paper."
|
|
icon = 'icons/turf/walls.dmi'
|
|
icon_state = "paperwall"
|
|
|
|
/turf/closed/indestructible/necropolis
|
|
name = "necropolis wall"
|
|
desc = "A seemingly impenetrable wall."
|
|
icon = 'icons/turf/walls.dmi'
|
|
icon_state = "necro"
|
|
explosion_block = 50
|
|
baseturfs = /turf/closed/indestructible/necropolis
|
|
|
|
/turf/closed/indestructible/necropolis/get_smooth_underlay_icon(mutable_appearance/underlay_appearance, turf/asking_turf, adjacency_dir)
|
|
underlay_appearance.icon = 'icons/turf/floors.dmi'
|
|
underlay_appearance.icon_state = "necro1"
|
|
return TRUE
|
|
|
|
/turf/closed/indestructible/riveted/boss
|
|
name = "necropolis wall"
|
|
desc = "A thick, seemingly indestructible stone wall."
|
|
icon = 'icons/turf/walls/boss_wall.dmi'
|
|
icon_state = "wall"
|
|
canSmoothWith = list(/turf/closed/indestructible/riveted/boss, /turf/closed/indestructible/riveted/boss/see_through)
|
|
explosion_block = 50
|
|
baseturfs = /turf/closed/indestructible/riveted/boss
|
|
|
|
/turf/closed/indestructible/riveted/boss/see_through
|
|
opacity = FALSE
|
|
|
|
/turf/closed/indestructible/riveted/boss/get_smooth_underlay_icon(mutable_appearance/underlay_appearance, turf/asking_turf, adjacency_dir)
|
|
underlay_appearance.icon = 'icons/turf/floors.dmi'
|
|
underlay_appearance.icon_state = "basalt"
|
|
return TRUE
|
|
|
|
/turf/closed/indestructible/riveted/hierophant
|
|
name = "wall"
|
|
desc = "A wall made out of a strange metal. The squares on it pulse in a predictable pattern."
|
|
icon = 'icons/turf/walls/hierophant_wall.dmi'
|
|
icon_state = "wall" |