Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doctor able to buy bionics at the same time they are installed #53525

Open
Nerdy314159265 opened this issue Dec 17, 2021 · 3 comments
Open

Doctor able to buy bionics at the same time they are installed #53525

Nerdy314159265 opened this issue Dec 17, 2021 · 3 comments
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

Comments

@Nerdy314159265
Copy link

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

  1. Ask the Doctor to install a CBM
  2. Sell the Doctor the CBM you are having him install
  3. Ignore the error message about an item being taken from the void

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

image
image

Versions and configuration

  • OS: Windows
    • OS Version: 10.0 2009
  • Game Version: 0.F-2 [64-bit]
  • Graphics Version: Tiles
  • Game Language: System language []
  • Mods loaded: [
    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

@wapcaplet wapcaplet added (S1 - Need confirmation) Report waiting on confirmation of reproducibility Bionics CBM (Compact Bionic Modules) NPC / Factions NPCs, AI, Speech, Factions, Ownership labels Dec 17, 2021
@hexagonrecursion
Copy link
Contributor

Confirmed. The doctor at the Tacoma ranch duplicates CBMs

  • OS: Linux
    • OS Version: LSB Version: :core-4.1-amd64:core-4.1-noarch; Distributor ID: Fedora; Description: Fedora release 34 (Thirty Four); Release: 34; Codename: ThirtyFour;
  • Game Version: 9473cf6 [64-bit]
  • Graphics Version: Tiles
  • Game Language: English [en]
  • Mods loaded: [
    Dark Days Ahead [dda],
    Disable NPC Needs [no_npc_food],
    No Fungal Growth [no_fungal_growth],
    Bionic Professions [package_bionic_professions]
    ]

DEBUG : item location does not point to valid item

FUNCTION : void item_location::remove_item()
FILE : src/item_location.cpp
LINE : 896
VERSION : 9473cf6

@GoLoT
Copy link
Contributor

GoLoT commented Dec 17, 2021

Not exactly the same issue but similar in that some conversation choices should instantly exit the conversation to avoid this kind of bug: #53244

EDIT: Actually, the fix should be the same. When a conversation action puts you under or disables you somehow, the conversation should be closed immediately.

@Nerdy314159265 Nerdy314159265 changed the title Doctor able to install bionics at the same time they are installed Doctor able to buy bionics at the same time they are installed Dec 18, 2021
@hexagonrecursion
Copy link
Contributor

@wapcaplet confirmed

@wapcaplet wapcaplet added (S2 - Confirmed) Bug that's been confirmed to exist <Bug> This needs to be fixed and removed (S1 - Need confirmation) Report waiting on confirmation of reproducibility labels Jan 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

4 participants