/tg/ Station 13 - Modules - TypesVar Details - Proc Details

circuit_component_add_port

Helper component that handles users adding/removing ports from a circuit component.

Vars

add_actionThe action to add a port on
is_outputWhether we are adding output ports or not
maximum_amountThe maximum amount of ports allowed
minimum_amountThe minimum amount of ports required
orderThe order of the new ports
port_listThe list to add the ports to when created
port_typeThe type of port
prefixThe prefix of the new ports
remove_actionThe action to remove a port on

Procs

add_portTake the port type of the first stored list element, useful if the types of the ports change

Var Details

add_action

The action to add a port on

is_output

Whether we are adding output ports or not

maximum_amount

The maximum amount of ports allowed

minimum_amount

The minimum amount of ports required

order

The order of the new ports

port_list

The list to add the ports to when created

port_type

The type of port

prefix

The prefix of the new ports

remove_action

The action to remove a port on

Proc Details

add_port

Take the port type of the first stored list element, useful if the types of the ports change