This commit is contained in:
2025-08-27 00:48:30 +08:00
13 changed files with 208 additions and 97 deletions

View File

@@ -91,18 +91,6 @@
<li>(100000,10000)</li>
</points>
</maxPawnCostPerTotalPointsCurve>
<pawnGroupMakers>
<li>
<kindDef>Combat</kindDef>
<commonality>50</commonality>
<options>
<Mech_WULA_Cat_Assault>60</Mech_WULA_Cat_Assault>
<Mech_WULA_Cat_Constructor>30</Mech_WULA_Cat_Constructor>
<Mech_WULA_Cat_Fire>20</Mech_WULA_Cat_Fire>
<Mech_WULA_Cat_EMP>20</Mech_WULA_Cat_EMP>
</options>
</li>
</pawnGroupMakers>
<settlementTexturePath>World/WorldObjects/DefaultSettlement</settlementTexturePath>
<allowedArrivalTemperatureRange>-100~200</allowedArrivalTemperatureRange>
<maxConfigurableAtWorldCreation>1</maxConfigurableAtWorldCreation>

View File

@@ -971,18 +971,25 @@
</li>
</stages>
<comps>
<li Class="WulaFallenEmpire.HediffCompProperties_MakesMechanitor"/>
<li Class="HediffCompProperties_GiveHediffsInRange">
<!-- 这里使用我们新创建的C#类的完整名称 -->
<li Class="WulaFallenEmpire.HediffCompProperties_GiveHediffsInRangeToRace">
<range>45</range>
<!-- <mote>Mote_WorkCommand</mote> -->
<hideMoteWhenNotDrafted>true</hideMoteWhenNotDrafted>
<hediff>WULA_Addons_Antenna_Commander_Hediff</hediff>
<!-- 定义可以被影响的种族列表 -->
<targetRaces>
<li>WulaSpecies</li>
</targetRaces>
<!-- 其他参数和原版一样 -->
<targetingParameters>
<canTargetBuildings>false</canTargetBuildings>
<canTargetAnimals>false</canTargetAnimals>
<canTargetMechs>false</canTargetMechs>
<onlyTargetColonists>true</onlyTargetColonists>
</targetingParameters>
<hediff>WULA_Addons_Antenna_Commander_Hediff</hediff>
<onlyPawnsInSameFaction>true</onlyPawnsInSameFaction>
<hideMoteWhenNotDrafted>true</hideMoteWhenNotDrafted>
</li>
</comps>
</HediffDef>
@@ -992,7 +999,7 @@
<defaultLabelColor>(0.52, 1, 0.95)</defaultLabelColor>
<hediffClass>HediffWithComps</hediffClass>
<descriptionHyperlinks>
<ThingDef>WULA_Addons_Antenna_Hediff_Spuernode</ThingDef>
<HediffDef>WULA_Addons_Antenna_Hediff_Spuernode</HediffDef>
</descriptionHyperlinks>
<isBad>false</isBad>
<description>一个高级节点正在附近指挥这只机械乌拉,并分担了其综合计算压力。</description>
@@ -1036,7 +1043,7 @@
<li>RewardStandardMidFreq</li>
</thingSetMakerTags>
<recipeMaker>
<researchPrerequisite>WULA_Synth_Addons_1_Technology</researchPrerequisite>
<researchPrerequisite>WULA_Synth_Antenna_Technology</researchPrerequisite>
<recipeUsers>
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
@@ -1082,6 +1089,146 @@
<li>WulaSpecies</li>
</recipeUsers>
</RecipeDef>
<HediffDef ParentName="AddedBodyPartBase">
<defName>WULA_Addons_Antenna_Hediff_Shield</defName>
<label>连携斥力场天线</label>
<description>机械乌拉的特殊高频率天线,装备了这种天线的机械乌拉可以为自己和旁边的机械乌拉提供斥力护盾以抵消伤害,但是其本体将因为高额能量输出而变得非常脆弱。</description>
<descriptionHyperlinks>
<ThingDef>WULA_Addons_Antenna_Shield</ThingDef>
<HediffDef>WULA_Addons_Antenna_Protected_Hediff</HediffDef>
</descriptionHyperlinks>
<spawnThingOnRemoved>WULA_Addons_Antenna_Shield</spawnThingOnRemoved>
<addedPartProps>
<!-- <partEfficiency>1.5</partEfficiency> -->
<betterThanNatural>true</betterThanNatural>
</addedPartProps>
<stages>
<li>
<statFactors>
<MeleeDodgeChance>0</MeleeDodgeChance>
<StaggerDurationFactor>5</StaggerDurationFactor>
<IncomingDamageFactor>1.5</IncomingDamageFactor>
</statFactors>
<capMods>
<li>
<capacity>Consciousness</capacity>
<offset>-0.3</offset>
</li>
</capMods>
</li>
</stages>
<comps>
<!-- 这里使用我们新创建的C#类的完整名称 -->
<li Class="WulaFallenEmpire.HediffCompProperties_GiveHediffsInRangeToRace">
<range>3</range>
<hediff>WULA_Addons_Antenna_Protected_Hediff</hediff>
<!-- 定义可以被影响的种族列表 -->
<targetRaces>
<li>WulaSpecies</li>
</targetRaces>
<!-- 其他参数和原版一样 -->
<targetingParameters>
<canTargetBuildings>false</canTargetBuildings>
<canTargetAnimals>false</canTargetAnimals>
<canTargetMechs>false</canTargetMechs>
<canTargetSelf>true</canTargetSelf>
<onlyTargetColonists>true</onlyTargetColonists>
</targetingParameters>
<onlyPawnsInSameFaction>true</onlyPawnsInSameFaction>
<hideMoteWhenNotDrafted>true</hideMoteWhenNotDrafted>
</li>
</comps>
</HediffDef>
<HediffDef>
<defName>WULA_Addons_Antenna_Protected_Hediff</defName>
<label>低级子节点(斥力场)</label>
<defaultLabelColor>(0.52, 1, 0.95)</defaultLabelColor>
<hediffClass>WulaFallenEmpire.Hediff_DamageShield</hediffClass>
<descriptionHyperlinks>
<HediffDef>WULA_Addons_Antenna_Hediff_Shield</HediffDef>
</descriptionHyperlinks>
<isBad>false</isBad>
<description>一个高级节点正在附近指挥这只机械乌拉,为其投射了特殊的能量护盾,可以抵挡一次伤害。</description>
<debugLabelExtra>other</debugLabelExtra>
<defaultInstallPart>WULA_Addons_Antenna_Bodypart</defaultInstallPart>
<initialSeverity>1</initialSeverity> <!-- 初始层数设置为10 -->
<maxSeverity>1</maxSeverity> <!-- 最大层数,可以根据需要调整 -->
<comps>
<li Class="HediffCompProperties_Disappears">
<showRemainingTime>false</showRemainingTime>
</li>
<li Class="HediffCompProperties_DisappearsOnDeath"/>
<li Class="HediffCompProperties_Link">
<requireLinkOnOtherPawn>false</requireLinkOnOtherPawn>
<maxDistance>3</maxDistance>
<!-- <customMote>Mote_WorkCommandLinkLine</customMote> -->
</li>
</comps>
</HediffDef>
<ThingDef ParentName="BodyPartBionicBase">
<defName>WULA_Addons_Antenna_Shield</defName>
<label>连携斥力场天线</label>
<description>机械乌拉的特殊高频率天线,装备了这种天线的机械乌拉可以为旁边的机械乌拉提供斥力护盾以抵消伤害,但是其本体将因为高额能量输出而变得非常脆弱。</description>
<tradeability>None</tradeability>
<descriptionHyperlinks>
<RecipeDef>Install_WULA_Addons_Antenna_Shield</RecipeDef>
</descriptionHyperlinks>
<costList>
<Steel>50</Steel>
<ComponentSpacer>1</ComponentSpacer>
</costList>
<thingSetMakerTags>
<li>RewardStandardMidFreq</li>
</thingSetMakerTags>
<recipeMaker>
<researchPrerequisite>WULA_Synth_Addons_2_Technology</researchPrerequisite>
<recipeUsers>
<li>WULA_Cube_Productor_Energy</li>
</recipeUsers>
</recipeMaker>
<statBases>
<Mass>0.3</Mass>
</statBases>
</ThingDef>
<RecipeDef ParentName="SurgeryInstallBodyPartArtificialBase">
<defName>Install_WULA_Addons_Antenna_Shield</defName>
<label>安装连携斥力场天线</label>
<description>为合成人安装连携斥力场天线。</description>
<descriptionHyperlinks>
<ThingDef>WULA_Addons_Antenna_Shield</ThingDef>
<HediffDef>WULA_Addons_Antenna_Hediff_Shield</HediffDef>
</descriptionHyperlinks>
<jobString>安装连携斥力场天线中</jobString>
<surgeryOutcomeEffect IsNull="True" />
<!-- Always succeeds -->
<anesthetize>false</anesthetize>
<ingredients Inherit="False">
<li>
<filter>
<thingDefs>
<li>WULA_Addons_Antenna_Shield</li>
</thingDefs>
</filter>
<count>1</count>
</li>
</ingredients>
<fixedIngredientFilter>
<thingDefs>
<li>WULA_Addons_Antenna_Shield</li>
</thingDefs>
</fixedIngredientFilter>
<appliedOnFixedBodyParts>
<li>WULA_Addons_Antenna_Bodypart</li>
</appliedOnFixedBodyParts>
<addsHediff>WULA_Addons_Antenna_Hediff_Shield</addsHediff>
<effectWorking>Smith</effectWorking>
<soundWorking>Recipe_Smith</soundWorking>
<recipeUsers Inherit="False">
<li>WulaSpecies</li>
</recipeUsers>
</RecipeDef>
<!-- 抽魂 -->
<RecipeDef ParentName="SurgeryInstallBodyPartArtificialBase">

