Merge branch 'master' into upstream-merge-37529
This commit is contained in:
@@ -68,11 +68,20 @@ GLOBAL_LIST_INIT(blacklisted_automated_baseturfs, typecacheof(list(
|
||||
blueprint_data = null
|
||||
|
||||
var/list/old_baseturfs = baseturfs
|
||||
changing_turf = TRUE
|
||||
|
||||
var/list/transferring_comps = list()
|
||||
SendSignal(COMSIG_TURF_CHANGE, path, new_baseturfs, flags, transferring_comps)
|
||||
for(var/i in transferring_comps)
|
||||
var/datum/component/comp = i
|
||||
comp.RemoveComponent()
|
||||
|
||||
changing_turf = TRUE
|
||||
qdel(src) //Just get the side effects and call Destroy
|
||||
var/turf/W = new path(src)
|
||||
|
||||
for(var/i in transferring_comps)
|
||||
W.TakeComponent(i)
|
||||
|
||||
if(new_baseturfs)
|
||||
W.baseturfs = new_baseturfs
|
||||
else
|
||||
|
||||
@@ -44,6 +44,7 @@
|
||||
icon = 'icons/blank_title.png'
|
||||
icon_state = ""
|
||||
layer = FLY_LAYER
|
||||
bullet_bounce_sound = null
|
||||
|
||||
/turf/closed/indestructible/splashscreen/New()
|
||||
SStitle.splash_turf = src
|
||||
@@ -102,6 +103,8 @@
|
||||
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"
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
/turf/open
|
||||
plane = FLOOR_PLANE
|
||||
var/slowdown = 0 //negative for faster, positive for slower
|
||||
|
||||
var/mutable_appearance/wet_overlay
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
icon_state = "smooth"
|
||||
canSmoothWith = list(/turf/open/floor/fakepit, /turf/open/chasm)
|
||||
density = TRUE //This will prevent hostile mobs from pathing into chasms, while the canpass override will still let it function like an open turf
|
||||
bullet_bounce_sound = null //abandon all hope ye who enter
|
||||
|
||||
/turf/open/chasm/Initialize()
|
||||
. = ..()
|
||||
|
||||
@@ -67,6 +67,7 @@
|
||||
floor_tile = /obj/item/stack/tile/grass
|
||||
broken_states = list("sand")
|
||||
flags_1 = NONE
|
||||
bullet_bounce_sound = null
|
||||
var/ore_type = /obj/item/stack/ore/glass
|
||||
var/turfverb = "uproot"
|
||||
|
||||
@@ -93,6 +94,7 @@
|
||||
floor_tile = null
|
||||
initial_gas_mix = "o2=22;n2=82;TEMP=180"
|
||||
slowdown = 2
|
||||
bullet_sizzle = TRUE
|
||||
|
||||
/turf/open/floor/grass/snow/try_replace_tile(obj/item/stack/tile/T, mob/user, params)
|
||||
return
|
||||
@@ -142,6 +144,7 @@
|
||||
smooth = SMOOTH_TRUE
|
||||
canSmoothWith = list(/turf/open/floor/carpet)
|
||||
flags_1 = NONE
|
||||
bullet_bounce_sound = null
|
||||
|
||||
/turf/open/floor/carpet/examine(mob/user)
|
||||
..()
|
||||
|
||||
@@ -279,6 +279,8 @@
|
||||
planetary_atmos = TRUE
|
||||
archdrops = list(/obj/item/stack/sheet/mineral/snow = list(ARCH_PROB = 100, ARCH_MAXDROP = 5))
|
||||
burnt_states = list("snow_dug")
|
||||
bullet_sizzle = TRUE
|
||||
bullet_bounce_sound = null
|
||||
|
||||
/turf/open/floor/plating/asteroid/snow/burn_tile()
|
||||
if(!burnt)
|
||||
|
||||
@@ -88,6 +88,7 @@
|
||||
icon = 'icons/misc/beach.dmi'
|
||||
flags_1 = NONE
|
||||
attachment_holes = FALSE
|
||||
bullet_bounce_sound = null
|
||||
|
||||
/turf/open/floor/plating/beach/try_replace_tile(obj/item/stack/tile/T, mob/user, params)
|
||||
return
|
||||
@@ -144,6 +145,7 @@
|
||||
baseturfs = /turf/open/floor/plating/ice
|
||||
slowdown = 1
|
||||
attachment_holes = FALSE
|
||||
bullet_sizzle = TRUE
|
||||
|
||||
/turf/open/floor/plating/ice/Initialize()
|
||||
. = ..()
|
||||
|
||||
@@ -117,9 +117,8 @@
|
||||
|
||||
/turf/open/floor/engine/cult
|
||||
name = "engraved floor"
|
||||
desc = "The air hangs heavy over this sinister flooring."
|
||||
desc = "The air smells strangely over this sinister flooring."
|
||||
icon_state = "plating"
|
||||
CanAtmosPass = ATMOS_PASS_NO
|
||||
floor_tile = null
|
||||
var/obj/effect/clockwork/overlay/floor/bloodcult/realappearance
|
||||
|
||||
|
||||
@@ -437,7 +437,7 @@
|
||||
. = ..()
|
||||
|
||||
/turf/closed/mineral/gibtonite/attackby(obj/item/I, mob/user, params)
|
||||
if(istype(I, /obj/item/device/mining_scanner) || istype(I, /obj/item/device/t_scanner/adv_mining_scanner) && stage == 1)
|
||||
if(istype(I, /obj/item/mining_scanner) || istype(I, /obj/item/t_scanner/adv_mining_scanner) && stage == 1)
|
||||
user.visible_message("<span class='notice'>[user] holds [I] to [src]...</span>", "<span class='notice'>You use [I] to locate where to cut off the chain reaction and attempt to stop it...</span>")
|
||||
defuse()
|
||||
..()
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
layer = SPACE_LAYER
|
||||
baseturfs = /turf/open/indestructible/reebe_void
|
||||
planetary_atmos = TRUE
|
||||
bullet_bounce_sound = null //forever falling
|
||||
|
||||
/turf/open/indestructible/reebe_void/Initialize(mapload)
|
||||
. = ..()
|
||||
|
||||
@@ -167,6 +167,8 @@
|
||||
sheet_type = /obj/item/stack/sheet/mineral/snow
|
||||
canSmoothWith = null
|
||||
girder_type = null
|
||||
bullet_sizzle = TRUE
|
||||
bullet_bounce_sound = null
|
||||
|
||||
/turf/closed/wall/mineral/abductor
|
||||
name = "alien wall"
|
||||
|
||||
@@ -158,6 +158,7 @@
|
||||
canSmoothWith = null
|
||||
hardness = 35
|
||||
slicing_duration = 150 //welding through the ice+metal
|
||||
bullet_sizzle = TRUE
|
||||
|
||||
/turf/closed/wall/rust
|
||||
name = "rusted wall"
|
||||
|
||||
@@ -209,8 +209,8 @@
|
||||
place_poster(W,user)
|
||||
return TRUE
|
||||
//wall mounted IC assembly stuff
|
||||
else if(istype(W, /obj/item/device/electronic_assembly/wallmount))
|
||||
var/obj/item/device/electronic_assembly/wallmount/A = W
|
||||
else if(istype(W, /obj/item/electronic_assembly/wallmount))
|
||||
var/obj/item/electronic_assembly/wallmount/A = W
|
||||
A.mount_assembly(src, user)
|
||||
return TRUE
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
initial_gas_mix = LAVALAND_DEFAULT_ATMOS
|
||||
planetary_atmos = TRUE
|
||||
slowdown = 1
|
||||
bullet_sizzle = TRUE
|
||||
bullet_bounce_sound = null //needs a splashing sound one day.
|
||||
|
||||
/turf/open/water/Initialize()
|
||||
. = ..()
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
layer = SPACE_LAYER
|
||||
light_power = 0.25
|
||||
dynamic_lighting = DYNAMIC_LIGHTING_DISABLED
|
||||
bullet_bounce_sound = null
|
||||
|
||||
|
||||
/turf/open/space/basic/New() //Do not convert to Initialize
|
||||
|
||||
@@ -29,6 +29,10 @@
|
||||
var/requires_activation //add to air processing after initialize?
|
||||
var/changing_turf = FALSE
|
||||
|
||||
var/bullet_bounce_sound = 'sound/weapons/bulletremove.ogg' //sound played when a shell casing is ejected ontop of the turf.
|
||||
var/bullet_sizzle = FALSE //used by ammo_casing/bounce_away() to determine if the shell casing should make a sizzle sound when it's ejected over the turf
|
||||
//IE if the turf is supposed to be water, set TRUE.
|
||||
|
||||
/turf/vv_edit_var(var_name, new_value)
|
||||
var/static/list/banned_edits = list("x", "y", "z")
|
||||
if(var_name in banned_edits)
|
||||
@@ -339,7 +343,7 @@
|
||||
|
||||
for(var/V in contents)
|
||||
var/atom/A = V
|
||||
if(A.level >= affecting_level)
|
||||
if(!QDELETED(A) && A.level >= affecting_level)
|
||||
if(ismovableatom(A))
|
||||
var/atom/movable/AM = A
|
||||
if(!AM.ex_check(explosion_id))
|
||||
|
||||
Reference in New Issue
Block a user