We will encounter a lot of problems like the code collection of weapons and ammunition in the starry sky in the starry sky game. Many users have a headache when encountering this problem. After reading the solution to this problem written by the editor of Sourcecode.com, you will find that this problem is really simple.
Instruction code: player.additem (weapon ID) 1
Or: player.placeatme (weapon ID) 1
Remove the brackets when entering, and the "1" after the brackets is the quantity. If not written, it will be added as 1 by default.
Instruction code: player.additem (ammunition ID) 1
Or: player.placeatme (ammo ID) 1
Remove the brackets when entering, and the "1" after the brackets is the quantity. If not written, it will be added as 1 by default.