RimWorld

RimWorld

Vanilla Helixien Gas Expanded
How to: WATERPROOF PIPES
<ThingDef ParentName="BuildingBase">
<defName>VHGE_WaterproofHelixienPipe</defName>
<label>waterproof gas pipe</label>
<description>A pipe that transmits helixien gas. This pipe is hidden from view, protected from gas explosions and placable in shallow water. A lot more expensive to build than regular pipes.</description>
<thingClass>PipeSystem.Building_Pipe</thingClass>
<category>Building</category>
<tickerType>Rare</tickerType>
<noRightClickDraftAttack>true</noRightClickDraftAttack>
<graphicData>
<texPath>UI/CSG/IConduit</texPath>
<graphicClass>Graphic_Single</graphicClass>
<linkType>Basic</linkType>
<linkFlags>
<li>Custom7</li>
</linkFlags>
<damageData>
<rect>(0,0.35,1,0.3)</rect>
</damageData>
</graphicData>
<uiIconPath>Things/Building/Linked/BuriedGasPipe_MenuIcon</uiIconPath>
<uiIconScale>1</uiIconScale>
<building>

<ai_chillDestination>false</ai_chillDestination>
<isInert>true</isInert>
<isEdifice>false</isEdifice>
<canLandGravshipOn>true</canLandGravshipOn>
<blueprintGraphicData>
<texPath>Things/Building/Linked/GasPipe_Blueprint_Atlas</texPath>
</blueprintGraphicData>
<ai_neverTrashThis>true</ai_neverTrashThis>
<isTargetable>false</isTargetable>
<expandHomeArea>false</expandHomeArea>
<canBeDamagedByAttacks>false</canBeDamagedByAttacks>
</building>
<drawerType>MapMeshOnly</drawerType>
<altitudeLayer>FloorEmplacement</altitudeLayer>
<passability>Standable</passability>
<leaveResourcesWhenKilled>false</leaveResourcesWhenKilled>
<resourcesFractionWhenDeconstructed>0</resourcesFractionWhenDeconstructed>
<statBases>
<MaxHitPoints>48</MaxHitPoints>
<WorkToBuild>420</WorkToBuild>
<Flammability>0</Flammability>
</statBases>
<drawStyleCategory>Conduits</drawStyleCategory>
<costList>
<Steel>8</Steel>
</costList>
<comps>
<li Class="PipeSystem.CompProperties_Resource">
<pipeNet>VHGE_HelixienNet</pipeNet>
</li>
<li Class="PipeSystem.CompProperties_SpillWhenDamaged">
<spillEachTicks>1200</spillEachTicks>
<startAtHitPointsPercent>0.333</startAtHitPointsPercent>
<amountToDraw>1</amountToDraw>
</li>
</comps>
<placeWorkers>
<li>PipeSystem.PlaceWorker_Pipe</li>
</placeWorkers>
<rotatable>false</rotatable>
<selectable>true</selectable>
<neverMultiSelect>true</neverMultiSelect>
<soundImpactDefault>BulletImpact_Metal</soundImpactDefault>
<terrainAffordanceNeeded>WaterproofConduitable</terrainAffordanceNeeded>
<designationCategory>VCHE_PipeNetworks</designationCategory>
<constructEffect>ConstructMetal</constructEffect>
<clearBuildingArea>false</clearBuildingArea>
<researchPrerequisites>
<li>VHGE_GasExtraction</li>
</researchPrerequisites>
</ThingDef>



X:\Steam\steamapps\workshop\content\294100\2877699803\1.6\Defs\ThingDef_Buildings

open "Pipes.xml" with windows text editor and add the chunk of code at the bottom of the file ABOVE the lowest line (the file has to end with the line "</Defs>")
< >
Showing 1-1 of 1 comments
update:
to prevent an error being constantly logged, you also have to add the name to the dictionary.

X:\Steam\steamapps\workshop\content\294100\2877699803\1.6\Defs\PipeNetDef

open "helixienGas.xml" with windows text editor and add

<li>VHGE_WaterproofHelixienPipe</li>

between lines 13 and 14 (making it the new 14th line of code).
< >
Showing 1-1 of 1 comments
Per page: 1530 50