Man-Machine Interface Component ![code/modules/wiremod/components/action/mmi.dm 6](git.png)
Allows an MMI to be inserted into a shell, allowing it to be linked up. Requires a shell.
Vars | |
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. |
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 |
Var Details
attack ![code/modules/wiremod/components/action/mmi.dm 31](git.png)
Called when the MMI clicks.
brain ![code/modules/wiremod/components/action/mmi.dm 36](git.png)
The current MMI card
clicked_atom ![code/modules/wiremod/components/action/mmi.dm 29](git.png)
Returns what the MMI last clicked on.
east ![code/modules/wiremod/components/action/mmi.dm 22](git.png)
Called when the MMI tries moving east
eject ![code/modules/wiremod/components/action/mmi.dm 17](git.png)
Ejects the current MMI
max_length ![code/modules/wiremod/components/action/mmi.dm 39](git.png)
Maximum length of the message that can be sent to the MMI
message ![code/modules/wiremod/components/action/mmi.dm 13](git.png)
The message to send to the MMI in the shell.
north ![code/modules/wiremod/components/action/mmi.dm 20](git.png)
Called when the MMI tries moving north
secondary_attack ![code/modules/wiremod/components/action/mmi.dm 33](git.png)
Called when the MMI right clicks.
send ![code/modules/wiremod/components/action/mmi.dm 15](git.png)
Sends the current MMI a message
south ![code/modules/wiremod/components/action/mmi.dm 24](git.png)
Called when the MMI tries moving south
west ![code/modules/wiremod/components/action/mmi.dm 26](git.png)
Called when the MMI tries moving west