Space Engineers

Space Engineers

Recyclable Batteries
StarDruid 2 Mar, 2019 @ 5:05am
1x1 small battery new xml code.
<Definition xsi:type="MyObjectBuilder_BatteryBlockDefinition">
<Id>
<TypeId>BatteryBlock</TypeId>
<SubtypeId>SmallBlockSmallBatteryBlock</SubtypeId>
</Id>
<DisplayName>DisplayName_Block_SmallBattery</DisplayName>
<Icon>Textures/GUI/Icons/Cubes/Battery1x1.dds</Icon>
<Description>Description_Battery</Description>
<GuiVisible>true</GuiVisible>
<CubeSize>Small</CubeSize>
<BlockTopology>TriangleMesh</BlockTopology>
<Size x="1" y="1" z="1" />
<ModelOffset x="0" y="0" z="0" />
<Model>Models\Cubes\Small\BatterySmall1x1.mwm</Model>
<Components>
<Component Subtype="SteelPlate" Count="2" />
<Component Subtype="Construction" Count="1" />
<Component Subtype="PowerCell" Count="2">
<DeconstructId>
<TypeId>Ore</TypeId>
<SubtypeId>Scrap</SubtypeId>
</DeconstructId>
</Component>
<Component Subtype="Computer" Count="2" />
<Component Subtype="Construction" Count="1" />
<Component Subtype="SteelPlate" Count="2" />
</Components>
<CriticalComponent Subtype="Computer" Index="0" />
<BuildProgressModels>
<Model BuildPercentUpperBound="0.50" File="Models\Cubes\Small\BatterySmall1x1_Construction_1.mwm" />
<Model BuildPercentUpperBound="1.00" File="Models\Cubes\Small\BatterySmall1x1_Construction_2.mwm" />
</BuildProgressModels>
<BlockPairName>Battery1x1Block</BlockPairName>
<EdgeType>Light</EdgeType>
<BuildTimeSeconds>8</BuildTimeSeconds>

<ResourceSourceGroup>Battery</ResourceSourceGroup>
<MaxPowerOutput>0.2</MaxPowerOutput>

<ResourceSinkGroup>BatteryBlock</ResourceSinkGroup>
<RequiredPowerInput>0.2</RequiredPowerInput>
<MaxStoredPower>0.05</MaxStoredPower>
<InitialStoredPowerRatio>0.05</InitialStoredPowerRatio>

<InventorySize>
<X>1</X>
<Y>1</Y>
<Z>1</Z>
</InventorySize>
<Public>true</Public>
<DamageEffectId>214</DamageEffectId>
<DamagedSound>ParticleElectrical</DamagedSound>
<EmissiveColorPreset>Extended</EmissiveColorPreset>
</Definition>