diff --git a/Resources:-spread-functions.md b/Resources:-spread-functions.md index 116c93d..ff6369f 100644 --- a/Resources:-spread-functions.md +++ b/Resources:-spread-functions.md @@ -11,7 +11,7 @@ Build-in functions make models syntax easier to read: * `minTemp(number)`: true if cell temperature (in Celsius) >= number * `maxTemp(number)`: true if cell temperature <= number * `shore(number)`: check against cell distance to shore, where `1` is land next to water (coastline cells), `2` - next land ring, `-1` - water cells next to land (shallow water), `-2, -3, ...` - next water rings, `0` - value not assigned, usually values are assigned only for first 2 land rings, so other land cells have zero value - +* `type(string)`: check against cell type. Types of all water cells connected to map border is `ocean`, lake types are `freshwater`, `salt`, `sinkhole`, `frozen`, `lava` and `dry`. Land types are defined not so clear, so I don't recommend to use them. In any case land types are `continent`, `island`, `isle` and `lake_island` Default biome ids: * 0: Marine