Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("left")
- mon.setTextScale(1.5)
- mon.setBackgroundColor(32768)
- mon.setCursorPos(1,1)
- mon.clear()
- function calc_color(color)
- return math.pow(2, color - 1)
- end
- function msg(gap, line, color, groundb, text)
- mon.setBackgroundColor(calc_color(groundb))
- mon.setCursorPos(gap,line)
- mon.setTextColor(calc_color(color))
- text = mon.write(text)
- end
- function Clear()
- mon.setBackgroundColor(32768)
- mon.setCursorPos(1,1)
- mon.clear()
- end
- function MainTopEnglish()
- msg(17,03,01,16," please select ")
- for i = 6,10 do
- msg(08,i,15,15," ") msg(26,i,15,15," ")
- end
- msg(13,08,01,15,"Ranks")
- msg(31,08,01,15,"Kits")
- end
- function MainBotEnglish()
- msg(01,14,09,16,"------------------------------------------------")
- for i = 15,17 do
- msg(03,i,16,01," ") msg(19,i,16,01," ") msg(35,i,16,01," ")
- end
- msg(05,16,16,01,"Deutsch") msg(22,16,16,01,"back") msg(37,16,16,01,"English")
- end
- function MainTopDeutsch()
- msg(18,03,01,16," bitte wählen ")
- for i = 6,10 do
- msg(08,i,15,15," ") msg(26,i,15,15," ")
- end
- msg(13,08,01,15,"Ränge")
- msg(31,08,01,15,"Kits")
- end
- function MainBotDeutsch()
- msg(01,14,09,16,"------------------------------------------------")
- for i = 15,17 do
- msg(03,i,16,01," ") msg(19,i,16,01," ") msg(35,i,16,01," ")
- end
- msg(05,16,16,01,"Deutsch") msg(21,16,16,01,"zurück") msg(37,16,16,01,"English")
- end
- ------------------------------------------------------------------------------------------------------
- function Rank1English()
- msg(02,02,06,16,"Resident")
- msg(13,02,09,16,"Counted Blocks -> /counter")
- msg(13,03,09,16,"Warp Points -> /warps")
- msg(13,04,09,16,"Max Home Points 2 -> /sethome name")
- msg(13,05,09,16,"Starter Kit -> /kit starter")
- msg(13,06,09,16,"Back Port Perms -> /back")
- msg(13,07,09,16,"Claims List -> /claimslist")
- msg(13,08,09,16,"Performance Info. -> /performance")
- msg(13,09,09,16,"Currencies/Money -> /money")
- msg(13,10,09,16,"")
- msg(13,11,09,16,"")
- msg(13,12,09,16,"")
- end
- function Rank2English()
- msg(02,04,01,16,"Iron")
- msg(13,02,09,16,"Buyable for 40 Ingame Coupones or")
- msg(13,03,09,16,"11.90 Euro Donation at lycodon.com")
- msg(13,04,09,16,"")
- msg(13,05,09,16,"- 7x Home")
- msg(13,06,09,16,"- Keep-Inv + Keep-XP")
- msg(13,07,09,16,"- /kit Iron (every 24h)")
- msg(13,08,09,16," * 2x MV Solar Panel")
- msg(13,09,09,16," * 2x LV Transformer")
- msg(13,10,09,16," * 1x Reward Crate")
- msg(13,11,09,16,"- 20000$")
- msg(13,12,09,16,"- 16x Coupone")
- end
- function Rank3English()
- msg(02,06,02,16,"Gold")
- msg(13,02,09,16,"Buyable for 100 Ingame Coupones or")
- msg(13,03,09,16,"29.75 Euro Donation at lycodon.com")
- msg(13,04,09,16,"")
- msg(13,05,09,16,"- 10x Home + /fly + /heal + /god")
- msg(13,06,09,16,"- Keep-Inv + Keep-XP")
- msg(13,07,09,16,"- /kit Gold (every 24h)")
- msg(13,08,09,16," * 4x MV Solar Panel")
- msg(13,09,09,16," * 2x MV Transformer")
- msg(13,10,09,16," * 1x Reward Crate")
- msg(13,11,09,16,"- 45000$ + 30x Coupone")
- msg(13,12,09,16,"- Landmark Perms for your Quarry")
- end
- function Rank4English()
- msg(02,08,04,16,"Diamond")
- msg(13,02,09,16,"Buyable for 200 Ingame Coupones or")
- msg(13,03,09,16,"59.50 Euro Donation at lycodon.com")
- msg(13,04,09,16,"")
- msg(13,05,09,16,"- 15x Home + /fly + /heal + /god")
- msg(13,06,09,16,"- Keep-Inv + Keep-XP + /repair")
- msg(13,07,09,16,"- /kit Diamond (every 24h)")
- msg(13,08,09,16," * 1x HV Solar Panel")
- msg(13,09,09,16," * 1x HV Transformer")
- msg(13,10,09,16," * 1x Reward Crate")
- msg(13,11,09,16,"- 95000$ + 60x Coupone")
- msg(13,12,09,16,"- Landmark Perms for your Quarry")
- end
- function Rank5English()
- msg(02,10,10,16,"Stammi")
- msg(13,02,09,16,"This rank can only be achieved")
- msg(13,03,09,16,"Ingame with the achievement Stammi")
- msg(13,04,09,16,"aptitude and 7 days of playtime.")
- msg(13,05,09,16,"")
- msg(13,06,09,16,"- 4x Home")
- msg(13,07,09,16,"- Keep-Inv + Keep-XP")
- msg(13,08,09,16,"- more counter Blocks")
- msg(13,09,09,16,"")
- msg(13,10,09,16,"- Spotloader:")
- msg(13,11,09,16," * a chunk remains loaded")
- msg(13,12,09,16," as long as you are online.")
- end
- function Rank6English()
- msg(02,12,10,16,"Stammi+")
- msg(13,02,09,16,"This rank can only be achieved")
- msg(13,03,09,16,"Ingame with the achievement Stammi")
- msg(13,04,09,16,"aptitude and 21 days of playtime.")
- msg(13,05,09,16,"")
- msg(13,06,09,16,"- 6x Home + /weather + /enderchest")
- msg(13,07,09,16,"- Keep-Inv + Keep-XP")
- msg(13,08,09,16,"- more counter Blocks")
- msg(13,09,09,16,"- Turtles and Tradesigns useable")
- msg(13,10,09,16,"- Spotloader:")
- msg(13,11,09,16," * a chunk remains loaded")
- msg(13,12,09,16," as long as you are online.")
- end
- function Rank1Deutsch()
- msg(02,02,06,16,"Resident")
- msg(13,02,09,16,"Limitierte Blöcke -> /counter")
- msg(13,03,09,16,"Warp Punkte -> /warps")
- msg(13,04,09,16,"Max Home Punkte 2 -> /sethome name")
- msg(13,05,09,16,"Anfänger Kit -> /kit starter")
- msg(13,06,09,16,"Zurück TP-Rechte -> /back")
- msg(13,07,09,16,"Grundstücksliste -> /claimslist")
- msg(13,08,09,16,"Performance Info. -> /performance")
- msg(13,09,09,16,"Währungen / Geld -> /money")
- msg(13,10,09,16,"")
- msg(13,11,09,16,"")
- msg(13,12,09,16,"")
- end
- function Rank2Deutsch()
- msg(02,04,01,16,"Iron")
- msg(13,02,09,16,"Kaufbar für 40 Ingame Coupones oder")
- msg(13,03,09,16,"11.90 Euro Spende auf lycodon.com")
- msg(13,04,09,16,"")
- msg(13,05,09,16,"- 7x Home")
- msg(13,06,09,16,"- Keep-Inv + Keep-XP")
- msg(13,07,09,16,"- /kit Iron (alle 24h)")
- msg(13,08,09,16," * 2x MV Solar Panel")
- msg(13,09,09,16," * 2x LV Transformer")
- msg(13,10,09,16," * 1x Reward Crate")
- msg(13,11,09,16,"- 20000$")
- msg(13,12,09,16,"- 16x Coupone")
- end
- function Rank3Deutsch()
- msg(02,06,02,16,"Gold")
- msg(13,02,09,16,"Kaufbar für 100 Ingame Coupones oder")
- msg(13,03,09,16,"29.75 Euro Spende auf lycodon.com")
- msg(13,04,09,16,"")
- msg(13,05,09,16,"- 10x Home + /fly + /heal + /god")
- msg(13,06,09,16,"- Keep-Inv + Keep-XP")
- msg(13,07,09,16,"- /kit Gold (alle 24h)")
- msg(13,08,09,16," * 4x MV Solar Panel")
- msg(13,09,09,16," * 2x MV Transformer")
- msg(13,10,09,16," * 1x Reward Crate")
- msg(13,11,09,16,"- 45000$ + 30x Coupone")
- msg(13,12,09,16,"- Landmark Rechte für die Quarry")
- end
- function Rank4Deutsch()
- msg(02,08,04,16,"Diamond")
- msg(13,02,09,16,"Kaufbar für 200 Ingame Coupones oder")
- msg(13,03,09,16,"59.50 Euro Spende auf lycodon.com")
- msg(13,04,09,16,"")
- msg(13,05,09,16,"- 15x Home + /fly + /heal + /god")
- msg(13,06,09,16,"- Keep-Inv + Keep-XP + /repair")
- msg(13,07,09,16,"- /kit Diamond (alle 24h)")
- msg(13,08,09,16," * 1x HV Solar Panel")
- msg(13,09,09,16," * 1x HV Transformer")
- msg(13,10,09,16," * 1x Reward Crate")
- msg(13,11,09,16,"- 95000$ + 60x Coupone")
- msg(13,12,09,16,"- Landmark Rechte für die Quarry")
- end
- function Rank5Deutsch()
- msg(02,10,10,16,"Stammi")
- msg(13,02,09,16,"Dieser Rang ist nur Ingame")
- msg(13,03,09,16,"erspielbar mit dem Achievment")
- msg(13,04,09,16,"Stammi Eignung und 7 Tage Spielzeit")
- msg(13,05,09,16,"")
- msg(13,06,09,16,"- 4x Home")
- msg(13,07,09,16,"- Keep-Inv + Keep-XP")
- msg(13,08,09,16,"- Mehr Counter Blöcke")
- msg(13,09,09,16,"")
- msg(13,10,09,16,"- Spotloader:")
- msg(13,11,09,16," * Ein Chunk bleibt geladen")
- msg(13,12,09,16," solange du online bist.")
- end
- function Rank6Deutsch()
- msg(02,12,10,16,"Stammi+")
- msg(13,02,09,16,"Dieser Rang ist nur Ingame")
- msg(13,03,09,16,"erspielbar mit dem Achievment")
- msg(13,04,09,16,"Stammi Eignung und 21 Tage Spielzeit")
- msg(13,05,09,16,"")
- msg(13,06,09,16,"- 6x Home + /weather + /enderchest")
- msg(13,07,09,16,"- Keep-Inv + Keep-XP")
- msg(13,08,09,16,"- Mehr Counter Blöcke")
- msg(13,09,09,16,"- Turtles und Tradesigns nutzbar")
- msg(13,10,09,16,"- Spotloader:")
- msg(13,11,09,16," * Ein Chunk bleibt geladen")
- msg(13,12,09,16," solange du online bist.")
- end
- ------------------------------------------------------------------------------------------------------
- function Kit1English()
- msg(02,02,01,16,"Machines")
- msg(15,02,09,16,"Buyable for 4.76 Euro only at")
- msg(15,03,09,16,"lyco.buycraft.net")
- msg(15,05,09,16,"1x Macerator + 1x Compressor")
- msg(15,06,09,16,"1x Extractor + 1x Elec. Furnance")
- msg(15,07,09,16,"3x MV Solar Panel + 1x MFE")
- msg(15,09,09,16,"64x Glasfibre Cable")
- msg(15,10,09,16,"8x Overlocker Upgrade")
- msg(15,11,09,16,"8x Transformer Upgrade")
- msg(15,12,09,16,"8x Energy Storage Upgrade")
- end
- function Kit2English()
- msg(02,03,01,16,"ME-System")
- msg(15,02,09,16,"Buyable for 2.98 Euro only at")
- msg(15,03,09,16,"lyco.buycraft.net")
- msg(15,05,09,16,"1x ME Controller")
- msg(15,06,09,16,"1x ME Drive")
- msg(15,07,09,16,"1x ME Access Terminal")
- msg(15,08,09,16,"3x ME Storage Monitor")
- msg(15,09,09,16,"32x ME Cable")
- msg(15,10,09,16,"2x 16k Storage")
- msg(15,11,09,16,"5x ME Import/Export Bus")
- end
- function Kit3English()
- msg(02,04,01,16,"ME-System+")
- msg(15,02,09,16,"Buyable for 8.93 Euro only at")
- msg(15,03,09,16,"lyco.buycraft.net")
- msg(15,05,09,16,"")
- msg(15,06,09,16,"")
- msg(15,07,09,16,"")
- msg(15,08,09,16,"zu viele Kits xD")
- msg(15,09,09,16,"")
- msg(15,10,09,16,"")
- msg(15,11,09,16,"")
- msg(15,12,09,16,"")
- msg(43,13,16,01," --> ")
- end
- function Kit4English()
- msg(02,05,01,16,"Energy")
- msg(15,02,09,16,"Buyable for 2.98 Euro only at")
- msg(15,03,09,16,"lyco.buycraft.net")
- msg(15,05,09,16,"")
- msg(15,06,09,16,"2x HV Solar Panel")
- msg(15,07,09,16,"4x MV Solar Panel")
- msg(15,08,09,16,"128x Glassfibre Cable")
- msg(15,09,09,16,"1x MFSU")
- msg(15,11,09,16,"")
- msg(15,12,09,16,"")
- end
- function Kit5English()
- msg(02,06,01,16,"Energy+")
- msg(15,02,09,16,"Buyable for 5.95 Euro only at")
- msg(15,03,09,16,"lyco.buycraft.net")
- msg(15,05,09,16,"")
- msg(15,06,09,16,"5x HV Solar Panel")
- msg(15,07,09,16,"256x Glassfibre Cable")
- msg(15,08,09,16,"2x MFSU")
- msg(15,10,09,16,"")
- msg(15,11,09,16,"")
- msg(15,12,09,16,"")
- end
- function Kit6English()
- msg(02,07,01,16,"Farmer")
- msg(15,02,09,16,"Buyable for 4,76 Euro only at")
- msg(15,03,09,16,"lyco.buycraft.net")
- msg(15,02,09,16,"Buyable for 2.38 Euro only at")
- msg(15,03,09,16,"lyco.buycraft.net")
- msg(15,05,09,16,"1x Harvester + 1x Planter")
- msg(15,06,09,16,"1x Fertilizer + 1x Composter")
- msg(15,07,09,16,"1x Sawage Collector + 1x Rancher")
- msg(15,08,09,16,"1x MV Solar Panel + 6x Cow")
- msg(15,09,09,16,"64x Fence + 6x Wooden Pipe")
- msg(15,10,09,16,"64x Glassfibre Cable")
- msg(15,11,09,16,"32x Gold Pipe + 1x Gold Chest")
- msg(15,12,09,16,"3x Redstone Engine")
- end
- function Kit7English()
- msg(02,08,01,16,"Miner")
- msg(15,02,09,16,"Buyable for 5.95 Euro only at")
- msg(15,03,09,16,"lyco.buycraft.net")
- msg(15,05,09,16,"1x Quarry + 2x Item Tesseract")
- msg(15,06,09,16,"1x MV Consumer + 1x Energy Bridge")
- msg(15,07,09,16,"1x BC Producer")
- msg(15,08,09,16,"2x Teleport Pipes")
- msg(15,09,09,16,"8x Waterproof Pipes")
- msg(15,10,09,16,"2x Pump + 10x Tanks")
- msg(15,11,09,16,"2x MV Solar Panel + 1x MFE")
- msg(15,12,09,16,"8x Redstone Engine")
- end
- function Kit8English()
- msg(02,09,01,16,"AE")
- msg(15,02,09,16,"Buyable for 11.90 Euro only at")
- msg(15,03,09,16,"lyco.buycraft.net")
- msg(15,05,09,16,"1x Adjustable Emitter")
- msg(15,07,09,16,"Max output of 32.768 eu/t.")
- msg(15,08,09,16,"Is the same as 64 x Hv Solar Panel")
- msg(15,09,09,16,"in one Block.")
- msg(15,10,09,16,"")
- msg(15,11,09,16,"")
- msg(15,12,09,16,"")
- end
- function Kit9English()
- msg(02,10,01,16,"SMF")
- msg(15,02,09,16,"Buyable for 17.85 Euro only at")
- msg(15,03,09,16,"lyco.buycraft.net")
- msg(15,05,09,16,"Our Super Mass Fabricator (SMF) is")
- msg(15,06,09,16,"a new machine. It prod. UU-Matter,")
- msg(15,07,09,16,"Solarpanels or LV-Solars depending")
- msg(15,08,09,16,"on the level you upgrade the SMF.")
- msg(15,09,09,16,"")
- msg(15,10,09,16,"1x Adjustable Emitter")
- msg(15,11,09,16,"1x MAssfabricator + 32x Ash")
- msg(15,12,09,16,"16x Minium Dust + 8x Verdan Dust")
- end
- function Kit10English()
- msg(02,11,01,16,"MF+")
- msg(15,02,09,16,"Buyable for 5.95 Euro only at")
- msg(15,03,09,16,"lyco.buycraft.net")
- msg(15,05,09,16,"")
- msg(15,06,09,16,"+1 Massfabricator Counter Block")
- msg(15,07,09,16,"Lasts for one month (31 days)")
- msg(15,08,09,16,"Multiple purchases add up the time")
- msg(15,09,09,16,"")
- msg(15,10,09,16,"You can buy it individually")
- msg(15,11,09,16,"or as a subscription every month.")
- end
- function Kit11English()
- msg(02,12,01,16,"Money")
- msg(15,02,09,16,"Buyable for 5.95 Euro only at")
- msg(15,03,09,16,"lyco.buycraft.net")
- msg(15,05,09,16,"25000$ Ingame currencie")
- msg(15,06,09,16,"view with /money")
- msg(15,07,09,16,"")
- msg(15,09,09,16,"")
- msg(15,10,09,16,"")
- msg(15,11,09,16,"")
- msg(15,12,09,16,"")
- end
- function Kit1Deutsch()
- msg(02,02,01,16,"Machines")
- end
- function Kit2Deutsch()
- msg(02,03,01,16,"ME-System")
- end
- function Kit3Deutsch()
- msg(02,04,01,16,"ME-System+")
- end
- function Kit4Deutsch()
- msg(02,05,01,16,"Energy")
- end
- function Kit5Deutsch()
- msg(02,06,01,16,"Energy+")
- end
- function Kit6Deutsch()
- msg(02,07,01,16,"Farmer")
- end
- function Kit7Deutsch()
- msg(02,08,01,16,"Miner")
- end
- function Kit8Deutsch()
- msg(02,09,01,16,"AE")
- end
- function Kit9Deutsch()
- msg(02,10,01,16,"SMF")
- end
- function Kit10Deutsch()
- msg(02,11,01,16,"MF+")
- end
- function Kit11Deutsch()
- msg(02,12,01,16,"Money")
- end
- while true do
- mon.setBackgroundColor(32768)
- mon.setCursorPos(1,1)
- mon.clear()
- local file = fs.open("Language", "r")
- local Language = tonumber(file.readLine())
- file.close()
- local file = fs.open("Rank", "r")
- local Rank = tonumber(file.readLine())
- file.close()
- if Language == 1 then
- MainTopEnglish()
- MainBotEnglish()
- elseif Language == 2 then
- MainTopDeutsch()
- MainBotDeutsch()
- end
- event, side, x, y = os.pullEvent("monitor_touch")
- if x >= 03 and x <= 13 and y >= 15 and y <= 17 then -- Deutsch
- file = fs.open("Language", "w")
- file.write(2)
- file.close()
- elseif x >= 35 and x <= 45 and y >= 15 and y <= 17 then --English
- file = fs.open("Language", "w")
- file.write(1)
- file.close()
- elseif x >= 08 and x <= 22 and y >= 06 and y <= 10 then -- Ranks Button
- while true do
- Clear()
- local file = fs.open("Language", "r")
- local Language = tonumber(file.readLine())
- file.close()
- local file = fs.open("Rank", "r")
- local Rank = tonumber(file.readLine())
- file.close()
- for i = 1,13 do
- msg(11,i,09,16,"|")
- end
- msg(02,02,08,16,"Resident")
- msg(02,04,08,16,"Iron")
- msg(02,06,08,16,"Gold")
- msg(02,08,08,16,"Diamond")
- msg(02,10,08,16,"Stammi")
- msg(02,12,08,16,"Stammi+")
- if Language == 1 then
- MainBotEnglish()
- if Rank == 1 then
- Rank1English()
- elseif Rank == 2 then
- Rank2English()
- elseif Rank == 3 then
- Rank3English()
- elseif Rank == 4 then
- Rank4English()
- elseif Rank == 5 then
- Rank5English()
- elseif Rank == 6 then
- Rank6English()
- end
- elseif Language == 2 then
- MainBotDeutsch()
- if Rank == 1 then
- Rank1Deutsch()
- elseif Rank == 2 then
- Rank2Deutsch()
- elseif Rank == 3 then
- Rank3Deutsch()
- elseif Rank == 4 then
- Rank4Deutsch()
- elseif Rank == 5 then
- Rank5Deutsch()
- elseif Rank == 6 then
- Rank6Deutsch()
- end
- end
- event, side, x, y = os.pullEvent("monitor_touch")
- if x >= 01 and x <= 10 and y >= 02 and y <= 02 then --Resident
- file = fs.open("Rank", "w")
- file.write(1)
- file.close()
- elseif x >= 01 and x <= 10 and y >= 04 and y <= 04 then --Iron
- file = fs.open("Rank", "w")
- file.write(2)
- file.close()
- elseif x >= 01 and x <= 10 and y >= 06 and y <= 06 then --Gold
- file = fs.open("Rank", "w")
- file.write(3)
- file.close()
- elseif x >= 01 and x <= 10 and y >= 08 and y <= 08 then --Diamond
- file = fs.open("Rank", "w")
- file.write(4)
- file.close()
- elseif x >= 01 and x <= 10 and y >= 10 and y <= 10 then --Stammi
- file = fs.open("Rank", "w")
- file.write(5)
- file.close()
- elseif x >= 01 and x <= 10 and y >= 12 and y <= 12 then --Stammi+
- file = fs.open("Rank", "w")
- file.write(6)
- file.close()
- elseif x >= 19 and x <= 28 and y >= 15 and y <= 17 then --back
- shell.run("1")
- elseif x >= 03 and x <= 13 and y >= 15 and y <= 17 then -- Deutsch
- file = fs.open("Language", "w")
- file.write(2)
- file.close()
- elseif x >= 35 and x <= 45 and y >= 15 and y <= 17 then --English
- file = fs.open("Language", "w")
- file.write(1)
- file.close()
- end
- end
- elseif x >= 26 and x <= 40 and y >= 06 and y <= 10 then -- Kits Button
- while true do
- Clear()
- local file = fs.open("Language", "r")
- local Language = tonumber(file.readLine())
- file.close()
- local file = fs.open("Kit", "r")
- local Kit = tonumber(file.readLine())
- file.close()
- for i = 1,13 do
- msg(13,i,09,16,"|")
- end
- msg(02,02,08,16,"Machines")
- msg(02,03,08,16,"ME-System")
- msg(02,04,08,16,"ME-System+")
- msg(02,05,08,16,"Energy")
- msg(02,06,08,16,"Energy+")
- msg(02,07,08,16,"Farmer")
- msg(02,08,08,16,"Miner")
- msg(02,09,08,16,"AE")
- msg(02,10,08,16,"SMF")
- msg(02,11,08,16,"MF+")
- msg(02,12,08,16,"Money")
- msg(02,13,08,16,"")
- if Language == 1 then
- MainBotEnglish()
- if Kit == 1 then
- Kit1English()
- elseif Kit == 2 then
- Kit2English()
- elseif Kit == 3 then
- Kit3English()
- elseif Kit == 4 then
- Kit4English()
- elseif Kit == 5 then
- Kit5English()
- elseif Kit == 6 then
- Kit6English()
- elseif Kit == 7 then
- Kit7English()
- elseif Kit == 8 then
- Kit8English()
- elseif Kit == 9 then
- Kit9English()
- elseif Kit == 10 then
- Kit10English()
- elseif Kit == 11 then
- Kit11English()
- end
- elseif Language == 2 then
- MainBotDeutsch()
- if Kit == 1 then
- Kit1Deutsch()
- elseif Kit == 2 then
- Kit2Deutsch()
- elseif Kit == 3 then
- Kit3Deutsch()
- elseif Kit == 4 then
- Kit4Deutsch()
- elseif Kit == 5 then
- Kit5Deutsch()
- elseif Kit == 6 then
- Kit6Deutsch()
- elseif Kit == 7 then
- Kit7Deutsch()
- elseif Kit == 8 then
- Kit8Deutsch()
- elseif Kit == 9 then
- Kit9Deutsch()
- elseif Kit == 10 then
- Kit10Deutsch()
- elseif Kit == 11 then
- Kit11Deutsch()
- end
- end
- event, side, x, y = os.pullEvent("monitor_touch")
- if x >= 01 and x <= 12 and y >= 02 and y <= 02 then --Machines
- file = fs.open("Kit", "w")
- file.write("1 ")
- file.close()
- elseif x >= 01 and x <= 12 and y >= 03 and y <= 03 then --ME-System
- file = fs.open("Kit", "w")
- file.write("2 ")
- file.close()
- elseif x >= 01 and x <= 12 and y >= 04 and y <= 04 then --ME-System+
- file = fs.open("Kit", "w")
- file.write("3 ")
- file.close()
- elseif x >= 01 and x <= 12 and y >= 05 and y <= 05 then --Energy
- file = fs.open("Kit", "w")
- file.write("4 ")
- file.close()
- elseif x >= 01 and x <= 12 and y >= 06 and y <= 06 then --Energy+
- file = fs.open("Kit", "w")
- file.write("5 ")
- file.close()
- elseif x >= 01 and x <= 12 and y >= 07 and y <= 07 then --Farmer
- file = fs.open("Kit", "w")
- file.write("6 ")
- file.close()
- elseif x >= 01 and x <= 12 and y >= 08 and y <= 08 then --Miner
- file = fs.open("Kit", "w")
- file.write("7 ")
- file.close()
- elseif x >= 01 and x <= 12 and y >= 09 and y <= 09 then --AE
- file = fs.open("Kit", "w")
- file.write("8 ")
- file.close()
- elseif x >= 01 and x <= 12 and y >= 10 and y <= 10 then --SMF
- file = fs.open("Kit", "w")
- file.write("9 ")
- file.close()
- elseif x >= 01 and x <= 12 and y >= 11 and y <= 11 then --MF+
- file = fs.open("Kit", "w")
- file.write(10)
- file.close()
- elseif x >= 01 and x <= 12 and y >= 12 and y <= 12 then --Money
- file = fs.open("Kit", "w")
- file.write(11)
- file.close()
- elseif x >= 19 and x <= 28 and y >= 15 and y <= 17 then --back
- shell.run("1")
- elseif x >= 03 and x <= 13 and y >= 15 and y <= 17 then --Deutsch
- file = fs.open("Language", "w")
- file.write(2)
- file.close()
- elseif x >= 35 and x <= 45 and y >= 15 and y <= 17 then --English
- file = fs.open("Language", "w")
- file.write(1)
- file.close()
- end
- end
- end
- sleep(0.5)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement