

Workshop Framework v2.6.1
Workshop Framework opens the settlement system to editing by the community. It provides new controls and faster, more stable workshop scripts for players, while allowing modders to add resource types, override settings, and change how settlements work.
Workshop Framework is designed to let many mod authors contribute to the settlement system, including authors with limited coding experience.
Features
- Faster and more stable Workshop scripts
- Settlement Import/Export system
- Automatically open and close doors when entering and leaving Workshop mode
- Automatic Workshop Menu protection
- Fixes Pip-Boy Data screen issues
- Fixes the “Spectacle Island” problem
- No DLC requirements
- New options through MCM/Holotape
- Auto-assign controls
- Adjust the maximum amount of food and defense settlers can operate
- Adjust base robot happiness, including eliminating the penalty
- Make robots not count against the maximum population
- More options
- Rewritten Workshop scripts, faster and more open
- Completely backwards compatible, with no property names or function signatures altered
- Adjust any workshop value on the fly, with no more hard-coded variables
- Simple API for advanced functionality for people with limited coding experience, such as dynamically placing workshop items like Sim Settlements with a few lines of code
- 50+ new workshop values that can be applied to workshop items to create new bonuses for players
- Add custom workshop values for production and consumption with a single line of code
- High-capacity, easily expandable threading system
- New Container System to route production to more than just the Workshop Container
- Uninstall-safe injection to change workshop production, settler pools, and more
- Automatic workshop menu protection, removing the need for uninstall chems for workshop mods
- Settlement Layout Import/Export system that can be extended and driven by code for automated settlement building
- UIManager system for simple access to complex UI interactions, such as using barter menus for player option selection
- Easy-to-use scripts for complex workshop items, including display racks, cluttered surfaces, and vendor inventory displays
- HUDFramework abstraction layer for automatic detection, throttling, and communication, allowing HUDFramework calls throughout your code without requiring HUDFramework to be installed
- New easy-to-use Progress Meters system
- Completely open-source and community driven
Installation
As of version 2.4.0, Workshop Framework works with the Next-gen update of Fallout 4.
Players using the pre-next gen version of Fallout 4 should update Workshop Framework and also download the “Old-Gen Replacers” file. Overwrite the base mod files with those files. This provides the latest fixes from WSFW while retaining the dll/pex files that support previous versions of F4SE.
Compatibility
If you use the Unofficial Patch, Workshop Framework must load after it.
Any other mods that alter workshop scripts will break this framework and are likely incompatible. The exception is the Unofficial Patch, which should be placed before Workshop Framework in your load order so that the additional script changes made by Workshop Framework overwrite the UFO4P versions.
Workshop Framework does not alter the core gameplay functionality of settlements. Players should notice only the bug fixes and an overall performance increase with settlement-related activities. All gameplay options remain intact.
How to use
Workshop Framework opens the settlement system so that more advanced settlement functionality can be created. Adjusting most settlement behavior requires editing the Workshop scripts, which normally makes a mod incompatible with other mods editing the same script. Workshop Framework rewrites many of the base Workshop scripts, introduces hooks and new options, and eliminates most hard-coded variables so mod authors can edit specific parts of the settlement system.
The framework includes advanced systems presented in a simple way. For example, much of the code used by Sim Settlements City Plans is now a core system in Workshop Framework, allowing people with some coding experience to dynamically place large groups of objects in a settlement.
Settings and configuration
The framework leaves settlement gameplay options intact. Behind the scenes, some systems work differently to provide new adjustment options.
- No vanilla property or function signatures have been altered. Functions and properties expected by existing Workshop scripts remain available.
- Property names and function signatures in Workshop Framework will not be altered after release. If a function must be adjusted, the original version will remain and point to the updated version.
- Workshop values, production, consumption, settlement behavior, and other systems can be adjusted through the framework’s hooks and API.
Optional demo mod
The optional file is a demo mod and is not intended for widespread use. It demonstrates parts of the code, allows features to be tested quickly, and helps identify improvements and bugs.
v1.0.0 All friendly NPCs have an alternate activation called Recruit. This allows virtually any NPC to be converted to a settler and sent to one of your settlements. This is possible because of the code overhaul in version 2.0.0 of Workshop Framework. These NPCs will not work with Sim Settlements plots because of how the plots are currently coded. This will change in a future version of Sim Settlements.
Script override
The optional file Workshop Framework Script Override fixes an issue caused by other mods accidentally including versions of the Workshop scripts updated by Workshop Framework. Including vanilla scripts is a common problem for new mod authors because the Creation Kit automatically includes many vanilla files when packaging mods for upload.
When loading into the game with Workshop Framework version 2.2.2 or higher, the framework tests the Workshop scripts to determine whether any are overwriting its versions. If so, it recommends this file as a potential solution.
The esp file itself is empty and exists only to ensure that its ba2 file, which contains additional copies of the 4 major Workshop scripts, can be loaded. If you use this file, it must always be the very last file in your load order.
Settlement layout system
The goal of Workshop Framework is to open up the settlement system so that more interesting functionality can be created. This system provides a Settlement Layout Import/Export framework that can be extended and driven by code for automated settlement building.
Open source and permissions
Anyone has permission to use pieces of code found inside these scripts. Do not release new versions of the exact same named scripts, or release work based on the code that would interfere with what this mod is trying to achieve. The framework is intended to serve as a central foundation that can be built on without compatibility issues.





