Does the issue occur in the editor or during gameplay?
If it's a gameplay issue, please specify which movement system and camera type you're using (free movement vs. grid movement, third-person vs. first-person) or N/A if not applicable:
Briefly describe the issue you're experiencing:
When modifying the count of an item in a Widget, it is not reflected right away upon modifying.
You have to pick up the item before it reflects the changes.
Are there any errors in the in-game debug console or external console window?
Provide the steps necessary to reproduce the issue:
Whether you're using the default "Inventory" or using a custom Widget with Item Storage Slots.
- Create an item.
- Start the game.
- In the in-game console use:
// Open the widget
show_widget("inventory");
// Give the player the item
give_item("ITEM_0001")
// Get the Item within the element and set the count to 2.
$item = widget["inventory"].element["0001"].item; $item["count"] = 2;
- Checking the widget, you can see that the number has not been modified.
4.5 Pick up the item in the inventory, you will see a 2
display beside the item.
Provide a download link to the bare bones project (strongly recommended if it's an in-game issue, since this helps significantly when attempting to reproduce it; the report will also be given more priority in this case):
Additional Information:
Updating the Description
or Name
results in immediate changes.
I have not fully tested image
, tags
, properties
, stackable
or usable
to see if they are immediately changed.
I assume tags
and properties
are changed immediately.