Allow NPC docs to install & remove CBMs from NPCS #68630
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Features "Allow NPC doctors to install and remove CBMs from player allies"
Purpose of change
Fixes #68510
There's discussion in the issue about the lore around cyborgs and the exodii, so I only added this to the ancilla doc, who I don't think would care as long as they get paid.
Describe the solution
Add an appropriate NPC talk function for installation & removal that asks you to select an ally to install/remove from. Modify the menu for bionic install to have a "patron" that it will also check for CBMs to install from.
Give the ancilla doc, Doc. Stevens, appropriate dialogues to install and remove bionics from NPCs.
Describe alternatives you've considered
Something cleaner with the bionic install menu, but this was easy.
See above about adding it to more NPCs.
Testing
I don't know quite what triggers the ancilla to spawn, but I did a summer start, teleported to the hub and did the first mission, advanced the season to autumn, then went to the ancilla.
Once there, I spawned in an NPC companion, some hub gold coins, and some bionics.
Bionic installation and removal from ally
Additional context
This will knock the companion out with anesthetic right where they're sitting, which can get you stuck in the doctor's office. Not sure how to suitably resolve this.