-
September 20th, 2022, 00:24 #21
Well flip me and dip me...
The Good News:
It turns out that I had already accomplished everything that you just told me to do... but I never tried it out, because I didn't realize that RSW had already taken care of the base.xml step you mentioned. I figured that there was still something I was missing, because I couldn't imagine how the onInit() was firing.
Bottom Line: The "Total weight carried" field now correctly reflects the values present in the inventorylist.
Thanks, guys!!!
The Bad News:
The CoreRPG code that handles this is completely incomprehensible to me... I tracked down the various keywords (encumbrance.load, setEncumbranceField(), addStandardCalc(), etc.) yet I have not the faintest idea how any of it does what it does.
Unfortunately, as you are probably already aware, this is not the first bit of CoreRPG/FG functionality that has eluded me (and is not likely to be the last).
Nevertheless, IT WORKS! So I shan't dwell on my inadequacies, but instead will move on to the Next Big Thing, whatever that turns out to be.Last edited by swest; September 20th, 2022 at 00:27.
-
September 20th, 2022, 00:28 #22
Ive never even looked at the code that does the magic.
I put my trust in Moon Wizard and I do the bits I know how to do.
-
September 20th, 2022, 00:29 #23
-
September 20th, 2022, 03:22 #24
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,564
Also, to use the standard load calculator, your encumbrance total field must point to the character node with the following source path ("encumbrance.load")
From 5E inventory page; <number_static name="encumbranceload" source="encumbrance.load">.
Regards,
JPG
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks