Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
add BCOL + NEUT -> SAWD, closes #471 and #472
  • Loading branch information
jacob1 committed Jul 1, 2017
1 parent 284e653 commit d0f1024
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions src/simulation/elements/NEUT.cpp
Expand Up @@ -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);
Expand Down
4 changes: 2 additions & 2 deletions src/simulation/elements/SAWD.cpp
Expand Up @@ -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;
Expand Down

0 comments on commit d0f1024

Please sign in to comment.