Skip to content

Commit

Permalink
Flag check
Browse files Browse the repository at this point in the history
  • Loading branch information
SabreML committed Dec 8, 2023
1 parent 078794c commit 50d32e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/game/turfs/walls/walls.dm
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@
/turf/closed/wall/get_examine_text(mob/user)
. = ..()

if(flags_turf & TURF_ORGANIC)
return // Skip everything below. 'Organic' walls aren't deconstructable with tools.
if(hull)
.+= SPAN_WARNING("You don't think you have any tools able to even scratch this.")
return //If it's indestructable, we don't want to give the wrong impression by saying "you can decon it with a welder"
Expand Down

0 comments on commit 50d32e8

Please sign in to comment.