Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Inconcessus/OTMapGen
/ functions
Functions
39 in github.com/Inconcessus/OTMapGen
⨍
Functions
39
◇
Types & classes
0
↓ 22 callers
Function
getRandomBetween
(min, max)
lib/clutter.js:3
↓ 15 callers
Function
pushItemToArray
If source item is an array, will push all of the array items. Otherwise, just push the single item
OTMapGen.js:979
↓ 10 callers
Function
lerp
(a, b, t)
lib/noise.js:246
↓ 5 callers
Function
fade
(t)
lib/noise.js:242
↓ 2 callers
Function
getWeightedRandom
(weights)
lib/clutter.js:151
↓ 1 callers
Function
getFloatingBorder
(neighbours)
lib/border.js:114
↓ 1 callers
Function
getGrassBorder
(neighbours)
lib/border.js:453
↓ 1 callers
Function
getMinimapColor
(id, configuration)
OTMapGen.js:74
↓ 1 callers
Function
getMountainAdditionalItems
(neighbours, currentItems)
lib/border.js:593
↓ 1 callers
Function
getMountainBorders
(neighbours)
lib/border.js:512
↓ 1 callers
Function
getMountainWall
(neighbours)
lib/border.js:563
↓ 1 callers
Function
getMountainWallOuter
(neighbours)
lib/border.js:7
↓ 1 callers
Function
getRandomGrassTile
()
lib/clutter.js:197
↓ 1 callers
Function
getRandomGravel
()
lib/clutter.js:205
↓ 1 callers
Function
getRandomMountainTile
()
lib/clutter.js:193
↓ 1 callers
Function
getRandomSnowTile
()
lib/clutter.js:201
↓ 1 callers
Function
getRandomWaterTile
()
lib/clutter.js:189
↓ 1 callers
Function
getSandBorder
(neighbours)
lib/border.js:166
↓ 1 callers
Function
getWaterBorder
(neighbours)
lib/border.js:335
↓ 1 callers
Function
getWaterBorderSand
(neighbours)
lib/border.js:255
↓ 1 callers
Function
randomFlower
()
lib/clutter.js:168
↓ 1 callers
Function
randomFlower2
()
lib/clutter.js:143
↓ 1 callers
Function
shouldOutline
(layer, j, width)
OTMapGen.js:109
Function
Grad
(x, y, z)
lib/noise.js:20
Function
OTMapGenerator
()
OTMapGen.js:50
Function
createLayer
()
OTMapGen.js:250
Function
createOTBMItem
(id)
OTMapGen.js:750
Function
randomCactus
()
lib/clutter.js:123
Function
randomIces
()
lib/clutter.js:115
Function
randomPalmTree
(neighbours)
lib/clutter.js:131
Function
randomPebble
()
lib/clutter.js:35
Function
randomSandstone
()
lib/clutter.js:11
Function
randomSandstoneMossy
()
lib/clutter.js:96
Function
randomShell
()
lib/clutter.js:19
Function
randomSnows
()
lib/clutter.js:119
Function
randomTileMoss
()
lib/clutter.js:107
Function
randomTree
()
lib/clutter.js:52
Function
randomWaterPlant
(nNeighbours)
lib/clutter.js:78
Function
randomizeTile
(x)
lib/clutter.js:183