Console commands (Fallout 4)/Settlements

An overview of console commands for settlements $$

Overview
The console is a debugging tool in the PC version of Fallout 4. It is used for altering content while in-game. It cannot be used in the game console versions or in Survival mode.

Settlers
will spawn a settler. Settlers spawned this way must be moved to a settlement via the Workshop interface (default is "R" on PC) before they can be assigned to work.


 * Note: - A settler spawned like this can be assigned to a supply line and home of an existing settler (if done in that order) to take over that supply line. This can be done to fix bugged supply lines when the original settler can't be found.

For those with the Far Harbor DLC, you can replace with  to spawn the Far Harbor variant of a settler. This settler will have different randomized looks from the Commonwealth settlers and will have generic dialogue specific to Far Harbor. The xx is based off the load order - 01 if Far Harbor is the first loaded add-on, 02 if the second, etc. If this fails, replace the xx with 10, 20, 30, etc., depending on the load order.

- will let you place a workbench anywhere that can be used to build a settlement. Note: Currently there is no known way to get settlers to move to your new settlement (other than sending them from another settlement). To start building it is necessary to activate god mode after placing the Workbench. If placed near enemies, kill all surrounding enemies. You can sometimes get the placed workbench to work without going into god mode.

- This should allow you to be able to command a settler, such as a child who is normally not commandable.

- This should allow you to move a settler who is normally not movable, such as Marcy Long to another settlement.

- This should allow you to force a normally not movable settler to become a caravan/provisioner/supply line.


 * Note: You will need to fast travel away from and back to the settlement for these above three commands to take effect.

- Scraps all eligible references in the loaded area.


 * Warning: should only be used after entering and exiting the workshop. Do this every time you use this command or items in other areas may also be scrapped, such as the doors to the basement in The Castle, for example. You will be unable to enter these areas if they are deleted. Be very careful when using this.
 * Note: Even if entering and exiting the workshop, the command may scrap other objects in loaded areas outside the intended area. Objects such as bobbleheads, perk magazines, farm plants and electrical wires. This is most notable when using  in the Red Rocket truck stop. Some objects closest to Red Rocket in Sanctuary will also be scrapped. This causes a bug where the game crashes directly to desktop on PC when attempting to manually scrap/store some indirectly affected objects such as electrical connection points that are missing wires.

Modifying workshops
These commands modify settlement workshops, which can have an impact on the rest of the settlement.

To use these commands target the workshop with your console open. Or, you can use to target a settlement from the following list.

Ownership
The command will make the settlement owned by player without completing the appropriate quest.

Size Budget
The size budget is a combination of triangle counts and draw calls and is configured for each settlement. Each object the player creates in the settlement will use a portion of both in the budget, with more complex objects using up more. The budget itself is tracked as actor values attached to the workbench. Note that in order to use these actor values you must use the numeric id as they do not have a usable console name.

The command will allow you to see the current values.
 * - Will show the current number of triangles used by the player.
 * - Will show the current number of draw calls used by the player.
 * - Will show the maximum value of the triangle budget for the settlement.
 * - Will show the maximum value of the draw call budget for the settlement.

The command will let you change the values.
 * - Will set the current number of triangles used by the player.
 * - Will set the current number of draw calls used by the player.
 * - Will set the maximum value of the triangle budget for the settlement.
 * - Will set the maximum value of the draw call budget for the settlement.

The command will allow you to increase or decrease the current values. Positive numbers increase value, negative decreases value. Allows the value to change.
 * - Will modify the current value of the triangles used by the player.
 * - Will modify the current value of the draw calls used by the player.
 * - Will modify the maximum value of the triangle budget for the settlement.
 * - Will modify the maximum value of the draw call budget for the settlement.

Decreasing the 348 and 34A values or increasing the 349 and 34B values will allow you to build more. Decreasing the 348 and 34A values can also be achieved in-game by using this exploit.

Note: The budgets are there for a reason, to keep players from building overly large settlements that could negatively impact performance. Using these commands to ignore the budgets could have consequences.(the first time you use it nothing might happen but as soon as you leave the settlement area you will not be able to access the area again and the game crashes every time you try to get close to your settlement or even fast travel there.)

Settlement resources

 * While using god mode "" in Workshop mode, resources might seem to be capped to "999", but resources are infinite, one can build items requiring more than 999 of any resource (like level 2-3 Stores).
 * Workshop mode does not remove the perk requirements for building stores, but does remove the cap requirement. However, it does remove the perk requirement for building crafting stations.

Power

 * - Show the current value
 * - Adds power to any generator. Including the fuse boxes on Spectacle Island and Home Plate in Diamond City

Food

 * - Show the current value
 * - Adds to the base food value provided by the plant.
 * Note: A settler can only work on 6 Food worth of crops at a time, regardless of how much a single plant may be set to produce. It is not recommended to set this value higher than a total of 6 per crop (e.g.,  for mutfruit plants and  for any other crops).

Water

 * - Show the current value
 * - Adds to the base water value provided by the pump or purifier.

Defense

 * - Show the current value
 * - Sets the defence provided (for turrets), or adds to the base defence value for guard posts/towers.

Note:
These commands can be used to make a resource object produce additional resource types. For example, a pump can be made to produce food and defense, as well as water. This will produce food without a settler assigned to it, since the pump does not normally require anyone assigned to it. This can be a useful workaround where building is restricted, for example to provide food at Boston Airport. Be aware that this trick does not necessarily work with all objects. Adding a new resource to an object that isn't already a resource producer means it does not show up in the top bar. Adding power to an object that doesn't have a power connection means the power cannot be used. So power can be added to a power conduit, and this will power things connected to it according to the power value available there, but the top bar will not change.

Beds
In Console Mode, first you need to click on a bed in a settlement.
 * - The returned value lets you know if a bed is sheltered ("1.00") or not ("0.00"). Sheltered beds are important to raise the happiness in a settlement.

Happiness
Enter the console command mode and click on the settlement workshop (actual object) before using these commands: Modify with these commands:
 * - Show the current Happiness value
 * - Show the current Bonus Happiness value. Bonus happiness is required to raise settlement Happiness from the cap without it of 80, to 100. This is provided by some crafted stores (check tooltips) and some NPCs: junkyard dogs, house cats and gorillas. Also possible from completing some settlement quests. Instead of the workshop, you can click on a specific object to get its individual Bonus Happiness value, for instance, clicking on a gorilla and typing will return 20.
 * - Show the current Happiness Target value. Your settlement happiness will gradually assume this value. Great to check how well your settlement is doing.

Note: the 'modav' command will add to the existing value. Alternatively, you can use the 'setav' command to set the exact value you want.