From f3e36dc4557b886777053ad8df0b0885da20eb4d Mon Sep 17 00:00:00 2001 From: Azgaar Date: Wed, 29 Aug 2018 00:14:41 +0300 Subject: [PATCH] v. 0.59.01b --- index.html | 6 +++--- script.js | 5 +++-- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/index.html b/index.html index f083a2e5..714d9b56 100644 --- a/index.html +++ b/index.html @@ -32,8 +32,8 @@ - - + + @@ -1143,5 +1143,5 @@ - + diff --git a/script.js b/script.js index c49b36dd..012e7f94 100644 --- a/script.js +++ b/script.js @@ -205,7 +205,7 @@ function fantasyMap() {
  • Dialogs style changes, optional transparency
  • Ability to toggle Label groups separately
  • Bug fixes
  • -
    See a dedecated post for the details. +
    See a dedicated post for the details. Please report bugs here. Join our Reddit community to share created maps, discuss the Generator, ask questions and propose new features.`; @@ -3404,6 +3404,7 @@ function fantasyMap() { // open in MFCG $("#burgSeeInMFCG").click(function() { const id = +elSelected.attr("data-id"); + const name = manors[id].name; const cell = manors[id].cell; const pop = rn(manors[id].population); const size = pop > 65 ? 65 : pop < 6 ? 6 : pop; @@ -3414,7 +3415,7 @@ function fantasyMap() { const sec = pop > 40 ? 1 : Math.random() < pop / 100 ? 1 : 0; const thr = sec && Math.random() < 0.8 ? 1 : 0; const url = "http://fantasycities.watabou.ru/"; - let params = `?size=${size}&seed=${s}&hub=${hub}&random=0&continuous=0` + let params = `?name=${name}&size=${size}&seed=${s}&hub=${hub}&random=0&continuous=0` params += `&river=${river}&coast=${coast}&citadel=${id&1}&plaza=${sec}&temple=${thr}&walls=${sec}&shantytown=${sec}`; const win = window.open(url+params, '_blank'); win.focus();