ryceg / Eigengrau-s-Essential-Establishment-Generator

A town generator that is suitable for out of the box play in any fantasy TTRPG setting.
https://eigengrausgenerator.com
MIT License
822 stars 151 forks source link

Changing from Kleptocracy to Democracy Generates Error #795

Open deplorabletomato opened 9 months ago

deplorabletomato commented 9 months ago

Describe the bug

After I changed the government of my town from a kleptocracy to a democracy, it generated the following message:

Error: <>: bad evaluation: Cannot read properties of undefined (reading 'key') <<print setup.getPoliticalSourceDescription($town)>>

To Reproduce (bugs MUST be replicable)

https://eigengrausgenerator.com/?seed=knowledgeablenovelcanary#TownOutput

Page to navigate to, buttons to press, etc:

I'm in the town output page, in the detailed view.