Gives a Fat Man
player.additem 000bd56f 1
A portable launcher that fires mini nukes. Its ammo comes separately, so add the mini nuke code too.
Every weapon and every ammo type in Fallout 4 has a fixed ID, and the player.additem command puts the weapon straight into your inventory. This page collects heavy weapons like the Fat Man and the minigun, rifles, energy weapons, four unique weapons and the most used ammo types. A weapon comes on its own, so add its ammo separately. Pick any weapon that is not listed from the generator below.
Most codes here need cheats turned on first. See the section on how to open the console.
tgm
Pick a weapon or ammo type and type the amount, and the player.additem command is ready. Heavy weapons, rifles, energy weapons, grenades and all main ammo types are on the list.
player.additem {esya} {adet}
The list only has base game items. Add-on weapon IDs change with the load order, so find those with the help command.
player.additem 000bd56f 1
A portable launcher that fires mini nukes. Its ammo comes separately, so add the mini nuke code too.
player.additem 0021a53e 1
A unique Fat Man. Thanks to its Two Shot effect, it fires two mini nukes at once while using up only one.
player.additem 000d1eb0 1
The in-game name is Gauss Rifle, and it uses 2mm EC rounds. Add its ammo with the 2mm EC code below.
player.additem 0001f669 1
A heavy machine gun with spinning barrels that uses 5mm rounds. It burns through ammo fast, so it makes sense to add plenty of 5mm.
player.additem 0009983b 1
The in-game name is Laser Gun, and it uses fusion cells. Whether it is a pistol or a rifle depends on the parts you fit at a weapons workbench.
player.additem 00100ae9 1
The in-game name is Plasma Gun, and it uses plasma cartridges. Parts from a weapons workbench turn it into a pistol, rifle, scattergun or thrower.
player.additem 000df42e 1
The in-game name is Combat Rifle. It fires .45 rounds by default, and a different receiver switches it to .308 or .38.
player.additem 0004f46a 1
The in-game name is Hunting Rifle, and it uses .308 rounds. A different receiver switches it to .38 or .50.
player.additem 0000463f 1
The in-game name is Assault Rifle, and it uses 5.56 rounds. Add its ammo with the 5.56 code below.
player.additem 0014831c 1
The in-game name is Combat Shotgun, and it uses shotgun shells. Add its ammo with the shotgun shell code below.
player.additem 0003f6f8 1
The in-game name is Missile Launcher, and it uses missiles as ammo. Add the missiles with the missile code below.
player.additem 000dc8e7 1
The Railroad's unique 10mm pistol, found during the Tradecraft quest. It comes with a suppressor, and its legendary effect raises VATS hit chance and cuts AP cost by 25 percent.
player.additem 00225ac1 1
The in-game name is Kellogg's Pistol, a unique pistol that uses .44 rounds. Its Relentless effect makes critical hits refill your action points.
player.additem 001f61e7 1
A unique combat rifle sold by Alexis Combes in Vault 81. Its Two Shot effect fires an extra projectile with every shot, and it uses .45 rounds.
player.additem 000e6b2e 10
Ammo for the Fat Man and Big Boy. The number at the end sets how many you get.
player.additem 000caba3 50
Ammo for the missile launcher. The number at the end sets how many you get.
player.additem 0018abdf 500
Ammo for the Gauss rifle, with the full in-game name 2mm Electromagnetic Cartridge. The number at the end is the round count.
player.additem 0001f66c 1000
The minigun uses these rounds and burns through them fast, so a high count makes sense. The number at the end is the round count.
player.additem 000c1897 500
The laser gun, the Institute laser and the laser musket use this ammo. The in-game name is Fusion Cell, so do not mix it up with the fusion core.
player.additem 0001dbb7 500
Ammo for the plasma gun, with the in-game name Plasma Cartridge. The number at the end is the round count.
player.additem 0001f66a 500
The combat rifle, Overseer's Guardian and the submachine gun use these rounds. The number at the end is the round count.
player.additem 0001f66b 500
The default ammo for the hunting rifle. Fit a .308 receiver to the combat rifle and it uses these rounds too.
player.additem 0001f278 500
Ammo for the assault rifle. The number at the end is the round count.
player.additem 0001f673 500
The combat shotgun and the double-barrel shotgun use these shells. The in-game name is Shotgun Shell.