function fillDyWorldConfig(config) -- dytech is the only mod which is listed in the dependencies (info.json) -- so it is safe to use remote.interfaces (some resources are shared with bobs ores - so it's unsafe to check for those -> better use remote.interfaces) if remote.interfaces["DyWorld-Core"] then -- exotic ores config["gold-ore"] = { type="resource-ore", allotment=40, spawns_per_region={min=1, max=1}, richness=10000, size={min=15, max=20}, min_amount = 150, multi_resource_chance=0.30, multi_resource={ ["lead-ore"] = 3, ["silver-ore"] = 3, ["tin-ore"] = 3, ["tungsten-ore"] = 3 } } config["silver-ore"] = { type="resource-ore", allotment=40, spawns_per_region={min=1, max=1}, richness=10000, size={min=10, max=20}, min_amount = 150, multi_resource_chance=0.30, multi_resource={ ["lead-ore"] = 3, ["gold-ore"] = 3, ["tin-ore"] = 3, ["tungsten-ore"] = 3, ["cobalt-ore"] = 2 } } config["lead-ore"] = { type="resource-ore", allotment=40, spawns_per_region={min=1, max=1}, richness=10000, size={min=10, max=20}, min_amount = 300, starting={richness=3000, size=15, probability=1}, multi_resource_chance=0.30, multi_resource={ ["silver-ore"] = 3, ["gold-ore"] = 3, ["tin-ore"] = 3, ["tungsten-ore"] = 3 } } config["titanium-ore"] = { type="resource-ore", allotment=40, spawns_per_region={min=1, max=1}, richness=10000, size={min=10, max=20}, min_amount = 300, starting={richness=3000, size=15, probability=1}, multi_resource_chance=0.30, multi_resource={ ["silver-ore"] = 3, ["gold-ore"] = 3, ["tin-ore"] = 3, ["tungsten-ore"] = 3 } } config["tin-ore"] = { type="resource-ore", allotment=40, spawns_per_region={min=1, max=1}, richness=12000, size={min=15, max=25}, min_amount = 300, starting={richness=4000, size=15, probability=1}, multi_resource_chance=0.30, multi_resource={ ["lead-ore"] = 3, ["silver-ore"] = 3, ["gold-ore"] = 3, ["tungsten-ore"] = 3, ["copper-ore"] = 2 } } config["zinc-ore"] = { type="resource-ore", allotment=40, spawns_per_region={min=1, max=1}, richness=6000, size={min=10, max=20}, min_amount = 250, starting={richness=2000, size=15, probability=1}, multi_resource_chance=0.30, multi_resource={ ["lead-ore"] = 3, ["silver-ore"] = 3, ["gold-ore"] = 3, ["tin-ore"] = 3, ["tungsten-ore"] = 3 } } config["tungsten-ore"] = { type="resource-ore", allotment=30, spawns_per_region={min=1, max=1}, richness=8000, size={min=10, max=20}, min_amount = 200, multi_resource_chance=0.30, multi_resource={ ["lead-ore"] = 3, ["silver-ore"] = 3, ["gold-ore"] = 3, ["tin-ore"] = 3, ["cobalt-ore"] = 1 } } config["cobalt-ore"] = { type="resource-ore", allotment=30, spawns_per_region={min=1, max=1}, richness=2000, size={min=10, max=15}, min_amount = 150, multi_resource_chance=0.30, multi_resource={ ["lead-ore"] = 3, ["silver-ore"] = 3, ["gold-ore"] = 3, ["tin-ore"] = 3, ["arditium-ore"] = 3 } } config["arditium"] = { type="resource-ore", allotment=30, spawns_per_region={min=1, max=1}, richness=2000, size={min=10, max=15}, min_amount = 150, multi_resource_chance=0.30, multi_resource={ ["lead-ore"] = 3, ["silver-ore"] = 3, ["gold-ore"] = 3, ["tin-ore"] = 3 } } config["iron-ore"] = { type="resource-ore", -- general spawn params allotment=100, -- how common resource is spawns_per_region={min=1, max=1}, --number of chunks richness=20000, -- resource_ore has only one richness value - resource-liquid has min/max size={min=20, max=30}, -- rough radius of area, too high value can produce square shaped areas min_amount=300, -- resource provided at starting location -- probability: 1 = 100% chance to be in starting area -- 0 = resource is not in starting area starting={richness=8000, size=25, probability=1}, multi_resource_chance=0.20, -- absolute value multi_resource={ ["iron-ore"] = 2, -- ["resource_name"] = allotment ['copper-ore'] = 4, ["coal"] = 4, ["stone"] = 4, } } config["copper-ore"] = { type="resource-ore", allotment=100, spawns_per_region={min=1, max=1}, richness=16000, size={min=20, max=30}, min_amount=300, starting={richness=6000, size=25, probability=1}, multi_resource_chance=0.20, multi_resource={ ["iron-ore"] = 4, ['copper-ore'] = 2, ["coal"] = 4, ["stone"] = 4, } } config["coal"] = { type="resource-ore", allotment=80, spawns_per_region={min=1, max=1}, size={min=15, max=25}, richness=13000, min_amount=300, starting={richness=6000, size=20, probability=1}, multi_resource_chance=0.30, multi_resource={ ["crude-oil"] = 1, ["iron-ore"] = 3, ['copper-ore'] = 3, } } config["stone"] = { type="resource-ore", allotment=80, spawns_per_region={min=1, max=1}, richness=20000, size={min=15, max=20}, min_amount=250, starting={richness=8000, size=16, probability=1}, multi_resource_chance=0.30, multi_resource={ ["coal"] = 4, ["iron-ore"] = 3, ['copper-ore'] = 3, } } config["uranium-ore"] = { type="resource-ore", allotment=40, spawns_per_region={min=1, max=1}, richness=6000, size={min=10, max=15}, min_amount=300, } end end