refactor - stateForms start

This commit is contained in:
Azgaar 2022-09-02 01:28:17 +03:00
parent 60e69348a9
commit 2be3c68290
15 changed files with 277 additions and 89 deletions

View file

@ -1053,7 +1053,7 @@ window.BurgsAndStates = (function () {
const isTheocracy =
(religion && pack.religions[religion].expansion === "state") ||
(P(0.1) && ["Organized", "Cult"].includes(pack.religions[religion].type));
const isAnarchy = P(0.01 - tier / 500);
const isAnarchy = P((1 - tier / 5) / 100); // 1% for smallest states, 0.2% for biggest
if (isTheocracy) s.form = "Theocracy";
else if (isAnarchy) s.form = "Anarchy";