Fixes corrosive acid, makes most important things unacidable

Makes pretty much anything important to the crew unacidable, fixes how acid interacts with floors.
This commit is contained in:
Sym
2021-08-14 10:49:44 -04:00
parent 599c79a0ce
commit ed7f4b9e75
61 changed files with 85 additions and 12 deletions
+6 -2
View File
@@ -164,6 +164,7 @@
icon_state = "weeds"
anchored = TRUE
density = FALSE
unacidable = TRUE
plane = TURF_PLANE
layer = ABOVE_TURF_LAYER
@@ -402,10 +403,13 @@
for(var/mob/O in hearers(src, null))
O.show_message("<span class='alium'>[src.target] collapses under its own weight into a puddle of goop and undigested debris!</span>", 1)
if(istype(target, /turf/simulated/wall)) // I hate turf code.
if(iswall(target)) //Gurgs : Spruced up corrosive acid
var/turf/simulated/wall/W = target
W.dismantle_wall(1)
else
if(isfloor(target))
var/turf/simulated/floor/T = target
T.ex_act(1)
else if(isobj(target))
qdel(target)
qdel(src)
return