mirror of
https://github.com/The-Powder-Toy/The-Powder-Toy.git
synced 2025-04-01 21:12:57 +02:00
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))
|
||||
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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user