mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-16 17:31:24 +01:00
v. 0.59.01b
This commit is contained in:
parent
265731c597
commit
f3e36dc455
2 changed files with 6 additions and 5 deletions
|
|
@ -32,8 +32,8 @@
|
||||||
<script src="libs/quantize.min.js" defer></script>
|
<script src="libs/quantize.min.js" defer></script>
|
||||||
<script src="libs/d3-hexbin.v0.2.min.js" defer></script>
|
<script src="libs/d3-hexbin.v0.2.min.js" defer></script>
|
||||||
<script src="libs/jquery.ui.touch-punch.min.js" defer></script>
|
<script src="libs/jquery.ui.touch-punch.min.js" defer></script>
|
||||||
<link rel="stylesheet" type="text/css" href="index.css?version=0.59.00b"/>
|
<link rel="stylesheet" type="text/css" href="index.css?version=0.59.01b"/>
|
||||||
<link rel="stylesheet" type="text/css" href="icons.css?version=0.59.00b"/>
|
<link rel="stylesheet" type="text/css" href="icons.css?version=0.59.01b"/>
|
||||||
<link rel="stylesheet" type="text/css" href="libs/jquery-ui.css"/>
|
<link rel="stylesheet" type="text/css" href="libs/jquery-ui.css"/>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
@ -1143,5 +1143,5 @@
|
||||||
<input type="file" accept=".txt" id="namesbaseToLoad">
|
<input type="file" accept=".txt" id="namesbaseToLoad">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<script src="script.js?version=0.59.00b"></script>
|
<script src="script.js?version=0.59.01b"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
|
||||||
|
|
@ -205,7 +205,7 @@ function fantasyMap() {
|
||||||
<li>Dialogs style changes, optional transparency</li>
|
<li>Dialogs style changes, optional transparency</li>
|
||||||
<li>Ability to toggle Label groups separately</li>
|
<li>Ability to toggle Label groups separately</li>
|
||||||
<li>Bug fixes</li>
|
<li>Bug fixes</li>
|
||||||
<br><i>See <a href='' target='_blank'>a dedecated post</a> for the details.
|
<br><i>See <a href='https://www.reddit.com/r/FantasyMapGenerator/comments/9b2v2u/update_new_version_is_published_v059b' target='_blank'>a dedicated post</a> for the details.
|
||||||
Please report bugs <a href='https://github.com/Azgaar/Fantasy-Map-Generator/issues' target='_blank'>here</a>.
|
Please report bugs <a href='https://github.com/Azgaar/Fantasy-Map-Generator/issues' target='_blank'>here</a>.
|
||||||
Join our <a href='https://www.reddit.com/r/FantasyMapGenerator/' target='_blank'>Reddit community</a>
|
Join our <a href='https://www.reddit.com/r/FantasyMapGenerator/' target='_blank'>Reddit community</a>
|
||||||
to share created maps, discuss the Generator, ask questions and propose new features.</i>`;
|
to share created maps, discuss the Generator, ask questions and propose new features.</i>`;
|
||||||
|
|
@ -3404,6 +3404,7 @@ function fantasyMap() {
|
||||||
// open in MFCG
|
// open in MFCG
|
||||||
$("#burgSeeInMFCG").click(function() {
|
$("#burgSeeInMFCG").click(function() {
|
||||||
const id = +elSelected.attr("data-id");
|
const id = +elSelected.attr("data-id");
|
||||||
|
const name = manors[id].name;
|
||||||
const cell = manors[id].cell;
|
const cell = manors[id].cell;
|
||||||
const pop = rn(manors[id].population);
|
const pop = rn(manors[id].population);
|
||||||
const size = pop > 65 ? 65 : pop < 6 ? 6 : pop;
|
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 sec = pop > 40 ? 1 : Math.random() < pop / 100 ? 1 : 0;
|
||||||
const thr = sec && Math.random() < 0.8 ? 1 : 0;
|
const thr = sec && Math.random() < 0.8 ? 1 : 0;
|
||||||
const url = "http://fantasycities.watabou.ru/";
|
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}`;
|
params += `&river=${river}&coast=${coast}&citadel=${id&1}&plaza=${sec}&temple=${thr}&walls=${sec}&shantytown=${sec}`;
|
||||||
const win = window.open(url+params, '_blank');
|
const win = window.open(url+params, '_blank');
|
||||||
win.focus();
|
win.focus();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue