Skip to content

Commit

Permalink
Solider acid damages vehicle(not qdel)
Browse files Browse the repository at this point in the history
  • Loading branch information
The32bitguy committed Sep 27, 2024
1 parent 3b58bff commit 11832f8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions code/game/objects/effects/aliens.dm
Original file line number Diff line number Diff line change
Expand Up @@ -347,6 +347,11 @@
if(B && !B.unacidable) acid_t = B
else
for(var/obj/O in loc) //Find the first thing.

Check failure on line 349 in code/game/objects/effects/aliens.dm

View workflow job for this annotation

GitHub Actions / Run Linters

got '{', expected one of: '}', ';', if, while, do, for, spawn, switch, try, set, break, continue, del, var, return, CRASH, throw, goto, operator, term
if(istype(O, /obj/vehicle/multitile))

Check failure on line 350 in code/game/objects/effects/aliens.dm

View workflow job for this annotation

GitHub Actions / Run Linters

inconsistent multiple indentation: 2 > 1
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
Expand Down

0 comments on commit 11832f8

Please sign in to comment.