anchor.diff: -//This file was auto-corrected by findeclaration.exe on 25.5.2012 20:42:31
  -
  -/*
  -Important notice: I changed "vendingwindow" to "vendingwindow_n" (n for new) because
  -I extended the window's height a small amount and, for some reason, BYOND saves the
  -height of all the panels on the player's computer in a text file. This means the
  -players see some madly-deformed piece of shit window instead of what is intended.
  -
  -To combat this, I changed the window name. -- Doohl
  -*/
  -
  -#define PRODUCTS_PER_PAGE		15 // # of products per page
  -
   /obj/machinery/vending
   	var/const/WIRE_EXTEND = 1
   	var/const/WIRE_SCANID = 2
   	var/const/WIRE_SHOCK = 3
   	var/const/WIRE_SHOOTINV = 4
  -	var/page
  -	var/builtpaths = 0
  -	var/lastpaths
   
   /datum/data/vending_product
   	var/product_name = "generic"
   	var/product_path = null
   	var/amount = 0
  +	var/display_color = "blue"
   
   /obj/machinery/vending/New()
   	..()
  -	page = 1
   	spawn(4)
   		src.slogan_list = dd_text2List(src.product_slogans, ";")
  -		src.small_ads = dd_text2List(src.product_ads, ";") // huehue
   		var/list/temp_paths = dd_text2List(src.product_paths, ";")
   		var/list/temp_amounts = dd_text2List(src.product_amounts, ";")
   		var/list/temp_hidden = dd_text2List(src.product_hidden, ";")
  
positive.code: 			usr.put_in_hand(coin)
  		usr << "\blue You remove the [coin] from the [src]"
  		coin = null
  		updateWindow(usr)
  		usr.skincmds["vending"] = src
  
  
  	if ((usr.contents.Find(src) || (in_range(src, usr) && istype(src.loc, /turf))))
  
negative.code: 		var/datum/data/vending_product/R = new /datum/data/vending_product(  )
  		R.product_name = capitalize(temp.name)
  		R.product_path = path_list[p]
  		R.display_color = pick("red","blue","green")
  //		R.amount = text2num(amt_list[p])
  //		src.product_records += R
  
  