wh_cheat_addItem command

wh_cheat_addItem number Item ID
Command effect
This command will add a specified amount of an item.
devmode

How to enter a cheat code

Cheat codes are entered in the console. Open the console by pressing the § / ~ / ` key, which is usually located in the upper-left corner of the keyboard. Enter the cheat code and press the Enter key.

This cheat is only available after you add -devmode to the "SET LAUNCH OPTIONS..." section in the Steam properties of the game.