-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In PR 45308, the names of various pharmaceutical items were changed from brand names to generic names describing their active ingredients. In PR 46814, the names of various guns were changed from specific brand names to generic versions, and many guns were collapsed into the generic versions. However, variants were added, allowing a toggle to brind back all those names. We can follow that same approach for drugs, using variants to allow toggling between the generic names and brand names. To do this, simply add a new variant type, a new option, and then change whether that type is shown based on the value of that option. Then, add the variants for brand names. I didn't add back the non-generic names for the antibiotics because 1. Only strong/weak antibiotics had them 2. They didn't seem to be real names
- Loading branch information
1 parent
f2c8c58
commit c42f152
Showing
6 changed files
with
59 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -650,6 +650,7 @@ struct islot_wheel { | |
enum class itype_variant_kind : int { | ||
gun, | ||
generic, | ||
drug, | ||
last | ||
}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters