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
815 stars 149 forks source link

"Poisoned Potioner" throws in a tavernless town #452

Closed noahlange closed 3 years ago

noahlange commented 3 years ago

Looks like it's possible for a town to be generated without a tavern; this makes the one-shot generator fail in passage 1. Additionally, in the description text, the literal string $adventure.tavern.name is printed instead of being interpolated with <<print>>.

You can list all building types with the following expression in the JS console.

Object.values(window.SugarCube.State.active.variables.town.buildings).map(b => b.type);

To Reproduce

Seed: evergreenfragrantcavy

  1. Index → Toolbox → "One Shot - The Poisoned Potioner"
  2. Error.
Glinkis commented 3 years ago

It might be best to never expect a certain building to exist, and only use it if it does.

noahlange commented 3 years ago

It specifically being a tavern doesn't appear to be particularly important—in this case, it'd probably be interchangeable with any sort of "slummy" establishment.