Skip to content

Commit

Permalink
Update aliens.dm
Browse files Browse the repository at this point in the history
  • Loading branch information
TobyThorne committed Dec 11, 2023
1 parent ff5646e commit 8dc454a
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions code/game/objects/effects/aliens.dm
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,36 @@
visible_message(SPAN("alium", "The acid melts \the [src] away into nothing!"))
. = TRUE
qdel(src)
return
acid_melted++

/turf/simulated/wall/acid_melt()
. = FALSE
switch(acid_melted)
if(0)
visible_message(SPAN("alium", "Acid splats all over \the [src] with a sizzle!"))
if(1 to 3)
visible_message(SPAN("alium", "The acid eats through \the [src]!"))
if(4)
visible_message(SPAN("alium", "The acid melts \the [src] away into nothing!"))
. = TRUE
dismantle_wall()
return
acid_melted++
return

/turf/simulated/floor/acid_melt()
. = FALSE
switch(acid_melted)
if(0)
visible_message(SPAN("alium", "Acid splats all over \the [src] with a sizzle!"))
if(1 to 3)
visible_message(SPAN("alium", "The acid eats through \the [src]!"))
if(4)
visible_message(SPAN("alium", "The acid melts \the [src] away into nothing!"))
. = TRUE
dismantle_floor()
return
acid_melted++

/*
Expand Down

0 comments on commit 8dc454a

Please sign in to comment.