Hi,
When prototyping a new resource, using the most basic possible richness_expression of a literal number of 1 (and a probability expression meaning the resource should be basically everywhere), the resource does not appear on the map whatsoever.
The moment I increase that number to 2, the resource appears completely blanketing the whole map, all with a richness of 2.
Is there a reason a richness of 1 seems not to be permitted? Is there something I'm doing wrong that could be disallowing it to happen?
Thanks,
dusher.
Unable to set custom resource richness to 1
Re: Unable to set custom resource richness to 1
Searching into the API docs, I see that :
(https://lua-api.factorio.com/latest/typ ... expression)
And the link to noise expression says https://lua-api.factorio.com/latest/typ ... ssion.html
I don't see anywhere that 1 is a valid value.
Bear in mind I have never ever tried to mod anything, so I might be wrong.
Code: Select all
richness_expression :: NoiseExpression optional
And the link to noise expression says https://lua-api.factorio.com/latest/typ ... ssion.html
I don't see anywhere that 1 is a valid value.
Bear in mind I have never ever tried to mod anything, so I might be wrong.
Koub - Please consider English is not my native language.
Re: Unable to set custom resource richness to 1
Resource entities with exactly 1 richness aren't spawned by the game. This is a bug that is fixed in 2.0. See also viewtopic.php?p=599920#p599920.
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.