Content deleted Content added
No edit summary |
mNo edit summary |
||
Line 8: | Line 8: | ||
A sensor set to 0:1000 that sends signals through a blue polysilicon (Mode 1) will lower the rods when the temperature is between 0F and 1000F, increasing temperature. The opposite can be done with a pink polysilicon (Mode 0) and a 1000:1230 temperature range, which will raise them when the temperature is between 1000F and 1230F, therefore decreasing the temperature. The reactor will explode at 1200F, so the pink polysilicon is absolutely necessary. |
A sensor set to 0:1000 that sends signals through a blue polysilicon (Mode 1) will lower the rods when the temperature is between 0F and 1000F, increasing temperature. The opposite can be done with a pink polysilicon (Mode 0) and a 1000:1230 temperature range, which will raise them when the temperature is between 1000F and 1230F, therefore decreasing the temperature. The reactor will explode at 1200F, so the pink polysilicon is absolutely necessary. |
||
Additionally, you can place a Mode 2 polysilicon |
Additionally, you can place a Mode 2 (Flip-Flop) polysilicon to eject Uranium/NuclearWaste. |
||
To refill a reactor, you need to attach a microcontroller to the |
To refill a reactor automatically, you need to attach a microcontroller to the reactor, with a port touching a Dispenser and a Polysilicon (Mode2 and has to be touching the reactor). The code will use port ID 1 to read the reactor's fuel status, port ID 2 to control the dispenser and port ID 3 to eject [[nuclear waste]]. |
||
<syntaxhighlight lang="lua" line="1"> |
<syntaxhighlight lang="lua" line="1"> |
||
Line 20: | Line 20: | ||
for i = 1, #fuel do |
for i = 1, #fuel do |
||
if fuel[i] <= 0 then |
if fuel[i] <= 0 then |
||
TriggerPort(3) |
|||
dispenser:Dispense() |
dispenser:Dispense() |
||
wait(1) |
wait(1) |