Updated Resources: spread functions (markdown)

Azgaar 2021-05-12 17:43:13 +03:00
parent acef804b5b
commit 4c0e95ff00

@ -20,24 +20,23 @@ The options are limited to a number of build-in functions. These functions make
* `type(string, 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`
* `river()`: true if there is a river in the cell
### # Biomes ids
### Biomes ids
Default biome ids:
* 0: Marine
* 1: Hot desert
* 2: Cold desert
* 3: Savanna
* 4: Grassland
* 5: Tropical seasonal forest
* 6: Temperate deciduous forest
* 7: Tropical rainforest
* 8: Temperate rainforest
* 9: Taiga
* 10: Tundra
* 11: Glacier
* 12: Wetland
0: Marine;
1: Hot desert;
2: Cold desert;
3: Savanna;
4: Grassland;
5: Tropical seasonal forest;
6: Temperate deciduous forest;
7: Tropical rainforest;
8: Temperate rainforest;
9: Taiga;
10: Tundra;
11: Glacier;
12: Wetland.
To get actual biome id run `biomesData.name.map((n,i) => i+". "+n)` in FMG console (F12).
These are the default biomes. To get actual ids run `biomesData.name.map((n,i) => i+". "+n)` in FMG console (F12).
# Examples