This command will add the item of the specified ID to your inventory. You can also specify an amount, which will make the command give you that amount of the item. If you specify a 1 at the end of the command (silent), no confirmation message will be shown.
player.additem [item code] [amount] [silent]
|Item Code||The item code of the item you wish to spawn. See our item code list for a list of codes.|
|Amount||Optional (default is 1). The amount of the specified item you wish to add to your inventory.|
|Silent||Optional. If you specify 1 (or true) here, you will not be prompted with a confirmation menu after executing the command.|
player.addItem 0001f66b 20
This command would add 20 of the item with ID code 0001f66b. The item with ID code 0001f66b is .308 Round., so you'd have 20 .308 rounds added to your character's inventory.
The above command would add one Nuclear Material to your character's inventory. Note that we do not provide an amount as an argument - by default this command will add 1 of the specified item.
player.addItem 001bf72e 11 1
This command would add 11 Adhesive to your character's inventory. As also specified 1 (true) for the silent argument, you will not be prompted with a confirmation message to add the item to your inventory.