Got the religion generator working, but not the tree. There are cycles being generated

This commit is contained in:
Guillaume St-Pierre 2022-12-08 11:50:36 -05:00
parent 520551b14c
commit 3d2b32535d
2 changed files with 120 additions and 11 deletions

View file

@ -212,7 +212,10 @@ function religionsEditorAddLines() {
<div data-tip="Religion area" class="religionArea hide" style="width: 5em">${si(area) + unit}</div>
<span data-tip="${populationTip}" class="icon-male hide"></span>
<div data-tip="${populationTip}" class="religionPopulation hide pointer">${si(population)}</div>
<span data-tip="Lock religion" class="icon-lock${r.lock ? '' : '-open'} hide"></span>
<span
data-tip="Lock religion, will regenerate the origin folk and organized religion if they are not also locked"
class="icon-lock${r.lock ? '' : '-open'} hide"
></span>
<span data-tip="Remove religion" class="icon-trash-empty hide"></span>
</div>`;
}