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
a day ago
0.14 - 2.0
143K
Environment

i Support to Krastorio 2

4 years ago

Can you add support to Krastorio 2?

4 years ago

Previous version one was contributed by Krastor - I'd prefere that way since it's a complex mod.
I'll ask there and see how it goes.

4 years ago

You can contact me for any information

4 years ago

Previously Krastor prepared a ready to use config file with resource settings. Will you prepare one?
Are there many changes in resources from previous version?

4 years ago

Sure, I will prepare the files soon

4 years ago

Please add these parameters. And thanks for your mod!

function fillKrastorio2Config(config)

    config["rare-metals"] = 
    {
        type="resource-ore",
        allotment=60,
        spawns_per_region={min=1, max=1},
        richness=20000,
        size={min=10, max=26}, 
        min_amount=275,

        starting={richness=3500, size=10, probability=1},

        multi_resource_chance=0.20,
        multi_resource=
        {
            ["iron-ore"] = 4,
            ['copper-ore'] = 2,
            ["uranium-ore"] = 2,
            ["stone"] = 4,
        }
    }

    config["mineral-water"] = 
    {
        type="resource-liquid",
        minimum_amount=200000,
        allotment=60,
        spawns_per_region={min=1, max=2},
        richness={min=100000, max=200000},
        size={min=2, max=5},
    }

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

end
4 years ago

Thanks for the config - releasing 6.0.6 with it right now.
A bit surprised tbh by only 3 new resources :)

4 years ago

When using the mod, mucus is not generated under the bases of the bite

4 years ago

That might be a bit of a problem - is mucus used as a resource?
If mucus is like resource it would be disabled by RSO - and re-enabling it will not put it under biter bases. I might need to take a look into generating it under bases when they are created.

4 years ago

Yes, mucus is used as a resource. I think it’s better to check with the developers of Krastorio2

4 years ago

Hi orzelek,
if u move nests on generation, I can provide u an a remote call for spawn the creep, is easy to implement for me

4 years ago

RSO spawns nests from scratch so they don't exist on map before chunk generation event.
And I see you are doing the creep by script from on_chunk_generated event. It might be enough to put RSO as Krastorio dependency so your handler runs after RSO generation one.

4 years ago

Ok, I will add it as hide dependecy, I have also implement the remotes just in case

New response