Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- coaldust = db.getItem("Coal Dust")
- charcoaldust = db.getItem("Charcoal Dust")
- glass = db.getItem("Glass")
- elecirc = db.getItem("Electronic Circuit")
- gen = db.getItem("Generator")
- copcable = db.getItem("Copper Cable")
- red = db.getItem("Redstone")
- refiron = db.getItem("Refined Iron")
- rub = db.getItem("Rubber")
- cop = db.getItem("Copper")
- cobble = db.getItem("Cobblestone")
- tin = db.getItem("Tin")
- bat = db.getItem("RE-Battery")
- machblock = db.getItem("Machine Block")
- piec = db.getItem("Furnace")
- iron = db.getItem("Iron Ingot")
- planks = db.getItem("Wooden Planks")
- wood = db.getItem("Wood")
- ironfurnace = db.getItem("Iron Furnace")
- miningpipe = db.getItem("MiningPipe")
- treetap = db.getItem("Treetap")
- glow = db.getItem("Glowstone Dust")
- lapis = db.getItem("Lapis Lazuli")
- advcirc = db.getItem("Advanced Circuit")
- goldcable = db.getItem("Gold Cable")
- insgoldcable = db.getItem("2xIns. Gold Cable")
- gold = db.getItem("Gold Ingot")
- emptycell = db.getItem("Empty Cell")
- stone = db.getItem("Stone")
- bronze = db.getItem("Bronze Ingot")
- sturdymachine = db.getItem("Sturdy Machine")
- chest = db.getItem("Chest")
- diamond = db.getItem("Diamond")
- stick = db.getItem("Stick")
- woodengear = db.getItem("Wooden Gear")
- stonegear = db.getItem("Stone Gear")
- irongear = db.getItem("Iron Gear")
- goldgear = db.getItem("Gold Gear")
- diamondgear = db.getItem("Diamond Gear")
- piston = db.getItem("Piston")
- flint = db.getItem("Flint")
- rawcarbonfibre = db.getItem("Raw Carbon Fibre")
- rawcarbonmesh = db.getItem("Raw Carbon Mesh")
- elefurnace = db.getItem("Electric Furnace")
- advmachblock = db.getItem("Advanced Machine Block")
- advalloy = db.getItem("Advanced Alloy")
- carbonplate = db.getItem("Carbon Plate")
- mvtransformer = db.getItem("MV-Transformer")
- inksac = db.getItem("Ink Sac")
- yellow = db.getItem("Dandelion Yellow")
- craftingtable = db.getItem("Crafting Table")
- landmark = db.getItem("Land Mark")
- redstonetorche = db.getItem("Redstone Torche")
- energycrystal = db.getItem("Energy Crystal")
- mfe = db.getItem("MFE")
- lapotron = db.getItem("Lapotron Crystal")
- solar = db.getItem("Solar Panel")
- lvtransformer = db.getItem("LV-Transformer")
- macerator = db.getItem("Macerator")
- electrolyzedwatercell = db.getItem("Electrolyzed Water Cell")
- extractor = db.getItem("Extractor")
- obsidian = db.getItem("Obsidian")
- compressor = db.getItem("Compressor")
- miningdrill = db.getItem("Mining Drill")
- brass = db.getItem("Brass Ingot")
- dirt = db.getItem("Dirt")
- ironpickaxe = db.getItem("Iron Pickaxe")
- miningwell = db.getItem("Mining Well")
- tank = db.getItem("Tank")
- lvsolar = db.getItem("Low Voltage Solar Array")
- combustionengine = db.getItem("Combustion Engine")
- coolantcell = db.getItem("Coolant Cell")
- batpack = db.getItem("BatPack")
- lapisblock = db.getItem("Lapis Lazuli Block")
- uumater = db.getItem("UU-Matter")
- iridiumore = db.getItem("Iridium Ore")
- iridiumplate = db.getItem("Iridium Plate")
- wool = db.getItem("Wool")
- rubberboots = db.getItem("Rubber Boots")
- nanoboots = db.getItem("NanoSuit Boots")
- redwafer = db.getItem("Red-Doped Wafer")
- nanoleg = db.getItem("NanoSuit Leggings")
- nanoarmor = db.getItem("NanoSuit Bodyarmor")
- nanohelmet = db.getItem("NanoSuit Helmet")
- reinfglass = db.getItem("Reinforced Glass")
- recycler = db.getItem("Recycler")
- glasspane = db.getItem("Glass Pane")
- redchip = db.getItem("Computer Redstone Chip")
- ironchip = db.getItem("Computer Iron Chip")
- blanktransmitercard = db.getItem("Blank Transmitter Card")
- copchest = db.getItem("Copper Chest")
- silver = db.getItem("Silver Ingot")
- silverchest = db.getItem("Silver Chest")
- paper = db.getItem("Paper")
- sugarcanes = db.getItem("Sugar Canes")
- blanksensorcard = db.getItem("Blank Sensor Card")
- bronzegear = db.getItem("Bronze Gear")
- inshvcable = db.getItem("4xIns. HV Cable")
- hvcable = db.getItem("HV Cable")
- solarrec = {charcoaldust,glass,charcoaldust,glass,charcoaldust,glass,elecirc,gen,elecirc}
- elecircrec = {copcable,copcable,copcable,red,refiron,red,copcable,copcable,copcable}
- copcablerec = {rub,rub,rub,cop,cop,cop,rub,rub,rub}
- genrec = {bat,nil,nil,machblock,nil,nil,piec,nil,nil}
- batrec = {nil,copcable,nil,tin,red,tin,tin,red,tin}
- machblockrec = {refiron,refiron,refiron,refiron,nil,refiron,refiron,refiron,refiron}
- piecrec = {cobble,cobble,cobble,cobble,nil,cobble,cobble,cobble,cobble}
- ironfurnacerec = {nil,iron,nil,iron,nil,iron,iron,piec,iron}
- drillrec = {nil,refiron,nil,refiron,elecirc,refiron,refiron,bat,refiron}
- planksrec = {wood,nil,nil,nil,nil,nil,nil,nil,nil}
- batboxrec = {planks,copcable,planks,bat,bat,bat,planks,planks,planks}
- batpackrec = {bat,elecirc,bat,bat,tin,bat,bat,nil,bat}
- elefurnacerec = {nil,elecirc,nil,red,ironfurnace,red,nil,nil,nil}
- minerrec = {elecirc,machblock,elecirc,nil,miningpipe,nil,nil,miningpipe,nil}
- miningpiperec = {refiron,nil,refiron,refiron,nil,refiron,refiron,treetap,refiron}
- treetaprec = {nil,planks,nil,planks,planks,planks,planks,nil,nil}
- advcircrec = {red,glow,red,lapis,elecirc,lapis,red,glow,red}
- goldcablerec = {gold,gold,gold,nil,nil,nil,nil,nil,nil}
- insgoldcablerec = {rub,rub,nil,goldcable,nil,nil,nil,nil,nil}
- ovscannerrec = {nil,glow,nil,glow,advcirc,glow,insgoldcable,bat,insgoldcable}
- extractorrec = {treetap,machblock,treetap,treetap,elecirc,treetap,nil,nil,nil}
- emptycellrec = {nil,tin,nil,tin,nil,tin,nil,tin,nil}
- pumprec = {emptycell,elecirc,emptycell,emptycell,machblock,emptycell,miningpipe,treetap,miningpipe}
- compressorrec = {stone,nil,stone,stone,machblock,stone,stone,elecirc,stone}
- sturdymachinerec = {bronze,bronze,bronze,bronze,nil,bronze,bronze,bronze,bronze}
- bronzerec = {cop,cop,nil,cop,tin,nil,nil,nil,nil}
- thermionicfabricatorrec = {gold,glass,gold,glass,sturdymachine,glass,gold,chest,gold}
- chestrec = {planks,planks,planks,planks,nil,planks,planks,planks,planks}
- pistonrec = {planks,planks,planks,cobble,iron,cobble,cobble,red,cobble}
- woodengearrec = {nil,stick,nil,stick,nil,stick,nil,stick,nil}
- stonegearrec = {nil,cobble,nil,cobble,woodengear,cobble,nil,cobble,nil}
- irongearrec = {nil,iron,nil,iron,stonegear,iron,nil,iron,nil}
- goldgearrec = {nil,gold,nil,gold,irongear,gold,nil,gold,nil}
- diamondgearrec = {nil,diamond,nil,diamond,goldgear,diamond,nil,diamond,nil}
- redstoneenginerec = {planks,planks,planks,nil,glass,nil,woodengear,piston,woodengear}
- steamenginerec = {cobble,cobble,cobble,nil,glass,nil,stonegear,piston,stonegear}
- combustionenginerec = {iron,iron,iron,nil,glass,nil,irongear,piston,irongear}
- stickrec = {planks,nil,nil,planks,nil,nil,nil,nil,nil}
- chainsawrec = {nil,refiron,refiron,refiron,elecirc,refiron,bat,refiron,nil}
- maceratorrec = {flint,flint,flint,cobble,machblock,cobble,nil,elecirc,nil}
- rawcarbonfibrerec = {coaldust,coaldust,nil,coaldust,coaldust,nil,nil,nil,nil}
- rawcarbonmeshrec = {rawcarbonfibre,rawcarbonfibre,nil,nil,nil,nil,nil,nil,nil}
- inductionfurnacerec = {cop,cop,cop,cop,elefurnace,cop,cop,advmachblock,cop}
- advmachblockrec = {nil,advalloy,nil,carbonplate,machblock,carbonplate,nil,advalloy,nil}
- mixedmetalingotrec = {refiron,refiron,refiron,bronze,bronze,bronze,tin,tin,tin}
- mvtransformerrec = {nil,insgoldcable,nil,nil,machblock,nil,nil,insgoldcable,nil}
- transupgraderec = {glass,glass,glass,insgoldcable,mvtransformer,insgoldcable,glass,elecirc,glass}
- craftingtablerec = {planks,planks,nil,planks,planks,nil,nil,nil,nil}
- fillerrec = {inksac,landmark,inksac,yellow,craftingtable,yellow,goldgear,chest,goldgear}
- landmarkrec = {lapis,nil,nil,redstonetorche,nil,nil,nil,nil,nil}
- redstonetorcherec = {red,nil,nil,stick,nil,nil,nil,nil,nil}
- energycrystalrec = {red,red,red,red,diamond,red,red,red,red}
- mferec = {insgoldcable,energycrystal,insgoldcable,energycrystal,machblock,energycrystal,insgoldcable,energycrystal,insgoldcable}
- lapotronrec = {lapis,elecirc,lapis,lapis,energycrystal,lapis,lapis,elecirc,lapis}
- mfsurec = {lapotron,advcirc,lapotron,lapotron,mfe,lapotron,lapotron,advmachblock,lapotron}
- lvtransformerrec = {planks,copcable,planks,cop,cop,cop,planks,copcable,planks}
- lvsolarrec = {solar,solar,solar,solar,lvtransformer,solar,solar,solar,solar}
- rotarymaceratorrec = {refiron,refiron,refiron,refiron,macerator,refiron,refiron,advmachblock,refiron}
- centrifugeextractorrec = {electrolyzedwatercell,electrolyzedwatercell,electrolyzedwatercell,electrolyzedwatercell,extractor,electrolyzedwatercell,electrolyzedwatercell,advmachblock,electrolyzedwatercell}
- electrolyzerrec = {copcable,nill,copcable,copcable,elecirc,copcable,emptycell,machblock,emptycell}
- singularitycompressorrec = {obsidian,obsidian,obsidian,obsidian,compressor,obsidian,obsidian,advmachblock,obsidian}
- diamonddrillrec = {nil,diamond,nil,diamond,miningdrill,diamond,nil,nil,nil}
- pneumatictuberec = {brass,glass,brass,nil,nil,nil,nil,nil,nil}
- massfabricatorrec = {glow,advcirc,glow,advmachblock,lapotron,advmachblock,glow,advcirc,glow}
- recyclerrec = {nil,glow,nil,dirt,compressor,dirt,refiron,dirt,refiron}
- miningwellrec = {iron,red,iron,iron,irongear,iron,iron,ironpickaxe,iron}
- bpumprec = {tank,nil,nil,miningwell,nil,nil,nil,nil,nil}
- tankrec = {glass,glass,glass,glass,nil,glass,glass,glass,glass}
- ironpickaxerec = {iron,iron,iron,nil,stick,nil,nil,stick,nil}
- mvsolarrec = {lvsolar,lvsolar,lvsolar,lvsolar,mvtransformer,lvsolar,lvsolar,lvsolar,lvsolar}
- regularelectricenginerec = {nil,bat,nil,nil,combustionengine,nil,nil,elecirc,nil}
- overclockupgraderec = {coolantcell,coolantcell,coolantcell,copcable,elecirc,copcable,nil,nil,nil}
- lapisblockrec = {lapis,lapis,lapis,lapis,lapis,lapis,lapis,lapis,lapis}
- lappackrec = {lapisblock,advcirc,lapisblock,lapisblock,batpack,lapisblock,lapisblock,nil,lapisblock}
- iridiumorerec = {uumater,uumater,uumater,nil,uumater,nil,uumater,uumater,uumater}
- iridiumplaterec = {iridiumore,advalloy,iridiumore,advalloy,diamond,advalloy,iridiumore,advalloy,iridiumore}
- rubberbootsrec = {rub,nil,rub,rub,nil,rub,rub,wool,rub}
- nanosuitbootsrec = {carbonplate,nil,carbonplate,carbonplate,energycrystal,carbonplate,nil,nil,nil}
- nanosuitlegrec = {carbonplate,energycrystal,carbonplate,carbonplate,nil,carbonplate,carbonplate,nil,carbonplate}
- nanosuitarmorrec = {carbonplate,nil,carbonplate,carbonplate,energycrystal,carbonplate,carbonplate,carbonplate,carbonplate}
- nanosuithelmetrec = {carbonplate,energycrystal,carbonplate,carbonplate,glass,carbonplate,nil,nil,nil}
- quantumbootsrec = {iridiumplate,nanoboots,iridiumplate,rubberboots,lapotron,rubberboots,nil,nil,nil}
- quantumleggingsrec = {machblock,lapotron,machblock,iridiumplate,nanoleg,iridiumplate,glow,nil,glow}
- quantumbodyrec = {advalloy,nanoarmor,advalloy,iridiumplate,lapotron,iridiumplate,iridiumplate,advalloy,iridiumplate}
- quantumhelmetrec = {nil,nanohelmet,nil,iridiumplate,lapotron,iridiumplate,advcirc,reinfglass,advcirc}
- filterrec = {cobble,cobble,cobble,gold,piston,gold,cobble,redwafer,cobble}
- reinfglassrec = {glass,advalloy,glass,glass,glass,glass,glass,advalloy,glass}
- bronzerec = {cop,cop,nil,cop,tin,nil,nil,nil,nil}
- slowgrinderrec = {refiron,macerator,refiron,advalloy,recycler,advalloy,refiron,advmachblock,refiron}
- glasspanerec = {glass,glass,glass,glass,glass,glass,nil,nil,nil}
- computerrec = {stone,stone,stone,stone,red,stone,stone,glasspane,stone}
- monitorrec = {stone,stone,stone,stone,glasspane,stone,stone,stone,stone}
- redchiprec = {stick,stick,stick,red,red,red,stick,stick,stick}
- ironchiprec = {stick,stick,stick,redchip,iron,redchip,stick,stick,stick}
- sensorrec = {nil,cobble,nil,nil,redchip,nil,nil,stick,nil}
- blanktransmitercardrec = {redstonetorche,nil,redstonetorche,cobble,redchip,cobble,cobble,cobble,cobble}
- sensorcontrollerrec = {cobble,ironchip,cobble,ironchip,blanktransmitercard,ironchip,cobble,ironchip,cobble}
- copchestrec = {cop,cop,cop,cop,chest,cop,cop,cop,cop}
- silverchestrec = {silver,glass,silver,glass,copchest,glass,silver,glass,silver}
- blanksensorcardrec = {paper,paper,paper,paper,redchip,paper,paper,paper,paper}
- paperrec = {sugarcanes,sugarcanes,sugarcanes,nil,nil,nil,nil,nil,nil}
- invsensorrec = {planks,planks,planks,planks,blanksensorcard,planks,planks,planks,planks}
- bronzegearrec = {nil,bronze,nil,bronze,stonegear,bronze,nil,bronze,nil}
- fermenterrec = {bronzegear,glass,bronzegear,glass,sturdymachine,glass,bronzegear,glass,bronzegear}
- biogasenginerec = {bronze,bronze,bronze,nil,glass,nil,bronzegear,piston,bronzegear}
- carpenterrec = {bronze,glass,bronze,bronze,sturdymachine,bronze,bronze,glass,bronze}
- hvtransformerrec = {nil,inshvcable,nil,elecirc,mvtransformer,energycrystal,nil,inshvcable,nil}
- inshvcablerec = {rub,rub,nil,rub,hvcable,nil,nil,nil,nil}
- hvcablerec = {refiron,refiron,refiron,nil,nil,nil,nil,nil,nil}
- fasteleenginerec = {bat,bat,bat,combustionengine,advalloy,combustionengine,elecirc,advalloy,elecirc}
- automaticcrafttablerec = {nil,woodengear,nil,woodengear,craftingtable,woodengear,nil,woodengear,nil}
- os.loadAPI("/rom/monitorapi")
- function surowce(surowiec)
- monitorapi.printM("left","Wloz " ..surowiec.. ", i nacisnij przycisk") os.pullEvent()
- end
- function crafting()
- monitorapi.clear("left")
- if b == "Furnace" then craftuj(piecrec)
- elseif b == "Copper Cable" then craftuj(copcablerec)
- elseif b == "Electronic Circuit" then craftuj(elecircrec)
- elseif b == "Iron Furnace" then craftuj(ironfurnacerec)
- elseif b == "RE-Battery" then craftuj(batrec)
- elseif b == "Mining Drill" then craftuj(drillrec)
- elseif b == "Wooden Planks" then craftuj(planksrec)
- elseif b == "Batbox" then craftuj(batboxrec)
- elseif b == "BatPack" then craftuj(batpackrec)
- elseif b == "Electric Furnace" then craftuj(elefurnacerec)
- elseif b == "Treetap" then craftuj(treetaprec)
- elseif b == "MiningPipe" then craftuj(miningpiperec)
- elseif b == "Miner" then craftuj(minerrec)
- elseif b == "Machine Block" then craftuj(machblockrec)
- elseif b == "Advanced Circuit" then craftuj(advcircrec)
- elseif b == "Gold Cable" then craftuj(goldcablerec)
- elseif b == "2xIns. Gold Cable" then craftuj(insgoldcablerec)
- elseif b == "OV Scanner" then craftuj(ovscannerrec)
- elseif b == "Generator" then craftuj(genrec)
- elseif b == "Extractor" then craftuj(extractorrec)
- elseif b == "Empty Cell" then craftuj(emptycellrec)
- elseif b == "Pump" then craftuj(pumprec)
- elseif b == "Compressor" then craftuj(compressorrec)
- elseif b == "Sturdy Machine" then craftuj(sturdymachinerec)
- elseif b == "Thermionic Fabricator" then craftuj(thermionicfabricatorrec)
- elseif b == "Chest" then craftuj(chestrec)
- elseif b == "Stick" then craftuj(stickrec)
- elseif b == "Wooden Gear" then craftuj(woodengearrec)
- elseif b == "Stone Gear" then craftuj(stonegearrec)
- elseif b == "Iron Gear" then craftuj(irongearrec)
- elseif b == "Gold Gear" then craftuj(goldgearrec)
- elseif b == "Diamond Gear" then craftuj(diamondgearrec)
- elseif b == "Piston" then craftuj(pistonrec)
- elseif b == "Redstone Engine" then craftuj(redstoneenginerec)
- elseif b == "Steam Engine" then craftuj(steamenginerec)
- elseif b == "Combustion Engine" then craftuj(combustionenginerec)
- elseif b == "Chainsaw" then craftuj(chainsawrec)
- elseif b == "Solar Panel" then craftuj(solarrec)
- elseif b == "Macerator" then craftuj(maceratorrec)
- elseif b == "Induction Furnace" then craftuj(inductionfurnacerec)
- elseif b == "MV-Transformer" then craftuj(mvtransformerrec)
- elseif b == "Transformer Upgrade" then craftuj(transupgraderec)
- elseif b == "Redstone Torche" then craftuj(redstonetorcherec)
- elseif b == "Land Mark" then craftuj(landmarkrec)
- elseif b == "Crafting Table" then craftuj(craftingtablerec)
- elseif b == "Filler" then craftuj(fillerrec)
- elseif b == "Energy Crystal" then craftuj(energycrystalrec)
- elseif b == "MFE" then craftuj(mferec)
- elseif b == "MFSU" then craftuj(mfsurec)
- elseif b == "Lapotron Crystal" then craftuj(lapotronrec)
- elseif b == "LV-Transformer" then craftuj(lvtransformerrec)
- elseif b == "Low Voltage Solar Array" then craftuj(lvsolarrec)
- elseif b == "Advanced Machine Block" then craftuj(advmachblockrec)
- elseif b == "Advanced Alloy" then craftuj(mixedmetalingotrec) monitorapi.printM("left","Wloz Mix Metal Ingot do compressora") os.pullEvent()
- elseif b == "Carbon Plate" then craftuj(rawcarbonmeshrec) monitorapi.printM("left","Wloz Raw Carbon Mesh do compressora") os.pullEvent()
- elseif b == "Raw Carbon Mesh" then craftuj(rawcarbonmeshrec)
- elseif b == "Raw Carbon Fibre" then craftuj(rawcarbonfibrerec)
- elseif b == "Rotary Macerator" then craftuj(rotarymaceratorrec)
- elseif b == "Centrifuge Extractor" then craftuj(centrifugeextractorrec)
- elseif b == "Electrolyzer" then craftuj(electrolyzerrec)
- elseif b == "Singularity Compressor" then craftuj(singularitycompressorrec)
- elseif b == "Diamond Drill" then craftuj(diamonddrillrec)
- elseif b == "Pneumatic Tube" then craftuj(pneumatictuberec)
- elseif b == "Massfabricator" then craftuj(massfabricatorrec)
- elseif b == "Recycler" then craftuj(recyclerrec)
- elseif b == "Mining Well" then craftuj(miningwellrec)
- elseif b == "Tank" then craftuj(tankrec)
- elseif b == "BPump" then craftuj(bpumprec)
- elseif b == "Iron Pickaxe" then craftuj(ironpickaxerec)
- elseif b == "MV Solar" then craftuj(mvsolarrec)
- elseif b == "Regular Electric Engine" then craftuj(regularelectricenginerec)
- elseif b == "Overclocker Upgrade" then craftuj(overclockupgraderec)
- elseif b == "Lapis Lazuli Block" then craftuj(lapisblockrec)
- elseif b == "Lappack" then craftuj(lappackrec)
- elseif b == "Iridium Ore" then craftuj(iridiumorerec)
- elseif b == "Iridium Plate" then craftuj(iridiumplaterec)
- elseif b == "Rubber Boots" then craftuj (rubberbootsrec)
- elseif b == "NanoSuit Boots" then craftuj(nanosuitbootsrec)
- elseif b == "NanoSuit Leggings" then craftuj(nanosuitlegrec)
- elseif b == "NanoSuit Bodyarmor" then craftuj(nanosuitarmorrec)
- elseif b == "NanoSuit Helmet" then craftuj(nanosuithelmetrec)
- elseif b == "QuantumSuit Boots" then craftuj(quantumbootsrec)
- elseif b == "QuantumSuit Leggings" then craftuj(quantumleggingsrec)
- elseif b == "QuantumSuit Bodyarmor" then craftuj(quantumbodyrec)
- elseif b == "QuantumSuit Helmet" then craftuj(quantumhelmetrec)
- elseif b == "Filter" then craftuj(filterrec)
- elseif b == "Land" then craftuj(landmarkrec)
- elseif b == "Reinforced Glass" then craftuj(reinfglassrec)
- elseif b == "Bronze Ingot" then craftuj(bronzerec)
- elseif b == "Slow Grinder" then craftuj(slowgrinderrec)
- elseif b == "Glass Pane" then craftuj(glasspanerec)
- elseif b == "Computer" then craftuj(computerrec)
- elseif b == "Monitor" then craftuj(monitorrec)
- elseif b == "Computer Redstone Chip" then craftuj(redchiprec)
- elseif b == "Computer Iron Chip" then craftuj(ironchiprec)
- elseif b == "Sensor" then craftuj(sensorrec)
- elseif b == "Blank Transmitter Card" then craftuj(blanktransmitercardrec)
- elseif b == "Sensor Controller" then craftuj(sensorcontrollerrec)
- elseif b == "Copper Chest" then craftuj(copchestrec)
- elseif b == "Silver Chest" then craftuj(silverchestrec)
- elseif b == "Blank Sensor Card" then craftuj(blanksensorcardrec)
- elseif b == "Paper" then craftuj(paperrec)
- elseif b == "Inventory SensorModule" then craftuj(invsensorrec)
- elseif b == "Bronze Gear" then craftuj(bronzegearrec)
- elseif b == "Fermenter" then craftuj(fermenterrec)
- elseif b == "Biogas Engine" then craftuj(biogasenginerec)
- elseif b == "Carpenter" then craftuj(carpenterrec)
- elseif b == "HV Cable" then craftuj(hvcablerec)
- elseif b == "4xIns. HV Cable" then craftuj(inshvcablerec)
- elseif b == "HV-Transformer" then craftuj(hvtransformerrec)
- elseif b == "Fast Electric Engine" then craftuj(fasteleenginerec)
- elseif b == "Automatic Crafting Table" then craftuj(automaticcrafttablerec)
- elseif b == nil then
- else
- surowce(b)
- end
- end
- function craftuj(recka)
- a = false
- while not a do
- workbench.setRecipe("right",recka)
- a,b = workbench.craft("right", 1)
- if a == false then
- b=tostring(b)
- crafting()
- a = false
- end
- end
- end
- while true do
- print("Co mam craftowac?")
- d = read()
- print("Ile?")
- c = read()
- c = tonumber(c)
- k = 0
- while k<c do
- b = d
- crafting()
- monitorapi.clear("left")
- monitorapi.printM("left","Wykonano")
- k=k+1
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement