Page 2 of 2

Re: [MOD 0.2.10] Electric Furnace that actually works

Posted: Sun Mar 17, 2013 2:15 pm
by 15Cyndaquil
drs9999 wrote:May I ask how you achieve that?
The only way to do that that comes to my mind is that you changed the vanilla-recipe and in that case the furnace will do the same.
15Cyndaquil wrote:actualy i could it would have to be like i put in one iron ore and get two out
I am probably wrong, but I am relative sure that I tried something similar some days ago and receive an error, because of creating a recipe like this
since the iron ore i belive does not have an actual crafting recipe since it is a resource and you mine to get it, i could add a recipe for it and hide it from all but one crafting machine that gives you two ore after.

Re: [MOD 0.2.10] Electric Furnace that actually works

Posted: Sun Mar 17, 2013 2:49 pm
by drs9999
15Cyndaquil wrote:since the iron ore i belive does not have an actual crafting recipe since it is a resource and you mine to get it, i could add a recipe for it and hide it from all but one crafting machine that gives you two ore after.
Yes that is true, but if I try this:

Code: Select all

  {
    "result": "iron-ore",
    "result-count": 2,
    "ingredients": { "iron-ore": 1 }
  },
my game crashes. (Maybe this error only appears when the recipe is attached to the "crafting"-category. I didnt tested it with a different category)

Re: [MOD 0.2.10] Electric Furnace that actually works

Posted: Sun Mar 17, 2013 2:55 pm
by ficolas
That crashes because the game tries to make the total raw to make an iron ore, and to make two iron ore you need one, to make that one, you need another eyc, so the game goes in a infinite loop and crashes

Re: [MOD 0.2.10] Electric Furnace that actually works

Posted: Sun Mar 17, 2013 2:57 pm
by drs9999
Yes, thats why I ask how he achieved it that it doesnt crash...

Re: [MOD 0.2.10] Electric Furnace that actually works

Posted: Sun Mar 17, 2013 2:59 pm
by ficolas
I could
He didnt try it yet?

Re: [MOD 0.2.10] Electric Furnace that actually works

Posted: Sun Mar 17, 2013 3:11 pm
by kovarex
Maceartor ...
I would just make recipe category for macerator add recipe
one ore -> 2 ore dust
and add 1 ore dust -> one iron plate into the furnace category.

Re: [MOD 0.2.10] Electric Furnace that actually works

Posted: Sun Mar 17, 2013 3:13 pm
by ficolas
kovarex wrote:Maceartor ...
I would just make recipe category for macerator add recipe
one ore -> 2 ore dust
and add 1 ore dust -> one iron plate into the furnace category.
Prototipe "iron-plate" registered twice
(I know is fixed for 0.3 And I cant wait D:)

Re: [MOD 0.2.10] Electric Furnace that actually works

Posted: Sun Mar 17, 2013 3:15 pm
by 15Cyndaquil
kovarex that is what i was going to do in the next update but i was thinking of making it for 0.2.10

Re: [MOD 0.2.10] Electric Furnace that actually works

Posted: Sun Mar 17, 2013 3:18 pm
by ficolas
15Cyndaquil wrote:kovarex that is what i was going to do in the next update but i was thinking of making it for 0.2.10
Again, you cant do it, because in 0.2.10 you cant have two recipes for one item, because the error that I said, is sent, you need to wait for 0.3

Re: [MOD 0.2.10] Electric Furnace that actually works

Posted: Sun Mar 17, 2013 5:46 pm
by 15Cyndaquil
I know i cant make it that way in 0.2.10 but i may try to make it a different way for this version

Re: [MOD 0.2.10] Electric Furnace that actually works

Posted: Sun Mar 17, 2013 6:07 pm
by ficolas
I can tell you a way, but it needs lua codding.

Re: [MOD 0.2.10] Electric Furnace that actually works

Posted: Mon Mar 18, 2013 6:09 pm
by 15Cyndaquil
that would be a problem i hardly know any code