Files
WulaFallenEmpireRW/1.6/Defs/Buildings/Buildings_Structure.xml
2025-07-12 11:53:19 +08:00

228 lines
8.3 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef ParentName="Wall">
<defName>WulaWall</defName>
<label>乌拉帝国堡垒</label>
<description>乌拉帝国堡垒外壁,相当厚实,能够抵御大量爆炸和震荡伤害,并且拥有气密性,可以用在飞船外壳上。</description>
<thingClass>Building</thingClass>
<category>Building</category>
<graphicData>
<texPath>Wula/Building/Linked/WulaWall</texPath>
<shaderType>CutoutComplex</shaderType>
<graphicClass>Graphic_Appearances</graphicClass>
<linkType>CornerFiller</linkType>
<linkFlags>
<li>Wall</li>
<li>Rock</li>
</linkFlags>
<damageData>
<cornerTL>Damage/Corner</cornerTL>
<cornerTR>Damage/Corner</cornerTR>
<cornerBL>Damage/Corner</cornerBL>
<cornerBR>Damage/Corner</cornerBR>
<edgeTop>Damage/Edge</edgeTop>
<edgeBot>Damage/Edge</edgeBot>
<edgeLeft>Damage/Edge</edgeLeft>
<edgeRight>Damage/Edge</edgeRight>
</damageData>
</graphicData>
<uiIconPath>Wula/Building/Linked/WULA_Fortress_Wall_MenuIcon</uiIconPath>
<statBases>
<MarketValue>2</MarketValue>
<Beauty>1</Beauty>
<MaxHitPoints>10000</MaxHitPoints>
<WorkToBuild>2500</WorkToBuild>
<Flammability>0</Flammability>
<MeditationFocusStrength>0.22</MeditationFocusStrength>
<Cleanliness>0.1</Cleanliness>
</statBases>
<costList>
<Steel>10</Steel>
</costList>
<leaveResourcesWhenKilled>false</leaveResourcesWhenKilled>
<filthLeaving>Filth_RubbleBuilding</filthLeaving>
<repairEffect>Repair</repairEffect>
<altitudeLayer>Building</altitudeLayer>
<passability>Impassable</passability>
<blockWind>true</blockWind>
<castEdgeShadows>true</castEdgeShadows>
<fillPercent>1</fillPercent>
<coversFloor>true</coversFloor>
<!-- <placingDraggableDimensions>1</placingDraggableDimensions> -->
<tickerType>Never</tickerType>
<rotatable>false</rotatable>
<selectable>true</selectable>
<neverMultiSelect>true</neverMultiSelect>
<terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded> <!-- Best affordance needed for stone -->
<holdsRoof>true</holdsRoof>
<designationCategory>Structure</designationCategory>
<staticSunShadowHeight>1.0</staticSunShadowHeight>
<blockLight>true</blockLight>
<canOverlapZones>false</canOverlapZones>
<fertility>0</fertility>
<costStuffCount>0</costStuffCount>
<stuffCategories Inherit="False"></stuffCategories>
<building>
<isAirtight>true</isAirtight>
<paintable>true</paintable>
<isInert>true</isInert>
<isPlaceOverableWall>true</isPlaceOverableWall>
<ai_chillDestination>false</ai_chillDestination>
<supportsWallAttachments>true</supportsWallAttachments>
<blueprintGraphicData>
<texPath>Wula/Building/Linked/WULA_Fortress_Wall_Blueprint</texPath>
</blueprintGraphicData>
<relatedBuildCommands>
<li>Door</li>
<li>Autodoor</li>
</relatedBuildCommands>
</building>
<uiOrder>3000</uiOrder>
<comps>
<li Class="CompProperties_MeditationFocus">
<statDef>MeditationFocusStrength</statDef>
<focusTypes>
<li>Minimal</li>
</focusTypes>
</li>
<li Class="CompProperties_Power">
<compClass>CompPowerTransmitter</compClass>
<transmitsPower>true</transmitsPower>
</li>
</comps>
<damageMultipliers>
<li>
<damageDef>Bomb</damageDef>
<multiplier>0.01</multiplier>
</li>
<li>
<damageDef>Thump</damageDef>
<multiplier>0.01</multiplier>
</li>
</damageMultipliers>
<researchPrerequisites>
<li>WULA_Structure_Technology</li>
</researchPrerequisites>
</ThingDef>
<ThingDef ParentName="DoorBase">
<defName>WulaDoor</defName>
<label>乌拉帝国大门</label>
<description>乌拉帝国堡垒的大门,不仅能够抵御大量爆炸和震荡伤害,还拥有无需通电即可运转的伺服系统来增加大门通过速度。</description>
<thingClass>Building_Door</thingClass>
<category>Building</category>
<altitudeLayer>DoorMoveable</altitudeLayer>
<fillPercent>1</fillPercent>
<useHitPoints>true</useHitPoints>
<graphicData>
<texPath>Wula/Building/Door/WulaAutodoor_Mover</texPath>
<graphicClass>Graphic_Single</graphicClass>
<damageData>
<!-- no damage marks because they don't move with the door
<rect>(0,0.12,1,0.76)</rect>-->
<enabled>false</enabled>
</damageData>
</graphicData>
<statBases>
<MarketValue>2</MarketValue>
<MaxHitPoints>7500</MaxHitPoints>
<Flammability>0</Flammability>
<WorkToBuild>3000</WorkToBuild>
<Beauty>20</Beauty>
<DoorOpenSpeed>2</DoorOpenSpeed>
</statBases>
<costList>
<Steel>50</Steel>
</costList>
<leaveResourcesWhenKilled>false</leaveResourcesWhenKilled>
<selectable>true</selectable>
<tickerType>Normal</tickerType>
<!-- <rotatable>false</rotatable> -->
<!--<soundImpactDefault>BulletImpact_Metal</soundImpactDefault>-->
<useStuffTerrainAffordance>false</useStuffTerrainAffordance>
<stuffCategories Inherit="False"></stuffCategories>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<designationCategory>Structure</designationCategory>
<holdsRoof>true</holdsRoof>
<staticSunShadowHeight>1.0</staticSunShadowHeight>
<blockLight>true</blockLight>
<drawerType>RealtimeOnly</drawerType>
<comps>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>0</basePowerConsumption>
<transmitsPower>true</transmitsPower>
</li>
<li Class="CompProperties_Breakdownable"/>
<li Class="CompProperties_Forbiddable">
<allowNonPlayer>true</allowNonPlayer>
</li>
</comps>
<damageMultipliers>
<li>
<damageDef>Bomb</damageDef>
<multiplier>0.01</multiplier>
</li>
<li>
<damageDef>Thump</damageDef>
<multiplier>0.01</multiplier>
</li>
</damageMultipliers>
<building>
<paintable>true</paintable>
<isInert>true</isInert>
<canPlaceOverWall>true</canPlaceOverWall>
<soundDoorOpenPowered>Door_OpenPowered</soundDoorOpenPowered>
<soundDoorClosePowered>Door_ClosePowered</soundDoorClosePowered>
<soundDoorOpenManual>Door_OpenManual</soundDoorOpenManual>
<soundDoorCloseManual>Door_CloseManual</soundDoorCloseManual>
<blueprintClass>Blueprint_Door</blueprintClass>
<blueprintGraphicData>
<texPath>Wula/Building/Door/WulaAutodoor_BluePrint</texPath>
</blueprintGraphicData>
<ai_chillDestination>false</ai_chillDestination>
</building>
<uiOrder>2505</uiOrder>
<uiIconPath>Wula/Building/Door/WulaAutodoor</uiIconPath>
<designationHotKey>Misc2</designationHotKey>
<constructionSkillPrerequisite>6</constructionSkillPrerequisite>
<researchPrerequisites>
<li>WULA_Structure_Technology</li>
</researchPrerequisites>
</ThingDef>
<TerrainDef ParentName="FloorBase">
<defName>WulaFloor</defName>
<label>乌拉帝国地板</label>
<renderPrecedence>200</renderPrecedence>
<description>乌拉帝国堡垒中使用的地板,形似红毯但是实际上并非由布料制成。</description>
<texturePath>Wula/Building/WULA_Floor</texturePath>
<color>(0.67, 0.67, 0.67)</color>
<pollutionTintColor>(0.95, 0.95, 0.93, 1)</pollutionTintColor>
<isPaintable>true</isPaintable>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<uiIconPath>Wula/Building/WULA_Floor_UI</uiIconPath>
<statBases>
<MarketValue>2</MarketValue>
<WorkToBuild>200</WorkToBuild>
<Cleanliness>1</Cleanliness>
<FilthMultiplier>0.05</FilthMultiplier>
<CleaningTimeFactor>0.1</CleaningTimeFactor>
<Beauty>16</Beauty>
</statBases>
<costList>
<Steel>1</Steel>
</costList>
<tags>
<li>Floor</li>
<li>FineFloor</li>
</tags>
<constructEffect>ConstructMetal</constructEffect>
<designationHotKey>Misc4</designationHotKey>
<constructionSkillPrerequisite>8</constructionSkillPrerequisite>
<!-- <uiOrder>2115</uiOrder>
<researchPrerequisites>
<li>WULA_Structure_Technology</li>
</researchPrerequisites> -->
</TerrainDef>
</Defs>