This commit is contained in:
2026-02-28 11:50:54 +08:00
parent 60cde0317d
commit bd4843bc89
19 changed files with 1212 additions and 367 deletions

View File

@@ -85,14 +85,22 @@
<JobDef>
<defName>WULA_EnterMech</defName>
<driverClass>WulaFallenEmpire.JobDriver_EnterMech</driverClass>
<reportString>Entering mech.</reportString>
<reportString>驾驶构装体。</reportString>
<!-- <checkOverrideOnDamage>true</checkOverrideOnDamage> -->
<suspendable>false</suspendable>
</JobDef>
<!-- 新增:登上机甲作为乘员 -->
<JobDef>
<defName>WULA_BoardMech</defName>
<driverClass>WulaFallenEmpire.JobDriver_BoardMech</driverClass>
<reportString>作为乘员登上构装体。</reportString>
<!-- <checkOverrideOnDamage>true</checkOverrideOnDamage> -->
<suspendable>false</suspendable>
</JobDef>
<JobDef>
<defName>WULA_RefuelMech</defName>
<driverClass>WulaFallenEmpire.JobDriver_RefuelMech</driverClass>
<reportString>Refuleing TargetA.</reportString>
<reportString> TargetA 加注燃料。</reportString>
<suspendable>false</suspendable>
<!-- <canBeForcedByDuty>true</canBeForcedByDuty>
<makeTargetPrisoner>false</makeTargetPrisoner> -->
@@ -113,7 +121,7 @@
<JobDef>
<defName>WULA_RepairMech</defName>
<driverClass>WulaFallenEmpire.JobDriver_RepairMech</driverClass>
<reportString>Repairing TargetA.</reportString>
<reportString>维修 TargetA</reportString>
<alwaysShowWeapon>false</alwaysShowWeapon>
<suspendable>false</suspendable>
</JobDef>
@@ -127,12 +135,12 @@
</requiredCapacities>
<verb>Repair</verb>
<gerund>Repair Mech</gerund>
<label>Repair Mech</label>
<label>维修构装体</label>
</WorkGiverDef>
<JobDef>
<defName>WULA_ForceEjectPilot</defName>
<driverClass>WulaFallenEmpire.JobDriver_ForceEjectPilot</driverClass>
<reportString>Prise TargetA.</reportString>
<reportString>撬开 TargetA</reportString>
<suspendable>false</suspendable>
<!-- <canBeForcedByDuty>true</canBeForcedByDuty>
<makeTargetPrisoner>false</makeTargetPrisoner> -->
@@ -140,7 +148,7 @@
<JobDef>
<defName>WULA_CarryToMech</defName>
<driverClass>WulaFallenEmpire.JobDriver_CarryToMech</driverClass>
<reportString>carrying TargetA to TargetB.</reportString>
<reportString>携带 TargetA TargetB</reportString>
<suspendable>false</suspendable>
</JobDef>
</Defs>

View File

@@ -182,8 +182,9 @@
<ThingDef ParentName="BuildingBase">
<defName>WULA_ArmedShuttleWithPocket</defName>
<label>CVe-3"渡鸦"</label>
<description>乌拉帝国用于在舰队和地表构建联系的特种穿梭机,拥有巨大的货仓和一个内部折叠的生活区,因此载重量惊人且可以在内部活动。它同时还拥有一面高反射概率的反射盾和MLt-1"棱晶"涡轮激光炮 ,可以抵挡大部分袭击。</description>
<thingClass>WulaFallenEmpire.Building_ArmedShuttleWithPocket</thingClass>
<description>乌拉帝国用于在舰队和地表构建联系的特种穿梭机,拥有载重量惊人的货仓。它同时还拥有一面高反射概率的反射盾和MLt-1"棱晶"涡轮激光炮 ,可以抵挡大部分袭击。</description>
<!-- <thingClass>WulaFallenEmpire.Building_ArmedShuttleWithPocket</thingClass> -->
<thingClass>Building_TurretGun</thingClass>
<preventDroppingThingsOn>true</preventDroppingThingsOn>
<altitudeLayer>Building</altitudeLayer>
<pathCost>50</pathCost>
@@ -214,7 +215,7 @@
<WULA_Alloy>500</WULA_Alloy>
<WULA_Neutronium>150</WULA_Neutronium>
<WULA_Dark_Matter_Item>25</WULA_Dark_Matter_Item>
<ShuttleEngine>4</ShuttleEngine>
<ShuttleEngine>2</ShuttleEngine>
</costList>
<canOverlapZones>true</canOverlapZones>
<rotatable>true</rotatable>
@@ -235,8 +236,6 @@
<forcedCostLeavings>
<li MayRequire="Ludeon.RimWorld.Odyssey">ShuttleEngine</li>
<li MayRequire="Ludeon.RimWorld.Odyssey">ShuttleEngine</li>
<li MayRequire="Ludeon.RimWorld.Odyssey">ShuttleEngine</li>
<li MayRequire="Ludeon.RimWorld.Odyssey">ShuttleEngine</li>
</forcedCostLeavings>
<combatPower>1000</combatPower>
@@ -269,7 +268,7 @@
<cooldownEndedMessage>{0} is ready to launch again.</cooldownEndedMessage>
</li>
<li Class="CompProperties_Transporter">
<massCapacity>5000</massCapacity>
<massCapacity>5000000</massCapacity>
<max1PerGroup>true</max1PerGroup>
<canChangeAssignedThingsAfterStarting>true</canChangeAssignedThingsAfterStarting>
<pawnLoadedSound>Shuttle_PawnLoaded</pawnLoadedSound>
@@ -298,7 +297,7 @@
<sound>ShuttleIdle_Ambience</sound>
</li>
<li Class="WulaFallenEmpire.CompProperties_AreaShield">
<radius>15</radius>
<radius>10</radius>
<baseHitPoints>30</baseHitPoints>
<rechargeDelay>2400</rechargeDelay>
<rechargeHitPointsIntervalTicks>30</rechargeHitPointsIntervalTicks>
@@ -318,55 +317,25 @@
<!-- 反射设置 -->
<canReflect>true</canReflect>
<reflectChance>0.75</reflectChance>
<reflectChance>0.5</reflectChance>
<reflectAngleRange>30</reflectAngleRange>
<reflectCost>0</reflectCost>
<reflectEffecter>Interceptor_BlockedProjectile</reflectEffecter>
</li>
<li Class="WulaFallenEmpire.CompProperties_AreaDamage">
<radius>15</radius>
<damageIntervalTicks>30</damageIntervalTicks>
<damageDef>Flame</damageDef>
<damageAmount>1</damageAmount>
<scaleWithPsychicSensitivity>false</scaleWithPsychicSensitivity>
<affectFriendly>false</affectFriendly>
<affectNeutral>false</affectNeutral>
<affectHostile>true</affectHostile>
<affectBuildings>false</affectBuildings>
<ignoreFactionRelations>false</ignoreFactionRelations>
<startEnabled>false</startEnabled>
<toggleLabel>热辐射</toggleLabel>
<toggleDescription>CVe-3"渡鸦"可以启动防御设施,蒸发胆敢进入反射立场内的敌军——这同时会使得它伤害附近所有的散落物品。</toggleDescription>
<toggleIconPath>Wula/UI/Commands/Wula_Psi_Titan_AreaDamage</toggleIconPath>
</li>
<li Class="CompProperties_Power">
<compClass>CompPowerPlant</compClass>
<basePowerConsumption>-2000</basePowerConsumption>
<transmitsPower>true</transmitsPower>
</li>
<li Class="CompProperties_Shuttle" />
<li Class="CompProperties_Transporter">
<massCapacity>2000</massCapacity>
<max1PerGroup>true</max1PerGroup>
<canChangeAssignedThingsAfterStarting>true</canChangeAssignedThingsAfterStarting>
<showOverallStats>false</showOverallStats>
<pawnLoadedSound>Shuttle_PawnLoaded</pawnLoadedSound>
<pawnExitSound>Shuttle_PawnExit</pawnExitSound>
</li>
<li Class="CompProperties_AmbientSound">
<sound>ShuttleIdle_Ambience</sound>
</li>
</comps>
<modExtensions>
<!-- <modExtensions>
<li Class="WulaFallenEmpire.PocketMapProperties">
<pocketMapGenerator>WULA_PocketSpace_Small</pocketMapGenerator>
<exitDef>WULA_PocketMapExit</exitDef>
<pocketMapSize>(25, 25)</pocketMapSize>
<allowDirectAccess>true</allowDirectAccess>
</li>
</modExtensions>
</modExtensions> -->
<placeWorkers>
<li>PlaceWorker_NotUnderRoof</li>
<li>PlaceWorker_TurretTop</li>
@@ -428,7 +397,6 @@
</li>
</comps>
</ThingDef>
<!-- 口袋空间退出点定义 -->
<ThingDef ParentName="PocketMapExit">
<defName>WULA_PocketMapExit</defName>
<label>运输机升降平台</label>
@@ -458,80 +426,6 @@
</comps>
</ThingDef>
<ThingDef ParentName="BaseGun">
<defName>WULA_Shuttle_Autocannon</defName>
<label>SRc-22"四叶"</label>
<description>由乌拉帝国的穿梭机所装备的自动炮,能够组织起高射速的弹幕压制杀伤大规模目标。</description>
<techLevel>Ultra</techLevel>
<relicChance>0</relicChance>
<graphicData>
<texPath>Wula/Weapon/WULA_Weapon_Empty</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.5</RangedWeapon_Cooldown>
</statBases>
<weaponTags>
</weaponTags>
<costList Inherit="False">
<Steel>500</Steel>
<Plasteel>150</Plasteel>
<ComponentSpacer>8</ComponentSpacer>
</costList>
<verbs>
<li>
<verbClass>Verb_Shoot</verbClass>
<hasStandardCommand>true</hasStandardCommand>
<defaultProjectile>Bullet_WULA_Shuttle_Autocannon</defaultProjectile>
<warmupTime>0.25</warmupTime>
<range>24</range>
<burstShotCount>10</burstShotCount>
<forcedMissRadius>0.35</forcedMissRadius>
<ticksBetweenBurstShots>6</ticksBetweenBurstShots>
<soundCast>Shot_TurretSniper</soundCast>
<soundCastTail>GunTail_Heavy</soundCastTail>
<muzzleFlashScale>12</muzzleFlashScale>
<targetParams>
<canTargetPawns>true</canTargetPawns>
<canTargetLocations>true</canTargetLocations>
<canTargetBuildings>true</canTargetBuildings>
</targetParams>
</li>
</verbs>
</ThingDef>
<ThingDef ParentName="BaseBullet">
<defName>Bullet_WULA_Shuttle_Autocannon</defName>
<label>四叶自动炮子弹</label>
<thingClass>Projectile_Explosive</thingClass>
<tickerType>Normal</tickerType>
<neverMultiSelect>True</neverMultiSelect>
<graphicData>
<texPath>Wula/Projectile/WULA_Bullet_ChargeLanceShot_Red_Double</texPath>
<graphicClass>Graphic_Single</graphicClass>
<!-- <color>(61,199,157,202)</color> -->
<drawSize>(0.75,1)</drawSize>
</graphicData>
<projectile>
<damageDef>WULA_Shuttle_Autocannon_Bullet</damageDef>
<damageAmountBase>14</damageAmountBase>
<speed>120</speed>
<explosionRadius>2.4</explosionRadius>
<arcHeightFactor>0.4</arcHeightFactor>
<soundExplode>Explosion_Rocket</soundExplode>
<armorPenetrationBase>0.75</armorPenetrationBase>
<screenShakeFactor>0.1</screenShakeFactor>
</projectile>
</ThingDef>
<ThingDef ParentName="ShuttleSkyfallerBase">
<defName>ArmedShuttleIncoming_WULA</defName>
<label>武装穿梭机 (接近中)</label>

View File

@@ -147,14 +147,6 @@
</li>
</renderNodeProperties>
</li>
<li Class="CompProperties_Shield">
<startingTicksToReset>36000</startingTicksToReset><!-- 10 mins -->
<minDrawSize>8.2</minDrawSize>
<maxDrawSize>8.4</maxDrawSize>
<energyLossPerDamage>0.02</energyLossPerDamage>
<energyOnReset>4.0</energyOnReset>
<blocksRangedWeapons>false</blocksRangedWeapons>
</li>
<li Class="WulaFallenEmpire.CompProperties_PawnFlight">
<!-- 飞行触发条件:仅在征召时飞行 -->
@@ -336,7 +328,7 @@
<ThingDef ParentName="Wula_MechunitBase">
<defName>Wula_AI_Rocket_Panzer</defName>
<label>HRp-3"喷火战车"</label>
<description>乌拉帝国的中型战争机械,以悬浮的方式穿梭于战场之上,拥有车体臼炮和两具可以发射大量燃烧火箭弹的转轮导弹巢,但是未像其姊妹型号那样装备护盾</description>
<description>乌拉帝国的中型战争机械,以悬浮的方式穿梭于战场之上,拥有车体臼炮和两具可以发射大量燃烧火箭弹的转轮导弹巢。</description>
<statBases>
<MoveSpeed>2</MoveSpeed>
<EnergyShieldEnergyMax>2</EnergyShieldEnergyMax>

