print("WÄHLE AUS")
print("Rohstoffproduktion [1]")
print("Transport [2]")
print("Aktionen Stoppen [3]")
write("AUSWAHL: ")
a = read()
if a == ("1") then
print("Cobblestone [1] Sand(benötigt cobble) [2]")
print("Cleanstone [3] Panes [4]")
print("ALLES (WARNUNG!NUR BEI AUSREICHEND COBBLE) [5]")
print("zurück [6]")
write("AUSWAHL: ")
b = read()
if b == ("1") then
print("Cobblestone wird Produziert")
c = colors.combine( colors.green )
rs.setBundledOutput( "back", c )
sleep(2)
shell.run("disk/startup")
end
if b == ("2") then
c = colors.combine( colors.brown )
rs.setBundledOutput( "back", c )
print("starte macerator (dies dauert eine weile)")
sleep(3.75)
for i = 0, 100,1 do
sleep(3.75)
print(i .. "%")
end
print("100%!!!starte Sandproduktion")
c = colors.combine( cyan )
rs.setBundledOutput( "back", c )
end
if b == ("3") then
print("Heize öfen auf (dies dauert eine weile)")
c = colors.combine( yellow )
rs.setBundledOutput("back", c )
sleep(5)
for i = 0, 100,1 do
sleep(5)
print(i .. "%")
end
print("100%!!!starte Stoneproduktion")
c = colors.combine( blue )
rs.setBundledOutput( "back", c )
sleep(3)
shell.run("disk/startup")
end
if b == ("4") then
print("Panes werden hergestellt")
c = colors.combine( colors.white )
rs.setBundledOutput( "back", c )
end
if b == ("5") then
print("WARNUNG ALLE SYSTEME WERDEN GESTARTET!")
write(" J/N ?")
c = read()
if c == ("J") then
for z=15,0,-1 do
rs.setOutput("top", true )
sleep(0.5)
rs.setOutput("top", false )
sleep(0.5)
end
print("Bereite Supergau vor (dies dauert eine weile)")
c = colors.combine ( colors.brown, colors.yellow )
sleep(5)
for i = 0, 100,1 do
sleep(5)
print(i .. "%")
end
print("100%!!!starte Produktion")
c = colors.combine( colors.brown, colors.yellow, colors.green )
rs.setBundledOutput( "back", c )
shell.run("disk/startup")
end
if c == ("N") then
print("Dann nicht")
sleep(2)
shell.run("disk/startup")
end
end
if b == ("6") then
print("gehe zurück")
shell.run("disk/startup")
end
end
if a == ("2") then
print("WÄHLE AUS")
print("Cobble->Verarbeiter[1]")
print("Sand->Ofen[2]")
print("Glass->Crafting[3]")
print("Redstone->Puffer[4]")
print("ALLES->Puffer(unsicher)[5]")
print("Puffer->Sortierer[6]")
print("Sortierer->Spender[7]")
print("Spender->Craften[8]")
Print("Crafting->Lager[9]")
write("AUSWAHL: ")
d = read()
if d == ("1") then
print("Transportiere Cobblestone zum Ofen")
c = colors.combine( colors.blue )
rs.setBundledOutput( "back", c )
shell.run("disk/startup")
end
if d == ("2") then
print("Transportiere Sand zum Ofen")
c = colors.combine( colors.black )
rs.setBundledOutput("back", c )
shell.run("disk/startup")
end
end
hope for help
PS:it was created with Notepad++
[attachment=134:startup.txt]