How to control the number of spots set for a resource at the start of the game

Place to get help with not working mods / modding interface.
Post Reply
User avatar
picklock
Fast Inserter
Fast Inserter
Posts: 141
Joined: Sat Nov 09, 2019 6:49 am
Contact:

How to control the number of spots set for a resource at the start of the game

Post by picklock »

Hello,

I have added a new resource to one of my mods. That also worked perfectly. I only noticed during my last playthrough that, in my opinion, too many resource spots are generated at the start of the game.

Originally I copied the values of Uran from resources.lua and adapted them for my resource. Now I have tried to reduce the number of spots automatically set at the start of the game by reducing the values "base_spots_per_km2" and "base_density". Unfortunately, this does not seem to have any effect on the number of spots set.

What do I have to change to control the number of spots automatically set at the start of the game?
My Mods: Picklocks Fusion Power | Picklocks Inserter | Picklocks Lithium Polymer Accumulator | Picklocks rocket silo stats | Picklocks Set Inventory Filters

Post Reply

Return to “Modding help”