From 76699d2f7ebade4f83c5eb3c29b96e5a01d6628d Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sun, 27 Jun 2021 18:39:51 -0400 Subject: [PATCH] Make ROCK harder to get, greatly increase ACID resistance This helps prevent ROCK from appearing in normal situations, which can easily get to pressure > 2 just from the movement of the falling LAVA. --- src/simulation/elements/FIRE.cpp | 2 +- src/simulation/elements/ROCK.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/simulation/elements/FIRE.cpp b/src/simulation/elements/FIRE.cpp index 77b2c9416..e4390ef57 100644 --- a/src/simulation/elements/FIRE.cpp +++ b/src/simulation/elements/FIRE.cpp @@ -131,7 +131,7 @@ int Element_FIRE_update(UPDATE_FUNC_ARGS) } } } - else if (parts[i].ctype == PT_STNE && sim->pv[y / CELL][x / CELL] >= 2.0f) // Form ROCK with pressure + else if (parts[i].ctype == PT_STNE && sim->pv[y / CELL][x / CELL] >= 30.0f) // Form ROCK with pressure { parts[i].tmp2 = RNG::Ref().between(0, 10); // Provide tmp2 for color noise parts[i].ctype = PT_ROCK; diff --git a/src/simulation/elements/ROCK.cpp b/src/simulation/elements/ROCK.cpp index e3c47b213..96239433d 100644 --- a/src/simulation/elements/ROCK.cpp +++ b/src/simulation/elements/ROCK.cpp @@ -25,7 +25,7 @@ void Element::Element_ROCK() Flammable = 0; Explosive = 0; Meltable = 5; - Hardness = 70; + Hardness = 1; Weight = 100;