This commit is contained in:
2025-12-28 15:31:14 +08:00
parent 180f678173
commit 0ce11a0d86
6 changed files with 90 additions and 28 deletions

View File

@@ -63,10 +63,10 @@ namespace WulaFallenEmpire.EventSystem.AI
{
try
{
var flyOverDef = DefDatabase<ThingDef>.GetNamedSilentFail("WULA_AircraftCarrier");
var flyOverDef = DefDatabase<ThingDef>.GetNamedSilentFail("WULA_MotherShip_Planet_Interdiction");
if (flyOverDef == null)
{
WulaLog.Debug("[AI Overwatch] Could not find WULA_AircraftCarrier ThingDef.");
WulaLog.Debug("[AI Overwatch] Could not find WULA_MotherShip_Planet_Interdiction ThingDef.");
return;
}
@@ -80,14 +80,14 @@ namespace WulaFallenEmpire.EventSystem.AI
startPos,
endPos,
map,
speed: 0.03f,
speed: 0.02f, // Slower for mothership
height: 20f
);
if (flyOver != null)
{
Messages.Message("WULA_AIOverwatch_FleetCalled".Translate(), MessageTypeDefOf.PositiveEvent);
WulaLog.Debug($"[AI Overwatch] Called fleet: WULA_AircraftCarrier spawned from {startPos} to {endPos}.");
WulaLog.Debug($"[AI Overwatch] Called fleet: WULA_MotherShip_Planet_Interdiction spawned from {startPos} to {endPos}.");
}
}
catch (Exception ex)