fix lavaland anomalous crystal shuttle floors (#29183)

This commit is contained in:
warriorstar-orion
2025-05-01 22:32:22 +00:00
committed by GitHub
parent cc25e64336
commit 6a6bd64b6f
2 changed files with 26 additions and 4 deletions
@@ -473,3 +473,25 @@
/turf/simulated/floor/plating/nitrogen
oxygen = 0
nitrogen = MOLES_N2STANDARD + MOLES_O2STANDARD
/// Used in situations like the anomalous crystal where we want
/// floors that look and act like asteroid floors but aren't.
/// This doesn't allow you to dig sand out of it but whatever.
/turf/simulated/floor/plating/false_asteroid
gender = PLURAL
name = "volcanic floor"
baseturf = /turf/simulated/floor/plating/false_asteroid
icon_state = "basalt"
icon_plating = "basalt"
footstep = FOOTSTEP_SAND
barefootstep = FOOTSTEP_SAND
clawfootstep = FOOTSTEP_SAND
heavyfootstep = FOOTSTEP_GENERIC_HEAVY
var/environment_type = "basalt"
var/turf_type = /turf/simulated/floor/plating/false_asteroid
var/floor_variance = 20 //probability floor has a different icon state
/turf/simulated/floor/plating/false_asteroid/AfterChange(ignore_air, keep_cabling)
. = ..()
if(prob(floor_variance))
icon_plating = "[environment_type][rand(0,12)]"