forked from Mirrors/openclonk
Fixed volcano lava chunks
parent
cb15430464
commit
9ad28f470e
|
@ -154,6 +154,7 @@ private func Erupt()
|
|||
|
||||
// Cast other particles (lava chunks, ashes, ashclouds).
|
||||
if (!Random(6))
|
||||
if (WildcardMatch(MaterialName(mat), "*Lava*"))
|
||||
CastObjects(LavaChunk, 1, 60, 0, 0, 0, 40);
|
||||
|
||||
// Reduce strength.
|
||||
|
|
|
@ -44,7 +44,7 @@ func Initialize()
|
|||
// Some natural disasters, earthquakes, volcanos, meteorites.
|
||||
Meteor->SetChance(15);
|
||||
Earthquake->SetChance(2);
|
||||
Volcano->SetChance(0);
|
||||
Volcano->SetChance(4);
|
||||
Volcano->SetMaterial("DuroLava");
|
||||
|
||||
// Vegetation.
|
||||
|
|
Loading…
Reference in New Issue