v1.5.25 - smarter generation

This commit is contained in:
Azgaar 2021-02-14 15:11:42 +03:00
parent 2f3f5d05fb
commit 66bd7b7f6f
9 changed files with 38 additions and 28 deletions

View file

@ -844,7 +844,8 @@ function editStates() {
const color = getRandomColor();
// generate emblem
const coa = COA.generate(burgs[burg].coa, .4);
const cultureType = pack.cultures[culture].type;
const coa = COA.generate(burgs[burg].coa, .4, null, cultureType);
coa.shield = COA.getShield(culture, null);
// update diplomacy and reverse relations