Make LITH->GLAS reaction easier
This commit is contained in:
parent
31f1b62a4c
commit
cea629c6c0
@ -3853,7 +3853,7 @@ void Simulation::UpdateParticles(int start, int end)
|
||||
}
|
||||
else if (t == PT_LAVA)
|
||||
{
|
||||
if (parts[i].ctype>0 && parts[i].ctype<PT_NUM && parts[i].ctype!=PT_LAVA && parts[i].ctype!=PT_LAVA && elements[parts[i].ctype].Enabled)
|
||||
if (parts[i].ctype > 0 && parts[i].ctype < PT_NUM && parts[i].ctype != PT_LAVA && elements[parts[i].ctype].Enabled)
|
||||
{
|
||||
if (parts[i].ctype == PT_THRM && pt >= elements[PT_BMTL].HighTemperature)
|
||||
s = 0;
|
||||
@ -3947,6 +3947,7 @@ void Simulation::UpdateParticles(int start, int end)
|
||||
else if (parts[i].ctype == PT_SAND) parts[i].ctype = PT_GLAS;
|
||||
else if (parts[i].ctype == PT_BGLA) parts[i].ctype = PT_GLAS;
|
||||
else if (parts[i].ctype == PT_PQRT) parts[i].ctype = PT_QRTZ;
|
||||
else if (parts[i].ctype == PT_LITH && parts[i].tmp2 > 3) parts[i].ctype = PT_GLAS;
|
||||
parts[i].life = RNG::Ref().between(240, 359);
|
||||
}
|
||||
transitionOccurred = true;
|
||||
|
@ -209,7 +209,7 @@ static int update(UPDATE_FUNC_ARGS)
|
||||
}
|
||||
}
|
||||
}
|
||||
if (self.temp > 440.f && burnTimer == 1000)
|
||||
if (burnTimer == 1000)
|
||||
{
|
||||
sim->part_change_type(i, x, y, PT_LAVA);
|
||||
if (carbonationFactor < 3)
|
||||
|
Reference in New Issue
Block a user