This is absolutely far afield, and I know that "learning how to chop at character sheet code" is really beyond the scope here, but... In a game I run, we're using this sheet, and appreciating it enormously. We have a few houserules for 5E that I'm trying to implement onto the sheet - they're not exactly common things, so I don't expect them to be ever added. I've figured out how to patch in a new field and all that fun stuff, including both a "current value" and "max" (max hidden outside of edit mode). Using the recoverHitPoints function as a guide, I was hoping to hook into the long rest function and set the current value back to max on long rests, but I've had no luck. Doing some debugging with the scriptOutput, I've determined that's because the new attributes I've linked to the fields (ingenuity and ingenuity_max), while functional and callable in roll20 as character attributes with the @{name|attribute} syntax, don't return anything when referenced via "data.ingenuity". So the data array is getting defined somewhere, and I can't manage to track it down to add new attributes to it. I'm not much of a coder - just a hobbyist - but if someone could give me some direction on where to look, I'd greatly appreciate it. It's fun to play with as a puzzle, but I'm about two evenings into it, and thanks to search engines ignoring most non-alphanumeric characters, searching for specific syntax isn't really getting me anywhere.