Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×

Adding items of 0.5 weight from compendium gives the item 5 weight in character sheet (Pathfinder/RotR module)

Hey! So a player in my group found this bug where if you add an item with 0.5 weight to your character sheet via the compendium that comes with Rise of the Runelords in roll20, it instead inputs it with 5 weight. Not too much of a hassle to fix manually, but thought I'd report the bug still. 
Seconding this, as I was the player in question. Before I realised what was wrong, I wondered how my character could be so overburdened so quickly. It does make the compendium a bit more cumbersome to use, as you have to remember to correct the weight after dragging and dropping.
1593034249
Kraynic
Pro
Sheet Author
I think anything in the compendium (pathfinder) that has a decimal weight drops the decimal and enters it as a whole number.  I think I ran across something once that was .1 weight that was added as 1.
I suspect that it might be cause of translating a string to a number, maybe? Like, the compendium stores the weight as a string, and when dragging into the sheet it just enters the first non-zero number it finds. I don't know the internals, so I'm just guessing.
1595732166

Edited 1595732210
Like Rain, I was wondering why I was out of weight so quickly. I had 4 items that were calculating as a weight of 5 instead of .5.  Saved 18 weight that day! I opened request #20421 on 6/24 stating the issue and Roll20 replied on 7/17 with: Thank you for your report! Our dev team has a ticket going to fix this issue and they will try to get it addressed as soon as possible. We’ll let you know as soon as we get this resolved. I hope this gets resolved soon! -Rob