Page 1 of 1

[2.1.7] Undocumented resource parameters

Posted: Thu Jun 25, 2026 12:25 pm
by ickputzdirwech
I'm currently trying to understand how much of each resource is spawned and I noticed there are some parameters in the base game resource definitions that I can't find any explanation for. See for example

Code: Select all

base_density = 10,
regular_rq_factor_multiplier = 1.10,
starting_rq_factor_multiplier = 1.5,
candidate_spot_count = 22, -- To match 0.17.50 placement
in https://github.com/wube/factorio-data/b ... ua#L89-L92

Re: [2.1.7] Undocumented resource parameters

Posted: Thu Jul 02, 2026 4:14 pm
by Bilka
These are used only in the lualib (they are not part of the prototype) and as such are currently not expected to be documented, since the lualib is currently undocumented. You may have some luck reading core/lualib/resource-autoplace.lua for how they are used by that method, since it's all in Lua.