Adding a recipe-like system for mining.
How?
The resources would no longer specify required fluids. Example for the uranium :
Code: Select all
{
type = "resource",
name = "uranium-ore",
...
minable =
{
mining_particle = "stone-particle",
mining_time = 2,
-- result = "uranium-ore", No longer needed
-- fluid_amount = 10, No longer needed
-- required_fluid = "sulfuric-acid" No longer needed
},
...
}
Code: Select all
{
type = "recipe",
name = "uranium-ore",
category = "mining",
resource = { "uranium-ore", 1 }, -- can be resource = "uranium-ore", for short
ingredients =
{
{ type="fluid", name="sulfuric-acid", amount=10 }
},
result =
{
{ type="item", name="uranium-ore", amount=1 } -- could be simplified if single item result
}
}
This would allow for way more customization as it would benefit from per recipe emissions, custom input and output. We could for example make a "clean miner" that takes water to mine base ores and pollute less, we could make the burner miner less relevant by making it output 1 ore for 2 mined, etc. The possibility are endless.
Thanks for reading! The way I propose to do it is probably not the best but it gives an idea of the customization I'd like to see.