Falcrack wrote: ↑Fri, 10. Jul 20, 16:17
...I thought the default action was to contact the player in cases of wear and tear?...
By default: (1) ships that are in your wing will request to dock for running repairs; and (2) ships that are not in your wing will decide to dock for running repairs themselves.
...I had a freighter I had stripped of all crew for testing purposes (AT-18 in the provided save). I had given it an order to go to an equipment dock when I was done testing it in order to get repaired and get a new crew. I come back after letting the game run overnight and found that this freighter had never made it to the equipment dock, it had decided to dock for repairs at some random nearby station. Canceling all the existing order and giving it a new order to go get a new crew still resulted in the same issue. So I couldn't get it to go to the dock to get crew because of it automatically deciding to dock for repairs....
Ok ... I found the bug for this issue. Ships with no service crew were docking for running repairs even if it has no service crew to repair wear and tear. Therefore, it will dock for the time 1% to 25% crew would have repaired its wear and tear. But because it has no service crew, no repair will be done. It will undock still with wear and tear. It will soon detect it still needs to dock and therefore will add the "Dock for running repairs" AI at the top of its AI behaviour list. So, any order you give it to acquire crew will be pushed down the list of actions with its "Dock for running repairs" AI.
The fix: AI should not dock for running repairs unless the ship has at least 1 service crew.
Note that I don't know why the ship's other orders would have been canceled. The "Dock for running repairs" AI should have been added to the top of its behaviour list instead.
...Another issue is one of the ships showing up in the wear and tear menu that was at 100% hull health, but it had 7% wear and tear. It is AT-16 in the provided save game. I think it's because it had prior damage unrelated to wear and tear before I fixed it up manually. It is intended that ships can be at full health, but have wear and tear damage?...
This bug, I've already described in my recent conversations above this one. Basically, I forgot to re-enable the line of code that applies repairs outside the wear and tear system into the wear and tear data.
I'll release a new version in a day or two.
Mods: RPG: Reputations and Professions, Social Standings and Citizenships, Crime has Consequences, Alternatives to Death. Missions/NPCs: Emergent Missions, NPC Reactions, Mod Parts Trader, High-sec Rooms are Locked, Hacking Outcomes, More Generic Missions, Waypoint Fields for Deployment. Others: Auto-cam, Friendly Fire Tweaks, Teleport From Transporter Room, Wear and Tear. QoL: Trade Analytics, Loot Mining, Ship Scanner, Signal Leak Hunter, Station Scanner, Surface Element Targeting, etc.