anchor.diff:  			if(!C)
   				say("No card found.")
   				flick(icon_deny,src)
  -				vend_ready = 1
  +				vend_ready = TRUE
   				return
   			else if (!C.registered_account)
   				say("No account found.")
   				flick(icon_deny,src)
  -				vend_ready = 1
  +				vend_ready = TRUE
   				return
   			var/datum/bank_account/account = C.registered_account
  -			if(account.account_job && account.account_job.paycheck_department == payment_department)
  +			if(account?.account_job?.paycheck_department == payment_department)
   				price_to_use = 0
   			if(coin_records.Find(R) || hidden_records.Find(R))
   				price_to_use = R.custom_premium_price ? R.custom_premium_price : extra_price
   			if(price_to_use && !account.adjust_money(-price_to_use))
   				say("You do not possess the funds to purchase [R.name].")
   				flick(icon_deny,src)
  -				vend_ready = 1
  +				vend_ready = TRUE
   				return
   			var/datum/bank_account/D = SSeconomy.get_dep_account(payment_department)
   			if(D)
  
positive.code: 		use_power(5)
  		if(icon_vend) //Show the vending animation if needed
  			flick(icon_vend,src)
  		playsound(src, 'sound/machines/machine_vend.ogg', 50, TRUE, extrarange = -3) 
  		new R.product_path(get_turf(src))
  		R.amount--
  		SSblackbox.record_feedback("nested tally", "vending_machine_usage", 1, list("[type]", "[R.product_path]"))
  		vend_ready = 1
  
  	else if(href_list["togglevoice"] && panel_open)
  		shut_up = !shut_up
  
negative.code: 	else
  		..()
  
  /obj/machinery/vending/proc/loadingAttempt(obj/item/I, mob/user)
  	. = TRUE
  	if(!user.transferItemToLoc(I, src))
  		return FALSE
  	if(vending_machine_input[format_text(I.name)])
  		vending_machine_input[format_text(I.name)]++
  	else
  		vending_machine_input[format_text(I.name)] = 1
  	to_chat(user, "<span class='notice'>You insert [I] into [src]'s input compartment.</span>")
  	loaded_items++
  
  