×
Create a new article
Write your page title here:
We currently have 277 articles on Waste Of Space Wiki. Type your article name above or create one of the articles listed here!



    Waste Of Space Wiki

    Automatic Reactor: Difference between revisions

    Content deleted Content added
    Added more explainations onto the code itself (Also Title-Cased Titles and bolder warnings)
    m Fixed uranium leak caused by ejecting an empty fuel rod at startup, remove mass uranium leak warning
    Line 1: Line 1:
    <br />'''''Warning: automatic reactors that use microcontroller need you to know lua pilot, wiki code below is not good and can cause mass uranium leak.'''''
    <br />'''''Warning: automatic reactors that use microcontroller need you to know lua pilot'''''


    ''It is recommended to use delay wire auto reactors''
    ''It is recommended to use delay wire auto reactors''
    Line 55: Line 55:
    for i=1, #fuel do
    for i=1, #fuel do
    if fuel[i] <= eject_treshold then
    if fuel[i] <= eject_treshold then
    -- Don't eject when there no fuel in there
    TriggerPort(3) -- Eject fuel
    if fuel[i] ~= 0 then
    TriggerPort(3) -- Eject fuel
    end
    dispenser:Dispense() -- Dispense fresh fuel
    dispenser:Dispense() -- Dispense fresh fuel
    wait(1)
    wait(1)
    Cookies help us deliver our services. By using our services, you agree to our use of cookies.

    Recent changes

  • Jo857294 • 21 hours ago
  • 116.111.185.163 • 13 days ago
  • 116.111.185.163 • 13 days ago
  • 116.111.185.163 • 13 days ago
  • Cookies help us deliver our services. By using our services, you agree to our use of cookies.