Workshop Container System - kinggath/WorkshopFramework GitHub Wiki

Workshop Container System

The Workshop Container System is something new I devised for this project. The idea is that items shouldn't all have to be dumped into the workbench when created each day by your settlement. The container system provides an easy means of creating new container types that cause daily resources to be redirected to specific containers.

For example, let's say you wanted to make a Safe object that caused all the daily income vendor to be rerouted to it.

Creating containers for this system is very easy.

  1. Create a new Container form type and give it the WorkshopObjectScript.
  2. You'll find a new property called WorkshopContainerType, set that to one of the below variable types.

Now whenever a player builds your container, it will automatically be detected during the daily production and that type of item (if any is created that day) will be put there.

Container Types

Each of the below are keywords that will have the prefix "WSFW_ContainerType_", these are used to assign containers to have items routed to them during settlement production.

Many of the keywords have “subkeywords” that will help allow redirecting workshop items into categories of sorts. For example, if the player has two workshop containers: a DrinkContainer and a NukaColaContainer, any NukaCola will be directed to the NukaColaContainer, while water and alcohol will be directed to the DrinkContainer.

There is also support for your own custom Container keywords to go with custom production! Feel free to create and use any keyword for this property on your containers, you'll just need to setup the production to use it. See the API for more info on setting up custom production.

  • Aid
    • Drink
      • Water
      • Alcohol
      • NukaCola
    • Food
    • Chem
  • Junk
    • Scrap
      • ScavengeBuildingMaterials
      • ScavengeGeneralScrap
      • ScavengeParts
      • ScavengeRare
    • Component
  • Equipment
    • Armor
    • Mod
    • Weapons
      • Ammo
  • Misc
    • Note
    • Holotape
    • Fertilizer
    • Caps