mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 13:05:36 +01:00
[NO GBP] Tube and Bottles get main reagent in their name (#76040)
 ## About The Pull Request I made only pills and patches have reagent name by default because I thought that open containers are temporary, and if you empty them and then fill with other reagent, it will be confusing. I was wrong, they're better be named. ## Why It's Good For The Game Less manual input for those who want their tubes and bottles named to not rely just on reagent color ## Changelog 🆑 qol: Tubes and Bottles have the main reagent name prefix in Chem/CondiMaster /🆑
This commit is contained in:
@@ -379,7 +379,9 @@ GLOBAL_LIST_INIT(chem_master_containers, list(
|
||||
|
||||
// Generate item name
|
||||
var/item_name_default = initial(container_style.name)
|
||||
if(!(initial(container_style.reagent_flags) & OPENCONTAINER)) // Closed containers get reagent name and units in the name
|
||||
if(selected_container == default_container) // Tubes and bottles gain reagent name
|
||||
item_name_default = "[reagents.get_master_reagent_name()] [item_name_default]"
|
||||
if(!(initial(container_style.reagent_flags) & OPENCONTAINER)) // Closed containers get both reagent name and units in the name
|
||||
item_name_default = "[reagents.get_master_reagent_name()] [item_name_default] ([volume_in_each]u)"
|
||||
var/item_name = tgui_input_text(usr,
|
||||
"Container name",
|
||||
|
||||
Reference in New Issue
Block a user