Merge pull request #7247 from VOREStation/Arokha/erisfloors

Port various auto-decorating floors from Eris
This commit is contained in:
Atermonera
2020-05-31 15:37:51 -07:00
committed by GitHub
24 changed files with 1291 additions and 30 deletions
@@ -981,7 +981,10 @@ var/global/list/damage_icon_parts = list() //see UpdateDamageIcon()
if(!depth || lying)
return
overlays_standing[WATER_LAYER] = image(icon = 'icons/mob/submerged.dmi', icon_state = "human_swimming_[depth]", layer = BODY_LAYER+WATER_LAYER) //TODO: Improve
var/atom/A = loc // We'd better be swimming and on a turf
var/image/I = image(icon = 'icons/mob/submerged.dmi', icon_state = "human_swimming_[depth]", layer = BODY_LAYER+WATER_LAYER) //TODO: Improve
I.color = A.color
overlays_standing[WATER_LAYER] = I
apply_layer(WATER_LAYER)