mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.22.26
This commit is contained in:
parent
d3486c5eee
commit
07bc3dee33
4 changed files with 58 additions and 36 deletions
|
|
@ -11,24 +11,7 @@
|
|||
cells = grid.cells, p = grid.points;
|
||||
cells.h = new Uint8Array(grid.points.length);
|
||||
|
||||
const input = document.getElementById("templateInput");
|
||||
if (!locked("template")) {
|
||||
const templates = {
|
||||
"Volcano": 3,
|
||||
"High Island": 22,
|
||||
"Low Island": 9,
|
||||
"Continents": 20,
|
||||
"Archipelago": 25,
|
||||
"Mediterranean":3,
|
||||
"Peninsula": 3,
|
||||
"Pangea": 5,
|
||||
"Isthmus": 2,
|
||||
"Atoll": 1,
|
||||
"Shattered": 7};
|
||||
input.value = rw(templates);
|
||||
}
|
||||
|
||||
switch (input.value) {
|
||||
switch (document.getElementById("templateInput").value) {
|
||||
case "Volcano": templateVolcano(); break;
|
||||
case "High Island": templateHighIsland(); break;
|
||||
case "Low Island": templateLowIsland(); break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue