LordEntrails
August 23rd, 2025, 03:26
I'm trying to resolve a message that shows up in chat when opening the inventory tab of the charactersheet in my ruleset. The full message is:
CharEncumbranceManager.addCustomCalc must be called in global script onInit function.
This comes from CoreRPG manager_char_encumbrance.lua
I've tried adding the command to my charsheet_inventory onInit call, but it doesn't resolve.
How do I resolve this? Where should I add the call?
edit: this might help, but not sure; https://www.fantasygrounds.com/forums/showthread.php?72555-Developer-Notes-2022-02-Ruleset-Updates&p=639600&viewfull=1#post639600
CharEncumbranceManager.addCustomCalc must be called in global script onInit function.
This comes from CoreRPG manager_char_encumbrance.lua
I've tried adding the command to my charsheet_inventory onInit call, but it doesn't resolve.
How do I resolve this? Where should I add the call?
edit: this might help, but not sure; https://www.fantasygrounds.com/forums/showthread.php?72555-Developer-Notes-2022-02-Ruleset-Updates&p=639600&viewfull=1#post639600