fix: Alfar drones go back to work after a fight, and say what they skip

A tamed MonsterAI never drops a target for distance, so an enemy that ran
off but stayed loaded kept the drone fighting forever. The drone now drops
a target past its leash and clears vanilla's target and alert when the
fight ends.

Drones now talk over their heads and in chat (40 m): an item in the
Inngangskista with nowhere to go, an item kept there for a station, and an
idle kiln whose wood is in a plain chest instead of the Eldividarkista.
Texts in English, Italian and Russian.

F8 lists each worker drone's state and why each entry-chest item stays or
moves.
This commit is contained in:
kanym 2026-10-30 17:41:37 +01:00
commit 97e25dabe9
5 changed files with 257 additions and 6 deletions

View file

@ -125,6 +125,7 @@ namespace RacesOfValheim
RaceMeleeReach.DebugOn = !RaceMeleeReach.DebugOn;
__instance.Message(MessageHud.MessageType.TopLeft, $"[RoV reach] debug {(RaceMeleeReach.DebugOn ? "on" : "off")}");
AlfarMiner.DebugReport(__instance);
AlfarDroneAI.DebugReport(__instance);
}
}
}