mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 10:01:23 +01:00
refactor(es modules): modulize utils
This commit is contained in:
parent
21fc303320
commit
b8ae515425
15 changed files with 51 additions and 24 deletions
|
|
@ -4,6 +4,7 @@ import {unique} from "/src/utils/arrayUtils";
|
|||
import {getRandomColor, getMixedColor} from "/src/utils/colorUtils";
|
||||
import {rn} from "/src/utils/numberUtils";
|
||||
import {rand, P, ra, rw, biased} from "@/utils/probabilityUtils";
|
||||
import {trimVowels, getAdjective, abbreviate} from "@/utils/languageUtils";
|
||||
|
||||
window.Religions = (function () {
|
||||
// name generation approach and relative chance to be selected
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue