/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.
brainThe current MMI card
clicked_atomReturns what the MMI last clicked on.
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
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.

brain

The current MMI card

clicked_atom

Returns what the MMI last clicked on.

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

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