View File

@@ -1,30 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<HediffDef>
<defName>MyWulaAura</defName>
<label>乌拉共鸣光环</label>
<description>这是一个如何使用HediffComp_GiveHediffsInRangeToRace组件的示例。</description>
<hediffClass>HediffWithComps</hediffClass>
<comps>
<!-- 这里使用我们新创建的C#类的完整名称 -->
<li Class="WulaFallenEmpire.HediffCompProperties_GiveHediffsInRangeToRace">
<range>10</range>
<hediff>PsychicSoothe</hediff> <!-- 举例要施加的Hediff -->
<!-- 定义可以被影响的种族列表 -->
<targetRaces>
<li>WulaSpecies</li> <!-- 您的乌拉种族 -->
<li>Human</li> <!-- 也可以添加其他种族 -->
</targetRaces>
<!-- 其他参数和原版一样 -->
<targetingParameters>
<canTargetAllies>true</canTargetAllies>
</targetingParameters>
<onlyPawnsInSameFaction>true</onlyPawnsInSameFaction>
</li>
</comps>
</HediffDef>
</Defs>

View File

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<HediffDef>
<defName>WULA_DamageShield</defName>
<label>反应护盾</label>
<description>一种特殊的能量护盾,可以抵挡受到的伤害。每层护盾可以抵挡一次伤害。</description>
<hediffClass>WulaFallenEmpire.Hediff_DamageShield</hediffClass>
<initialSeverity>10</initialSeverity> <!-- 初始层数设置为10 -->
<maxSeverity>999</maxSeverity> <!-- 最大层数,可以根据需要调整 -->
<defaultLabelColor>(0.6, 0.6, 1.0)</defaultLabelColor>
<isBad>false</isBad>
<stages>
<li>
<label>活跃</label>
<minSeverity>1</minSeverity>
<!-- 这里可以添加一些统计数据偏移,例如增加防御等 -->
</li>
</stages>
</HediffDef>
</Defs>

View File

@@ -205,10 +205,6 @@
<combatPower>600</combatPower>
<allowInMechClusters>false</allowInMechClusters>
<defaultFactionType>PlayerColony</defaultFactionType>
<abilities>
<li>WULA_GiveSwitchHediff</li> <!-- 添加“停止生产”技能 -->
<li>WULA_RemoveSwitchHediff</li> <!-- 保留“恢复生产”技能 -->
</abilities>
<lifeStages>
<li>
<bodyGraphicData>
@@ -237,10 +233,6 @@
<combatPower>600</combatPower>
<allowInMechClusters>false</allowInMechClusters>
<defaultFactionType>PlayerColony</defaultFactionType>
<abilities>
<li>WULA_GiveSwitchHediff</li> <!-- 添加“停止生产”技能 -->
<li>WULA_RemoveSwitchHediff</li> <!-- 保留“恢复生产”技能 -->
</abilities>
<lifeStages>
<li>
<bodyGraphicData>

View File

@@ -376,6 +376,17 @@
<li>WULA_New_Synth_Skill_2_Technology</li>
</prerequisites>
</ResearchProjectDef>
<ResearchProjectDef ParentName="WULAtechBase">
<defName>WULA_Synth_Antenna_Technology</defName>
<researchViewX>5.50</researchViewX>
<researchViewY>4.70</researchViewY>
<label>蜂群节点套件</label>
<description>获取特殊构型的机械乌拉天线,使得这些经过天线改装的乌拉可以胜任指挥任务。</description>
<baseCost>1000</baseCost>
<prerequisites>
<li>WULA_Synth_Addons_Technology</li>
</prerequisites>
</ResearchProjectDef>
<ResearchProjectDef ParentName="WULAtechBase">
<defName>WULA_Synth_Addons_2_Technology</defName>
<label>高级植入物套件</label>
@@ -388,4 +399,4 @@
<li>WULA_Dark_Matter_Technology</li>
</prerequisites>
</ResearchProjectDef>
</Defs>
</Defs>

View File

@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef ParentName="BodyPartProstheticMakeableBase">
<!-- <ThingDef ParentName="BodyPartProstheticMakeableBase">
<defName>WULA_DamageShieldGenerator</defName>
<label>乌拉反应护盾发生器</label>
<description>一个便携式设备,可以激活并生成一个临时的能量护盾,抵挡即将到来的伤害。</description>
@@ -28,9 +28,9 @@
</li>
<li Class="WulaFallenEmpire.CompProperties_AddDamageShieldCharges">
<hediffDef>WULA_DamageShield</hediffDef>
<chargesToAdd>100</chargesToAdd> <!-- 每次使用添加 10 层 -->
<chargesToAdd>100</chargesToAdd>
</li>
<li Class="CompProperties_UseEffectDestroySelf" />
</comps>
</ThingDef>
</ThingDef> -->
</Defs>

View File

