offer to trash like cards on install #7949
Open
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.
Added a little checkbox you can tick for if you want to (have the option to) trash like cards on any ice, server or program install.
This works for the runner side (it's the same timing that you trash programs for MU), and it works for the corp side. I also made it so you can attempt to install something in a server that's too expensive so long as it's possible to trash things from that server to price it down enough, instead of just silently failing which is what we currently do.
There's a video in slack/
Closes #7948
Closes #2054 (woah that's an old issue)
and I think it hits the last one of #6497 (other than ncigs, which is going to go out the window in a few months)