Skip to content

Commit

Permalink
Turf damage propogation changes (#10219)
Browse files Browse the repository at this point in the history
  • Loading branch information
PowerfulBacon authored Dec 1, 2023
1 parent 42af247 commit de5899b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
3 changes: 2 additions & 1 deletion code/game/turfs/open/floor/plating.dm
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
barefootstep = FOOTSTEP_HARD_BAREFOOT
clawfootstep = FOOTSTEP_HARD_CLAW
heavyfootstep = FOOTSTEP_GENERIC_HEAVY
max_integrity = 600
max_integrity = 900
var/attachment_holes = TRUE

FASTDMM_PROP(\
Expand Down Expand Up @@ -123,6 +123,7 @@
name = "metal foam plating"
desc = "Thin, fragile flooring created with metal foam."
icon_state = "foam_plating"
max_integrity = 300

/turf/open/floor/plating/foam/burn_tile()
return //jetfuel can't melt steel foam
Expand Down
3 changes: 3 additions & 0 deletions code/game/turfs/open/floor/plating/misc_plating.dm
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
name = "alien floor"
icon_state = "alienpod1"
tiled_dirt = FALSE
max_integrity = 1800

/turf/open/floor/plating/abductor/Initialize(mapload)
. = ..()
Expand All @@ -21,6 +22,7 @@
name = "alien plating"
icon_state = "alienplating"
tiled_dirt = FALSE
max_integrity = 1800

/turf/open/floor/plating/abductor2/break_tile()
return //unbreakable
Expand Down Expand Up @@ -112,6 +114,7 @@
heavyfootstep = FOOTSTEP_GENERIC_HEAVY
max_integrity = 100
resistance_flags = INDESTRUCTIBLE
max_integrity = 300

/turf/open/floor/plating/beach/try_replace_tile(obj/item/stack/tile/T, mob/user, params)
return
Expand Down
3 changes: 2 additions & 1 deletion code/game/turfs/turf_integrity.dm
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@
return
// Cascade turf damage downwards on destruction
if (additional_damage > 0)
take_damage(additional_damage, BRUTE, damage_flag, FALSE)
if (damage_flag == BOMB || damage_flag == ACID || damage_flag == FIRE)
take_damage(additional_damage, BRUTE, damage_flag, FALSE)

//====================================
// Generic Hits
Expand Down

0 comments on commit de5899b

Please sign in to comment.