Add Item 47F

Signature

int additem_47f(int content, int count, int logState); //id:0x047f

Description

Adds an item x times to the inventory and returns the new count.

Arguments

Content

The identifier of the content (e.g. 0 for Potion).

Count

The added count of the content (e.g. 99).

Log State

Determines if a combat log message like You obtain 1 Potion is shown (1) or not (0) .

Notes

For a list of content identifiers, you can view the inventory content spreadsheet in Resources.

Last updated