new reaction suggested by Skylark: RFRG+NEUT=GAS/CAUS

This commit is contained in:
jacob1 2017-06-11 23:07:14 -04:00
parent 32d834c351
commit 694bc6a9cb

View File

@ -164,6 +164,12 @@ int Element_NEUT::update(UPDATE_FUNC_ARGS)
if (!(rand()%20))
parts[r>>8].life = 1500;
break;
case PT_RFRG:
if (rand()%2)
sim->create_part(r>>8, x+rx, y+ry, PT_GAS);
else
sim->create_part(r>>8, x+rx, y+ry, PT_CAUS);
break;
default:
break;
}