Renamed modpol/modpol directory to modpol_core for clarity and consistency
This commit is contained in:
		
							
								
								
									
										10
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								README.md
									
									
									
									
									
								
							| @@ -1,8 +1,6 @@ | |||||||
| # Modular Politics Prototype for Minetest | # 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 | 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. | ||||||
| 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.  | 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 | ## 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`. | 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 | ## 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 | ## Credits | ||||||
|   | |||||||
							
								
								
									
										2
									
								
								init.lua
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								init.lua
									
									
									
									
									
								
							| @@ -34,7 +34,7 @@ modpol.storage_file_path = minetest.get_modpath("modpol").."/modpol_minetest/sto | |||||||
| -- =================================================================== | -- =================================================================== | ||||||
| -- Load modpol system | -- Load modpol system | ||||||
|  |  | ||||||
| dofile(minetest.get_modpath("modpol") .. "/modpol/modpol.lua") | dofile(minetest.get_modpath("modpol") .. "/modpol_core/modpol.lua") | ||||||
|  |  | ||||||
|  |  | ||||||
| -- =================================================================== | -- =================================================================== | ||||||
|   | |||||||
| @@ -1,4 +1,4 @@ | |||||||
| dofile("modpol/modpol.lua") | dofile("modpol_core/modpol.lua") | ||||||
|  |  | ||||||
| print("Log in as which user?") | print("Log in as which user?") | ||||||
| local username = io.read() | local username = io.read() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user