Resource Spawner Overhaul

by orzelek

Makes resources more sparse than base game. You will need to use trains much earlier to get resources. Game will be more difficult especially with higher enemy settings.

Tweaks
26 days ago
0.14 - 2.0
145K
Environment

g Krastorio support

5 years ago

Hello, I am the author of the Krastorio mod. Could you add support for my modification in the next update? I setup everything and tested compatibility with Bob's and Pyanodon's mods. Everything works and generated.

function fillKrastorioConfig(config)

config["kr-sand"] = {
    type="resource-ore",
    allotment=80,
    spawns_per_region={min=1, max=1},
    richness=30000,
    size={min=20, max=30}, 
    min_amount=300,

    starting={richness=8000, size=25, probability=1}
}

config["kr-gold"] = {
    type="resource-ore",
    allotment=60,
    spawns_per_region={min=1, max=1},
    richness=25000,
    size={min=10, max=25}, 
    min_amount=250,

    starting={richness=8000, size=25, probability=1}
}

config["menarite"] = {
    type="resource-liquid",
    minimum_amount=200000,
    allotment=50,
    spawns_per_region={min=1, max=1},
    richness={min=2000000, max=5000000}, -- richness per resource spawn
    size={min=1, max=1},
    useOreScaling = true
}

config["imersite"] = {
    type="resource-liquid",
    minimum_amount=150000,
    allotment=25,
    spawns_per_region={min=1, max=1},
    richness={min=1500000, max=3750000}, -- richness per resource spawn
    size={min=1, max=1},
    useOreScaling = true
}

end

5 years ago

Sure.
I have a few more changes - I'll try to get to them on weekend.

5 years ago

Thank you very much!

5 years ago

Did you update RSO for Krastorio ?

5 years ago

Yes, it should be in last two versions.

5 years ago
(updated 5 years ago)

Hello, can you please update the krastorio.lua file in the next update?
Here is the code with the new ore and minor changes to the old ores:

config["sand"] = {
    type="resource-ore",
    allotment=80,
    spawns_per_region={min=1, max=1},
    richness=25000,
    size={min=20, max=30}, 
    min_amount=300,
    starting={richness=8000, size=20, probability=1}
}

config["gold-ore"] = {
    type="resource-ore",
    allotment=60,
    spawns_per_region={min=1, max=1},
    richness=20000,
    size={min=10, max=20}, 
    min_amount=250
}

config["rich-rock"] = {
    type="resource-ore",
    allotment=30,
    spawns_per_region={min=1, max=1},
    richness=100000,
    size={min=15, max=30}, 
    min_amount=1000
}

config["menarite"] = {
    type="resource-liquid",
    minimum_amount=200000,
    allotment=50,
    spawns_per_region={min=1, max=1},
    richness={min=2000000, max=5000000},
    size={min=1, max=1},
    useOreScaling = true
}

config["imersite"] = {
    type="resource-liquid",
    minimum_amount=150000,
    allotment=25,
    spawns_per_region={min=1, max=1},
    richness={min=1500000, max=3750000},
    size={min=1, max=1},
    useOreScaling = true
}

New response