Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- atmid = 3765
- pipe = peripheral.wrap("top")
- rednet.open("left")
- function empfangen()
- id,uebertragung = rednet.receive()
- if id == atmid then
- data = textutils.unserialize(uebertragung)
- item = data.item
- menge = data.menge
- end
- end
- identimtungsten = pipe.getItemIdentifierIDFor(254, 6) --MFSU
- identicobble = pipe.getItemIdentifierIDFor(900, 3) -- ME drive
- identicontroller = pipe.getItemIdentifierIDFor(900, 2) --Controller
- identiacces = pipe.getItemIdentifierIDFor(900, 6) -- Acces
- identiinterface = pipe.getItemIdentifierIDFor(900, 8) --interface
- identiimport = pipe.getItemIdentifierIDFor(901, 1) -- import
- identiexport = pipe.getItemIdentifierIDFor(901, 0) -- export
- identistorage = pipe.getItemIdentifierIDFor(901, 9) --storage
- identimfsu = pipe.getItemIdentifierIDFor(227, 2) --MFSU
- identiglassfibre = pipe.getItemIdentifierIDFor(30184, 9) --Glassfibre
- identiquarry = pipe.getItemIdentifierIDFor(153, 0) -- quarry
- identienergytesseract = pipe.getItemIdentifierIDFor(2007, 0) --energytesseract
- identiquartz = pipe.getItemIdentifierIDFor(4362, 6) --quartz
- identigold = pipe.getItemIdentifierIDFor(266, 0) --gold
- identiiron = pipe.getItemIdentifierIDFor(265, 0) --iron
- identidiamant = pipe.getItemIdentifierIDFor(264,0) --dia
- identilevelemitter = pipe.getItemIdentifierIDFor(901,4) --level emitter
- identisolarpanel = pipe.getItemIdentifierIDFor(246,3) --solar
- identilvsolar = pipe.getItemIdentifierIDFor(183,0) --lv
- identimvsolar = pipe.getItemIdentifierIDFor(183,1) --mv
- identihvsolar = pipe.getItemIdentifierIDFor(183,2) --hv
- identiuu = pipe.getItemIdentifierIDFor(30188,0) --uu
- identioverclocker = pipe.getItemIdentifierIDFor(30125,0) --overclocker
- identitransformer = pipe.getItemIdentifierIDFor(30125,1) --transformer
- identistorage = pipe.getItemIdentifierIDFor(30125,2) --stoage
- identiuran = pipe.getItemIdentifierIDFor(30207,0) --uran
- identiquaduran = pipe.getItemIdentifierIDFor(30101,0) --quad
- identiadvheatvent = pipe.getItemIdentifierIDFor(30089,0) --adv heatvent
- identicompheatvent = pipe.getItemIdentifierIDFor(30090,0) --comp heat vent
- while true do
- empfangen()
- if item == "tungsten" then
- pipe.makeRequest(identitungsten, menge)
- end
- if item == "Me Drive" then
- pipe.makeRequest(identicobble, menge)
- end
- if item == "Me Controller" then
- pipe.makeRequest(identicontroller, menge)
- end
- if item == "Me Access Terminal" then
- pipe.makeRequest(identiacces, menge)
- end
- if item == "Me Interface" then
- pipe.makeRequest(identiinterface, menge)
- end
- if item == "Me Import Bus" then
- pipe.makeRequest(identiimport, menge)
- end
- if item == "Me Export Bus" then
- pipe.makeRequest(identiexport, menge)
- end
- if item == "Me Storage Bus" then
- pipe.makeRequest(identistorage, menge)
- end
- if item == "MFSU" then
- pipe.makeRequest(identimfsu, menge)
- end
- if item == "Glass Fibre Cable" then
- pipe.makeRequest(identiglassfibre, menge)
- end
- if item == "Quarry" then
- pipe.makeRequest(identiquarry, menge)
- end
- if item == "Energy Tesseract" then
- pipe.makeRequest(identienergytesseract, menge)
- end
- if item == "Quartz" then
- pipe.makeRequest(identiquartz, menge)
- end
- if item == "Gold Ingot" then
- pipe.makeRequest(identigold, menge)
- end
- if item == "Iron Ingot" then
- pipe.makeRequest(identiiron, menge)
- end
- if item == "Diamant" then
- pipe.makeRequest(identidiamant, menge)
- end
- if item == "Me Level Emitter" then
- pipe.makeRequest(identilevelemitter, menge)
- end
- if item == "Solar Panel" then
- pipe.makeRequest(identisolarpanel, menge)
- end
- if item == "Lv Solar" then
- pipe.makeRequest(identilvsolar, menge)
- end
- if item == "Mv Solar" then
- pipe.makeRequest(identimvsolar, menge)
- end
- if item == "Hv Solar" then
- pipe.makeRequest(identihvsolar, menge)
- end
- if item == "UU" then
- pipe.makeRequest(identiuu, menge)
- end
- if item == "Overclocker Upgrade" then
- pipe.makeRequest(identioverclocker, menge)
- end
- if item == "Transformer Upgrade" then
- pipe.makeRequest(identitransformer, menge)
- end
- if item == "Storage Upgrade" then
- pipe.makeRequest(identistorage, menge)
- end
- if item == "Uran Zelle" then
- pipe.makeRequest(identiuran, menge)
- end
- if item == "Quad Uran Zelle" then
- pipe.makeRequest(identiquaduran, menge)
- end
- if item == "Adv. Heat Vent" then
- pipe.makeRequest(identiadvheatvent, menge)
- end
- if item == "Comp Heat Vent" then
- pipe.makeRequest(identicompheatvent, menge)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement