PDA

View Full Version : Created item weight doesn't add up toward current weight



Clemou44
February 6th, 2023, 11:16
Hello all,

I am currently customizing 5e ruleset to match my setting (Fateforge Dragons).
I have duplicated 5e.pak ruleset, renamed it (inside base.xml) and mostly messed with the graphics elements inside of it.
I also created a custom extension with GMW_campaignTool.
The problem I am facing is, when I create an item (name, type,cost,weight,damage,properties) and the drag it to my character inventory, the current weight doesn't change and stays at 0 :/

Also, for every character created, a message "Unable to create currency slot for character" appears...

I would love to get any piece of advice from you guys, since it is not the only problem I will stumble upon :p

Thank you!

PS:French user.

damned
February 6th, 2023, 11:58
Welcome Clemou44
You should generally be making ALL your changes in the extension and not in the PAK

Can you share some screenshots?

Clemou44
February 6th, 2023, 13:16
Hi damned,

Thank you for the welcome and your answer.
Unfortunately some graphics changes from the GMW tool were having no effects while in game (sidebar buttons and such).
I have tried with the actual 5e ruleset unchanged and it works, so I guess I have to dig through the extension instead!
Thank you again.

image of my initial problem: imgur.com/vQiE0Oq

LordEntrails
February 6th, 2023, 16:54
I've noticed the same issue in terms of a ruleset I'm developing (using Ruleset Wizard). I assume it is due to changes in CoreRPG regarding weights and inventories that my ruleset did not pick up since I've been working on it for so long. I would compare any files you changed in your extension to the latest versions from CoreRPG/5E and see if anything sticks out.

I'll be doing that soon (a week or two) and if I figure it out will try to come back here and let you know what I found.

damned
February 6th, 2023, 21:30
You need a script like this:



function onInit()
CharEncumbranceManager.addStandardCalc()
end

damned
February 6th, 2023, 21:35
But if you are just editing an existing 5E ruleset that probably should already be there.

LordEntrails
February 7th, 2023, 04:59
You need a script like this:



function onInit()
CharEncumbranceManager.addStandardCalc()
end

Dang that was easy (for me). Thanks!