mirror of
https://github.com/Azgaar/Fantasy-Map-Generator.git
synced 2025-12-18 02:01:22 +01:00
refactor - stateForms start
This commit is contained in:
parent
60e69348a9
commit
2be3c68290
15 changed files with 277 additions and 89 deletions
|
|
@ -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";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue