15 Commits

Author SHA1 Message Date
Ekdohibs
d80181f86a Add trigger = 1 group to all nodes that can send triggers or untriggers. 2017-09-10 21:45:41 +02:00
Auke Kok
47b8ebff8c Try and guard against terminal delete & rewrite bugs.
Always make sure the parse_json() nil is caught.
2017-09-03 23:43:16 -07:00
Auke Kok
70f069f1eb nil check for files in the terminal write code. 2017-09-02 23:58:03 -07:00
Auke Kok
003cc38c21 Sounds: move them into sounds mod, add electric humm for mech.
Most of the active mech nodes now make the humming sound, which
is very low key but still audible.
2017-03-28 21:35:24 -07:00
Auke Kok
5743835081 Add "try help" after syntax error. 2017-03-22 20:58:20 -07:00
Auke Kok
6e0bead595 Prevent terminal from locking if no write access. 2017-03-22 20:54:36 -07:00
Auke Kok
3cacb18596 Locked terminals can't send triggers. 2017-02-24 12:03:45 -08:00
Auke Kok
3fea5bdfc5 Terminal sounds.
- power on/off. Also heard when locking and unlocking.
- keyboard clicks, several samples play when tying commands.
2017-02-23 11:23:28 -08:00
Auke Kok
3398247039 Opening a terminal sends a signal. 2017-02-22 23:21:45 -08:00
Auke Kok
bbac6ab47d Forgot to rename one context. 2017-02-20 11:32:38 -08:00
Auke Kok
b8df93c540 Fix shadowing luacheck warnings. 2017-02-19 21:26:07 -08:00
Auke Kok
18ac41f5f1 Small fix for rw terminal access. 2017-02-19 17:49:12 -08:00
Auke Kok
a7f00b8b41 Check for rw/ro access where needed.
Prevents write access to box players. Only server privs
allow editing boxes outside boxes.
2017-02-19 11:38:27 -08:00
Auke Kok
59b90ff23d Fully functional terminal.
- read/write/append text files
- list files, remove files
- lock and unlock terminal with mech triggers
2017-02-18 23:33:17 -08:00
Auke Kok
38a1f4e904 Proto terminal interface.
Still doesn't do much yet, but the terminal code is somewhat
working. Need to limit output to ~16-18 lines. Implement locking
with triggers unlocking, input of text files, file/folder structure?
2017-02-18 00:14:20 -08:00