352 lines
13 KiB
XML
352 lines
13 KiB
XML
<?xml version="1.0" encoding="utf-8" ?>
|
||
<Defs>
|
||
<!-- 工作定义 -->
|
||
<JobDef>
|
||
<defName>WULA_RecycleMechanoid</defName>
|
||
<driverClass>WulaFallenEmpire.JobDriver_RecycleMechanoid</driverClass>
|
||
<reportString>正在准备进入猫猫地堡。</reportString>
|
||
</JobDef>
|
||
<ThingDef ParentName="BuildingBase">
|
||
<defName>WULA_Cat_Bunker_Cleanzone</defName>
|
||
<label>乌拉猫猫地堡</label>
|
||
<description>清理出一块场地并准备好资源,使得乌拉帝国母舰可以向此处投放建筑。建造好的信标可以收起或移至他处,但是必须要有母舰或者后勤舰在上空才能投送建筑。\n\n乌拉猫猫地堡是集生产和防御为一体的坚实建筑,3只乌拉猫猫自律机械体会和地堡一起空降。地堡可供乌拉猫猫更换工作类型,并允许乌拉猫猫进驻使用内部武器击败来犯敌军。</description>
|
||
<uiIconPath>Wula/Building/WULA_Cat_Bunker_south</uiIconPath>
|
||
<minifiedDef>MinifiedThing</minifiedDef>
|
||
<tickerType>Normal</tickerType>
|
||
<descriptionHyperlinks>
|
||
<ThingDef>WULA_Cat_Bunker</ThingDef>
|
||
<ThingDef>Mech_WULA_Cat</ThingDef>
|
||
<ThingDef>Mech_WULA_Cat_Constructor</ThingDef>
|
||
<ThingDef>Mech_WULA_Cat_Assault</ThingDef>
|
||
</descriptionHyperlinks>
|
||
<thingCategories Inherit="False">
|
||
<li>BuildingsMisc</li>
|
||
</thingCategories>
|
||
<graphicData>
|
||
<texPath>Wula/Building/WULA_Dropping_Building_Cleanzone</texPath>
|
||
<graphicClass>Graphic_Multi</graphicClass>
|
||
<drawSize>(3,3)</drawSize>
|
||
<damageData>
|
||
<enabled>false</enabled>
|
||
</damageData>
|
||
</graphicData>
|
||
<altitudeLayer>Building</altitudeLayer>
|
||
<passability>PassThroughOnly</passability>
|
||
<castEdgeShadows>false</castEdgeShadows>
|
||
<fillPercent>0.5</fillPercent>
|
||
<canOverlapZones>false</canOverlapZones>
|
||
<pathCost>0</pathCost>
|
||
<hasInteractionCell>false</hasInteractionCell>
|
||
<!-- <interactionCellOffset>(0,0,-2)</interactionCellOffset> -->
|
||
<statBases>
|
||
<MaxHitPoints>1</MaxHitPoints>
|
||
<WorkToBuild>1</WorkToBuild>
|
||
<Mass>1</Mass>
|
||
<Flammability>0</Flammability>
|
||
</statBases>
|
||
<size>(3,3)</size>
|
||
<constructionSkillPrerequisite>0</constructionSkillPrerequisite>
|
||
<resourcesFractionWhenDeconstructed>1</resourcesFractionWhenDeconstructed>
|
||
<costList>
|
||
<Steel>300</Steel>
|
||
</costList>
|
||
<building>
|
||
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
|
||
</building>
|
||
<designationCategory>WULA_Buildings</designationCategory>
|
||
<comps>
|
||
<li Class="WulaFallenEmpire.CompProperties_SkyfallerCaller">
|
||
<skyfallerDef>WULA_Cat_Bunker_Incoming</skyfallerDef> <!-- 替换为您想要的Skyfaller类型 -->
|
||
<destroyBuilding>true</destroyBuilding>
|
||
<delayTicks>1</delayTicks>
|
||
<requiredFlyOverType>WULA_Flyover_BaseBuilder</requiredFlyOverType>
|
||
<allowThinRoof>true</allowThinRoof>
|
||
<allowThickRoof>false</allowThickRoof>
|
||
<requiredFlyOverLabel>乌拉帝国母舰或后勤舰</requiredFlyOverLabel> <!-- 新增显示标签 -->
|
||
</li>
|
||
</comps>
|
||
</ThingDef>
|
||
<ThingDef ParentName="SkyfallerBase">
|
||
<defName>WULA_Cat_Bunker_Incoming</defName>
|
||
<label>乌拉猫猫地堡(空投中)</label>
|
||
<size>(3,3)</size>
|
||
<graphicData>
|
||
<texPath>Wula/Building/WULA_Cat_Bunker_Incoming</texPath>
|
||
<graphicClass>Graphic_Single</graphicClass>
|
||
<shaderType>CutoutFlying</shaderType>
|
||
<drawSize>(3,3)</drawSize>
|
||
</graphicData>
|
||
<skyfaller>
|
||
<movementType>Accelerate</movementType>
|
||
<shadow>Things/Skyfaller/SkyfallerShadowDropPod</shadow>
|
||
<shadowSize>(2, 2)</shadowSize>
|
||
<anticipationSound>DropPod_Fall</anticipationSound>
|
||
<anticipationSoundTicks>100</anticipationSoundTicks>
|
||
<impactSound>Explosion_Vaporize</impactSound>
|
||
<moteSpawnTime>0.05</moteSpawnTime>
|
||
<motesPerCell>1</motesPerCell>
|
||
<cameraShake>1</cameraShake>
|
||
<angleCurve>
|
||
<points>
|
||
<li>(0,0)</li>
|
||
<li>(1, 1)</li>
|
||
</points>
|
||
</angleCurve>
|
||
<spawnThing>WULA_Cat_Bunker</spawnThing>
|
||
</skyfaller>
|
||
<comps>
|
||
<li Class="CompProperties_Effecter">
|
||
<effecterDef>Smoke_Joint</effecterDef>
|
||
</li>
|
||
</comps>
|
||
</ThingDef>
|
||
<ThingDef ParentName="BuildingBase">
|
||
<defName>WULA_Cat_Bunker</defName>
|
||
<label>乌拉猫猫地堡</label>
|
||
<description>这是一个从乌拉帝国母舰上空投下来的地堡,它拥有一些预制件,可以供乌拉猫猫更换其工作类型。此外,当敌人袭击时,可将乌拉猫猫召回至地堡内,它们将在地堡里对外射击以击退来犯者。</description>
|
||
<thingClass>WulaFallenEmpire.Building_MechanoidRecycler</thingClass>
|
||
<tickerType>Normal</tickerType>
|
||
<descriptionHyperlinks>
|
||
<ThingDef>WULA_Cat_Bunker_TurretGun</ThingDef>
|
||
<ThingDef>Mech_WULA_Cat</ThingDef>
|
||
<ThingDef>Mech_WULA_Cat_Constructor</ThingDef>
|
||
<ThingDef>Mech_WULA_Cat_Assault</ThingDef>
|
||
</descriptionHyperlinks>
|
||
<graphicData>
|
||
<texPath>Wula/Building/WULA_Cat_Bunker</texPath>
|
||
<graphicClass>Graphic_Multi</graphicClass>
|
||
<drawSize>(3,3)</drawSize>
|
||
<damageData>
|
||
<enabled>false</enabled>
|
||
</damageData>
|
||
<shadowData>
|
||
<volume>(1.65, 1.65, 0.85)</volume>
|
||
<offset>(0, 0, -0.2)</offset>
|
||
</shadowData>
|
||
</graphicData>
|
||
<altitudeLayer>Building</altitudeLayer>
|
||
<passability>PassThroughOnly</passability>
|
||
<castEdgeShadows>false</castEdgeShadows>
|
||
<fillPercent>0.5</fillPercent>
|
||
<canOverlapZones>false</canOverlapZones>
|
||
<pathCost>42</pathCost>
|
||
<hasInteractionCell>false</hasInteractionCell>
|
||
<!-- <interactionCellOffset>(0,0,-2)</interactionCellOffset> -->
|
||
<resourcesFractionWhenDeconstructed>0</resourcesFractionWhenDeconstructed>
|
||
<statBases>
|
||
<MaxHitPoints>2500</MaxHitPoints>
|
||
<WorkToBuild>1</WorkToBuild>
|
||
<Mass>20</Mass>
|
||
<Flammability>0</Flammability>
|
||
</statBases>
|
||
<size>(3,3)</size>
|
||
<costList>
|
||
<Steel>200</Steel>
|
||
</costList>
|
||
<building>
|
||
<destroySound>BuildingDestroyed_Metal_Small</destroySound>
|
||
<turretBurstCooldownTime>3.5</turretBurstCooldownTime>
|
||
</building>
|
||
<comps>
|
||
<li Class="WulaFallenEmpire.CompProperties_MechanoidRecycler">
|
||
<maxStorageCapacity>6</maxStorageCapacity>
|
||
|
||
<!-- 可回收的机械族种族 -->
|
||
<recyclableRaces>
|
||
<li>Mech_WULA_Cat</li>
|
||
<li>Mech_WULA_Cat_Constructor</li>
|
||
<li>Mech_WULA_Cat_Assault</li>
|
||
</recyclableRaces>
|
||
<recycleJobDef>WULA_RecycleMechanoid</recycleJobDef>
|
||
<recycleRange>5</recycleRange>
|
||
|
||
<!-- 可生成的机械族种类 -->
|
||
<spawnablePawnKinds>
|
||
<li>Mech_WULA_Cat</li>
|
||
<li>Mech_WULA_Cat_Constructor</li>
|
||
<li>Mech_WULA_Cat_Assault</li>
|
||
</spawnablePawnKinds>
|
||
|
||
<!-- 新增初始单位配置 -->
|
||
<initialUnits>
|
||
<li>
|
||
<pawnKindDef>Mech_WULA_Cat</pawnKindDef>
|
||
<count>1</count>
|
||
</li>
|
||
<li>
|
||
<pawnKindDef>Mech_WULA_Cat_Constructor</pawnKindDef>
|
||
<count>1</count>
|
||
</li>
|
||
<li>
|
||
<pawnKindDef>Mech_WULA_Cat_Assault</pawnKindDef>
|
||
<count>1</count>
|
||
</li>
|
||
</initialUnits>
|
||
|
||
<!-- <ownershipFaction>Player</ownershipFaction> -->
|
||
</li>
|
||
<li Class="WulaFallenEmpire.CompProperties_StorageTurret">
|
||
<turretDef>WULA_Cat_Bunker_TurretGun</turretDef> <!-- 替换为您想要的炮塔 -->
|
||
<angleOffset>0</angleOffset>
|
||
<autoAttack>true</autoAttack>
|
||
<maxTurrets>6</maxTurrets>
|
||
<turretSpacing>1.5</turretSpacing>
|
||
</li>
|
||
</comps>
|
||
</ThingDef>
|
||
<ThingDef ParentName="BaseWeaponTurret">
|
||
<defName>WULA_Cat_Bunker_TurretGun</defName>
|
||
<label>地堡炮塔</label>
|
||
<description>由进入地堡的乌拉猫猫操纵的炮塔——说那么多干什么,扣扳机就完了,殖民地会报销弹药的。</description>
|
||
<graphicData>
|
||
<texPath>Wula/Weapon/WULA_Weapon_Empty</texPath>
|
||
<graphicClass>Graphic_Single</graphicClass>
|
||
</graphicData>
|
||
<statBases>
|
||
<AccuracyTouch>0.5</AccuracyTouch>
|
||
<AccuracyShort>0.3</AccuracyShort>
|
||
<AccuracyMedium>0.25</AccuracyMedium>
|
||
<AccuracyLong>0.12</AccuracyLong>
|
||
<RangedWeapon_Cooldown>4.8</RangedWeapon_Cooldown>
|
||
<DeteriorationRate>0</DeteriorationRate>
|
||
<Mass>5</Mass>
|
||
<Flammability>0</Flammability>
|
||
</statBases>
|
||
<verbs>
|
||
<li>
|
||
<verbClass>Verb_Shoot</verbClass>
|
||
<defaultProjectile>Bullet_WULA_RW_Base_AR</defaultProjectile>
|
||
<warmupTime>0</warmupTime>
|
||
<range>21</range>
|
||
<ticksBetweenBurstShots>32</ticksBetweenBurstShots>
|
||
<burstShotCount>2</burstShotCount>
|
||
<soundCast>Shot_AssaultRifle</soundCast>
|
||
<soundCastTail>GunTail_Medium</soundCastTail>
|
||
<muzzleFlashScale>9</muzzleFlashScale>
|
||
<consumeFuelPerShot>1</consumeFuelPerShot>
|
||
</li>
|
||
</verbs>
|
||
</ThingDef>
|
||
|
||
<!-- 制造机 -->
|
||
<ThingDef ParentName="BenchBase">
|
||
<defName>WULA_Cube_Productor_BIO</defName>
|
||
<label>乌拉帝国编织体(生物能)</label>
|
||
<description>一台仿制乌拉帝国科技而建造的塑性构造体,不仅要消耗大量木头用以提供生物能,还只能生产基础的衣物和能源核心用以维持生存——不过它很轻,可以随探险队一起移动。</description>
|
||
<thingClass>WulaFallenEmpire.Building_GlobalWorkTable</thingClass>
|
||
<drawerType>MapMeshAndRealTime</drawerType>
|
||
<tickerType>Normal</tickerType>
|
||
<modExtensions>
|
||
<li Class="WulaFallenEmpire.GlobalWorkTableAirdropExtension">
|
||
<maxRange>50</maxRange>
|
||
<randomRange>15</randomRange>
|
||
<minPods>1</minPods>
|
||
<maxPods>10</maxPods>
|
||
</li>
|
||
</modExtensions>
|
||
<graphicData>
|
||
<texPath>Wula/Building/WULA_Cube_Productor_BIO</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>50</Steel>
|
||
</costList>
|
||
<altitudeLayer>Building</altitudeLayer>
|
||
<castEdgeShadows>false</castEdgeShadows>
|
||
<fillPercent>0.5</fillPercent>
|
||
<useHitPoints>True</useHitPoints>
|
||
<statBases>
|
||
<Mass>5</Mass>
|
||
<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>
|
||
<researchPrerequisites>
|
||
<li>WULA_Base_Technology</li>
|
||
</researchPrerequisites>
|
||
<!-- 可用配方 -->
|
||
<recipes>
|
||
<li>Make_WULA_Charge_Cube</li>
|
||
<li>Recharge_WULA_Charge_Cube</li>
|
||
<li MayRequire="Ludeon.RimWorld.Anomaly">Wula_Make_Zro</li>
|
||
</recipes>
|
||
<inspectorTabs>
|
||
<li>WulaFallenEmpire.ITab_GlobalBills</li>
|
||
</inspectorTabs>
|
||
<comps>
|
||
</comps>
|
||
<placeWorkers>
|
||
<li>PlaceWorker_PreventInteractionSpotOverlap</li>
|
||
</placeWorkers>
|
||
<building>
|
||
<!-- <isMealSource>true</isMealSource> -->
|
||
<spawnedConceptLearnOpportunity>BillsTab</spawnedConceptLearnOpportunity>
|
||
<heatPerTickWhileWorking>0.10</heatPerTickWhileWorking>
|
||
</building>
|
||
</ThingDef>
|
||
<ThingDef ParentName="BuildingBase">
|
||
<defName>WULA_ResourceSubmitter</defName>
|
||
<label>乌拉帝国物资交换舱</label>
|
||
<description>乌拉帝国从地面向舰队提交资源的特殊交换仓。</description>
|
||
<thingClass>WulaFallenEmpire.Building_ResourceSubmitter</thingClass>
|
||
<graphicData>
|
||
<texPath>Things/Building/Furniture/Shelf</texPath>
|
||
<graphicClass>Graphic_Multi</graphicClass>
|
||
<drawSize>(1,1)</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>2200</uiOrder>
|
||
<statBases>
|
||
<MaxHitPoints>250</MaxHitPoints>
|
||
<WorkToBuild>1600</WorkToBuild>
|
||
<Flammability>0.5</Flammability>
|
||
</statBases>
|
||
<costList>
|
||
<Steel>20</Steel>
|
||
</costList>
|
||
<!-- <comps>
|
||
<li Class="CompProperties_Transporter">
|
||
<massCapacity>300</massCapacity>
|
||
<restEffectiveness>0.8</restEffectiveness>
|
||
<canChangeAssignedThingsAfterStarting>true</canChangeAssignedThingsAfterStarting>
|
||
<max1PerGroup>true</max1PerGroup>
|
||
</li>
|
||
<li Class="CompProperties_Launchable_TransportPod">
|
||
<skyfallerLeaving>ARA_DropPodLeaving</skyfallerLeaving>
|
||
<requiresFuelingPort>false</requiresFuelingPort>
|
||
<fixedLaunchDistanceMax>53</fixedLaunchDistanceMax>
|
||
</li>
|
||
</comps> -->
|
||
<inspectorTabs>
|
||
<li>WulaFallenEmpire.ITab_ResourceSubmitterContents</li>
|
||
</inspectorTabs>
|
||
<placeWorkers>
|
||
<li>PlaceWorker_NotUnderRoof</li>
|
||
</placeWorkers>
|
||
<uiIconScale>0.65</uiIconScale>
|
||
</ThingDef>
|
||
</Defs> |