Add a reaction to produce BCOL
This commit is contained in:
parent
9413a1f0b6
commit
85ab70adb3
@ -52,6 +52,14 @@ static int update(UPDATE_FUNC_ARGS)
|
||||
{
|
||||
if (parts[i].temp > 450 && parts[i].temp > parts[i].tmp)
|
||||
parts[i].tmp = (int)parts[i].temp;
|
||||
|
||||
if (parts[i].temp > 773.0f && sim->pv[y/CELL][x/CELL] <= -10.0f)
|
||||
{
|
||||
float temp = parts[i].temp;
|
||||
sim->create_part(i, x, y, PT_BCOL);
|
||||
parts[i].temp = temp;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user