This script is an improved version of two previously laid out scripts (follow the links).
Fallout 4: Cheat (Updated script for materials for bases and modifications) Free Download
The craft file (1 link) was taken as a basis, which initially had a lot of identifiers. From a more recent, but less voluminous res file (by link 2), the identifiers that were not in the craft file were taken. Unlike crafting, the values have been increased from the default 50 to 99999999.
Instructions
1. We throw the file into the game folder.
2. We go into the game
3. Enter “bat craft” in the console
4. We approach the machine, press R, We put all the things in it by pressing T. Now one of our bases is equipped with almost all materials. Repeat with 3 points for all other bases
Good luck!