more common farther away
This commit is contained in:
parent
25ec981ec9
commit
0efe1f78e5
2 changed files with 8 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "bztungsten",
|
||||
"version": "0.0.6",
|
||||
"version": "0.0.7",
|
||||
"factorio_version": "1.1",
|
||||
"title": "Tungsten",
|
||||
"author": "Brevven",
|
||||
|
|
|
|||
|
|
@ -86,3 +86,10 @@ data:extend({
|
|||
},
|
||||
})
|
||||
|
||||
-- Wolframite becomes 20% richer past 1000 tiles, 60% richer past 10000 tiles
|
||||
local richness = data.raw.resource["tungsten-ore"].autoplace.richness_expression
|
||||
data.raw.resource["tungsten-ore"].autoplace.richness_expression =
|
||||
richness * noise.if_else_chain(
|
||||
noise.less_than(noise.distance_from(noise.var("x"), noise.var("y"), noise.var("starting_positions")), noise.to_noise_expression(1000)), 1,
|
||||
noise.less_than(noise.distance_from(noise.var("x"), noise.var("y"), noise.var("starting_positions")), noise.to_noise_expression(10000)), 1.2,
|
||||
1.6)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue