start_test turns electricity into a white "charge" within any of the 4 adjacents that are added by this mod
end_test turns these "charges" back into electricity
otherwise, each wireoid only moves "charge" in the direction(s) specified in its name
Right now, they only play * waves (using Web Audio API)
* frequency: frequency in Hz
* type: "sine", "square", "triangle", "sawtooth"
* end: "linear" for linear fade over length, "exponential" for exponential fade over length, anything else for the wave to stop abruptly after length (fades start immediately)
* length: duration of the sound
if it's a placer, it spawns movable things and should be considered movable for the purposes of auto-spout generation
it it's a baby, it is a movable thing
* Add a function in a pixel's "onTryMoveInto" property and that function will be executed when another pixel uses tryMove to attempt to move into that pixel.
* Form: function(pixel,otherPixel)
- "otherPixel" is the pixel that attempted the move.
- "pixel" is the pixel that otherPixel tried to move into.
* Note that this may be multiply executed if there are multiple pixels that can tryMove into the OTMI-using pixel's position.
requireMod(modName) returns true if the mod exists or false if it doesn't.
if doAlert is true, the user will be informed with an alert (there is not a way to specify which mod called the function, though).
if insertMod is true, the mod specified in modName will be automatically appended to enabledMods, though.
If simpleSandboxelsSubdomainMod is false, the function will expect a full URL mod.