mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-17 09:41:24 +01:00
v1.5.25 - smarter generation
This commit is contained in:
parent
2f3f5d05fb
commit
66bd7b7f6f
9 changed files with 38 additions and 28 deletions
|
|
@ -193,11 +193,6 @@ function editProvinces() {
|
|||
openPicker(currentFill, callback);
|
||||
}
|
||||
|
||||
function editCOA(p) {
|
||||
const coa = COA.toString(pack.provinces[p].coa);
|
||||
openURL("http://azgaar.github.io/Armoria/?coa=" + coa);
|
||||
}
|
||||
|
||||
function capitalZoomIn(p) {
|
||||
const capital = pack.provinces[p].burg;
|
||||
const l = burgLabels.select("[data-id='" + capital + "']");
|
||||
|
|
@ -780,7 +775,8 @@ function editProvinces() {
|
|||
// generate emblem
|
||||
const kinship = burg ? .8 : .4;
|
||||
const parent = burg ? pack.burgs[burg].coa : pack.states[state].coa;
|
||||
const coa = COA.generate(parent, kinship);
|
||||
const type = BurgsAndStates.getType(center, parent.port);
|
||||
const coa = COA.generate(parent, kinship, P(.1), type);
|
||||
coa.shield = COA.getShield(c, state);
|
||||
COArenderer.add("province", province, coa, point[0], point[1]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue