Files
WulaFallenEmpireRW/1.6/Defs/ThingDefs_Buildings/WULA_Buildings_Maintenance.xml

81 lines
3.2 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef ParentName="BuildingBase">
<defName>WULA_MaintenancePod</defName>
<label>维护舱</label>
<description>一个为乌拉族设计的全自动维护舱。乌拉族需要定期进入其中进行身体机能的维护和校准,否则他们的身体会逐渐衰弱。维护过程需要消耗零部件。</description>
<containedPawnsSelectable>true</containedPawnsSelectable>
<graphicData>
<texPath>Wula/Building/WULA_Synth_Maintainer_south</texPath>
<graphicClass>Graphic_Single</graphicClass>
<shadowData>
<volume>(2.9,0.6,1.9)</volume>
</shadowData>
<drawSize>(3, 2)</drawSize>
</graphicData>
<drawerType>RealtimeOnly</drawerType>
<drawGUIOverlay>true</drawGUIOverlay>
<defaultPlacingRot>South</defaultPlacingRot>
<altitudeLayer>Building</altitudeLayer>
<passability>PassThroughOnly</passability>
<pathCost>42</pathCost>
<blockWind>true</blockWind>
<fillPercent>0.5</fillPercent>
<canOverlapZones>false</canOverlapZones>
<rotatable>false</rotatable>
<statBases>
<MaxHitPoints>250</MaxHitPoints>
<WorkToBuild>20000</WorkToBuild>
<Mass>50</Mass>
<Flammability>0.5</Flammability>
<Beauty>-5</Beauty>
</statBases>
<size>(3,2)</size>
<interactionCellOffset>(0,0,2)</interactionCellOffset>
<hasInteractionCell>true</hasInteractionCell>
<costList>
<Steel>150</Steel>
<ComponentIndustrial>10</ComponentIndustrial>
<ComponentSpacer>2</ComponentSpacer>
</costList>
<constructionSkillPrerequisite>8</constructionSkillPrerequisite>
<building>
<destroySound>BuildingDestroyed_Metal_Big</destroySound>
<uninstallWork>1800</uninstallWork>
</building>
<designationCategory>Misc</designationCategory>
<minifiedDef>MinifiedThing</minifiedDef>
<thingCategories>
<li>BuildingsMisc</li>
</thingCategories>
<tickerType>Normal</tickerType>
<comps>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>50</basePowerConsumption> <!-- This is now idle power -->
</li>
<li Class="CompProperties_Flickable"/>
<li Class="WulaFallenEmpire.CompProperties_MaintenancePod">
<durationTicks>60000</durationTicks> <!-- 1 day -->
<powerConsumptionRunning>250</powerConsumptionRunning>
<powerConsumptionIdle>5</powerConsumptionIdle>
<hediffToRemove>WULA_Maintenance_Neglect</hediffToRemove>
<componentDef>ComponentIndustrial</componentDef>
<componentCostPerSeverity>5</componentCostPerSeverity> <!-- 5 components per 100% severity -->
<baseComponentCost>0</baseComponentCost>
<minSeverityToMaintain>0.75</minSeverityToMaintain>
<capacity>5</capacity>
<hediffSeverityAfterCycle>0.01</hediffSeverityAfterCycle>
<enterSound>BiosculpterPod_Enter</enterSound>
<exitSound>BiosculpterPod_Exit</exitSound>
<operatingEffecter>BiosculpterPod_Operating</operatingEffecter>
</li>
</comps>
<placeWorkers>
<li>PlaceWorker_PreventInteractionSpotOverlap</li>
</placeWorkers>
</ThingDef>
</Defs>