Page 1 of 3
[Request - completed] Double Furnace Mining Drill by mat1k
Posted: Mon Jul 15, 2019 10:19 am
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
Re: Furnace with double smelting and mining funciton
Posted: Mon Jul 15, 2019 11:13 am
by Koub
[Koub] Moved to Ideas and requests for mods subforum.
Re: [Request] Furnace with double smelting and mining funciton
Posted: Mon Jul 15, 2019 6:19 pm
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
Re: [Request] Furnace with double smelting and mining funciton
Posted: Mon Jul 15, 2019 7:08 pm
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!
Re: [Request] Furnace with double smelting and mining funciton
Posted: Mon Jul 15, 2019 8:02 pm
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"
Result: One steel plate every 10 seconds.
Re: [Request] Furnace with double smelting and mining funciton
Posted: Mon Jul 15, 2019 8:44 pm
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.
Re: [Request] Furnace with double smelting and mining funciton
Posted: Mon Jul 15, 2019 9:30 pm
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.
Re: [Request] Furnace with double smelting and mining funciton
Posted: Tue Jul 16, 2019 4:32 am
by steinio
How about changing the mining result of iron ore from iron ore to steel beam.
Re: [Request] Furnace with double smelting and mining funciton
Posted: Tue Jul 16, 2019 4:35 am
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.
Re: [Request] Furnace with double smelting and mining funciton
Posted: Tue Jul 16, 2019 4:40 am
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.
Re: [Request] Furnace with double smelting and mining funciton
Posted: Tue Jul 16, 2019 5:43 am
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?
Re: [Request] Furnace with double smelting and mining funciton
Posted: Tue Jul 16, 2019 5:59 am
by darkfrei
It's great mod, but what if the mining drill will be placed on the iron ore AND copper ore simultaneously?
Re: [Request] Furnace with double smelting and mining funciton
Posted: Tue Jul 16, 2019 6:14 am
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?
Re: [Request] Furnace with double smelting and mining funciton
Posted: Tue Jul 16, 2019 7:15 am
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"}
Re: [Request] Furnace with double smelting and mining funciton
Posted: Tue Jul 16, 2019 8:04 am
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!
Re: [Request] Furnace with double smelting and mining funciton
Posted: Tue Jul 16, 2019 8:56 am
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.
Re: [Request] Furnace with double smelting and mining funciton
Posted: Tue Jul 16, 2019 9:01 am
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?
Re: [Request] Furnace with double smelting and mining funciton
Posted: Tue Jul 16, 2019 9:09 am
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.
Re: [Request] Furnace with double smelting and mining funciton
Posted: Tue Jul 16, 2019 9:31 am
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.
Re: [Request] Furnace with double smelting and mining funciton
Posted: Tue Jul 16, 2019 10:24 am
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.