Skip to content

Rearranging the Rows

Sam Mackrill edited this page Nov 10, 2020 · 3 revisions

Manually Rearranging the Rows

  • This is a temporary process before something friendlier is implemented
  • Edit the master programming board
  • Select the unit slot
  • Select to start() filter
  • Paste in the cleartext code from here: start.lua
  • Navigate to the display formatting, will look like this:
    if displayLow then
        local html=H.h1..H.d1..H.t2
        local html=H.h1..H.d1..H.t2

        html=html..newHTMLHeader("T3 Ores", "T3 Pures")
        html=html..newHTMLRow("Petalite", "Lithium")
        html=html..newHTMLRow("Garnierite", "Nickel")
        html=html..newHTMLRow("Pyrite", "Sulfur")
        html=html..newHTMLRow("Acanthite", "Silver")

        html=html..newHTMLHeader("T2 Ores", "T2 Pures")
        html=html..newHTMLRow("Natron", "Sodium")
        html=html..newHTMLRow("Malachite", "Copper")
        html=html..newHTMLRow("Limestone", "Calcium")
        html=html..newHTMLRow("Chromite", "Chromium")
        
        html=html..newHTMLHeader("T1 Ores", "T1 Pures")
        html=html..newHTMLRow("Bauxite", "Aluminium")
        html=html..newHTMLRow("Coal", "Carbon")
        html=html..newHTMLRow("Hematite", "Iron")
        html=html..newHTMLRow("Quartz", "Silicon")

        html=html..newHTMLHeader("H₂", "O₂")
        html=html..newHTMLRow("Hydrogen", "Oxygen")
        html=html..newHTMLRow("Hydrogen", "Oxygen", true)
       
        html=html..H.r1..H.th4..H.re
        html=html..H.te..H.de
        displayLow.setHTML(html)
    end
  • Rearrange as required, order in code is as displayed
  • You can move the rows between displays by copying the lines to the appropriate if block
  • Apply changes
  • Restart the board

Clone this wiki locally