[MOD 0.2.10] Electric Furnace that actually works

Topics and discussion about specific mods
15Cyndaquil
Long Handed Inserter
Long Handed Inserter
Posts: 63
Joined: Fri Feb 15, 2013 10:34 pm
Contact:

Re: [MOD 0.2.10] Electric Furnace that actually works

Post 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.
The more complicated the game the better

drs9999
Filter Inserter
Filter Inserter
Posts: 831
Joined: Wed Mar 06, 2013 11:16 pm
Contact:

Re: [MOD 0.2.10] Electric Furnace that actually works

Post 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)

ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: [MOD 0.2.10] Electric Furnace that actually works

Post 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

drs9999
Filter Inserter
Filter Inserter
Posts: 831
Joined: Wed Mar 06, 2013 11:16 pm
Contact:

Re: [MOD 0.2.10] Electric Furnace that actually works

Post by drs9999 »

Yes, thats why I ask how he achieved it that it doesnt crash...

ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: [MOD 0.2.10] Electric Furnace that actually works

Post by ficolas »

I could
He didnt try it yet?

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [MOD 0.2.10] Electric Furnace that actually works

Post 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.

ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: [MOD 0.2.10] Electric Furnace that actually works

Post 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:)

15Cyndaquil
Long Handed Inserter
Long Handed Inserter
Posts: 63
Joined: Fri Feb 15, 2013 10:34 pm
Contact:

Re: [MOD 0.2.10] Electric Furnace that actually works

Post 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
The more complicated the game the better

ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: [MOD 0.2.10] Electric Furnace that actually works

Post 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

15Cyndaquil
Long Handed Inserter
Long Handed Inserter
Posts: 63
Joined: Fri Feb 15, 2013 10:34 pm
Contact:

Re: [MOD 0.2.10] Electric Furnace that actually works

Post 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
The more complicated the game the better

ficolas
Smart Inserter
Smart Inserter
Posts: 1068
Joined: Sun Feb 24, 2013 10:24 am
Contact:

Re: [MOD 0.2.10] Electric Furnace that actually works

Post by ficolas »

I can tell you a way, but it needs lua codding.

15Cyndaquil
Long Handed Inserter
Long Handed Inserter
Posts: 63
Joined: Fri Feb 15, 2013 10:34 pm
Contact:

Re: [MOD 0.2.10] Electric Furnace that actually works

Post by 15Cyndaquil »

that would be a problem i hardly know any code
The more complicated the game the better

Post Reply

Return to “Mods”