mpirnat/dndme

Failed to load monster outside an encounter

Closed this issue · 1 comments

Tried to load violet fungus for a random encounter and it didn't work, with no output. Soooooo yeah, let's figure out WTF happened and fix it so that it doesn't happen again.

There were two problems, both data-driven:

  1. Filename was violet_fungi.toml, monster name was violet_fungus -- so couldn't look up the thing correctly.

  2. The violet fungus had "challenge" instead of "cr" so that blew up once I fixed the first issue.