Azgaar / Fantasy-Map-Generator

Web application generating interactive and highly customizable maps

Home Page:https://azgaar.github.io/Fantasy-Map-Generator

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SOURCE CODE: Villages hard-coded to not pass `name` value in URL

buttonpushertv opened this issue · comments

While looking at the source code for FMG, I see that in modules/ui/editors.js, on line 403 the name value is hard-coded to only ever be a null value. See below:

url.search = new URLSearchParams({pop, name: "", seed: burgSeed, width, height, tags});

Steps to reproduce
See the code in modules/ui/editors.js - line 403

Expected behavior
Should the name value be passed via the generated URL to Watabou's Village Generator from the current village/burg?

url.search = new URLSearchParams({pop, name, seed: burgSeed, width, height, tags});

Intended behavior, the village generator would display the name in a big obstructive font in the small window otherwise.

Yes, @DeuzeksMcKinna is right. I had to remove the name to look a least acceptable

I see. Thanks for the response.