MineMaarten / PneumaticCraft

PneumaticCraft source
Other
84 stars 50 forks source link

The Crafting piece #843

Open MEGADRAGSTER-288 opened 8 years ago

MEGADRAGSTER-288 commented 8 years ago

MineMaarten, please listen me! I need to know for Crafting piece. Please dont ignore me. It is important for me. I love this mod. This mod is the best for me, but listen me. I install the IGW-mod but it had not any informations. For that piece it had a few informations. It had only how to use this piece. Ok i understand. But it have not any informations on how to connect this piece into the program. I try to make program. But the Drone just take items and put them into another chest. It does not craft anything. I try to craft a GunAmmo with instant_damage potion effect. I insert into the programm this pieces: 1st piece is the "Start" piece. I know that very well. The 2nd piece i put the "Import from inventory" piece with location piece to the chest. I connect 2 "Item filter" pieces, 1st Item filter that i put the potion instant_damage II, and 2nd, that i put the GunAmmo without any effect. If here i did something wrong, tell me. The 3rd piece that i put is the Crafting piece, that i put that 2 items. The Crafting piece shown a GunAmmo with instant_damage potion effect. The 4th piece i put the "Export to inventories" with location to nearest chest. When i insert this program in the Drone, i think so it will craft the GunAmmo with instant damage potion effect. But the Drone took that 2 items and just export it in the chest that had the location of the "Export from inventory " piece. Nothing happens!! The items just "teleport" from one chest to another. What to do? How to make the Drone take the items, then craft them, and after that place the item that you want, to the located chest? Please help me, please. I need it very much!!!

To contact with me, here is my gmail: megadragster28@gmail.com

Tekstack commented 8 years ago

Import this code from this pastebin link into your programmer http://pastebin.com/68WLNfW0 I tested it, and it works. Make sure that you have 1 dispenser upgrade in your drone (by default the drone can only carry one unique item at a time, each dispenser upgrade allows for an additional unique item or additional stack) I have a limit set to 1 for each item being imported so that the drone's inventory doesn't get full of a single item and is unable to craft. I hope this helps!

MEGADRAGSTER-288 commented 8 years ago

Thank you very much Tekstack. I will try this.

MEGADRAGSTER-288 commented 8 years ago

Thank you very much. Oh how to pay you for that!! Thank you very much Tekstack

MEGADRAGSTER-288 commented 8 years ago

That is, I have to put so "Import from Inventories" pieces, as there are materials that need to make a block or an item? For example if I want to make piston that takes four kinds of materials, I have to put 4 "Import from Inventories" pieces?

Tekstack commented 8 years ago

Short answer, yes and no...lol. The problem is making sure the drone has enough of each item to craft. for example, if you use multiple import pieces, you can tell the drone to only pick up a set amount of each item. If memory serves me correct, if you limit the import to say 1, and you have two filters, it will continue to pick up the first item, and if you have say half a chest worth of one item then the other half is all the other items needed, you could run into problems. So I recommend using an import piece for each unique item in the craft for better control. For example -- Piston has 9 items total in the craft, but only 4 unique items, so you would have 4 import item puzzle pieces (first - limit to 3, item filter wood plank; second - limit to 4, cobble; third - limit to 1, iron ingot, and finally forth - limit to one, piece of redstone). Alternatively, you can use the "For Each Item" Puzzle piece set up like this http://pastebin.com/tEgiS2kz but both works for the final outcome.

MEGADRAGSTER-288 commented 8 years ago

Ok i will try it. Thank you very much that you help me. If you will need help sometime, i will help you :D Στις 29 Απρ 2016 9:44 μ.μ., ο χρήστης "Tekstack" notifications@github.com έγραψε:

Short answer, yes and no...lol. The problem is making sure the drone has enough of each item to craft. for example, if you use multiple import pieces, you can tell the drone to only pick up a set amount of each item. If memory serves me correct, if you limit the import to say 1, and you have two filters, it will continue to pick up the first item, and if you have say half a chest worth of one item then the other half is all the other items needed, you could run into problems. So I recommend using an import piece for each unique item in the craft for better control. For example -- Piston has 9 items total in the craft, but only 4 unique items, so you would have 4 import item puzzle pieces (first - limit to 3, item filter wood plank; second - limit to 4, cobble; third - limit to 1, iron ingot, and finally forth - limit to one, piece of redstone). Alternatively, you can use the "For Each Item" Puzzle piece set up like this http://pastebin.com/tE giS2kz http://pastebin.com/tEgiS2kz but both works for the final outcome.

— You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub https://github.com/MineMaarten/PneumaticCraft/issues/843#issuecomment-215845067