MatterOverdrive
MatterOverdrive copied to clipboard
More orientation options for vertical fusion reactors
In the current mod, the only way to build a vertical fusion reactor is to build the ring in the east-west orientation with the controller on the top or the bottom. There is no way to build a vertical reactor with the controller on the side of the ring, and there is no way at all to build a vertical reactor oriented north-south.
For a given controller position, there are 12 rings that could have a controller in that position:
- Horizontal or vertical in each of the four compass directions
- Above and below, aligned either N/S or E/W
Unfortuntely, the controller code only allows for six of these, decided by the six directions the block faces. For compass directions, it only allows horizontal rings. For up and down direction, it only allows the ring to be east/west.
The recommendation is to allow a reactor to be built in all 12 possible rings for a controller. Here are two ways to do this:
-
Allow the controller to detect when a reactor is completed that doesn't conform to the visible guide blocks. During a scan, this could either a) check both of the two rings in the direction the controller is facing, or b) check all 12 rings, and if one is found rotate the controller accordingly.
-
Allow the guide blocks to be rotated 90 degrees along an axis through the controller screen, possibly via shift-rightclick with a wrench or some other mechanism. For a horizontal block facing, this would change the guide ring between vertical and horizontal in the desired direction. For controller block facing up/down, this would switch the guide ring between east/west and north/south.