- Found in:
- Workshop Framework
Description
Documentation Comment
Scraps the specified workshop object.
If akWorkshopRef is None, the workshop for the settlement that the player is currently in will be used. If Workshop mode is currently active, the currently opened workshop is always used, regardless of the setting.
Caveats
Parameters
ObjectReferenceakRef
ObjectReferenceakWorkshopRef=NONE
Examples
Auto-Generated Example
ObjectReference myObjectReference__akRef
ObjectReference myObjectReference__akWorkshopRef
bool returnedValue = PowerGridTools.Scrap(myObjectReference__akRef, myObjectReference__akWorkshopRef)