RimWorld

RimWorld

Vanilla Furniture Expanded - Power
EnderNyktos 6 Apr, 2024 @ 12:49pm
Advanced Wind Turbine Autocut Fix
<ThingDef ParentName="BuildingBase">
<defName>VFE_AdvancedWindTurbine</defName>
<thingClass>Building</thingClass>
<drawerType>MapMeshAndRealTime</drawerType>
<label>advanced wind turbine</label>
<description>A spacertech, advanced wind-powered electrical generator. Requires a large clear space in front and behind for optimal air flow.</description>
<graphicData>
<texPath>Things/Building/Power/AdvancedWindTurbine/AdvancedWindTurbineBody</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(5,3)</drawSize>
<shadowData>
<volume>(0.6, 1.0, 1.6)</volume>
<offset>(-0.1,0,-0.08)</offset>
</shadowData>
<damageData>
<rect>(2,0.15,1,1.4)</rect>
</damageData>
</graphicData>
<uiIconPath>Things/Building/Power/AdvancedWindTurbine/AdvancedWindTurbine_MenuIcon</uiIconPath>
<altitudeLayer>Building</altitudeLayer>
<passability>Impassable</passability>
<blockWind>true</blockWind>
<fillPercent>0.5</fillPercent>
<statBases>
<MaxHitPoints>250</MaxHitPoints>
<WorkToBuild>4600</WorkToBuild>
<Flammability>0.2</Flammability>
<Beauty>-6</Beauty>
</statBases>
<tickerType>Normal</tickerType>
<size>(3,2)</size>
<selectable>true</selectable>
<drawPlaceWorkersWhileSelected>true</drawPlaceWorkersWhileSelected>
<rotatable>true</rotatable>
<designationCategory>Power</designationCategory>
<terrainAffordanceNeeded>Medium</terrainAffordanceNeeded>
<building>
<allowAutoroof>false</allowAutoroof>
</building>
<costList>
<Steel>70</Steel>
<Plasteel>40</Plasteel>
<ComponentSpacer>3</ComponentSpacer>
</costList>
<constructEffect>ConstructMetal</constructEffect>
<placeWorkers>
<li>PlaceWorker_WindTurbine</li>
</placeWorkers>
<comps>
<li Class="CompProperties_Power">
<compClass>VanillaPowerExpanded.CompPowerAdvancedWind</compClass>
<basePowerConsumption>-5200</basePowerConsumption>
<transmitsPower>true</transmitsPower>
</li>
<li Class="CompProperties_Breakdownable"/>
<li>
<compClass>CompAutoCutWindTurbine</compClass>
</li>
</comps>
<designationHotKey>Misc7</designationHotKey>
<researchPrerequisites>
<li>VFE_AdvancedPowerSources</li>
</researchPrerequisites>
<constructionSkillPrerequisite>6</constructionSkillPrerequisite>
<inspectorTabs>
<li>ITab_WindTurbineAutoCut</li>
</inspectorTabs>
</ThingDef>
Last edited by EnderNyktos; 6 Apr, 2024 @ 12:50pm