/tg/ Station 13 - Modules - TypesVar Details

Man-Machine Interface Component

Allows an MMI to be inserted into a shell, allowing it to be linked up. Requires a shell.

Vars

attackCalled when the MMI clicks.
borisThe current B.O.R.I.S. module
boris_circuit_container_connectionsThese two component weakrefs are needed because GetComponent is not reliable for components that are DUPE_ALLOWED or DUPE_SELECTED A reference to the connect_containers component that handles making boris circuits and things containing them clickable by AIs to connect
brainThe current MMI/posibrain
clicked_atomReturns what the MMI last clicked on.
connected_ai_container_connectionsA reference to the connect_containers component that handles when a connected AI or something containing it moves
disconnect_actionThe action used to allow a connected AI to disconnect
eastCalled when the MMI tries moving east
ejectEjects the current MMI
max_lengthMaximum length of the message that can be sent to the MMI
messageThe message to send to the MMI in the shell.
message_cooldownCooldown for when the next message can be sent to the MMI.
northCalled when the MMI tries moving north
occupantThe brainmob or AI currently controlling to the circuit
secondary_attackCalled when the MMI right clicks.
sendSends the current MMI a message
southCalled when the MMI tries moving south
westCalled when the MMI tries moving west

Var Details

attack

Called when the MMI clicks.

boris

The current B.O.R.I.S. module

boris_circuit_container_connections

These two component weakrefs are needed because GetComponent is not reliable for components that are DUPE_ALLOWED or DUPE_SELECTED A reference to the connect_containers component that handles making boris circuits and things containing them clickable by AIs to connect

brain

The current MMI/posibrain

clicked_atom

Returns what the MMI last clicked on.

connected_ai_container_connections

A reference to the connect_containers component that handles when a connected AI or something containing it moves

disconnect_action

The action used to allow a connected AI to disconnect

east

Called when the MMI tries moving east

eject

Ejects the current MMI

max_length

Maximum length of the message that can be sent to the MMI

message

The message to send to the MMI in the shell.

message_cooldown

Cooldown for when the next message can be sent to the MMI.

north

Called when the MMI tries moving north

occupant

The brainmob or AI currently controlling to the circuit

secondary_attack

Called when the MMI right clicks.

send

Sends the current MMI a message

south

Called when the MMI tries moving south

west

Called when the MMI tries moving west