From a4543b44fe9e5d30b468767d5703991121bd072f Mon Sep 17 00:00:00 2001 From: Cooldude2606 Date: Wed, 29 May 2019 22:31:23 +0100 Subject: [PATCH] Altered expcore to have different module names --- doc/index.html | 18 +-- doc/modules/config._file_loader.html | 10 +- doc/modules/config.action_buttons.html | 10 +- doc/modules/config.advanced_start.html | 10 +- doc/modules/config.death_logger.html | 10 +- .../config.expcore-commands.auth_admin.html | 10 +- .../config.expcore-commands.auth_roles.html | 10 +- ...expcore-commands.auth_runtime_disable.html | 10 +- ...config.expcore-commands.parse_general.html | 10 +- .../config.expcore-commands.parse_roles.html | 10 +- doc/modules/config.permission_groups.html | 10 +- doc/modules/config.popup_messages.html | 10 +- doc/modules/config.rockets.html | 10 +- doc/modules/config.roles.html | 10 +- doc/modules/config.scorched_earth.html | 10 +- doc/modules/config.spawn_area.html | 10 +- doc/modules/config.warnings.html | 10 +- doc/modules/control.html | 10 +- doc/modules/expcore.commands.html | 123 ++++++++++++++ .../{Common.html => expcore.common.html} | 150 +++++++++--------- doc/modules/expcore.gui.buttons.html | 10 +- doc/modules/expcore.gui.center.html | 10 +- doc/modules/expcore.gui.checkboxs.html | 10 +- doc/modules/expcore.gui.core.html | 10 +- doc/modules/expcore.gui.dropdown.html | 10 +- doc/modules/expcore.gui.elem-button.html | 10 +- doc/modules/expcore.gui.html | 10 +- doc/modules/expcore.gui.instances.html | 10 +- doc/modules/expcore.gui.left.html | 10 +- doc/modules/expcore.gui.popups.html | 10 +- doc/modules/expcore.gui.progress-bar.html | 10 +- doc/modules/expcore.gui.slider.html | 10 +- doc/modules/expcore.gui.test.html | 10 +- doc/modules/expcore.gui.text.html | 10 +- doc/modules/expcore.gui.toolbar.html | 10 +- ...ps.html => expcore.permission_groups.html} | 48 +++--- .../{Commands.html => expcore.roles.html} | 12 +- doc/modules/expcore.store.html | 10 +- .../modules.addons.advanced-start.html | 10 +- doc/modules/modules.addons.chat-popups.html | 10 +- doc/modules/modules.addons.damage-popups.html | 10 +- doc/modules/modules.gui.player-list.html | 10 +- doc/modules/modules.gui.rocket-info.html | 10 +- doc/modules/modules.gui.science-info.html | 10 +- doc/modules/modules.gui.task-list.html | 10 +- .../utils.alien_evolution_progress.html | 10 +- doc/modules/utils.core.html | 10 +- doc/modules/utils.debug.html | 10 +- doc/modules/utils.event.html | 10 +- doc/modules/utils.event_core.html | 10 +- doc/modules/utils.math.html | 10 +- doc/modules/utils.recipe_locker.html | 10 +- doc/modules/utils.state_machine.html | 10 +- doc/modules/utils.table.html | 10 +- doc/modules/utils.task.html | 10 +- doc/modules/utils.timestamp.html | 10 +- expcore/commands.lua | 1 - expcore/common.lua | 1 - expcore/permission_groups.lua | 1 - expcore/roles.lua | 1 - 60 files changed, 492 insertions(+), 373 deletions(-) create mode 100644 doc/modules/expcore.commands.html rename doc/modules/{Common.html => expcore.common.html} (83%) rename doc/modules/{Permissions_Groups.html => expcore.permission_groups.html} (91%) rename doc/modules/{Commands.html => expcore.roles.html} (99%) diff --git a/doc/index.html b/doc/index.html index 953f2c7e..45c80e3f 100644 --- a/doc/index.html +++ b/doc/index.html @@ -48,8 +48,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -65,8 +65,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -187,11 +187,11 @@ this file is the landing point for all scenarios please DO NOT edit directly, further comments are to aid development - Commands + expcore.commands Factorio command making module that makes commands with better parse and more modularity - Common + expcore.common Adds some commonly used functions used in many modules @@ -273,11 +273,11 @@ [[ - Permissions_Groups + expcore.permission_groups Permission group making for factorio so you never have to make one by hand again - Commands + expcore.roles Factorio role system to manage custom permissions @@ -369,7 +369,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/config._file_loader.html b/doc/modules/config._file_loader.html index 3985ea37..2b4403f7 100644 --- a/doc/modules/config._file_loader.html +++ b/doc/modules/config._file_loader.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -114,7 +114,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/config.action_buttons.html b/doc/modules/config.action_buttons.html index 788fe95c..ae1730dc 100644 --- a/doc/modules/config.action_buttons.html +++ b/doc/modules/config.action_buttons.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -115,7 +115,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/config.advanced_start.html b/doc/modules/config.advanced_start.html index bcff9a39..e1826c7e 100644 --- a/doc/modules/config.advanced_start.html +++ b/doc/modules/config.advanced_start.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -111,7 +111,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/config.death_logger.html b/doc/modules/config.death_logger.html index ce8702b5..98437177 100644 --- a/doc/modules/config.death_logger.html +++ b/doc/modules/config.death_logger.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -113,7 +113,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/config.expcore-commands.auth_admin.html b/doc/modules/config.expcore-commands.auth_admin.html index 4eec3011..3a780c6b 100644 --- a/doc/modules/config.expcore-commands.auth_admin.html +++ b/doc/modules/config.expcore-commands.auth_admin.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -113,7 +113,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/config.expcore-commands.auth_roles.html b/doc/modules/config.expcore-commands.auth_roles.html index 177ae679..328cf7df 100644 --- a/doc/modules/config.expcore-commands.auth_roles.html +++ b/doc/modules/config.expcore-commands.auth_roles.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -111,7 +111,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/config.expcore-commands.auth_runtime_disable.html b/doc/modules/config.expcore-commands.auth_runtime_disable.html index eaf632bf..f8f18960 100644 --- a/doc/modules/config.expcore-commands.auth_runtime_disable.html +++ b/doc/modules/config.expcore-commands.auth_runtime_disable.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -112,7 +112,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/config.expcore-commands.parse_general.html b/doc/modules/config.expcore-commands.parse_general.html index fa9562e3..3b6006bd 100644 --- a/doc/modules/config.expcore-commands.parse_general.html +++ b/doc/modules/config.expcore-commands.parse_general.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -115,7 +115,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/config.expcore-commands.parse_roles.html b/doc/modules/config.expcore-commands.parse_roles.html index 54625aba..45f17c50 100644 --- a/doc/modules/config.expcore-commands.parse_roles.html +++ b/doc/modules/config.expcore-commands.parse_roles.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -111,7 +111,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/config.permission_groups.html b/doc/modules/config.permission_groups.html index cf3a80b0..c9572f7f 100644 --- a/doc/modules/config.permission_groups.html +++ b/doc/modules/config.permission_groups.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -114,7 +114,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/config.popup_messages.html b/doc/modules/config.popup_messages.html index 1a4a411e..93daa302 100644 --- a/doc/modules/config.popup_messages.html +++ b/doc/modules/config.popup_messages.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -111,7 +111,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/config.rockets.html b/doc/modules/config.rockets.html index 27876b0a..93c35073 100644 --- a/doc/modules/config.rockets.html +++ b/doc/modules/config.rockets.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -158,7 +158,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/config.roles.html b/doc/modules/config.roles.html index b94be117..62b973ec 100644 --- a/doc/modules/config.roles.html +++ b/doc/modules/config.roles.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -111,7 +111,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/config.scorched_earth.html b/doc/modules/config.scorched_earth.html index 82f1e1fd..22741e11 100644 --- a/doc/modules/config.scorched_earth.html +++ b/doc/modules/config.scorched_earth.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -111,7 +111,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/config.spawn_area.html b/doc/modules/config.spawn_area.html index a3d8fa33..e25138fb 100644 --- a/doc/modules/config.spawn_area.html +++ b/doc/modules/config.spawn_area.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -111,7 +111,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/config.warnings.html b/doc/modules/config.warnings.html index afa96974..d087da36 100644 --- a/doc/modules/config.warnings.html +++ b/doc/modules/config.warnings.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -111,7 +111,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/control.html b/doc/modules/control.html index 0151cfeb..73a8a5b4 100644 --- a/doc/modules/control.html +++ b/doc/modules/control.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -114,7 +114,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.commands.html b/doc/modules/expcore.commands.html new file mode 100644 index 00000000..a41d8db7 --- /dev/null +++ b/doc/modules/expcore.commands.html @@ -0,0 +1,123 @@ + + + + + Reference + + + + +
    + +
    + +
    +
    +
    + + + +
    +generated by LDoc 1.4.3 +Last updated 2019-05-29 22:30:49 +
    +
    + + diff --git a/doc/modules/Common.html b/doc/modules/expcore.common.html similarity index 83% rename from doc/modules/Common.html rename to doc/modules/expcore.common.html index 346c867c..83fc1ed4 100644 --- a/doc/modules/Common.html +++ b/doc/modules/expcore.common.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -99,7 +99,7 @@
    -

    Module Common

    +

    Module expcore.common

    Adds some commonly used functions used in many modules

    [[

    @@ -112,35 +112,35 @@

    Functions

    - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - + - +
    type_check (value[, test_type=nil])Common.type_check (value[, test_type=nil]) Compare types faster for faster validation of params
    type_check_error (value, test_type, error_message, level)Common.type_check_error (value, test_type, error_message, level) Raises an error if the value is of the wrong type
    param_check (value, test_type, param_name, param_number)Common.param_check (value, test_type, param_name, param_number) Raises an error when the value is the incorrect type, uses a consistent error message format
    player_return (value[, colour=defines.colour.white[, player=game.player]])Common.player_return (value[, colour=defines.colour.white[, player=game.player]]) Will return a value of any type to the player/server console, allows colour for in-game players
    write_json (path, tbl)Common.write_json (path, tbl) Writes a table object to a file in json format
    opt_require (path)Common.opt_require (path) Calls a require that will not error if the file is not found
    ext_require (path, ...)Common.ext_require (path, ...) Calls a require and returns only the keys given, file must return a table
    format_time (ticks, options)Common.format_time (ticks, options) Formats tick into a clean format, denominations from highest to lowest long will use words rather than letters time will use : separates @@ -148,64 +148,64 @@ when a denomination is false it will overflow into the next one
    move_items (items[, surface=navies[, position={0[, radius=32[, chest_type=iron-chest]]]])Common.move_items (items[, surface=navies[, position={0[, radius=32[, chest_type=iron-chest]]]]) Moves items to the position and stores them in the closest entity of the type given
    print_grid_value (value, surface, position, scale, offset, immutable)Common.print_grid_value (value, surface, position, scale, offset, immutable) https://github.com/Refactorio/RedMew/blob/9184b2940f311d8c9c891e83429fc57ec7e0c4a2/map_gen/maps/diggy/debug.lua#L31 Prints a colored value on a location.
    print_colored_grid_value (value, surface, position, offset, immutable, color_value, base_color, delta_color, under_bound, over_bound)Common.print_colored_grid_value (value, surface, position, offset, immutable, color_value, base_color, delta_color, under_bound, over_bound) Prints a colored value on a location.
    clear_flying_text (surface)Common.clear_flying_text (surface) Clears all flying text entites on a surface
    string_contains (s, contains)Common.string_contains (s, contains) Tests if a string contains a given substring.
    extract_keys (tbl, ...)Common.extract_keys (tbl, ...) Extracts certain keys from a table
    enum (tbl)Common.enum (tbl) Converts a table to an enum
    auto_complete (options, input[, use_key=false[, rtn_key=false]])Common.auto_complete (options, input[, use_key=false[, rtn_key=false]]) Returns the closest match to the input
    table_keys (tbl)Common.table_keys (tbl) Returns all the keys of a table
    table_values (tbl)Common.table_values (tbl) Returns all the values of a table
    table_alphanumsort (tbl)Common.table_alphanumsort (tbl) Returns the list is a sorted way that would be expected by people (this is by key)
    table_keysort (tbl)Common.table_keysort (tbl) Returns the list is a sorted way that would be expected by people (this is by key) (faster alterative than above)
    format_chat_colour (message, color)Common.format_chat_colour (message, color) Returns a message with valid chat tags to change its colour
    format_chat_colour_localized (message, color)Common.format_chat_colour_localized (message, color) Returns a message with valid chat tags to change its colour, using localization
    format_chat_player_name (player[, raw_string=false])Common.format_chat_player_name (player[, raw_string=false]) Returns the players name in the players color
    @@ -218,8 +218,8 @@
    - - type_check (value[, test_type=nil]) + + Common.type_check (value[, test_type=nil])
    Compare types faster for faster validation of params @@ -255,8 +255,8 @@
    - - type_check_error (value, test_type, error_message, level) + + Common.type_check_error (value, test_type, error_message, level)
    Raises an error if the value is of the wrong type @@ -298,8 +298,8 @@
    - - param_check (value, test_type, param_name, param_number) + + Common.param_check (value, test_type, param_name, param_number)
    Raises an error when the value is the incorrect type, uses a consistent error message format @@ -341,8 +341,8 @@
    - - player_return (value[, colour=defines.colour.white[, player=game.player]]) + + Common.player_return (value[, colour=defines.colour.white[, player=game.player]])
    Will return a value of any type to the player/server console, allows colour for in-game players @@ -377,8 +377,8 @@
    - - write_json (path, tbl) + + Common.write_json (path, tbl)
    Writes a table object to a file in json format @@ -402,8 +402,8 @@
    - - opt_require (path) + + Common.opt_require (path)
    Calls a require that will not error if the file is not found @@ -432,8 +432,8 @@
    - - ext_require (path, ...) + + Common.ext_require (path, ...)
    Calls a require and returns only the keys given, file must return a table @@ -466,8 +466,8 @@
    - - format_time (ticks, options) + + Common.format_time (ticks, options)
    Formats tick into a clean format, denominations from highest to lowest @@ -501,8 +501,8 @@
    - - move_items (items[, surface=navies[, position={0[, radius=32[, chest_type=iron-chest]]]]) + + Common.move_items (items[, surface=navies[, position={0[, radius=32[, chest_type=iron-chest]]]])
    Moves items to the position and stores them in the closest entity of the type given @@ -542,8 +542,8 @@
    - - print_grid_value (value, surface, position, scale, offset, immutable) + + Common.print_grid_value (value, surface, position, scale, offset, immutable)
    https://github.com/Refactorio/RedMew/blob/9184b2940f311d8c9c891e83429fc57ec7e0c4a2/map_gen/maps/diggy/debug.lua#L31 @@ -578,8 +578,8 @@
    - - print_colored_grid_value (value, surface, position, offset, immutable, color_value, base_color, delta_color, under_bound, over_bound) + + Common.print_colored_grid_value (value, surface, position, offset, immutable, color_value, base_color, delta_color, under_bound, over_bound)
    Prints a colored value on a location. When given a color_value and a delta_color, @@ -628,8 +628,8 @@
    - - clear_flying_text (surface) + + Common.clear_flying_text (surface)
    Clears all flying text entites on a surface @@ -649,8 +649,8 @@
    - - string_contains (s, contains) + + Common.string_contains (s, contains)
    Tests if a string contains a given substring. @@ -680,8 +680,8 @@
    - - extract_keys (tbl, ...) + + Common.extract_keys (tbl, ...)
    Extracts certain keys from a table @@ -714,8 +714,8 @@
    - - enum (tbl) + + Common.enum (tbl)
    Converts a table to an enum @@ -741,8 +741,8 @@
    - - auto_complete (options, input[, use_key=false[, rtn_key=false]]) + + Common.auto_complete (options, input[, use_key=false[, rtn_key=false]])
    Returns the closest match to the input @@ -781,8 +781,8 @@
    - - table_keys (tbl) + + Common.table_keys (tbl)
    Returns all the keys of a table @@ -808,8 +808,8 @@
    - - table_values (tbl) + + Common.table_values (tbl)
    Returns all the values of a table @@ -835,8 +835,8 @@
    - - table_alphanumsort (tbl) + + Common.table_alphanumsort (tbl)
    Returns the list is a sorted way that would be expected by people (this is by key) @@ -862,8 +862,8 @@
    - - table_keysort (tbl) + + Common.table_keysort (tbl)
    Returns the list is a sorted way that would be expected by people (this is by key) (faster alterative than above) @@ -889,8 +889,8 @@
    - - format_chat_colour (message, color) + + Common.format_chat_colour (message, color)
    Returns a message with valid chat tags to change its colour @@ -920,8 +920,8 @@
    - - format_chat_colour_localized (message, color) + + Common.format_chat_colour_localized (message, color)
    Returns a message with valid chat tags to change its colour, using localization @@ -951,8 +951,8 @@
    - - format_chat_player_name (player[, raw_string=false]) + + Common.format_chat_player_name (player[, raw_string=false])
    Returns the players name in the players color @@ -989,7 +989,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.gui.buttons.html b/doc/modules/expcore.gui.buttons.html index 94f7a01b..db445924 100644 --- a/doc/modules/expcore.gui.buttons.html +++ b/doc/modules/expcore.gui.buttons.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -268,7 +268,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.gui.center.html b/doc/modules/expcore.gui.center.html index b0c22903..4aa127e1 100644 --- a/doc/modules/expcore.gui.center.html +++ b/doc/modules/expcore.gui.center.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -465,7 +465,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.gui.checkboxs.html b/doc/modules/expcore.gui.checkboxs.html index d5c08478..12c17dd4 100644 --- a/doc/modules/expcore.gui.checkboxs.html +++ b/doc/modules/expcore.gui.checkboxs.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -407,7 +407,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.gui.core.html b/doc/modules/expcore.gui.core.html index 9b26c60f..523bda7b 100644 --- a/doc/modules/expcore.gui.core.html +++ b/doc/modules/expcore.gui.core.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -114,7 +114,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.gui.dropdown.html b/doc/modules/expcore.gui.dropdown.html index f796fef3..8f7b876d 100644 --- a/doc/modules/expcore.gui.dropdown.html +++ b/doc/modules/expcore.gui.dropdown.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -359,7 +359,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.gui.elem-button.html b/doc/modules/expcore.gui.elem-button.html index 78fcaedf..8bc3eb4c 100644 --- a/doc/modules/expcore.gui.elem-button.html +++ b/doc/modules/expcore.gui.elem-button.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -217,7 +217,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.gui.html b/doc/modules/expcore.gui.html index 529f0c66..810d6e38 100644 --- a/doc/modules/expcore.gui.html +++ b/doc/modules/expcore.gui.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -112,7 +112,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.gui.instances.html b/doc/modules/expcore.gui.instances.html index 68442e01..b379c6a8 100644 --- a/doc/modules/expcore.gui.instances.html +++ b/doc/modules/expcore.gui.instances.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -112,7 +112,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.gui.left.html b/doc/modules/expcore.gui.left.html index 12eada3e..b49d8a7b 100644 --- a/doc/modules/expcore.gui.left.html +++ b/doc/modules/expcore.gui.left.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -566,7 +566,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.gui.popups.html b/doc/modules/expcore.gui.popups.html index 15afc4c7..25d85846 100644 --- a/doc/modules/expcore.gui.popups.html +++ b/doc/modules/expcore.gui.popups.html @@ -56,8 +56,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -73,8 +73,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -345,7 +345,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.gui.progress-bar.html b/doc/modules/expcore.gui.progress-bar.html index 58889949..06f0c8f3 100644 --- a/doc/modules/expcore.gui.progress-bar.html +++ b/doc/modules/expcore.gui.progress-bar.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -550,7 +550,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.gui.slider.html b/doc/modules/expcore.gui.slider.html index bcf7524f..be824dd5 100644 --- a/doc/modules/expcore.gui.slider.html +++ b/doc/modules/expcore.gui.slider.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -281,7 +281,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.gui.test.html b/doc/modules/expcore.gui.test.html index 014cefb2..be35af41 100644 --- a/doc/modules/expcore.gui.test.html +++ b/doc/modules/expcore.gui.test.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -113,7 +113,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.gui.text.html b/doc/modules/expcore.gui.text.html index f34a17e8..27709f0f 100644 --- a/doc/modules/expcore.gui.text.html +++ b/doc/modules/expcore.gui.text.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -283,7 +283,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.gui.toolbar.html b/doc/modules/expcore.gui.toolbar.html index 1c578bb1..663424de 100644 --- a/doc/modules/expcore.gui.toolbar.html +++ b/doc/modules/expcore.gui.toolbar.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -205,7 +205,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/Permissions_Groups.html b/doc/modules/expcore.permission_groups.html similarity index 91% rename from doc/modules/Permissions_Groups.html rename to doc/modules/expcore.permission_groups.html index 33aafbb1..33781f3f 100644 --- a/doc/modules/Permissions_Groups.html +++ b/doc/modules/expcore.permission_groups.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -99,7 +99,7 @@
    -

    Module Permissions_Groups

    +

    Module expcore.permission_groups

    Permission group making for factorio so you never have to make one by hand again

    [[

    @@ -112,27 +112,27 @@

    Functions

    - + - + - + - + - + - + @@ -193,8 +193,8 @@
    - - new_group (name) + + Permissions_Groups.new_group (name)
    Defines a new permission group that can have it actions set in the config @@ -220,8 +220,8 @@
    - - get_group_by_name (name) + + Permissions_Groups.get_group_by_name (name)
    Returns the group with the given name, case sensitive @@ -247,8 +247,8 @@
    - - get_group_from_player (player) + + Permissions_Groups.get_group_from_player (player)
    Returns the group that a player is in @@ -274,8 +274,8 @@
    - - reload_permissions () + + Permissions_Groups.reload_permissions ()
    Reloads/creates all permission groups and sets them to they configured state @@ -288,8 +288,8 @@
    - - lockdown_permissions (exempt) + + Permissions_Groups.lockdown_permissions (exempt)
    Removes all permissions from every permission group except for "Default" and any passed as exempt @@ -315,8 +315,8 @@
    - - set_player_group (player, group) + + Permissions_Groups.set_player_group (player, group)
    Sets a player's group to the one given, a player can only have one group at a time @@ -653,7 +653,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/Commands.html b/doc/modules/expcore.roles.html similarity index 99% rename from doc/modules/Commands.html rename to doc/modules/expcore.roles.html index 5f570a52..493741d1 100644 --- a/doc/modules/Commands.html +++ b/doc/modules/expcore.roles.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -99,7 +99,7 @@
    -

    Module Commands

    +

    Module expcore.roles

    Factorio role system to manage custom permissions

    [[

    @@ -1300,7 +1300,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/expcore.store.html b/doc/modules/expcore.store.html index d5aa81cc..57e11bed 100644 --- a/doc/modules/expcore.store.html +++ b/doc/modules/expcore.store.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -457,7 +457,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/modules.addons.advanced-start.html b/doc/modules/modules.addons.advanced-start.html index b619211a..771f4611 100644 --- a/doc/modules/modules.addons.advanced-start.html +++ b/doc/modules/modules.addons.advanced-start.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -111,7 +111,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/modules.addons.chat-popups.html b/doc/modules/modules.addons.chat-popups.html index 3d6e6856..b7f53d32 100644 --- a/doc/modules/modules.addons.chat-popups.html +++ b/doc/modules/modules.addons.chat-popups.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -112,7 +112,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/modules.addons.damage-popups.html b/doc/modules/modules.addons.damage-popups.html index 307f5a0a..7789ebd5 100644 --- a/doc/modules/modules.addons.damage-popups.html +++ b/doc/modules/modules.addons.damage-popups.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -112,7 +112,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/modules.gui.player-list.html b/doc/modules/modules.gui.player-list.html index 39274a18..7fc8957c 100644 --- a/doc/modules/modules.gui.player-list.html +++ b/doc/modules/modules.gui.player-list.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -111,7 +111,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/modules.gui.rocket-info.html b/doc/modules/modules.gui.rocket-info.html index 182cdfd7..310b86a0 100644 --- a/doc/modules/modules.gui.rocket-info.html +++ b/doc/modules/modules.gui.rocket-info.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -111,7 +111,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/modules.gui.science-info.html b/doc/modules/modules.gui.science-info.html index 5dea5ee0..8df96f38 100644 --- a/doc/modules/modules.gui.science-info.html +++ b/doc/modules/modules.gui.science-info.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -111,7 +111,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/modules.gui.task-list.html b/doc/modules/modules.gui.task-list.html index bb085dff..a14412da 100644 --- a/doc/modules/modules.gui.task-list.html +++ b/doc/modules/modules.gui.task-list.html @@ -51,8 +51,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -68,8 +68,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -111,7 +111,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/utils.alien_evolution_progress.html b/doc/modules/utils.alien_evolution_progress.html index 8395e327..a26633ee 100644 --- a/doc/modules/utils.alien_evolution_progress.html +++ b/doc/modules/utils.alien_evolution_progress.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -151,7 +151,7 @@ fraction will decide a chance to spawn. 1 alien for 2 spawners will have 50% on
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/utils.core.html b/doc/modules/utils.core.html index 0f39df00..41b857d2 100644 --- a/doc/modules/utils.core.html +++ b/doc/modules/utils.core.html @@ -56,8 +56,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -73,8 +73,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -445,7 +445,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/utils.debug.html b/doc/modules/utils.debug.html index d52a38b5..2c4eb4aa 100644 --- a/doc/modules/utils.debug.html +++ b/doc/modules/utils.debug.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -299,7 +299,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/utils.event.html b/doc/modules/utils.event.html index 708f0421..2a9f5538 100644 --- a/doc/modules/utils.event.html +++ b/doc/modules/utils.event.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -561,7 +561,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/utils.event_core.html b/doc/modules/utils.event_core.html index 2358f09f..c0f45322 100644 --- a/doc/modules/utils.event_core.html +++ b/doc/modules/utils.event_core.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -197,7 +197,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/utils.math.html b/doc/modules/utils.math.html index 8d5bff64..2760964b 100644 --- a/doc/modules/utils.math.html +++ b/doc/modules/utils.math.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -154,7 +154,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/utils.recipe_locker.html b/doc/modules/utils.recipe_locker.html index e1457859..756989d6 100644 --- a/doc/modules/utils.recipe_locker.html +++ b/doc/modules/utils.recipe_locker.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -148,7 +148,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/utils.state_machine.html b/doc/modules/utils.state_machine.html index 55295f83..69b4697f 100644 --- a/doc/modules/utils.state_machine.html +++ b/doc/modules/utils.state_machine.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -309,7 +309,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/utils.table.html b/doc/modules/utils.table.html index c7621cea..cfe0c528 100644 --- a/doc/modules/utils.table.html +++ b/doc/modules/utils.table.html @@ -56,8 +56,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -73,8 +73,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -576,7 +576,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/utils.task.html b/doc/modules/utils.task.html index cc0fe691..fa44cb8b 100644 --- a/doc/modules/utils.task.html +++ b/doc/modules/utils.task.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -188,7 +188,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/doc/modules/utils.timestamp.html b/doc/modules/utils.timestamp.html index 84b2893a..e2b2a781 100644 --- a/doc/modules/utils.timestamp.html +++ b/doc/modules/utils.timestamp.html @@ -55,8 +55,8 @@
  • config.spawn_area
  • config.warnings
  • control
  • -
  • Commands
  • -
  • Common
  • +
  • expcore.commands
  • +
  • expcore.common
  • expcore.gui
  • expcore.gui.buttons
  • expcore.gui.center
  • @@ -72,8 +72,8 @@
  • expcore.gui.test
  • expcore.gui.text
  • expcore.gui.toolbar
  • -
  • Permissions_Groups
  • -
  • Commands
  • +
  • expcore.permission_groups
  • +
  • expcore.roles
  • expcore.store
  • modules.addons.advanced-start
  • modules.addons.chat-popups
  • @@ -210,7 +210,7 @@
    generated by LDoc 1.4.3 -Last updated 2019-05-29 22:26:12 +Last updated 2019-05-29 22:30:49
    diff --git a/expcore/commands.lua b/expcore/commands.lua index c27bea4a..feb40942 100644 --- a/expcore/commands.lua +++ b/expcore/commands.lua @@ -1,6 +1,5 @@ --- Factorio command making module that makes commands with better parse and more modularity -- @author Cooldude2606 --- @module Commands --[[ >>>>Example Authenticator: The command system is most useful when you can control who can use commands; to do this would would need to diff --git a/expcore/common.lua b/expcore/common.lua index b640a9ca..40c1aa30 100644 --- a/expcore/common.lua +++ b/expcore/common.lua @@ -1,6 +1,5 @@ --- Adds some commonly used functions used in many modules -- @author cooldude2606 --- @module Common --[[ >>>>Functions List (see function for more detail): Common.type_check(value,test_type) --- Compare types faster for faster validation of prams diff --git a/expcore/permission_groups.lua b/expcore/permission_groups.lua index a87f3b18..2d667db9 100644 --- a/expcore/permission_groups.lua +++ b/expcore/permission_groups.lua @@ -1,6 +1,5 @@ --- Permission group making for factorio so you never have to make one by hand again -- @author Cooldude2606 --- @module Permissions_Groups --[[ >>>>Example Group (Allow All) diff --git a/expcore/roles.lua b/expcore/roles.lua index 9dddcbb4..8737fbde 100644 --- a/expcore/roles.lua +++ b/expcore/roles.lua @@ -1,6 +1,5 @@ --- Factorio role system to manage custom permissions -- @author Cooldude2606 --- @module Commands --[[ >>>>Using Role System (Frontend): When a map first starts you will want to define on mass all the players you expect to join and the roles to give them:
    new_group (name)Permissions_Groups.new_group (name) Defines a new permission group that can have it actions set in the config
    get_group_by_name (name)Permissions_Groups.get_group_by_name (name) Returns the group with the given name, case sensitive
    get_group_from_player (player)Permissions_Groups.get_group_from_player (player) Returns the group that a player is in
    reload_permissions ()Permissions_Groups.reload_permissions () Reloads/creates all permission groups and sets them to they configured state
    lockdown_permissions (exempt)Permissions_Groups.lockdown_permissions (exempt) Removes all permissions from every permission group except for "Default" and any passed as exempt
    set_player_group (player, group)Permissions_Groups.set_player_group (player, group) Sets a player's group to the one given, a player can only have one group at a time