Tidies up setup.dm, moves a bunch of vars to global.dm, changes the case of a couple.

This commit is contained in:
Zuhayr
2014-12-25 20:26:22 +10:30
parent 930e8c6e5d
commit 3997129390
10 changed files with 72 additions and 141 deletions

View File

@@ -724,15 +724,15 @@ steam.start() -- spawns the effect
var/light = -1
var/flash = -1
// Clamp all values to MAX_EXPLOSION_RANGE
// Clamp all values to max_explosion_range
if (round(amount/12) > 0)
devastation = min (MAX_EXPLOSION_RANGE, devastation + round(amount/12))
devastation = min (max_explosion_range, devastation + round(amount/12))
if (round(amount/6) > 0)
heavy = min (MAX_EXPLOSION_RANGE, heavy + round(amount/6))
heavy = min (max_explosion_range, heavy + round(amount/6))
if (round(amount/3) > 0)
light = min (MAX_EXPLOSION_RANGE, light + round(amount/3))
light = min (max_explosion_range, light + round(amount/3))
if (flash && flashing_factor)
flash += (round(amount/4) * flashing_factor)