add BCOL + NEUT -> SAWD, closes #471 and #472

This commit is contained in:
jacob1 2017-06-30 20:10:04 -04:00
parent 284e653aa5
commit d0f1024f95
2 changed files with 6 additions and 2 deletions

View File

@ -141,6 +141,10 @@ int Element_NEUT::update(UPDATE_FUNC_ARGS)
if (!(rand()%20)) if (!(rand()%20))
sim->create_part(r>>8, x+rx, y+ry, PT_WOOD); sim->create_part(r>>8, x+rx, y+ry, PT_WOOD);
break; break;
case PT_BCOL:
if (!(rand()%20))
sim->create_part(r>>8, x+rx, y+ry, PT_SAWD);
break;
case PT_DUST: case PT_DUST:
if (!(rand()%20)) if (!(rand()%20))
sim->part_change_type(r>>8, x+rx, y+ry, PT_FWRK); sim->part_change_type(r>>8, x+rx, y+ry, PT_FWRK);

View File

@ -26,11 +26,11 @@ Element_SAWD::Element_SAWD()
Weight = 18; Weight = 18;
Temperature = R_TEMP+0.0f +273.15f; Temperature = R_TEMP+273.15f;
HeatConduct = 70; HeatConduct = 70;
Description = "Sawdust. Floats on water."; Description = "Sawdust. Floats on water.";
Properties = TYPE_PART; Properties = TYPE_PART | PROP_NEUTPASS;
LowPressure = IPL; LowPressure = IPL;
LowPressureTransition = NT; LowPressureTransition = NT;