Thread: Total weight carried
-
April 25th, 2023, 10:54 #1
Total weight carried
Here's my problem: I have a custom ruleset in which I have NOT changed anything on the character sheet, leaving
the CoreRPG one. Instead, I changed the class for the items, leaving them with the default name, which is item.
In my class weight is defined; same name, type and same position in the XML structure as the
CoreRPG.
If I take an item and put it into a character's inventory, the item appears correctly, shows the weight correctly, but the
encumbrance (Total weight carried) is not updated. I've tried doing the same directly in a CoreRPG campaign
and the encumbrance updates.
What don't I know? What should I study?
-
April 25th, 2023, 11:33 #2
Look in the onInit function of scripts\manager_char_encumbrance.lua - this will add the standard encumbrance calculation for supported rulesets (listed in _tStandardSupportedRulesets).
Private Messages: My inbox is forever filling up with PMs. Please don't send me PMs unless they are actually private/personal messages. General FG questions should be asked in the forums - don't be afraid, the FG community don't bite and you're giving everyone the chance to respond and learn!
-
April 25th, 2023, 11:46 #3
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks