CLI interactions updated for modules-as-actions

This commit is contained in:
Nathan Schneider
2021-12-16 15:07:26 -07:00
parent fa7a0f82f6
commit 28e2710efc
3 changed files with 45 additions and 50 deletions

View File

@ -19,12 +19,12 @@ In the game, open the Modular Politics interface with the command `/modpol`.
Modular Politics can also be used independently of Minetest as a command-line tool. Currently command-line use of modpol requires a Unix-style system, but it is intended to become more fully platform independent.
The command-line version is in the `modpol` subdirectory. To interact with the interpreter on Unix systems in CLI mode, install lua or luajit and execute the following command in this directory:
The command-line version is in the `modpol` subdirectory. To interact with the interpreter on Unix systems in CLI mode, install lua or luajit and execute the following in this directory:
```
$ cd modpol/
$ cd modpol/interacctions/
$ lua [or luajit]
> dofile("modpol.lua")
> dofile("login.lua")
```
For a list of global functions and tables, use `modpol.menu()`.
@ -45,6 +45,7 @@ Other contributors include:
* [Luke Miller](https://gitlab.com/lukvmil) (main control flow, object orientation, module spec)
* [MisterE](https://gitlab.com/gbrrudmin) (project refactoring, core feature development)
* Robert Kiraly [[OldCoder](https://github.com/oldcoder/)] (ocutils.lua, storage-local.lua, project refactoring)
* Skylar Hew (documentation)
We'd love to welcome more contributors, particularly from the Minetest community! Please join the conversation in the [Issues](https://gitlab.com/medlabboulder/modpol/-/issues) or the [Minetest.net forum](https://forum.minetest.net/viewtopic.php?f=47&t=26037).