View File

@@ -208,12 +208,25 @@
<WULA_PilotExitedMech>{0} 已经从 {1} 离开</WULA_PilotExitedMech>
<WULA_SummonPilot>征召驾驶员···</WULA_SummonPilot>
<WULA_SummonPilotDesc>指定一名驾驶员进入构装体</WULA_SummonPilotDesc>
<WULA_RecallLastPilot>紧急登机</WULA_RecallLastPilot>
<WULA_RecallLastPilotDesc>立刻召集上次驾驶过该构装体的驾驶员驾驶此构装体。</WULA_RecallLastPilotDesc>
<WULA_EjectAllPilots>离开构装体</WULA_EjectAllPilots>
<WULA_EjectAllPilotsDesc>让该构装体的驾驶员离开构装体</WULA_EjectAllPilotsDesc>
<WULA_NoAvailablePilots>没有可以作为构装体驾驶员的殖民者</WULA_NoAvailablePilots>
<WULA_Equipment_For_Other_Mech>此装备不能由此构装体使用</WULA_Equipment_For_Other_Mech>
<WULA_Equipment_Not_Allow_For_Mech>此装备不是为构装体设计的</WULA_Equipment_Not_Allow_For_Mech>
<WULA_Human_Cannot_Equip_Mech_Weapon>此装备是专为构装体设计的,非构装体单位无法装备</WULA_Human_Cannot_Equip_Mech_Weapon>
<!-- 乘员系统翻译 -->
<WULA_BoardCrew>快速装载</WULA_BoardCrew>
<WULA_BoardCrewDesc>命令附近的殖民者和机械族作为乘员登上构装体,乘员不会参与构装体的驾驶。</WULA_BoardCrewDesc>
<WULA_ExitCrew>释放乘员</WULA_ExitCrew>
<WULA_ExitCrewDesc>命令所有乘员快速离开构装体。</WULA_ExitCrewDesc>
<WULA_CrewBoarded>{0} 登上了 {1}</WULA_CrewBoarded>
<WULA_CrewExited>{0} 离开了 {1}</WULA_CrewExited>
<WULA_CrewOrderedToBoard>已命令 {0} 个单位登上 {1}</WULA_CrewOrderedToBoard>
<WULA_CannotBecomeCrew>无法成为乘员</WULA_CannotBecomeCrew>
<WULA_MechCrewFull>构装体乘员位已满</WULA_MechCrewFull>
<WULA_BoardMech>登上构装体 {0}</WULA_BoardMech>
<WULA_Startup>构装体重新启动</WULA_Startup>
<WULA_NoColonistAvailable>没有可以执行操作的殖民者</WULA_NoColonistAvailable>
@@ -274,4 +287,9 @@
<Wula_GatherCatsDesc>使地堡发出号召,让地图上所有的乌拉猫猫自动进入征召状态并聚集到该地堡附近。</Wula_GatherCatsDesc>
<Wula_GatherCooldown>集合能力冷却中</Wula_GatherCooldown>
<Wula_BuildingBroken>地堡被停用,无法进行集结征召</Wula_BuildingBroken>
<WULA_ToggleFlight>飞行姿态</WULA_ToggleFlight>
<WULA_ToggleFlight_Desc>手动控制此单位是否保持飞行姿态。</WULA_ToggleFlight_Desc>
<WULA_ToggleFlight_Enable>已启用飞行姿态</WULA_ToggleFlight_Enable>
<WULA_ToggleFlight_Disable>停用飞行姿态</WULA_ToggleFlight_Disable>
</LanguageData>