OpenXcom Forum

Modding => OXCE Bugs => OpenXcom Extended => OXCE Bugs FIXED => Topic started by: Meridian on June 25, 2023, 04:36:23 pm

Title: [FIXED][bug] "technical" items saved in the inventory templates
Post by: Meridian on June 25, 2023, 04:36:23 pm
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
Title: Re: [bug] "technical" items saved in the inventory templates
Post by: Meridian on June 25, 2023, 04:36:53 pm
test on bikini armor in xpz
Title: Re: [bug] "technical" items saved in the inventory templates
Post by: Meridian 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).