Skip to content

Commit

Permalink
chem stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
uuuuhuuuu committed Jun 17, 2024
1 parent cf897e0 commit 577db48
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions code/game/objects/effects/effect_system/explosions.dm
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,13 @@
return
else
var/light = -1
var/flash = -1

light = max(-1, amount/8)
if (flash && flashing_factor) flash = light + 1
var/power = 120
var/falloff = (power*8)/amount

for(var/mob/M as anything in viewers(8, location))
to_chat(M, SPAN_WARNING("The solution violently explodes."))

explosion(location, -1, -1, light, flash)
cell_explosion(location, power, falloff, EXPLOSION_FALLOFF_SHAPE_LINEAR, null)
if(light > 0)
return TRUE

Expand Down

0 comments on commit 577db48

Please sign in to comment.