Files
WulaFallenEmpireRW/1.6/1.6/Defs/ThingDefs_Buildings/WULA_Local_Buildings.xml
Tourswen 762c5db4cf 1
2025-11-06 02:14:36 +08:00

259 lines
9.4 KiB
XML

<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<!-- 输送舱 -->
<ThingDef ParentName="BuildingBase">
<defName>WULA_GlobalStorageSenderPod</defName>
<label>乌拉帝国物资输送舱</label>
<description>一个一次性的物资输送装置,可以将装载的货物发射到乌拉帝国的舰队以供其使用。</description>
<graphicData>
<texPath>Things/Special/DropPod</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(2,2)</drawSize>
</graphicData>
<size>(1,1)</size>
<rotatable>false</rotatable>
<tickerType>Normal</tickerType>
<altitudeLayer>BuildingOnTop</altitudeLayer>
<passability>PassThroughOnly</passability>
<castEdgeShadows>false</castEdgeShadows>
<designationHotKey>Misc12</designationHotKey>
<fillPercent>0.5</fillPercent>
<designationCategory>WULA_Buildings</designationCategory>
<uiOrder>2201</uiOrder> <!-- Slightly after the original -->
<terrainAffordanceNeeded>Medium</terrainAffordanceNeeded>
<statBases>
<MaxHitPoints>250</MaxHitPoints>
<WorkToBuild>1600</WorkToBuild>
<Flammability>0.5</Flammability>
</statBases>
<costList>
<Steel>60</Steel>
<ComponentIndustrial>1</ComponentIndustrial>
</costList>
<comps>
<li Class="CompProperties_Transporter">
<massCapacity>500</massCapacity>
<restEffectiveness>0.8</restEffectiveness>
<canChangeAssignedThingsAfterStarting>true</canChangeAssignedThingsAfterStarting>
</li>
<li Class="WulaFallenEmpire.CompProperties_Launchable_ToGlobalStorage">
<skyfallerLeaving>DropPodLeaving</skyfallerLeaving>
<requiresFuelingPort>false</requiresFuelingPort>
</li>
</comps>
<inspectorTabs>
<li>ITab_ContentsTransporter</li>
</inspectorTabs>
<placeWorkers>
<li>PlaceWorker_NotUnderRoof</li>
</placeWorkers>
<researchPrerequisites>
<li>TransportPod</li>
</researchPrerequisites>
<constructionSkillPrerequisite>6</constructionSkillPrerequisite>
<uiIconScale>0.65</uiIconScale>
</ThingDef>
<!-- 制造机 -->
<ThingDef ParentName="BenchBase">
<defName>WULA_Cube_Productor_Energy</defName>
<label>乌拉帝国编织体(电能)</label>
<description>一台仿制乌拉帝国科技而建造的塑性构造体,可制造乌拉帝国所有的物品。</description>
<thingClass>Building_WorkTable</thingClass>
<drawerType>MapMeshAndRealTime</drawerType>
<graphicData>
<texPath>Wula/Building/WULA_Cube_Productor_Energy</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(1,1)</drawSize>
<damageData>
<enabled>false</enabled>
</damageData>
<shadowData>
<volume>(0.75, 0.75, 0.5)</volume>
</shadowData>
</graphicData>
<constructEffect>ConstructMetal</constructEffect>
<costList>
<Steel>80</Steel>
<ComponentIndustrial>3</ComponentIndustrial>
</costList>
<altitudeLayer>Building</altitudeLayer>
<fillPercent>0.5</fillPercent>
<useHitPoints>True</useHitPoints>
<researchPrerequisites>
<li>WULA_Adv_WorkTable_Technology</li>
</researchPrerequisites>
<statBases>
<WorkToBuild>2000</WorkToBuild>
<MaxHitPoints>180</MaxHitPoints>
<Flammability>1.0</Flammability>
</statBases>
<size>(1,1)</size>
<designationCategory>WULA_Buildings</designationCategory>
<uiOrder>2120</uiOrder>
<passability>PassThroughOnly</passability>
<pathCost>50</pathCost>
<hasInteractionCell>True</hasInteractionCell>
<interactionCellOffset>(0,0,-1)</interactionCellOffset>
<surfaceType>Item</surfaceType>
<!-- 可用配方 -->
<recipes>
<li>Make_WULA_Charge_Cube</li>
<li>Make_WULA_Charge_Cube_Group</li>
<li>Recharge_WULA_Charge_Cube_Energy</li>
<li>Recharge_WULA_Charge_Cube_Energy_Group</li>
<li>Make_Component_By_WULA_Cube_Productor</li>
<li>Make_WULA_Dark_Matter_Item</li>
<li>Make_WULA_Neutronium</li>
</recipes>
<inspectorTabs>
<li>ITab_Bills</li>
</inspectorTabs>
<comps>
<li Class="CompProperties_Power">
<compClass>CompPowerTrader</compClass>
<basePowerConsumption>500</basePowerConsumption>
</li>
<li Class="CompProperties_AffectedByFacilities">
<linkableFacilities>
</linkableFacilities>
</li>
</comps>
<placeWorkers>
<li>PlaceWorker_PreventInteractionSpotOverlap</li>
</placeWorkers>
<building>
<!-- <isMealSource>true</isMealSource> -->
<spawnedConceptLearnOpportunity>BillsTab</spawnedConceptLearnOpportunity>
</building>
</ThingDef>
<!-- 防御炮 -->
<ThingDef ParentName="BuildingBase">
<defName>Wula_AI_Heavy_Panzer_Gunnery_Turret</defName>
<label>SRc-15"辉锑"炮塔</label>
<description>与战车型机械体SMp-38A"斯佩萨特"所装备的同款的联装机炮炮塔,火力和精准度稍逊于战车版本,并且没有额外的火箭弹可供使用,优点便是比战车要便宜的多。</description>
<thingClass>Building_TurretGun</thingClass>
<drawerType>MapMeshAndRealTime</drawerType>
<graphicData>
<texPath>Wula/Building/WULA_Turret_Component</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(2,2)</drawSize>
<!-- <drawOffset>(0,0,-0.16)</drawOffset> -->
<damageData>
<rect>(0.3,0.3,1.4,1.4)</rect>
</damageData>
<shadowData>
<volume>(0.5,0.35,0.75)</volume>
<offset>(0,0,-0.05)</offset>
</shadowData>
</graphicData>
<receivesSignals>true</receivesSignals>
<uiIconPath>Wula/Building/Wula_AI_Heavy_Panzer_Gunnery_Turret</uiIconPath>
<uiIconScale>1.0</uiIconScale>
<altitudeLayer>Building</altitudeLayer>
<stealable>false</stealable>
<rotatable>false</rotatable>
<size>(2,2)</size>
<statBases>
<MaxHitPoints>1500</MaxHitPoints>
<Flammability>0</Flammability>
<WorkToBuild>3200</WorkToBuild>
<Mass>80</Mass>
<Beauty>0</Beauty>
<ShootingAccuracyTurret>1.00</ShootingAccuracyTurret>
</statBases>
<costList>
<Steel>200</Steel>
<Plasteel>30</Plasteel>
<ComponentIndustrial>5</ComponentIndustrial>
</costList>
<leaveResourcesWhenKilled>false</leaveResourcesWhenKilled>
<tickerType>Normal</tickerType>
<comps>
<li Class="CompProperties_CanBeDormant" />
<li Class="CompProperties_Initiatable" />
<li Class="CompProperties_WakeUpDormant">
<wakeUpSound>MechanoidsWakeUp</wakeUpSound>
</li>
<li Class="CompProperties_Explosive">
<wickTicks>240</wickTicks>
<explosiveRadius>5.9</explosiveRadius>
<explosiveDamageType>Bomb</explosiveDamageType>
<chanceNeverExplodeFromDamage>0.5</chanceNeverExplodeFromDamage>
</li>
<li Class="CompProperties_Stunnable">
<affectedDamageDefs>
<li>EMP</li>
</affectedDamageDefs>
</li>
<li Class="CompProperties_AmbientSound">
<sound>MechTurretBig_Call</sound>
</li>
<li Class="WulaFallenEmpire.CompProperties_ForceTargetable" />
</comps>
<passability>PassThroughOnly</passability>
<pathCost>50</pathCost>
<fillPercent>0.5</fillPercent>
<hasTooltip>true</hasTooltip>
<terrainAffordanceNeeded>Heavy</terrainAffordanceNeeded>
<designationCategory>WULA_Buildings</designationCategory>
<building>
<combatPower>640</combatPower>
<!--<buildingTags>
<li>SRAClusterMember</li>
<li>SRAClusterCombatThreat</li>
<li>SRA_SmallCluster_SingleTurret</li>
</buildingTags>-->
<ai_combatDangerous>true</ai_combatDangerous>
<turretGunDef>WULA_WM_Panzer_Autocannon_Turret</turretGunDef>
<turretBurstCooldownTime>0.5</turretBurstCooldownTime>
<turretTopOffset>(0, 0.05)</turretTopOffset>
<turretTopDrawSize>2.0</turretTopDrawSize>
</building>
<placeWorkers>
<li>PlaceWorker_TurretTop</li>
<li>PlaceWorker_ShowTurretRadius</li>
</placeWorkers>
<researchPrerequisites>
<li>WULA_Structure_Technology</li>
<li>SniperTurret</li>
</researchPrerequisites>
</ThingDef>
<ThingDef ParentName="WULA_WM_Panzer_Autocannon">
<defName>WULA_WM_Panzer_Autocannon_Turret</defName>
<graphicData>
<texPath>Wula/Building/WULA_WM_Panzer_Autocannon</texPath>
<graphicClass>Graphic_Single</graphicClass>
</graphicData>
<weaponTags Inherit="False" />
<statBases>
<AccuracyTouch>0.5</AccuracyTouch>
<AccuracyShort>0.5</AccuracyShort>
<AccuracyMedium>0.4</AccuracyMedium>
<AccuracyLong>0.3</AccuracyLong>
<RangedWeapon_Cooldown>0.8</RangedWeapon_Cooldown>
</statBases>
<verbs>
<li>
<verbClass>Verb_Shoot</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_WULA_WM_Panzer_Autocannon</defaultProjectile>
<warmupTime>0.5</warmupTime>
<range>32</range>
<burstShotCount>10</burstShotCount>
<forcedMissRadius>0.1</forcedMissRadius>
<ticksBetweenBurstShots>6</ticksBetweenBurstShots>
<soundCast>Shot_TurretSniper</soundCast>
<soundCastTail>GunTail_Heavy</soundCastTail>
<muzzleFlashScale>18</muzzleFlashScale>
<targetParams>
<canTargetPawns>true</canTargetPawns>
<canTargetLocations>true</canTargetLocations>
<canTargetBuildings>true</canTargetBuildings>
</targetParams>
</li>
</verbs>
</ThingDef>
</Defs>