int setitemnum(int content, int count); //id:0x055c
Sets the count of a content in the inventory to a specific amount and returns the new count.
The identifier of the content.
The new count of the content.
For a list of content identifiers, you can view the inventory content spreadsheet in Resources.
If the content is not in the inventory and therefore has a count of 0, it will be added to the inventory with the new count.
Last updated 1 year ago