Files
Bubberstation/code/modules/hydroponics/sample.dm
Cruix ac0bad5d61 Added priority overlay system. (#18225)
Added priority overlays to atoms, which will not be removed when overlays are cut and will always remain on top when new overlays are added. This requires everyone to use add_overlay() and cut_overlays() instead of overlays += and overlays.Cut(). These procs are found in __HELPERS/icons.dm, and the priority overlay list is found in game/atoms.dm. Everything else is replacing deprecated overlay manipulation.
2016-06-17 10:11:53 +12:00

44 lines
1.1 KiB
Plaintext

var/list/chem_t1_reagents = list(
"hydrogen", "oxygen", "silicon",
"phosphorus", "sulfur", "carbon",
"nitrogen", "water"
)
var/list/chem_t2_reagents = list(
"lithium", "copper", "mercury",
"sodium", "iodine", "bromine"
) // "sugar", "sacid" removed because they are already in roundstart plants
var/list/chem_t3_reagents = list(
"ethanol", "chlorine", "potassium",
"aluminium", "radium", "fluorine",
"iron", "welding_fuel", "silver",
"stable_plasma"
)
var/list/chem_t4_reagents = list(
"oil", "ash", "acetone",
"saltpetre", "ammonia", "diethylamine"
)
/obj/item/seeds/sample
name = "plant sample"
icon_state = "sample-empty"
potency = -1
yield = -1
var/sample_color = "#FFFFFF"
/obj/item/seeds/sample/New()
..()
if(sample_color)
var/image/I = image(icon, icon_state = "sample-filling")
I.color = sample_color
add_overlay(I)
/obj/item/seeds/sample/get_analyzer_text()
return " The DNA of this sample is damaged beyond recovery, it can't support life on it's own.\n*---------*"
/obj/item/seeds/sample/alienweed
name = "alien weed sample"
icon_state = "alienweed"
sample_color = null