[Request - completed] Double Furnace Mining Drill by mat1k

This is the place to request new mods or give ideas about what could be done.
biggieboy
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Jul 15, 2019 10:14 am
Contact:

[Request - completed] Double Furnace Mining Drill by mat1k

Post by biggieboy »

Hi guys!

I like Furnace Mining Drill (https://mods.factorio.com/mod/FurnaceMiningDrill) by DellAquila
and Double Furnace (https://mods.factorio.com/mod/DoubleFurnace) by raid

Is it possible merge both function? (mining and double furnace)? I try it, but im too amateur for this.. somebody can make this mod?

Thank you!

(sorry my bad english, im from Hungary!)

edit:

Request is completed, thank you for everbody!

Link: Double Furnace Mining Drill by mat1k
Hungarian translate: Biggieboy
Last edited by biggieboy on Sat Jul 20, 2019 9:36 am, edited 6 times in total.

Koub
Global Moderator
Global Moderator
Posts: 7198
Joined: Fri May 30, 2014 8:54 am
Contact:

Re: Furnace with double smelting and mining funciton

Post by Koub »

[Koub] Moved to Ideas and requests for mods subforum.
Koub - Please consider English is not my native language.

User avatar
mat1k
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Sat Dec 22, 2018 8:48 am
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by mat1k »

It seems doable from what i recall of the mods. I run both but am at work so can't check the code right now. Pretty sure the double furnace simply uses a seperate crafting category with some power and speed adjustments for balance

biggieboy
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Jul 15, 2019 10:14 am
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by biggieboy »

I checked the code, and i try myself, but ist not work.. i found the recipe, the technology, but i didnt fount the result.. so, its mining, but not smelting steel, just iron.

You think can you do it? :)

Thank you!

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by darkfrei »

Set dependencies in the info.json to

Code: Select all

"dependencies": ["base", "FurnaceMiningDrill", "DoubleFurnace"],
and in the data.lua just:

Code: Select all

data.raw["furnace"]["passive-furnace"].crafting_categories = {"double-smelting"}

data.raw["furnace"]["passive-furnace"].crafting_speed = 1.6
data.raw["furnace"]["passive-furnace"].energy_usage = "300kW"
done
Result: One steel plate every 10 seconds.

User avatar
mat1k
Long Handed Inserter
Long Handed Inserter
Posts: 55
Joined: Sat Dec 22, 2018 8:48 am
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by mat1k »

That will work BUT you would lose the ability to use that entity for it's normal use. I think he wants to be able to smelt to iron or steel by placing the appropriate machine. Also the furnace mining drill is used for copper and stone too

When i get home I'll look at creating a new entity to mine and smelt to steel without losing the existing ones.

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by darkfrei »

You can just add new control.lua with your new miner/furnace entity.

Then it must be the assembling machine, where you can choose the recipe.

User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2633
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by steinio »

How about changing the mining result of iron ore from iron ore to steel beam.
Image

Transport Belt Repair Man

View unread Posts

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by darkfrei »

steinio wrote:
Tue Jul 16, 2019 4:32 am
How about changing the mining result of iron ore from iron ore to steel beam.
Here's need iron plates too, it must be steel ore.
Last edited by darkfrei on Tue Jul 16, 2019 4:58 am, edited 1 time in total.

User avatar
steinio
Smart Inserter
Smart Inserter
Posts: 2633
Joined: Sat Mar 12, 2016 4:19 pm
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by steinio »

darkfrei wrote:
Tue Jul 16, 2019 4:35 am
steinio wrote:
Tue Jul 16, 2019 4:32 am
How about changing the mining result of iron ore from iron ore to steel beam.
Here's need iron plates to, it must be steel ore.
OH yeah.

If we only had the possibility to bind the mining result to a specific miner it could only look like a furnace.
Image

Transport Belt Repair Man

View unread Posts

biggieboy
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Jul 15, 2019 10:14 am
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by biggieboy »

mat1k wrote:
Mon Jul 15, 2019 8:44 pm
That will work BUT you would lose the ability to use that entity for it's normal use. I think he wants to be able to smelt to iron or steel by placing the appropriate machine. Also the furnace mining drill is used for copper and stone too

When i get home I'll look at creating a new entity to mine and smelt to steel without losing the existing ones.
I found this mod: https://mods.factorio.com/mod/furnace-recipe (by icefair)

there is option to select recipe, this is good?

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by darkfrei »

biggieboy wrote:
Tue Jul 16, 2019 5:43 am
I found this mod: https://mods.factorio.com/mod/furnace-recipe (by icefair)

there is option to select recipe, this is good?
It's great mod, but what if the mining drill will be placed on the iron ore AND copper ore simultaneously?

biggieboy
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Jul 15, 2019 10:14 am
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by biggieboy »

darkfrei wrote:
Tue Jul 16, 2019 5:59 am
It's great mod, but what if the mining drill will be placed on the iron ore AND copper ore simultaneously?
If select iron/steel plate, mining the iron ore. If copper plate select, mine copper ore. Sound easy, but i think its not, different the mining, and different the smelting.

Am i think good?

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by darkfrei »

Solution 1:
Set iron ore to another resource category:

Code: Select all

data:extend ({
    {
      type = "resource-category",
      name = "advanced-solid"
    }
  })
data.raw.resource["iron-ore"].category = "advanced-solid"
Then add to all mining drills this category, but for new "double-smelting-mining-drill" only new category. It cannot mine copper and stone, but iron ore.
Set the control, when you place the "double-smelting-mining-drill" then place the "hidden-mining-double-smelting-furnace" to the same position.
Don't forget to set new crafting category:

Code: Select all

data.raw["furnace"]["hidden-mining-double-smelting-furnace"].crafting_categories = {"double-smelting"}

biggieboy
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Jul 15, 2019 10:14 am
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by biggieboy »

darkfrei wrote:
Tue Jul 16, 2019 7:15 am
cannot mine copper and stone, but iron ore.
I think better, can mine copper and stone too, have solution for this? Like Fournace Recipe mod? Build the furnace, and chose the recipe what i wanna mining/smelting.

Thank you!

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by darkfrei »

biggieboy wrote:
Tue Jul 16, 2019 8:04 am
Build the furnace, and chose the recipe what i wanna mining/smelting.
If you must choose the recipe then you must every time change the recipe when the miner covers two or more resources.

biggieboy
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Jul 15, 2019 10:14 am
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by biggieboy »

darkfrei wrote:
Tue Jul 16, 2019 8:56 am
If you must choose the recipe then you must every time change the recipe when the miner covers two or more resources.
Thats mean if mine first step iron ore, its make the iron/steel plate. But if second step mine copper ore, stop the smelting, and must be choose again the recipe?

Can not define the mine, what is the resource? Just mining copper, or just mining ore?

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by darkfrei »

biggieboy wrote:
Tue Jul 16, 2019 9:01 am
Can not define the mine, what is the resource? Just mining copper, or just mining ore?
Same as by the mining drill, there is no way to say that you want iron ore, but not the copper or uranium ore.

biggieboy
Burner Inserter
Burner Inserter
Posts: 19
Joined: Mon Jul 15, 2019 10:14 am
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by biggieboy »

darkfrei wrote:
Tue Jul 16, 2019 9:09 am
Same as by the mining drill, there is no way to say that you want iron ore, but not the copper or uranium ore.
I tested the mining furnace mod with double field (copper ore and iron ore field) Its just randomly chose 1 and avery time mining same. I think this is not big problem. And i think this situation is rare.

User avatar
darkfrei
Smart Inserter
Smart Inserter
Posts: 2903
Joined: Thu Nov 20, 2014 11:11 pm
Contact:

Re: [Request] Furnace with double smelting and mining funciton

Post by darkfrei »

biggieboy wrote:
Tue Jul 16, 2019 9:31 am
And i think this situation is rare.
Situation is rare --> situation is possible! If it's possible then we are need solution for it.

You have the smelting mining drill for all ores, we are need just double smelting mining drill, just for steel plates. It must be powerful and expensive.

Post Reply

Return to “Ideas and Requests For Mods”