Fixed list of bionics showing item durability indicator #36123
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
SUMMARY: Interface "Fixed list of bionics showing item durability indicator"
Purpose of change
Closes #36098 - CBM list in "manifesto" computer screen shows color tags as plaintext.
Describe the solution
Replaced
tname
withtype_name
as the latter omits suffixes.Also, while I'm here, I replaced searching in whole map with searching only in 3-tile radius around the player, as bionics are placed 2 tiles away from the computer in locked room, and we don't need to show all bionics on the map.
Describe alternatives you've considered
None.
Testing
Found lab with bionics in locked room, damaged them by explosion of C-4, examined computer, checked for durability indicators not showing.
Additional context
None.