Author Topic: [FIXED][bug] "technical" items saved in the inventory templates  (Read 1520 times)

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9091
    • View Profile
Quote
I think I found a bug that might be related to new inventory
glamour keeps stockpiling on armor
it adds +1 after every mission when glamorous outfit is used
not sure if glamour is cloned or just stockpiled on armor
getting rid of it is relatively easy, X to drop all then recreate the loadout manually
« Last Edit: July 03, 2023, 10:10:00 pm by Meridian »

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9091
    • View Profile
Re: [bug] "technical" items saved in the inventory templates
« Reply #1 on: June 25, 2023, 04:36:53 pm »
test on bikini armor in xpz

Offline Meridian

  • Global Moderator
  • Commander
  • *****
  • Posts: 9091
    • View Profile
Re: [bug] "technical" items saved in the inventory templates
« Reply #2 on: June 25, 2023, 04:59:38 pm »
I could not reproduce the item duplication.

However I agree that such "virtual" items should not even be saved in the equipment templates.

Changed/fixed here: https://github.com/MeridianOXC/OpenXcom/commit/fe8f92757ed7aee625065e977aad94a5d0834c96

Non-fixed items (`fixedWeapon: false`) marked with `ignoreInCraftEquip: true` are now not saved in any item equipment templates (global, personal and temporary).