Attempting to install car batteries and storage batteries (possibly others) shows the battery as missing on the vehicle screen, even though it's in the same tile as the character.
With the magic of git bisect, 3ef0d466ca90e25cc6c25eacd4ffcc07a6c9042e is identified as the commit that introduces this bug. Any build before that commit will let batteries be installed fine, any build after does not.
Batteries can be installed as per normal.
Discovered on 2f4a7498d1b8c86ab3296cc6dabb6b9ffe0f0db8, but introduced in 3ef0d466ca90e25cc6c25eacd4ffcc07a6c9042e.
This is part of @Ramza13 's amazing work in cleaning up constants, and I have no idea why it's impacting battery installation for vehicles.
So I'm not sure about my ammotype changes, so when I get home tonight I will see about undoing those. Lines 7275, 7351 and 7748. They relate to batteries and I saw some other weirdness with one elsewhere so I figure that's a good chance of fixing it.
If it helps at all, I have had the same issue and found that fabricating a fresh new battery allows it to be reinstalled. However, after removing the said fresh battery from the vehicle, it cannot be reinstalled again.
Most helpful comment
So I'm not sure about my ammotype changes, so when I get home tonight I will see about undoing those. Lines 7275, 7351 and 7748. They relate to batteries and I saw some other weirdness with one elsewhere so I figure that's a good chance of fixing it.