Resource Richness Distance Multiplier

by desto

Adjust the richness of resource patches outside the starting area.

Tweaks
1 year, 7 months ago
1.0 - 1.1
311

i Modifying Starter Patches

2 months ago

Would it be possible to have this mod also effect the starter ore patches? I am going for a low resources start up mod set but the starter patches are always far to rich and RSO messes with some of the other mods I have set up.

2 months ago

Hello! That would be possible. The logic for that is in the same file. However, I personally am fine with the sliders the game provides during map creation, so I don't think I would add it to the scope of this mod. Or I would have to rename it ;)

Also, I haven't played Factorio in a long while, so it's unlikely I would look into that anytime soon. Sorry!

2 months ago

If someone with a little experience coding mods for this game wanted to do that. Where/what would be the best place/thing to look for if they wanted to say do it themselves?

2 months ago

Unzip the mod in the mods folder, so that there is a folder instead of the zip file of the same name. Then you can investigate and alter the code. The file you want to look at is resource-autoplace.lua. Look around the variables starting_spots and has_starting_area_placement. You may also check out the devNotes.md file, in which I tried to make a little sense of the algorithm.

2 months ago

I have to say mad respect for not only actually writing dev notes but writing them so cleanly. I have been through the code and It took a while, at one point only uranium was spawning but now… It all works! The mod is not only modified to effect spawn patches but also has separate settings for spawn patches and other patches.

2 months ago

I’m considering rereleasing this version if you are alright with me doing that? Obviously I would give you credit and link back here.

2 months ago

I'm happy to hear my notes were useful to someone other than me. I'm glad I could help, and of course you may re-release your fork. This mod is licensed under the Unlicense, so you may do whatever you want ^^ Enjoy!

New response