mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2025-12-24 00:51:46 +00:00
Allow reagents to have specific metaglass icon files
This commit is contained in:
@@ -19,6 +19,11 @@
|
||||
if (reagents.reagent_list.len > 0)
|
||||
var/datum/reagent/R = reagents.get_master_reagent()
|
||||
|
||||
if(R.glass_icon_file)
|
||||
icon = R.glass_icon_file
|
||||
else
|
||||
icon = initial(icon)
|
||||
|
||||
if(R.glass_icon_state)
|
||||
icon_state = R.glass_icon_state
|
||||
else
|
||||
@@ -62,6 +67,7 @@ Drinks Data
|
||||
*/
|
||||
|
||||
/datum/reagent
|
||||
var/glass_icon_file = null
|
||||
var/glass_icon_state = null
|
||||
var/glass_center_of_mass = null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user