mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-08-11 10:54:15 +02:00
new reaction suggested by Skylark: RFRG+NEUT=GAS/CAUS
This commit is contained in:
@@ -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