anchor.diff:  		var/index = length(input_ports)
   		if(trigger_input)
   			index -= 1
  -		add_input_port("Index [index+1]", PORT_TYPE_ANY, index = index+1)
  +		entry_ports += add_input_port("Index [index+1]", PORT_TYPE_ANY, index = index+1)
   
   /obj/item/circuit_component/list_literal/Initialize()
   	. = ..()
  
positive.code: 
  /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)
  		length = 0
  		return
  
  	while(length > new_size)
  		var/index = length(input_ports)
  		if(trigger_input)
  			index -= 1
  		remove_input_port(input_ports[index])
  		length--
  
  	while(length < new_size)
  
negative.code: 		return
  
  	var/list/new_literal = list()
  	for(var/datum/port/input/entry_port as anything in entry_ports)
  		// Prevents lists from merging together
  		new_literal += list(entry_port.input_value)
  
  	list_output.set_output(new_literal)
  
  