Satisfactory offers a clipboard functionality to copy-paste configuration options between machines. It’s possible to extend this functionality to work with your own custom buildings.
AFGBuildable class already implements the
IFGFactoryClipboardInterface interface, the interface defining the functions that must be overridden to implement clipboard functionality, so listing this interface an extra time is not necessary.
Create a class with basetype
FGFactoryClipboardSettingsand add variables for the stuff you want to save in the clipboard
GetClipboardSettingsClassfunction and set the return value to your class
GetClipboardMappingClassand set the return value to the class of object that uses this clipboard
CanUseFactoryClipboardfunction to return true
Override the copy and paste functions and implement your own logic
Below is an example implementation from the Circuity mod.