Description
=============================================================
This mod privides realistics laptops, which can be closed, opened and used : It is possible to type commands that the computer execute. Type help (and enter) to see all commands on a laptop. All commands are now available.
Screenshots
License
=============================================================
This mod is distributed under GNU GPL v2
Download
=============================================================
Download is at GitHub : https://github.com/jimy-byerley/minetest-computers
last release:
commands 'gps' and 'com' are available, see builtin help or commands section to see how to use it.
depends:
technology (an other mod from jimy-byerley)
Crafting
=============================================================
buttons, modern screens, electronic cards are from technology
keyboard :
button button button
button button button
button button button
laptop :
modern screen
electronic card
keyboard
Commands
==============================================================
Laptops commands are insipired of Unix commands. Commands arguments are following the Unix/Linux convention :
[COMMAND_NAME_WITH_NO_SPACES] [OPTIONS (like '-o' or '-p' ...)] [PARAMETERS]
The command name is an alphanumeric with no '-' characters string.
Each option is a '-' character and a single alphanumeric character. It is possible to specifie an unlimited number of options.
A parameter is everythink you want, a number, a list, ...
Available commands:
help
'help' :::::::::::::::::::::::::::::::::::::: get all available commands
'help COMMAND' ::::::::::::::: get usage of a single specified command COMMAND
time
'time' ::::::::::::: get the current day time (from 0 to 24)
gps
'gps -l' :::::::::::::::::::::::: get the current location (coordinates) of the computer. For modders, altitude is 'y', latitude is 'x', longitude is 'z'
'gps -c PLAYER' :::::::::: get the current location of the player PLAYER
'gps -d PLAYER' ::::::::::: get the distance beetwin the computer and the player PLAYER (in meters)
'gps -r PLAYER' ::::::::::: get the relative coordinates of the player PLAYER (reference is the computer)
com
'com -c X,Y,Z' ::::::::::::: start chat mode. Two computers (the present and a remote at coordinates X,Y,Z) are connected : type a sentence on one chat it to players near the second.
'com -p PLAYER' :::::::::::: start chat mode. the remote host is one of the computers near the player PLAYER (in a 20m zone above)
restart
'restart' :::::::::: (useful only for modder) reload the os.lua file in minetest (so update commands). It apply to all computers in the minetest world.