Eldin89
February 25th, 2016, 06:52
I have spent a couple days sifting through the massive amount of information in this forum and believe I am on the right track, but a few things are eluding me. I have successfully added the fields to the character sheet (simple copy & paste) and am attempting to use an approach presented by Trenloe to insert my new values into tables without overwriting the tables, as well as another approach presented by him for re-pointing methods to a custom one so no overwrite of a whole file is needed.
The issue is that when a die roles (or a save) it doesn't add the ability modifier. I found a thread by ronalmd having the same issue, however I don't think i have the same issue as him since I am using the first 3 letters of the stats as the abbreviation. I suspect I am missing some language or extension syntax as I get "attempt to index global 'Interface'(a nil value)" or "attempt to call global 'ipars'(a nil value)" messages when I reload the extension.
I am new to lua and fairly new to xml so any assistance would be greatly appreciated. I have attached my extension so hopefully someone can take a look and let me know what I am doing wrong. Thanks.
EDIT: Updated package to remove abilities to add scores to party page as it was just complicating things. Will try to add it back once current issues are corrected.
The issue is that when a die roles (or a save) it doesn't add the ability modifier. I found a thread by ronalmd having the same issue, however I don't think i have the same issue as him since I am using the first 3 letters of the stats as the abbreviation. I suspect I am missing some language or extension syntax as I get "attempt to index global 'Interface'(a nil value)" or "attempt to call global 'ipars'(a nil value)" messages when I reload the extension.
I am new to lua and fairly new to xml so any assistance would be greatly appreciated. I have attached my extension so hopefully someone can take a look and let me know what I am doing wrong. Thanks.
EDIT: Updated package to remove abilities to add scores to party page as it was just complicating things. Will try to add it back once current issues are corrected.