This commit is contained in:
Azgaar 2020-12-17 23:20:50 +03:00
parent 3f42f0c8c4
commit 3a55ed1c08
3 changed files with 3 additions and 3 deletions

View file

@ -328,7 +328,7 @@ function editBurg(id) {
function openInIAHG(event) { function openInIAHG(event) {
const id = elSelected.attr("data-id"), burg = pack.burgs[id], defSeed = `${seed}-b${id}`; const id = elSelected.attr("data-id"), burg = pack.burgs[id], defSeed = `${seed}-b${id}`;
const openIAHG = () => openURL("https://ironarachne.com/heraldry/" + (burg.IAHG || defSeed)); const openIAHG = () => openURL("https://ironarachne.com/#/heraldry/" + (burg.IAHG || defSeed));
if (isCtrlClick(event)) { if (isCtrlClick(event)) {
prompt(`Please provide an Iron Arachne Heraldry Generator seed. <br>Default seed is a combination of FMG map seed and burg id (${defSeed})`, prompt(`Please provide an Iron Arachne Heraldry Generator seed. <br>Default seed is a combination of FMG map seed and burg id (${defSeed})`,

View file

@ -194,7 +194,7 @@ function editProvinces() {
function provinceOpenCOA(event, p) { function provinceOpenCOA(event, p) {
const defSeed = `${seed}-p${p}`; const defSeed = `${seed}-p${p}`;
const openIAHG = () => openURL("https://ironarachne.com/heraldry/" + (pack.provinces[p].IAHG || defSeed)); const openIAHG = () => openURL("https://ironarachne.com/#/heraldry/" + (pack.provinces[p].IAHG || defSeed));
if (isCtrlClick(event)) { if (isCtrlClick(event)) {
prompt(`Please provide an Iron Arachne Heraldry Generator seed. <br>Default seed is a combination of FMG map seed and province id (${defSeed})`, prompt(`Please provide an Iron Arachne Heraldry Generator seed. <br>Default seed is a combination of FMG map seed and province id (${defSeed})`,

View file

@ -315,7 +315,7 @@ function editStates() {
function stateOpenCOA(event, state) { function stateOpenCOA(event, state) {
const defSeed = `${seed}-s${state}`; const defSeed = `${seed}-s${state}`;
const openIAHG = () => openURL("https://ironarachne.com/heraldry/" + (pack.states[state].IAHG || defSeed)); const openIAHG = () => openURL("https://ironarachne.com/#/heraldry/" + (pack.states[state].IAHG || defSeed));
if (isCtrlClick(event)) { if (isCtrlClick(event)) {
prompt(`Please provide an Iron Arachne Heraldry Generator seed. <br>Default seed is a combination of FMG map seed and state id (${defSeed})`, prompt(`Please provide an Iron Arachne Heraldry Generator seed. <br>Default seed is a combination of FMG map seed and state id (${defSeed})`,