Ben, Great addition writing the loot to sheet and distributing treasure. Most functionality is working except I am getting a sheet error and I am unable to run the config command and change settings. Error on New Loot Gen When running Loot Gen I get the following message to setup the character sheet, but when selecting 5E OGL the API crashes (see below). The sheet selected for the game is actually "D&D 5E by Roll20". I am not sure if that makes a difference. Hope I can get this working again. Great API. Thanks For reference, the error message generated was: ReferenceError: sheet is not defined ReferenceError: sheet is not defined
at apiscript.js:22891:21
at Function._.each._.forEach (/home/node/d20-api-server/node_modules/underscore/underscore.js:186:9)
at commandConfig (apiscript.js:22888:11)
at handleInput (apiscript.js:21955:7)
at eval (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:65:16)
at Object.publish (eval at <anonymous> (/home/node/d20-api-server/api.js:154:1), <anonymous>:70:8)
at /home/node/d20-api-server/api.js:1637:12
at /home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:560
at hc (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:39:147)
at Kd (/home/node/d20-api-server/node_modules/firebase/lib/firebase-node.js:93:546)