feat(names): name colonies using New constuct

This commit is contained in:
Azgaar 2022-06-24 18:34:32 +03:00 committed by Peter
parent 7c10fd7b6c
commit f17bc1e3af

View file

@ -1347,6 +1347,7 @@ window.BurgsAndStates = (function () {
const type = getType(center, burgs[burg]?.port); const type = getType(center, burgs[burg]?.port);
const coa = COA.generate(s.coa, kinship, dominion, type); const coa = COA.generate(s.coa, kinship, dominion, type);
coa.shield = COA.getShield(c, s.i); coa.shield = COA.getShield(c, s.i);
provinces.push({i: province, state: s.i, center, burg, name, formName, fullName, color, coa}); provinces.push({i: province, state: s.i, center, burg, name, formName, fullName, color, coa});
s.provinces.push(province); s.provinces.push(province);