[Mod] computers [computers] - Realistics laptops

Post Reply
jimy
Member
Posts: 25
Joined: Mon Mar 12, 2012 22:15

[Mod] computers [computers] - Realistics laptops

by jimy » Post

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
Image


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.

design
`design MACHINE_NAME` :::::::::::::::::::: add the plan of the asked machine in the inventory, see the machine_name in the mod that provide the desired machine. For description of what overall plans are see technology
Image
Attachments
computer-gives-plan.png
computer-gives-plan.png (215.98 KiB) Viewed 908 times
computer.png
computer.png (85.28 KiB) Viewed 908 times
Last edited by jimy on Sat Mar 24, 2018 09:45, edited 7 times in total.

User avatar
Desour
Member
Posts: 1469
Joined: Thu Jun 19, 2014 19:49
GitHub: Desour
IRC: Desour
In-game: DS
Location: I'm scared that if this is too exact, I will be unable to use my keyboard.

Re: [mod] computers [jimy byerley] : Realistics lapt

by Desour » Post

Why is there no depends.txt?
he/him; Codeberg; GitHub; ContentDB; public personal TODO list; "DS" is preferred (but often too short)

User avatar
Mcc457
Member
Posts: 84
Joined: Sat Sep 07, 2013 17:53
Location: Earth..nah too usual; Minetest
Contact:

Re: [mod] computers [jimy byerley] : Realistics lapt

by Mcc457 » Post

DS-minetest wrote:Why is there no depends.txt?
I don't think dependencies are necessary

jimy
Member
Posts: 25
Joined: Mon Mar 12, 2012 22:15

Re: [mod] computers [jimy byerley] : Realistics lapt

by jimy » Post

depends.txt was missing, I corrected the error now.

User avatar
Calinou
Moderator
Posts: 3169
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou
Location: Troyes, France
Contact:

Re: [mod] computers [jimy byerley] : Realistics lapt

by Calinou » Post

MediaCrush and LUTIm can host images.

jimy
Member
Posts: 25
Joined: Mon Mar 12, 2012 22:15

Re: [mod] computers [jimy byerley] : Realistics lapt

by jimy » Post

Calinou wrote:MediaCrush and LUTIm can host images.
Thanks, I have screenshots now.

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

Re: [mod] computers [jimy byerley] : Realistics lapt

by Inocudom » Post

viewtopic.php?f=11&t=3830
viewtopic.php?f=9&t=2524
Alas, these two mods have been forgotten. Maybe you can make use of them?

User avatar
webdesigner97
Member
Posts: 1328
Joined: Mon Jul 30, 2012 19:16
GitHub: webD97
IRC: webdesigner97
In-game: webdesigner97
Location: Cologne, Germany
Contact:

Re: [mod] computers [jimy byerley] : Realistics lapt

by webdesigner97 » Post

Inocudom wrote:viewtopic.php?f=11&t=3830
viewtopic.php?f=9&t=2524
Alas, these two mods have been forgotten. Maybe you can make use of them?
I did not forget the first one ;)

jimy
Member
Posts: 25
Joined: Mon Mar 12, 2012 22:15

Re: [mod] computers [jimy byerley] : Realistics lapt

by jimy » Post

Mod updated to support overall plans that provide powerfull stuff in mod technology

Post Reply

Who is online

Users browsing this forum: No registered users and 19 guests