anchor.diff:  
   /obj/item/circuit_component/list_literal/proc/set_list_size(new_size)
   	if(new_size <= 0)
  -		for(var/datum/port/input/port in input_ports)
  -			if(port != trigger_input)
  -				remove_input_port(port)
  +		for(var/datum/port/input/port in entry_ports)
  +			remove_input_port(port)
  +		entry_ports = list()
   		length = 0
   		return
   
   	while(length > new_size)
  -		var/index = length(input_ports)
  -		if(trigger_input)
  -			index -= 1
  -		remove_input_port(input_ports[index])
  +		var/index = length(entry_ports)
  +		var/entry_port = entry_ports[index]
  +		entry_ports -= entry_port
  +		remove_input_port(entry_port)
   		length--
   
   	while(length < new_size)
  
positive.code: 	desc = "A component that returns the value of a list at a given index. Attack in hand to increase list size, right click to decrease list size."
  	circuit_flags = CIRCUIT_FLAG_INPUT_SIGNAL|CIRCUIT_FLAG_OUTPUT_SIGNAL
  
  	/// The result from the output
  	var/datum/port/output/list_output
  
  
negative.code: 		var/index = length(input_ports)
  		if(trigger_input)
  			index -= 1
  		entry_ports += add_input_port("Index [index+1]", PORT_TYPE_ANY, index = index+1)
  
  /obj/item/circuit_component/list_literal/Initialize()
  	. = ..()
  