Moved login.lua to root and updated README
This commit is contained in:
13
README.md
13
README.md
@ -19,15 +19,20 @@ 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 in this directory:
|
||||
The command-line version is in the `modpol` subdirectory. To run the program on Unix systems in CLI mode, install lua or luajit and execute the following in this directory:
|
||||
|
||||
```
|
||||
$ cd modpol/interactions/
|
||||
$ lua [or luajit]
|
||||
$ lua[jit] login.lua
|
||||
```
|
||||
|
||||
You can also interact with the interpreter by starting it this way:
|
||||
|
||||
```
|
||||
$ lua[jit]
|
||||
> dofile("login.lua")
|
||||
```
|
||||
|
||||
For a list of global functions and tables, use `modpol.menu()`.
|
||||
In the interpreter, for a list of global functions and tables, use `modpol.menu()`.
|
||||
|
||||
## Storage
|
||||
|
||||
|
Reference in New Issue
Block a user