Permalink
Browse files

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

  • Loading branch information...
jacob1 committed Jul 1, 2017
1 parent 284e653 commit d0f1024f95580b35e7e10c9599047b8592f187cd
Showing with 6 additions and 2 deletions.
  1. +4 −0 src/simulation/elements/NEUT.cpp
  2. +2 −2 src/simulation/elements/SAWD.cpp
@@ -141,6 +141,10 @@ int Element_NEUT::update(UPDATE_FUNC_ARGS)
if (!(rand()%20))
sim->create_part(r>>8, x+rx, y+ry, PT_WOOD);
break;
case PT_BCOL:
if (!(rand()%20))
sim->create_part(r>>8, x+rx, y+ry, PT_SAWD);
break;
case PT_DUST:
if (!(rand()%20))
sim->part_change_type(r>>8, x+rx, y+ry, PT_FWRK);
@@ -26,11 +26,11 @@ Element_SAWD::Element_SAWD()
Weight = 18;
Temperature = R_TEMP+0.0f +273.15f;
Temperature = R_TEMP+273.15f;
HeatConduct = 70;
Description = "Sawdust. Floats on water.";
Properties = TYPE_PART;
Properties = TYPE_PART | PROP_NEUTPASS;
LowPressure = IPL;
LowPressureTransition = NT;

0 comments on commit d0f1024

Please sign in to comment.