3 Commits

Author SHA1 Message Date
MisterE123
d646a4a8dd rework orgs. Add various properties to orgs. Make all org functions return success boolean as well as error/success string message. 2021-03-01 19:11:20 -05:00
MisterE123
dc12ec50a9 Change file structures so that the interior modpol folder IS the portable modpol.
Added documentation of how to pre-define the modpath and the storage file.
2021-02-11 16:39:51 -05:00
MisterE123
f19796f82d *Reorganized code so that further expansion is possible in a very organized manner.
*modpol.add_member() -- added a check if the member is already a member of that organized

*storage -- fixed bug by moving storageref to top of file

*added on_joinplayer to add players to instance

*moved minetest specific code in init.lua to modpol_minetest, organized in folders.
All overrides in one folder, all chatcommands in another, the on_joinplayer in modpol_minetest/orgs/instance.lua
2021-02-10 23:40:28 -05:00