Crafting Combinator


Includes combinators that allow you to set or read the recipe of any crafting machine, get ingredients or products of a recipe and more!

Content
3 years ago
0.14 - 1.1
21.4K
Manufacturing

g Recipe Combinator doesnt work!

8 years ago

Hey Rusty,

the Recipe Combinator doesnt output the Recipes ;)

So yeah.

8 years ago

Aren't you trying it with a recipe you haven't researched yet? Both the combinators only work for recipes your force has researched.
If that is not the case, I'm going to need more details, because it works for me.
You did point me towards another issue tho, so I'm gonna go fix that one now ;)

8 years ago

I use the Creative MOD and I tryed to work with the Recipe Combinator, but it dont Outputs the Ingredients etc. And yes I have everything researched ^^

https://puu.sh/t0v2L/a5926059c9.png

Greetz,

Luzifer

8 years ago
(updated 8 years ago)

Oh, well, the recipe combinator works a bit differently than that...
You input a recipe signal and it'll output the ingredients, it can't read it directly from an assembler.

A good point is though that there's currently no way to read the recipe from an assembler. I can imagine that would be quite a useful feature.
I'm not sure what would be the best way to implement it tho. It might work to make it a second function of the recipe combinator but I'm worried it would be too confusing (it kinda is already).
If you have any ideas on how to do this or think that I should change something, be sure let me know ;)

Cheers TRK

PS: Are those wires pink? :D

8 years ago
(updated 8 years ago)

Yep the Wires are Pink :D I have changed some colors :P

You can read the Recipe you NOOB XD

recipe :: LuaRecipe [Read-Write]
Current recipe being assembled by this machine.

Can only be used if this is CraftingMachine

So: local r = entity.recipe

:P

Greetz,

Luzi

8 years ago
(updated 8 years ago)

I knew that :D
I mean with the mod you can't do it in-game and the problem is how to make it as little confusing as possible... The actual coding part is no issue on my part ;)

Cheers TRK

8 years ago

Mhmm, make it like the Circuit Switch. 2 Entitys 1 Input and the Output. The Input reads the highest Item and shows in the Output the Ingredients, Time etc.

8 years ago
(updated 8 years ago)

Yea, that'd be better than how the recipe combinator works now, but it still doesn't solve what would read the recipe from the assembler.
I guess making a new entity for it is the only viable option. I'm kinda worried tho, because It'll be the third constant combinator-like entity in the mod...
I probably should make some sprites. I'm not really great at it tho and it takes me a long time usually...
Well, let's get to work :P
Cheers TRK

Edit: now that I'm thinking about it some kind of renaming would probably be necessary too since "recipe combinator" is not a very clear. Maybe something like "recipe database" and "recipe reader" could work...

8 years ago

I can make you some graphics, so recolored Constant Combinators.

8 years ago
(updated 8 years ago)

I mean, I could do recolors too but if you want to feel free to make them. You'd save me some work.
I'll probably eventually try to make something better but as I said, it'll take me a while.

Cheers TRK

New response