Doctor able to buy bionics at the same time they are installed #53525
Labels
Bionics
CBM (Compact Bionic Modules)
<Bug>
This needs to be fixed
NPC / Factions
NPCs, AI, Speech, Factions, Ownership
(S2 - Confirmed)
Bug that's been confirmed to exist
Describe the bug
After selecting what bionic you wish to have installed it's possible to select the bionic you are having installed in the trade menu.
The Doctor is fine with this and the installation will go as normal despite throwing an error.
Effectively the Doctor will take the item for trade and then proceed to rip a duplicate out of the empty space that will then get installed as normal.
So you get an almost free installation and the item gets duplicated. So in the case of Power Storage CBMs they can be multiplied and installed up to the cap from a single CBM.
Steps to reproduce
Expected behavior
I'd expect that the CBM you are having installed would be restricted from the trade menu or that the Doctor would refuse it.
Alternatively, it would be interesting to allow the exploit but cause the player to suffer from extra-dimensional status effects like Netherworld Attention or Teleglow.
Screenshots
Versions and configuration
Dark Days Ahead [dda],
Disable NPC Needs [no_npc_food],
Bionic Professions [package_bionic_professions],
Useful Helicopters [useful_helicopters]
]
Additional context
DEBUG : item location does not point to valid item
FUNCTION : void item_location::remove_item()
FILE : src/item_location.cpp
LINE : 895
VERSION : 0.F-2
The text was updated successfully, but these errors were encountered: