From 11832f890775677e7a44daae8b4fdee4d3f9c69f Mon Sep 17 00:00:00 2001 From: The32bitguy <35638613+The32bitguy@users.noreply.github.com> Date: Fri, 27 Sep 2024 19:57:37 +0100 Subject: [PATCH] Solider acid damages vehicle(not qdel) --- code/game/objects/effects/aliens.dm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/code/game/objects/effects/aliens.dm b/code/game/objects/effects/aliens.dm index 8753fa7a35..3f2b5585e4 100644 --- a/code/game/objects/effects/aliens.dm +++ b/code/game/objects/effects/aliens.dm @@ -347,6 +347,11 @@ if(B && !B.unacidable) acid_t = B else for(var/obj/O in loc) //Find the first thing. + if(istype(O, /obj/vehicle/multitile)) + var/obj/vehicle/multitile/acid_vehicle = O + acid_vehicle.take_damage_type(100 / src.acid_delay, "acid", src) + visible_message(SPAN_XENOWARNING("\the [acid_vehicle] is burnt by the strong acid blood!")) + continue //We just damaged it, to not break proc would completely melt the vehicle. if(O.unacidable || istype(O, /obj/effect)) continue //Not unacidable things or effects. Don't want to melt xenogibs. acid_t = O break