This commit is contained in:
Tourswen
2026-03-02 00:08:41 +08:00
parent bd4843bc89
commit efa7c88e9c
20 changed files with 18 additions and 3 deletions

View File

@@ -50,7 +50,7 @@
<stateClass>WulaFallenEmpire.MentalState_MechNoPilot</stateClass>
<category>Misc</category>
<nameColor>(0.65, 0.9, 0.93)</nameColor>
<baseInspectLine>No driver</baseInspectLine>
<baseInspectLine>无驾驶员</baseInspectLine>
<!-- <beginLetter>{PAWN_nameDef} has no pilot and cannot operate autonomously. It will stand idle until a pilot takes control.</beginLetter> -->
<blockNormalThoughts>true</blockNormalThoughts>
<downedCanDo>true</downedCanDo>

View File

@@ -167,6 +167,17 @@
<summonPilotIcon>Wula/UI/Commands/WULA_Enter_Mech</summonPilotIcon>
<ejectPilotIcon>Wula/UI/Commands/WULA_Exit_Mech</ejectPilotIcon>
</li>
<!-- <li Class="WulaFallenEmpire.CompProperties_MechCrewHolder">
<maxCrew>6</maxCrew>
<boardingRadius>10</boardingRadius>
<maxPawnSize>2.5</maxPawnSize>
<allowMechanoids>true</allowMechanoids>
<draftOnExit>true</draftOnExit>
<boardCrewIcon>Wula/UI/Commands/WULA_BoardCrew</boardCrewIcon>
<exitCrewIcon>Wula/UI/Commands/WULA_ExitCrew</exitCrewIcon>
</li> -->
<li Class="WulaFallenEmpire.CompProperties_MechFuel">
<fuelType>Chemfuel</fuelType>
<fuelCapacity>70</fuelCapacity>

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

@@ -65,8 +65,12 @@ namespace WulaFallenEmpire
if (comp != null && comp.CanAddPilot(pawn))
{
comp.AddPilot(pawn);
Messages.Message("WULA_PilotEnteredMech".Translate(pawn.LabelShort, mech.LabelShort),
MessageTypeDefOf.PositiveEvent, false);
if (mech.drafter != null && !mech.Drafted)
{
mech.drafter.Drafted = true;
}
//Messages.Message("WULA_PilotEnteredMech".Translate(pawn.LabelShort, mech.LabelShort),
// MessageTypeDefOf.PositiveEvent, false);
}
};
enterToil.defaultCompleteMode = ToilCompleteMode.Instant;

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 133 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 108 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 128 KiB