v1.5.82 - bug fixes

This commit is contained in:
Azgaar 2021-03-01 17:56:51 +03:00
parent 2f70df6c59
commit 4fdb265b56
7 changed files with 26 additions and 606 deletions

View file

@ -924,11 +924,12 @@
const max = percentage == 100 ? 1000 : gauss(20, 5, 5, 100) * percentage ** .5; // max growth
const forms = {
Monarchy:{County:11, Earldom:3, Shire:1, Landgrave:1, Margrave:1, Barony:1},
Republic:{Province:6, Department:2, Governorate:2, District:1, Canton:1, Prefecture:1},
Theocracy:{Parish:3, Deanery:1},
Union:{Province:1, State:1, Canton:1, Republic:1, County:1, Council:1},
Wild:{Territory:10, Land:5, Region:2, Tribe:1, Clan:1, Dependency:1, Area: 1}
Monarchy: {County:11, Earldom:3, Shire:1, Landgrave:1, Margrave:1, Barony:1},
Republic: {Province:6, Department:2, Governorate:2, District:1, Canton:1, Prefecture:1},
Theocracy: {Parish:3, Deanery:1},
Union: {Province:1, State:1, Canton:1, Republic:1, County:1, Council:1},
Anarchy: {Council:1, Commune:1, Community:1, Tribe:1},
Wild: {Territory:10, Land:5, Region:2, Tribe:1, Clan:1, Dependency:1, Area: 1}
}
// generate provinces for a selected burgs
@ -952,7 +953,7 @@
const nameByBurg = P(.5);
const name = nameByBurg ? stateBurgs[i].name : Names.getState(Names.getCultureShort(c), c);
const formName = rw(form);
form[formName] += 5;
form[formName] += 10;
const fullName = name + " " + formName;
const color = getMixedColor(s.color);
const kinship = nameByBurg ? .8 : .4;