68 Commits

Author SHA1 Message Date
Nathan Schneider
87bd3ecc89 Adding org_dashboard (but not yet tested) 2021-04-21 22:43:48 -06:00
Nathan Schneider
6073732e6c Set up dropdowns in dashboard 2021-04-18 17:27:35 -06:00
Nathan Schneider
486d310f52 Began creating complex interactions in Minetest with _context 2021-04-17 23:37:56 -06:00
Nathan Schneider
55c3ee9f46 Added basic modpol.interactions.message 2021-04-17 21:46:14 -06:00
Nathan Schneider
9f65e2bdd3 Changed modpol.orgs.list_all to return table not string 2021-04-17 09:50:18 -06:00
Nathan Schneider
a6cd6ebcfe Began dashboard formspec in Minetest 2021-04-17 09:40:23 -06:00
Luke Miller
70b1c4d7d2 bug fix 2021-04-15 00:30:55 -04:00
Luke Miller
8e190baa75 updated chat command to support new oo standard 2021-04-15 00:21:56 -04:00
Nathan Schneider
74ecba940a Turned 'menu' command into 'dashboard' 2021-04-11 22:24:47 -06:00
Luke Miller
cd8770eb98 updated chat commands to be structured the same without duplicates/respellings 2021-03-28 16:26:14 -04:00
Nathan Schneider
1b770a987b Various bugfixes on orgs and minetest chatcommands 2021-03-15 18:08:06 -06:00
3b31dffe67 Made command_list a table 2021-03-15 19:28:05 +00:00
f255a057e5 changed minetest chat function regchat to create command_list table 2021-03-15 19:26:16 +00:00
Nathan Schneider
ac6bae3f85 Added modpol.menu() functions modpol and modpol_minetest. Not sure if latter works. 2021-03-14 22:51:53 -06:00
MisterE123
419fc84822 change orgs to use id numbers as their table key and function input param 2021-03-08 14:06:15 -05:00
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