I create new category:
Code: Select all
data:extend({
{
type = "resource-category",
name = "new_ore"
},
})
and adding to my mining drill this property
Code: Select all
resource_categories = {"new_ore"},

Code: Select all
data:extend({
{
type = "resource-category",
name = "new_ore"
},
})
Code: Select all
resource_categories = {"new_ore"},
Code: Select all
category = "basic-fluid",
wow, [category = "new_ore",] is really work! Now my miner can be placed only on my ore, which is what I wanted! how could I not notice such an easy decision... I checked everything, but I always ignored the oil.daniel34 wrote: crude-oil has this in the resources.lua:Code: Select all
category = "basic-fluid",