OpenComputers API

## Component: `rbmk_console`

Connect the cable to the console's origin block. Columns are referenced by their (x, y) position as shown on the console display (0,0 is located in the bottom left).

Where color is referenced, use its ordinal number.
 1
 2
 3
 4

### Methods

1. `**getColumnData(x:int, y:int); R**etrieves data for column located at (x,y).`
	* Returns: Table -
		+ `"type"`: The type of the column.
		+ `"hullTemp"`: The temperature of the column's hull.
		+ `"realSimWater"`: The amount of reasim water in the column.
		+ `"realSimSteam"`: The amount of reasim steam in the column.
		+ `"moderated"`: Whether the column is moderated (true or false).
		+ `"level"`: The retraction level of the control rod.
		+ `"color"`: The color of the control rod.
		+ `"enrichment"`: The enrichment level of the column's fuel.
		+ `"xenon"`: The xenon level within the column.
		+ `"coreSkinTemp"`: The skin temperature of the column's core.
		+ `"coreTemp"`: The internal temperature of the column's core.
		+ `"coreMaxTemp"`: The core skin heat tolerance.
		+ Additional data, if applicable to column type:
			- `"fluxSlow"`: The slow flux of the column (Rod).
			- `"fluxFast"`: The fast flux of the column (Rod).
			- `"water"`: The amount of water in the column (Boiler).
			- `"steam"`: The amount of steam in the column (Boiler).
			- `"fluxProgress"`: The flux progress of the column (Outgasser).
			- `"requiredFlux"`: The required flux for the column (Outgasser).
			- "degreesCooledPerTick": The number of degrees cooled on the last tick (Freezer).
			- "cryogel": The amount of cryogel in the column (Freezer).
			- "coolant": The amount of coolant fluid in the column (Heater).
			- "hotcoolant": The amount of hot coolant fluid in the column (Heater).
2. `**getRBMKPos(); R**etrieves the position of the connected central RBMK column.`
	* Returns: Table -
		+ `"rbmkCenterX"`: The X coordinate of the central column.
		+ `"rbmkCenterY"`: The Y coordinate of the central column.
		+ `"rbmkCenterZ"`: The Z coordinate of the central column.
3. `**setLevel(level: double);** Set retraction of all control rods given 0≤level≤1.`
4. `**setColumnLevel(x:int, y:int, level:double);** set retraction of control rod @(x,y) given 0≤level≤1.`
5. `**setColorLevel(color:int, level:double);** set retraction of control rods of color given 0≤level≤1.`
6. **`setColor(x:int, y:int, color:int);`** `set color of control rod @(x,y)`
7. `**pressAZ5();** shut down EVERYTHING!!`

## Component: `rbmk_crane`

Connect the cable to the console's origin block.

### Methods

1. **`moveUp():`** `move the crane up 1 block.`
2. **`moveDown():`** `move the crane down 1 block.`
3. **`moveLeft():`** `move the crane left 1 block.`
4. **`moveRight():`** `move the crane right 1 block.`
5. **`moveUpLeft():`** `move the crane up and left 1 block.`
6. **`moveUpRight():`** `move the crane up and right 1 block.`
7. **`moveDownLeft():`** `move the crane down and left 1 block.`
8. **`moveDownRight():`** `move the crane down and right 1 block.`
9. **`loadUnload():`** `starts loading/unloading of items. (no animation :c)`
10. **`getPos():`** `get the (x, y) crane displacements. (0,0) is located at center column. x=right, y=up.`