simtr/The-Powder-Toy — pull request #201 by boxmein (2013-12-28 18:46:57+00:00)
Title: The element ERAY

### ERAY

*The Element Property Ray (PRAY)*

The Element that turns Children into Adults
The Element that turns DUST into exploding SING
The Element that turns your bomb into a feeble nothing
The Element that makes your self-replicator work
Powered by bit strings and a hundred-long Particle array in Simulation.cpp.

#### How to use

1. Write the fancy bit string for the element ( Add up the #defines you want from ERAY.h, or run `bit.bor(elem.ERAY_TYPE_BIT, ...)` ) and set that as TMP.

2. Select one of the 100 available slots for your copied element and set the pixel's TMP2 to the slot - 1. (so 0, 1, ..., 98, 99 are valid)

3. Spark it with PSCN to fire a beam to copy all properties of anything hit.
4. Spark it with any other metal to fire a beam and paste the properties you have set.

* Unknown behavior when sparked with 'any other metal' before cloning. Alternatively, deleting behavior.
* Bit string, when not set yet, defaults to ERAY_TYPE_BIT | ERAY_LIFE_BIT | ERAY_CTYPE_BIT

#### What it does

It's like portable PROP.