Author Topic: [FIXED] craft built-in weapon ammo count bug  (Read 442 times)

Offline Alex_D

  • Colonel
  • ****
  • Posts: 494
    • View Profile
[FIXED] craft built-in weapon ammo count bug
« on: November 16, 2023, 08:01:23 am »
To further my thread here.

I did some testing, and I'm inclined to believe there is a bug somewhere, hence I put this thread for further documentation. This feature is very convenient for craft built-in weapons, but there is a problem if the craft is manufactured versus purchased. If there is a craft weapon with no clip usage built into a craft that can be purchased, upon delivery the ammo starts loading. However if the craft is manufactured, the weapon doesn't being to re-load ever, until manually deactivated and reactivated. Refueling is unaffected.

To test simply add this code to a craft that can be bought and to another craft that can be purchased:
Code: [Select]
    weapons: 2

I have no idea when the weapon reloading check is done in the code, but I there must be a difference between buy vs made.

EDIT: Mods. Please move this thread to "Bugs".
« Last Edit: November 17, 2023, 12:44:19 am by Alex_D »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 8671
    • View Profile