@@ -1,512 +0,0 @@
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef ParentName="BuildingBase">
<defName>WULA_ArmedShuttle</defName>
<label>CVe-3l"灰鸦"</label>
<description>乌拉帝国所使用的大气内专用近地穿梭机。配备集成能量发生器投射暗物质护盾。并且装载一门近防炮武装保护帝国资产。</description>
<thingClass>WulaFallenEmpire.Building_ArmedShuttle</thingClass>
<preventDroppingThingsOn>true</preventDroppingThingsOn>
<altitudeLayer>Building</altitudeLayer>
<pathCost>50</pathCost>
<blockWind>true</blockWind>
<passability>PassThroughOnly</passability>
<fillPercent>0.5</fillPercent>
<size>(4,4)</size>
<drawHighlight>true</drawHighlight>
<highlightColor>(0.56, 0.62, 0.9)</highlightColor>
<uiIconScale>1</uiIconScale>
<graphicData>
<graphicClass>Graphic_Multi</graphicClass>
<texPath>Wula/Building/WULA_ArmedShuttle</texPath>
<shaderType>CutoutComplex</shaderType>
<drawSize>(4,4)</drawSize>
<shadowData>
<volume>(1.4, 1, 1.3)</volume>
<offset>(-0.5, 0, -0.1)</offset>
</shadowData>
</graphicData>
<staticSunShadowHeight Inherit="False" IsNull="True" />
<castEdgeShadows>False</castEdgeShadows>
<statBases>
<MaxHitPoints>6000</MaxHitPoints>
<Flammability>0</Flammability>
<WorkToBuild>40000</WorkToBuild>
<Mass>150</Mass>
<Comfort>0.65</Comfort>
</statBases>
<tickerType>Normal</tickerType>
<designationCategory>WULA_Buildings</designationCategory>
<constructionSkillPrerequisite>8</constructionSkillPrerequisite>
<costList>
<Steel>300</Steel>
<Plasteel>200</Plasteel>
<ComponentIndustrial>8</ComponentIndustrial>
<ComponentSpacer>2</ComponentSpacer>
<ShuttleEngine>1</ShuttleEngine>
</costList>
<canOverlapZones>true</canOverlapZones>
<killedLeavings>
<Steel>60</Steel>
<Plasteel>60</Plasteel>
<ChunkSlagSteel>5</ChunkSlagSteel>
<ComponentIndustrial>4</ComponentIndustrial>
</killedLeavings>
<rotatable>true</rotatable>
<hasInteractionCell>true</hasInteractionCell>
<interactionCellOffset>(2, 0, 0)</interactionCellOffset>
<defaultPlacingRot>East</defaultPlacingRot>
<selectable>true</selectable>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<soundImpactDefault>BulletImpact_Metal</soundImpactDefault>
<preventSkyfallersLandingOn>true</preventSkyfallersLandingOn>
<drawerType>RealtimeOnly</drawerType>
<repairEffect>ConstructMetal</repairEffect>
<forceDebugSpawnable>true</forceDebugSpawnable>
<building>
<claimable>false</claimable>
<destroySound>BuildingDestroyed_Metal_Big</destroySound>
<paintable>true</paintable>
<isInert>true</isInert>
<forcedCostLeavings>
<li MayRequire="Ludeon.RimWorld.Odyssey">ShuttleEngine</li>
</forcedCostLeavings>
<turretGunDef>WULA_Shuttle_Autocannon</turretGunDef>
<turretBurstCooldownTime>5.5</turretBurstCooldownTime>
<turretTopDrawSize>1.75</turretTopDrawSize>
<turretTopOffset>(0, 0.05)</turretTopOffset>
</building>
<inspectorTabs>
<li>ITab_ContentsTransporter</li>
<li>ITab_Shells</li>
</inspectorTabs>
<researchPrerequisites>
<li>Shuttles</li>
</researchPrerequisites>
<comps>
<li Class="CompProperties_Shuttle">
<shipDef>Ship_ArmedShuttle</shipDef>
</li>
<li Class="CompProperties_Launchable">
<fuelPerTile>3</fuelPerTile>
<minFuelCost>50</minFuelCost>
<skyfallerLeaving>ArmedShuttleLeaving_WULA</skyfallerLeaving>
<worldObjectDef>PassengerShuttle</worldObjectDef>
<cooldownTicks>3750</cooldownTicks> <!-- 1.5 hours -->
<fixedLaunchDistanceMax>62</fixedLaunchDistanceMax>
<cooldownEndedMessage>{0} is ready to launch again.</cooldownEndedMessage>
</li>
<li Class="CompProperties_Transporter">
<massCapacity>500</massCapacity>
<max1PerGroup>true</max1PerGroup>
<canChangeAssignedThingsAfterStarting>true</canChangeAssignedThingsAfterStarting>
<pawnLoadedSound>Shuttle_PawnLoaded</pawnLoadedSound>
<pawnExitSound>Shuttle_PawnExit</pawnExitSound>
<showMassInInspectString>true</showMassInInspectString>
</li>
<li Class="CompProperties_Refuelable">
<fuelCapacity>400</fuelCapacity>
<targetFuelLevelConfigurable>true</targetFuelLevelConfigurable>
<initialConfigurableTargetFuelLevel>400</initialConfigurableTargetFuelLevel>
<fuelFilter>
<thingDefs>
<li>Chemfuel</li>
</thingDefs>
</fuelFilter>
<fuelLabel>Chemfuel</fuelLabel>
<fuelGizmoLabel>Chemfuel</fuelGizmoLabel>
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
<autoRefuelPercent>1</autoRefuelPercent>
<showFuelGizmo>true</showFuelGizmo>
<drawOutOfFuelOverlay>false</drawOutOfFuelOverlay>
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
<canEjectFuel>true</canEjectFuel>
</li>
<li Class="CompProperties_AmbientSound">
<sound>ShuttleIdle_Ambience</sound>
</li>
<li Class="CompProperties_ProjectileInterceptor">
<radius>12</radius>
<interceptGroundProjectiles>true</interceptGroundProjectiles>
<color>(0.5, 0.3, 0.9, 0.5)</color>
<reactivateEffect>BulletShieldGenerator_Reactivate</reactivateEffect>
<activeSound>BulletShield_Ambience</activeSound>
<disarmedByEmpForTicks>1080</disarmedByEmpForTicks>
<chargeIntervalTicks>-1</chargeIntervalTicks>
<chargeDurationTicks>0</chargeDurationTicks>
</li>
</comps>
<placeWorkers>
<li>PlaceWorker_NotUnderRoof</li>
<li>PlaceWorker_TurretTop</li>
</placeWorkers>
<uiOrder>2601</uiOrder>
</ThingDef>
<ThingDef ParentName="BuildingBase">
<defName>WULA_ArmedShuttleWithPocket</defName>
<label>CVe-3o"渡鸦"</label>
<description>乌拉帝国所使用的大气内专用近地穿梭机。集成折叠空间技术能安全装载比体积大得多的货物。配备集成能量发生器投射暗物质护盾。并且装载一门近防炮武装保护帝国资产。</description>
<thingClass>WulaFallenEmpire.Building_ArmedShuttleWithPocket</thingClass>
<preventDroppingThingsOn>true</preventDroppingThingsOn>
<altitudeLayer>Building</altitudeLayer>
<pathCost>50</pathCost>
<blockWind>true</blockWind>
<passability>PassThroughOnly</passability>
<fillPercent>0.5</fillPercent>
<size>(4,4)</size>
<drawHighlight>true</drawHighlight>
<highlightColor>(0.56, 0.62, 0.9)</highlightColor>
<uiIconScale>1</uiIconScale>
<graphicData>
<graphicClass>Graphic_Multi</graphicClass>
<texPath>Wula/Building/WULA_ArmedShuttle</texPath>
<shaderType>CutoutComplex</shaderType>
<drawSize>(4,4)</drawSize>
<shadowData>
<volume>(1.4, 1, 1.3)</volume>
<offset>(-0.5, 0, -0.1)</offset>
</shadowData>
</graphicData>
<staticSunShadowHeight Inherit="False" IsNull="True" />
<castEdgeShadows>False</castEdgeShadows>
<statBases>
<MaxHitPoints>6000</MaxHitPoints>
<Flammability>0</Flammability>
<WorkToBuild>40000</WorkToBuild>
<Mass>150</Mass>
<Comfort>0.65</Comfort>
</statBases>
<tickerType>Normal</tickerType>
<designationCategory>WULA_Buildings</designationCategory>
<constructionSkillPrerequisite>8</constructionSkillPrerequisite>
<costList>
<Steel>300</Steel>
<Plasteel>200</Plasteel>
<ComponentIndustrial>8</ComponentIndustrial>
<ComponentSpacer>2</ComponentSpacer>
<ShuttleEngine>1</ShuttleEngine>
</costList>
<canOverlapZones>true</canOverlapZones>
<killedLeavings>
<Steel>60</Steel>
<Plasteel>60</Plasteel>
<ChunkSlagSteel>5</ChunkSlagSteel>
<ComponentIndustrial>4</ComponentIndustrial>
</killedLeavings>
<rotatable>true</rotatable>
<hasInteractionCell>true</hasInteractionCell>
<interactionCellOffset>(2, 0, 0)</interactionCellOffset>
<defaultPlacingRot>East</defaultPlacingRot>
<selectable>true</selectable>
<terrainAffordanceNeeded>Light</terrainAffordanceNeeded>
<soundImpactDefault>BulletImpact_Metal</soundImpactDefault>
<preventSkyfallersLandingOn>true</preventSkyfallersLandingOn>
<drawerType>RealtimeOnly</drawerType>
<repairEffect>ConstructMetal</repairEffect>
<forceDebugSpawnable>true</forceDebugSpawnable>
<building>
<claimable>false</claimable>
<destroySound>BuildingDestroyed_Metal_Big</destroySound>
<paintable>true</paintable>
<isInert>true</isInert>
<forcedCostLeavings>
<li MayRequire="Ludeon.RimWorld.Odyssey">ShuttleEngine</li>
</forcedCostLeavings>
<turretGunDef>WULA_Shuttle_Autocannon</turretGunDef>
<turretBurstCooldownTime>5.5</turretBurstCooldownTime>
<turretTopDrawSize>1.75</turretTopDrawSize>
<turretTopOffset>(0, 0.05)</turretTopOffset>
</building>
<inspectorTabs>
<li>ITab_ContentsTransporter</li>
<li>ITab_Shells</li>
</inspectorTabs>
<researchPrerequisites>
<li>Shuttles</li>
</researchPrerequisites>
<comps>
<li Class="CompProperties_Shuttle">
<shipDef>Ship_ArmedShuttle</shipDef>
</li>
<li Class="CompProperties_Launchable">
<fuelPerTile>3</fuelPerTile>
<minFuelCost>50</minFuelCost>
<skyfallerLeaving>ArmedShuttleLeaving_WULA</skyfallerLeaving>
<worldObjectDef>PassengerShuttle</worldObjectDef>
<cooldownTicks>3750</cooldownTicks> <!-- 1.5 hours -->
<fixedLaunchDistanceMax>62</fixedLaunchDistanceMax>
<cooldownEndedMessage>{0} is ready to launch again.</cooldownEndedMessage>
</li>
<li Class="CompProperties_Transporter">
<massCapacity>500</massCapacity>
<max1PerGroup>true</max1PerGroup>
<canChangeAssignedThingsAfterStarting>true</canChangeAssignedThingsAfterStarting>
<pawnLoadedSound>Shuttle_PawnLoaded</pawnLoadedSound>
<pawnExitSound>Shuttle_PawnExit</pawnExitSound>
<showMassInInspectString>true</showMassInInspectString>
</li>
<li Class="CompProperties_Refuelable">
<fuelCapacity>500</fuelCapacity>
<targetFuelLevelConfigurable>true</targetFuelLevelConfigurable>
<initialConfigurableTargetFuelLevel>500</initialConfigurableTargetFuelLevel>
<fuelFilter>
<thingDefs>
<li>Chemfuel</li>
</thingDefs>
</fuelFilter>
<fuelLabel>Chemfuel</fuelLabel>
<fuelGizmoLabel>Chemfuel</fuelGizmoLabel>
<consumeFuelOnlyWhenUsed>true</consumeFuelOnlyWhenUsed>
<autoRefuelPercent>1</autoRefuelPercent>
<showFuelGizmo>true</showFuelGizmo>
<drawOutOfFuelOverlay>false</drawOutOfFuelOverlay>
<showAllowAutoRefuelToggle>true</showAllowAutoRefuelToggle>
<canEjectFuel>true</canEjectFuel>
</li>
<li Class="CompProperties_Power">
<compClass>CompPowerPlant</compClass>
<basePowerConsumption>-400</basePowerConsumption>
<transmitsPower>true</transmitsPower>
</li>
<li Class="CompProperties_AmbientSound">
<sound>ShuttleIdle_Ambience</sound>
</li>
<li Class="CompProperties_ProjectileInterceptor">
<radius>12</radius>
<interceptGroundProjectiles>true</interceptGroundProjectiles>
<color>(0.5, 0.3, 0.9, 0.5)</color>
<reactivateEffect>BulletShieldGenerator_Reactivate</reactivateEffect>
<activeSound>BulletShield_Ambience</activeSound>
<disarmedByEmpForTicks>1080</disarmedByEmpForTicks>
<chargeIntervalTicks>-1</chargeIntervalTicks>
<chargeDurationTicks>0</chargeDurationTicks>
</li>
</comps>
<modExtensions>
<li Class="WulaFallenEmpire.PocketMapProperties">
<pocketMapGenerator>WULA_PocketSpace_Small</pocketMapGenerator>
<exitDef>WULA_PocketMapExit</exitDef>
<pocketMapSize>(13, 13)</pocketMapSize>
<allowDirectAccess>true</allowDirectAccess>
</li>
</modExtensions>
<placeWorkers>
<li>PlaceWorker_NotUnderRoof</li>
<li>PlaceWorker_TurretTop</li>
</placeWorkers>
<uiOrder>2601</uiOrder>
</ThingDef>
<!-- 口袋空间退出点定义 -->
<ThingDef ParentName="PocketMapExit">
<defName>WULA_PocketMapExit</defName>
<label>运输机升降平台</label>
<description>用于在穿梭机内外运输人员和物品的升降平台.</description>
<thingClass>WulaFallenEmpire.Building_PocketMapExit</thingClass>
<size>(3,3)</size>
<drawerType>MapMeshAndRealTime</drawerType>
<graphicData>
<texPath>Wula/Building/WULA_War_Machine_Recharger</texPath>
<graphicClass>Graphic_Multi</graphicClass>
<drawSize>(3,3)</drawSize>
</graphicData>
<interactionCellOffset>(0,0,0)</interactionCellOffset>
<passability>Standable</passability>
<statBases>
<Flammability>0</Flammability>
</statBases>
<comps>
<li Class="CompProperties_Glower">
<glowRadius>10</glowRadius>
<glowColor>(140,160,184,0)</glowColor>
</li>
<li Class="CompProperties_Effecter">
<effecterDef>UndercaveMapExitLightshafts</effecterDef>
</li>
<li Class="CompProperties_Power">
<compClass>CompPowerPlant</compClass>
<basePowerConsumption>-400</basePowerConsumption>
<transmitsPower>true</transmitsPower>
</li>
</comps>
</ThingDef>
<ThingDef ParentName="BaseGun">
<defName>WULA_Shuttle_Autocannon</defName>
<label>PMr-89"四叶"</label>
<description>由乌拉帝国的穿梭机所装备的自动炮,能够组织起高射速的弹幕压制杀伤大规模目标。</description>
<techLevel>Ultra</techLevel>
<relicChance>0</relicChance>
<graphicData>
<texPath>Wula/Weapon/WULA_WM_Panzer_Autocannon</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>2</drawSize>
</graphicData>
<uiIconScale>0.5</uiIconScale>
<tradeability>None</tradeability>
<statBases>
<WorkToMake>40000</WorkToMake>
<Mass>150</Mass>
<AccuracyTouch>0.5</AccuracyTouch>
<AccuracyShort>0.5</AccuracyShort>
<AccuracyMedium>0.4</AccuracyMedium>
<AccuracyLong>0.35</AccuracyLong>
<RangedWeapon_Cooldown>1.35</RangedWeapon_Cooldown>
</statBases>
<weaponTags>
<li>WULA_AI_Heavy_Panzer_Gunner_Weapon</li>
</weaponTags>
<costList Inherit="False">
<Steel>500</Steel>
<Plasteel>150</Plasteel>
<ComponentSpacer>8</ComponentSpacer>
</costList>
<verbs>
<li>
<verbClass>WulaFallenEmpire.Verb_ShootShotgun</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_Shuttle_Homing_Autocannon</defaultProjectile>
<warmupTime>1.2</warmupTime>
<range>24</range>
<burstShotCount>24</burstShotCount>
<ticksBetweenBurstShots>6</ticksBetweenBurstShots>
<soundCast>Shot_BeamRepeater</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>9</muzzleFlashScale>
<aimingChargeMote>Mote_BeamRepeater_Charge</aimingChargeMote>
<aimingChargeMoteOffset>1.07</aimingChargeMoteOffset>
</li>
</verbs>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_Shuttle_Homing_Autocannon</defName>
<label>磷叶等离子体射弹</label>
<graphicData>
<texPath>Wula/Projectile/WULA_Bullet_Plasma</texPath>
<graphicClass>Graphic_Single</graphicClass>
<color>(61,199,157,202)</color>
<drawSize>(0.75,1)</drawSize>
</graphicData>
<projectile>
<damageDef>Bullet</damageDef>
<damageAmountBase>6</damageAmountBase>
<armorPenetrationBase>0.75</armorPenetrationBase>
<speed>60</speed>
</projectile>
<thingClass>WulaFallenEmpire.Projectile_WulaLineAttack</thingClass>
<modExtensions>
<li Class="WulaFallenEmpire.Wula_PathPierce_Extension">
<!-- 最多穿透3个目标设为-1则无限穿透 -->
<maxHits>-1</maxHits>
<!-- 每次穿透损失25%伤害 -->
<damageFalloff>0</damageFalloff>
<!-- 防止友军伤害 -->
<preventFriendlyFire>true</preventFriendlyFire>
<!-- 拖尾特效定义 -->
<tailFleckDef>WULA_GunTail_Plasma</tailFleckDef>
</li>
<li Class="WulaFallenEmpire.ShotgunExtension">
<pelletCount>2</pelletCount>
</li>
</modExtensions>
</ThingDef>
<ThingDef ParentName="ShuttleSkyfallerBase">
<defName>ArmedShuttleIncoming_WULA</defName>
<label>武装穿梭机 (接近中)</label>
<thingClass>WulaFallenEmpire.ArmedShuttleIncoming</thingClass>
<graphicData>
<graphicClass>Graphic_Multi</graphicClass>
<texPath>Wula/Building/WULA_ArmedShuttle</texPath>
<shaderType>CutoutComplex</shaderType>
<drawSize>(4,4)</drawSize>
</graphicData>
<staticSunShadowHeight Inherit="False" IsNull="True" />
<castEdgeShadows>False</castEdgeShadows>
<size>(4,4)</size>
<skyfaller>
<anticipationSound>Shuttle_Landing</anticipationSound>
<anticipationSoundTicks>250</anticipationSoundTicks>
<ticksToImpactRange>200~250</ticksToImpactRange>
<shadowSize>(3.5,5.5)</shadowSize>
<rotationCurve>
<points>
<li>(0,30)</li>
<li>(0.5,5)</li>
<li>(0.9,-5)</li>
<li>(0.95,0)</li>
</points>
</rotationCurve>
<zPositionCurve>
<points>
<li>(0.95,2.5)</li>
<li>(1,0)</li>
</points>
</zPositionCurve>
<speedCurve>
<points>
<li>(0.6,0.6)</li>
<li>(0.95,0.1)</li>
</points>
</speedCurve>
</skyfaller>
</ThingDef>
<ThingDef ParentName="ShuttleSkyfallerBase">
<defName>ArmedShuttleLeaving_WULA</defName>
<label>武装穿梭机 (离开中)</label>
<thingClass>PassengerShuttleLeaving</thingClass>
<rotatable>true</rotatable>
<graphicData>
<graphicClass>Graphic_Multi</graphicClass>
<texPath>Wula/Building/WULA_ArmedShuttle</texPath>
<shaderType>CutoutComplex</shaderType>
<drawSize>(4,4)</drawSize>
</graphicData>
<staticSunShadowHeight Inherit="False" IsNull="True" />
<castEdgeShadows>False</castEdgeShadows>
<size>(4,4)</size>
<skyfaller>
<reversed>true</reversed>
<anticipationSound>Shuttle_Leaving</anticipationSound>
<anticipationSoundTicks>-10</anticipationSoundTicks>
<ticksToImpactRange>-40~-15</ticksToImpactRange>
<moteSpawnTime>0.05</moteSpawnTime>
<shadow>Things/Skyfaller/SkyfallerShadowRectangle</shadow>
<shadowSize>(3.5,5.5)</shadowSize>
<motesPerCell>1</motesPerCell>
<rotationCurve>
<points>
<li>(0,0)</li>
<li>(0.15,10)</li>
<li>(0.5,-5)</li>
</points>
</rotationCurve>
<zPositionCurve>
<points>
<li>(0,0)</li>
<li>(0.08,2)</li>
</points>
</zPositionCurve>
<speedCurve>
<points>
<li>(0,0.2)</li>
<li>(0.4,0.7)</li>
</points>
</speedCurve>
</skyfaller>
</ThingDef>
<TransportShipDef>
<defName>Ship_ArmedShuttle</defName>
<label>武装穿梭机</label>
<shipThing>WULA_ArmedShuttle</shipThing>
<arrivingSkyfaller>ArmedShuttleIncoming_WULA</arrivingSkyfaller>
<leavingSkyfaller>ArmedShuttleLeaving_WULA</leavingSkyfaller>
<worldObject>PassengerShuttle</worldObject>
<playerShuttle>true</playerShuttle>
</TransportShipDef>
</Defs>

