Portable Generator
From Unofficial Stationeers Wiki
Example savedata to make Power connector work
<ThingSaveData xsi:type="StructureSaveData"> <ReferenceId>1337</ReferenceId> <PrefabName>StructurePowerConnector</PrefabName> <CustomName /> <WorldPosition> <x>0</x> <y>0</y> <z>0</z> </WorldPosition> <WorldRotation> <x>0</x> <y>0</y> <z>0</z> <w>1</w> <eulerAngles> <x>0</x> <y>0</y> <z>0</z> </eulerAngles> </WorldRotation> <States> <State> <StateName>Open</StateName> <State>1</State> </State> </States> <IsCustomName>false</IsCustomName> <CustomColorIndex>-1</CustomColorIndex> <OwnerSteamId>0</OwnerSteamId> <Reagents /> <Indestructable>false</Indestructable> <CurrentBuildState>0</CurrentBuildState> <MothershipReferenceId>0</MothershipReferenceId> </ThingSaveData>
<ThingSaveData xsi:type="DynamicThingSaveData"> <ReferenceId>7331</ReferenceId> <PrefabName>DynamicGenerator</PrefabName> <CustomName /> <WorldPosition> <x>-0.24999988</x> <y>0.791668355</y> <z>-0.23657024</z> </WorldPosition> <WorldRotation> <x>0</x> <y>-0.707106769</y> <z>0</z> <w>0.7071068</w> <eulerAngles> <x>0</x> <y>270</y> <z>0</z> </eulerAngles> </WorldRotation> <States> <State> <StateName>OnOff</StateName> <State>0</State> </State> <State> <StateName>Powered</StateName> <State>0</State> </State> <State> <StateName>Error</StateName> <State>0</State> </State> </States> <IsCustomName>false</IsCustomName> <CustomColorIndex>-1</CustomColorIndex> <OwnerSteamId>0</OwnerSteamId> <Reagents /> <Indestructable>false</Indestructable> <ParentReferenceId>1337</ParentReferenceId> <ParentSlotId>0</ParentSlotId> <Dragged>false</Dragged> <DraggedInteractionIndex>0</DraggedInteractionIndex> <DragOffset> <x>0</x> <y>0</y> <z>0</z> </DragOffset> <Velocity> <x>0</x> <y>0</y> <z>0</z> </Velocity> <AngularVelocity> <x>0</x> <y>0</y> <z>0</z> </AngularVelocity> <HealthCurrent>0</HealthCurrent> </ThingSaveData>
The important bits are open=1 on the Power Connector.
Battery will take priority over the Power Connector. Neouni (talk) 11:48, 11 January 2018 (CST)