new reaction suggested by Skylark: RFRG+NEUT=GAS/CAUS
This commit is contained in:
parent
32d834c351
commit
694bc6a9cb
@ -164,6 +164,12 @@ int Element_NEUT::update(UPDATE_FUNC_ARGS)
|
|||||||
if (!(rand()%20))
|
if (!(rand()%20))
|
||||||
parts[r>>8].life = 1500;
|
parts[r>>8].life = 1500;
|
||||||
break;
|
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:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user