View File

@@ -646,7 +646,7 @@
<AccuracyShort>0.9</AccuracyShort>
<AccuracyMedium>0.5</AccuracyMedium>
<AccuracyLong>0.25</AccuracyLong>
<RangedWeapon_Cooldown>1</RangedWeapon_Cooldown>
<RangedWeapon_Cooldown>1.4</RangedWeapon_Cooldown>
</statBases>
<costList Inherit="False">
<Steel>120</Steel>
@@ -661,9 +661,9 @@
<warmupTime>0.2</warmupTime>
<range>18</range>
<burstShotCount>3</burstShotCount>
<ticksBetweenBurstShots>12</ticksBetweenBurstShots>
<soundCast>Shot_BoltActionRifle</soundCast>
<soundCastTail>GunTail_Heavy</soundCastTail>
<ticksBetweenBurstShots>3</ticksBetweenBurstShots>
<soundCast>Shot_BeamRepeater</soundCast>
<soundCastTail>GunTail_Medium</soundCastTail>
<muzzleFlashScale>7</muzzleFlashScale>
</li>
</verbs>

View File

@@ -1287,6 +1287,13 @@
这使得拥有此组件的机械体可以被机械师在地图的任何位置进行指挥,无视距离限制。
-->
<li Class="WulaFallenEmpire.CompProperties_GlobalMechCommand" />
<li Class="CompProperties_CauseHediff_AoE">
<hediff>Mech_WULA_Cat_Cute</hediff>
<range>5.9</range>
<canTargetSelf>false</canTargetSelf>
<drawLines>true</drawLines>
<ignoreMechs>true</ignoreMechs>
</li>
</comps>
<!-- <comps Inherit="False">
<li Class="CompProperties_CanBeDormant" />
@@ -1391,6 +1398,13 @@
<explosionDamageType>BombSuper</explosionDamageType>
<explosionDamageAmount>550</explosionDamageAmount>
</li>
<li Class="CompProperties_CauseHediff_AoE">
<hediff>Mech_WULA_Cat_Cute</hediff>
<range>5.9</range>
<canTargetSelf>false</canTargetSelf>
<drawLines>true</drawLines>
<ignoreMechs>true</ignoreMechs>
</li>
</comps>
</ThingDef>