Page MenuHomeFeedback Tracker

Player load (and also weight / stamina cap) not updated when quantity of an item in the inventory changes
Closed, DuplicatePublic

Description

When changing the quantity of an item in the inventory, the item's weight and it's effect on the player does not change.

Script: OnQuantityChanged inside 4_World/Entities/ItemBase.c:
https://i.imgur.com/1NAouG8.jpg

Details

Severity
Minor
Resolution
Open
Reproducibility
N/A
Operating System
Windows 10 x64
Category
Inventory
Steps To Reproduce
  1. Split a stackable item by right clicking it
  2. The original stack will have wrong weight
Additional Information

Item weight not affecting the player weight and also the container weight:
(Different quantity on every image, but the weight remains the same)
https://i.imgur.com/VcxPjc7.jpg
https://i.imgur.com/x5Fonak.jpg
https://i.imgur.com/81D3J2J.jpg

Extra:
Item weight after splitting is incorrect
Normal Full stack of nails
Stack of nails after being split until there is only 1 left
Normal weight of 2 nails

Event Timeline

nigel created this task.Jun 17 2020, 8:19 PM
nigel added a comment.Jun 17 2020, 8:31 PM

Extra2:
Changing the quantity seems to bug out when the player inventory is full and the item quantitiy is changed, when this happens, the extra items are put to the ground, but the player weight stays the same

On the bottom left, the inventory weight based on GetPlayerLoad is displayed
https://i.imgur.com/AAsfBao.jpg
https://i.imgur.com/VY73Vvt.jpg