anchor.diff:  	if (src.destroyed)
   		return
   
  +	init_data_vars() //set up var/colorcontainer and var/possibledecals
  +	
   	// this is the data which will be sent to the ui
   	var/data[0]
   	data["name"] = name
  
positive.code: /obj/machinery/portable_atmospherics/canister
  	name = "canister"
  	icon = 'icons/obj/atmos.dmi'
  	icon_state = "yellow"
  	density = 1
  	var/health = 100.0
  	flags = CONDUCT
  
  	var/menu = 0
  	//used by nanoui: 0 = main menu, 1 = relabel
  	var/valve_open = 0
  	var/release_pressure = ONE_ATMOSPHERE
  
  	var/list/_color //variable that stores colours
  	var/list/decals // list that stores the decals
  	var/list/possibledecals
  	var/list/oldcolor//lists for check_change()
  	var/list/olddecals
  	var/list/possiblemaincolor //these lists contain the possible colors of a canister
  	var/list/possibleseccolor
  	var/list/possibletertcolor
  	var/list/possiblequartcolor
  	var/list/colorcontainer //passed to the ui to render the color lists
  
  	var/can_label = 1
  	var/filled = 0.5
  	pressure_resistance = 7*ONE_ATMOSPHERE
  	var/temperature_resistance = 1000 + T0C
  	volume = 1000
  	use_power = 0
  	var/release_log = ""
  	var/busy = 0
  	var/update_flag = 0
  
  	New()
  		..()
  		_color = list(
  		"prim" = "yellow",
  		"sec" = null,
  		"ter" = null,
  		"quart" = null)
  		oldcolor = list()
  		decals = list()
  		olddecals = list()
  		possibledecals = list( //var that stores all possible decals, used by ui
  			list("name" = "Low temperature canister", "icon" = "cold", "active" = 0),
  			list("name" = "High temperature canister", "icon" = "hot", "active" = 0),
  			list("name" = "Plasma containing canister", "icon" = "plasma", "active" = 0)
  			)
  		possiblemaincolor = list( //these lists contain the possible colors of a canister
  			list("name" = "\[N2O\]", "icon" = "redws"),
  			list("name" = "\[N2\]", "icon" = "red"),
  
negative.code: 			_color["prim"] = href_list["icon"]
  	if (href_list["choice"] == "Secondary color")
  		if (href_list["icon"] == "none")
  			_color["sec"] = "none"
  		else if (is_a_color(href_list["icon"],"sec"))
  			_color["sec"] = href_list["icon"]
  	if (href_list["choice"] == "Tertiary color")
  		if (href_list["icon"] == "none")
  			_color["ter"] = "none"
  		else if (is_a_color(href_list["icon"],"ter"))
  			_color["ter"] = href_list["icon"]
  	if (href_list["choice"] == "Quaternary color")
  		if (href_list["icon"] == "none")
  			_color["quart"] = "none"
  		else if (is_a_color(href_list["icon"],"quart"))
  			_color["quart"] = href_list["icon"]
  	
  	if (href_list["choice"] == "decals")
  		if (is_a_decal(href_list["icon"]))
  			decals[href_list["icon"]] = (decals[href_list["icon"]] == 0)
  			
  	src.add_fingerprint(usr)
  	update_icon()
  
  