Repair/Upgrade discount bug
Describe the bug Technicians are supposed to give you discounts after certain criteria are met, for example:
Cardan:
- 10% discount and tier 1 upgrades are available with one vodka – lasting about four in-game hours.
- 20% discount and tier 2 and tier 3 upgrades available with two vodkas.
- 35% discount after giving the player his old keycard halfway through the mission Unidentified weapon. He will also offer all possible upgrades without vodka.
Nitro:
- Each item brought back from the Cement factory as part of the mission Radio equipment reduces his prices by 2%, for a maximum discount of 20%.
- obtaining the achievement A Friend of Duty reduces his prices by 15%.
I first noticed Cardan stopped lowering his repair and upgrade prices after giving him vodkas a few hours into the game. Later when I reached Yanov and did the Radio Equipment quest perfectly for Nitro he did not offer the %20 discount he was supposed to on his repairs and upgrades.
I am not sure if this behavior is a direct result of the OpenXRay replacement or if it's an inherent bug of the vanilla game so I'll submit it as a bug and if it's later revealed to be a vanilla bug it should be relabeled. (Strike that, I've confirmed it to be the OpenXRay engine replacement.)
To Reproduce Steps to reproduce the behavior: I don't know how to reproduce it as it happened randomly. (Strike that, I've successfully reproduced it by starting a new game and giving 1 vodka to Cardan on the Vanilla engine and OpenXRay engine and comparing the prices.)
Expected behavior Explained above.
Screenshots, videos Not Applicable.
BugTrap error report No Crashes.
Desktop (please complete the following information):
- OS: Windows 10
- OpenXRay build version Nightly build commit ef1208d
Additional context That's about it.
I just tested a new game with the OpenXRay engine replacement and on the vanilla engine, I can confirm this appears to be a bug with the OpenXRay engine replacement.
Here's a screenshot of the repair cost of the Default AK on the Vanilla engine after giving Cardan 1 vodka which is correctly shown as 486 RU with a 10% discount. Without vodka, it's 540 RU.
And, here's a screenshot of the cost of the increased magazine capacity upgrade for the Default AK on the Vanilla engine after giving Cardan 1 vodka which is correctly shown as 720 RU with a 10% discount. Without vodka, it's 800 RU.
With the OpenXRay engine replacement, the discounts are not correctly applied.