You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
640 B
20 lines
640 B
repeat density
|
|
{
|
|
expl = make_explosion1(random_range((x - (width / 2)), (x + (width / 2))), random_range((y - (height / 2)), (y + (height / 2))))
|
|
expl.depth = -300
|
|
expl.direction = random_range((expl_dir - 5), (expl_dir + 5))
|
|
expl.speed = random(expl_spd)
|
|
expl = make_smoke_explosion(random_range((x - (width / 2)), (x + (width / 2))), random_range((y - (height / 2)), (y + (height / 2))))
|
|
expl.depth = -300
|
|
expl.direction = random_range((expl_dir - 5), (expl_dir + 5))
|
|
expl.speed = random(expl_spd)
|
|
}
|
|
explosions -= 1
|
|
if (explosions > 0)
|
|
alarm[0] = 5
|
|
else
|
|
{
|
|
alarm[1] = 5
|
|
alarm[2] = smoke_steps
|
|
}
|