Renamed modpol/modpol directory to modpol_core for clarity and consistency

This commit is contained in:
Nathan Schneider 2021-12-18 14:50:41 -07:00
parent bd95fcf811
commit c2852b1bce
32 changed files with 6 additions and 8 deletions

View File

@ -1,8 +1,6 @@
# Modular Politics Prototype for Minetest
This is a mod for [Minetest](https://minetest.net) that enables diverse governance mechanisms. It seeks to implement the [Modular Politics](https://metagov.org/modpol) proposal. In the future, it
will be possible to use this framework to simulate governance in a
number of platform contexts.
This is a mod for [Minetest](https://minetest.net) that enables diverse governance mechanisms. It seeks to implement the [Modular Politics](https://metagov.org/modpol) proposal. In the future, it will be possible to use this framework to simulate governance in a number of platform contexts.
This mod produces an API that can serve as a dependency for other mods that add specific governance functionalities.
@ -10,7 +8,7 @@ For background information and project roadmap, see [the wiki](https://gitlab.co
## Installation in Minetest
To use this in Minetest, simply install it in your mods/ or worldmods/ folder. Minetest will load init.lua.
To use this in Minetest, simply install it in your `mods/` or `worldmods/` folder. Minetest will load `init.lua`.
In the game, open the Modular Politics interface with the command `/modpol`.
@ -36,9 +34,9 @@ In the interpreter, for a list of global functions and tables, use `modpol.menu(
## Storage
By default, a data directory named "data" will be created in this directory. "/data" will contain a log file and serialized program data files.
By default, a data directory named "data" will be created in this directory. `/data` will contain a log file and serialized program data files.
Another storage method may be chosen in modpol.lua. A StorageRef-based method for Minetest 5.* is included: storage-mod_storage.lua.
Another storage method may be chosen in `modpol.lua`. A StorageRef-based method for Minetest 5.* is included: `storage-mod_storage.lua`.
## Credits

View File

@ -34,7 +34,7 @@ modpol.storage_file_path = minetest.get_modpath("modpol").."/modpol_minetest/sto
-- ===================================================================
-- Load modpol system
dofile(minetest.get_modpath("modpol") .. "/modpol/modpol.lua")
dofile(minetest.get_modpath("modpol") .. "/modpol_core/modpol.lua")
-- ===================================================================

View File

@ -1,4 +1,4 @@
dofile("modpol/modpol.lua")
dofile("modpol_core/modpol.lua")
print("Log in as which user?")
local username = io.read()