Renames in Store

This commit is contained in:
Cooldude2606
2019-08-23 21:41:43 +01:00
parent 70c60ddb5c
commit 5e1be09b3c
99 changed files with 820 additions and 755 deletions

View File

@@ -39,17 +39,17 @@ return {
'modules.addons.discord-alerts', 'modules.addons.discord-alerts',
'modules.addons.chat-reply', 'modules.addons.chat-reply',
-- GUI -- GUI
'modules.gui.rocket-info', --'modules.gui.rocket-info',
'modules.gui.science-info', --'modules.gui.science-info',
'modules.gui.warp-list', --'modules.gui.warp-list',
'modules.gui.task-list', --'modules.gui.task-list',
'modules.gui.player-list', --'modules.gui.player-list',
'modules.commands.debug', --'modules.commands.debug',
-- Config Files -- Config Files
'config.expcore-commands.auth_admin', -- commands tagged with admin_only are blocked for non admins 'config.expcore-commands.auth_admin', -- commands tagged with admin_only are blocked for non admins
'config.expcore-commands.auth_roles', -- commands must be allowed via the role config 'config.expcore-commands.auth_roles', -- commands must be allowed via the role config
'config.expcore-commands.auth_runtime_disable', -- allows commands to be enabled and disabled during runtime 'config.expcore-commands.auth_runtime_disable', -- allows commands to be enabled and disabled during runtime
'config.permission_groups', -- loads some predefined permission groups 'config.permission_groups', -- loads some predefined permission groups
'config.roles', -- loads some predefined roles 'config.roles', -- loads some predefined roles
'expcore.gui.test' -- loads multiple gui defines to test the gui system --'expcore.gui.test' -- loads multiple gui defines to test the gui system
} }

View File

@@ -348,7 +348,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -349,7 +349,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -376,7 +376,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -585,7 +585,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -349,7 +349,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -404,7 +404,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -460,7 +460,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -404,7 +404,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -320,7 +320,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -404,7 +404,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -376,7 +376,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -388,7 +388,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -500,7 +500,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -361,7 +361,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -388,7 +388,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -365,7 +365,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -360,7 +360,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -404,7 +404,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -458,7 +458,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -416,7 +416,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -611,7 +611,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -389,7 +389,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -360,7 +360,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -388,7 +388,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -321,7 +321,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -585,7 +585,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -557,7 +557,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -389,7 +389,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -443,7 +443,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -484,7 +484,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -569,7 +569,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -1,5 +1,5 @@
file = '../' file = '../'
dir = '../doc' dir = '../docs'
project = 'ExpGaming Scenario' project = 'ExpGaming Scenario'
title = 'ExpGaming Scenario' title = 'ExpGaming Scenario'
description = 'Explosive Gaming\'s server scenario for 0.17' description = 'Explosive Gaming\'s server scenario for 0.17'
@@ -10,8 +10,8 @@ not_luadoc = true
no_lua_ref = true no_lua_ref = true
template_escape = ">" template_escape = ">"
topics = {"../README.md", "../LICENSE"} topics = {"../README.md", "../LICENSE"}
style = '../doc' style = '../docs'
template = '../doc' template = '../docs'
no_space_before_args = true no_space_before_args = true
merge=true merge=true

View File

@@ -506,7 +506,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -237,7 +237,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -485,7 +485,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -294,7 +294,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -320,7 +320,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -442,7 +442,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -354,7 +354,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -338,7 +338,7 @@ see ./expcore/commands.lua for more details</p>
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -354,7 +354,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -416,7 +416,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -237,7 +237,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -240,7 +240,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -295,7 +295,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -812,7 +812,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -384,7 +384,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -414,7 +414,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -324,7 +324,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -414,7 +414,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -834,7 +834,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -292,7 +292,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -354,7 +354,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -388,7 +388,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -744,7 +744,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -384,7 +384,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -355,7 +355,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -684,7 +684,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -1208,7 +1208,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -1329,7 +1329,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -1110,7 +1110,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -984,7 +984,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -1039,7 +1039,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -1465,7 +1465,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -1413,7 +1413,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -1972,7 +1972,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -357,6 +357,10 @@
<td class="name"><a href="#format_chat_player_name">format_chat_player_name(player[, raw_string=false])</a></td> <td class="name"><a href="#format_chat_player_name">format_chat_player_name(player[, raw_string=false])</a></td>
<td class="summary">Returns the players name in the players color</td> <td class="summary">Returns the players name in the players color</td>
</tr> </tr>
<tr>
<td class="name"><a href="#get_file_path">get_file_path([offset=0])</a></td>
<td class="summary">Returns a desync safe file path for the current file</td>
</tr>
</tbody> </tbody>
</table> </table>
<!-- module section list end --> <!-- module section list end -->
@@ -2396,6 +2400,64 @@
<!-- returns end --> <!-- returns end -->
<!-- see also start -->
<!-- see also end -->
<!-- usage start -->
<!-- usage end -->
</dd>
<dt>
<div class="divider divider-custom"></div>
<div class="block section-item-header">
<a href="#get_file_path" class="fragment-hashtag">#</a>
<span class="section-item-title" id="get_file_path">get_file_path([offset=0])</span>
</div>
</dt>
<dd>
<div class="section-item-body">
<p class="section-item-summary">Returns a desync safe file path for the current file</p>
<p class="section-item-description"></p>
<!-- parameters start -->
<strong>Parameters:</strong>
<ul>
<li class="section-subitem-li">
<strong><em>offset</em></strong>
<strong> : </strong>
(<span class="types"><a class="type" href="https://www.lua.org/pil/2.3.html">number</a></span>)
the offset in the stack to get, 0 is current file
(<em>default</em>: 0)
</li>
</ul>
<!-- parameters end -->
<!-- returns start -->
<strong>Returns:</strong>
<ul>
<li>
(<span class="types"><a class="type" href="http://lua-api.factorio.com/latest/Builtin-Types.html#string">string</a></span>)
<span class="return-text">the file path</span>
</li>
</ul>
<!-- returns end -->
<!-- see also start --> <!-- see also start -->
<!-- see also end --> <!-- see also end -->
@@ -2418,7 +2480,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -10987,7 +10987,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -1432,7 +1432,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -3152,7 +3152,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

File diff suppressed because it is too large Load Diff

View File

@@ -544,7 +544,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -626,7 +626,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -629,7 +629,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -449,7 +449,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -632,7 +632,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -837,7 +837,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -514,7 +514,7 @@ see ./expcore/commands.lua for more details</span></td>
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -351,7 +351,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -419,7 +419,7 @@ fraction will decide a chance to spawn. 1 alien for 2 spawner's will have 50% on
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -1164,7 +1164,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -654,7 +654,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -323,7 +323,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -1292,7 +1292,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -434,7 +434,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -338,7 +338,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -441,7 +441,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -752,7 +752,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -1382,7 +1382,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -651,7 +651,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -442,7 +442,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -789,7 +789,7 @@ Public License instead of this License. But first, please read
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -248,7 +248,8 @@
<p>## Releases <p>## Releases
<p>| Scenario Version* | Version Name | Factorio Version** | <p>| Scenario Version* | Version Name | Factorio Version** |
|---|---|---| |---|---|---|
| [v5.7][s5.8] | Home and Chat Bot | [v0.17.47][f0.17.49] | | [v5.9][s5.9] | Control Modules and Documentation | [v0.17.63][f0.17.63] |
| [v5.8][s5.8] | Home and Chat Bot | [v0.17.47][f0.17.49] |
| [v5.7][s5.7] | Warp System | [v0.17.47][f0.17.47] | | [v5.7][s5.7] | Warp System | [v0.17.47][f0.17.47] |
| [v5.6][s5.6] | Information Guis | [v0.17.44][f0.17.44] | | [v5.6][s5.6] | Information Guis | [v0.17.44][f0.17.44] |
| [v5.5][s5.5] | Gui System | [v0.17.43][f0.17.43] | | [v5.5][s5.5] | Gui System | [v0.17.43][f0.17.43] |
@@ -264,7 +265,8 @@
| [v0.1][s0.1] | First Tracked Version | [v0.14][f0.14] | | [v0.1][s0.1] | First Tracked Version | [v0.14][f0.14] |
<p>\* Scenario patch versions have been omitted. <p>\* Scenario patch versions have been omitted.
<p>\*\* Factorio versions show the version they were made for, often the minimum requirement. <p>\*\* Factorio versions show the version they were made for, often the minimum requirement.
<p>[s5.8]: https://github.com/explosivegaming/scenario/releases/tag/5.8.0 <p>[s5.9]: https://github.com/explosivegaming/scenario/releases/tag/5.9.0
[s5.8]: https://github.com/explosivegaming/scenario/releases/tag/5.8.0
[s5.7]: https://github.com/explosivegaming/scenario/releases/tag/5.7.0 [s5.7]: https://github.com/explosivegaming/scenario/releases/tag/5.7.0
[s5.6]: https://github.com/explosivegaming/scenario/releases/tag/5.6.0 [s5.6]: https://github.com/explosivegaming/scenario/releases/tag/5.6.0
[s5.5]: https://github.com/explosivegaming/scenario/releases/tag/5.5.0 [s5.5]: https://github.com/explosivegaming/scenario/releases/tag/5.5.0
@@ -278,7 +280,8 @@
[s2.0]: https://github.com/explosivegaming/scenario/releases/tag/v2.0 [s2.0]: https://github.com/explosivegaming/scenario/releases/tag/v2.0
[s1.0]: https://github.com/explosivegaming/scenario/releases/tag/v1.0 [s1.0]: https://github.com/explosivegaming/scenario/releases/tag/v1.0
[s0.1]: https://github.com/explosivegaming/scenario/releases/tag/v0.1 [s0.1]: https://github.com/explosivegaming/scenario/releases/tag/v0.1
<p>[f0.17.49]: https://wiki.factorio.com/Version_history/0.17.0#0.17.49 <p>[f0.17.63]: https://wiki.factorio.com/Version_history/0.17.0#0.17.63
[f0.17.49]: https://wiki.factorio.com/Version_history/0.17.0#0.17.49
[f0.17.47]: https://wiki.factorio.com/Version_history/0.17.0#0.17.47 [f0.17.47]: https://wiki.factorio.com/Version_history/0.17.0#0.17.47
[f0.17.44]: https://wiki.factorio.com/Version_history/0.17.0#0.17.44 [f0.17.44]: https://wiki.factorio.com/Version_history/0.17.0#0.17.44
[f0.17.43]: https://wiki.factorio.com/Version_history/0.17.0#0.17.43 [f0.17.43]: https://wiki.factorio.com/Version_history/0.17.0#0.17.43
@@ -329,7 +332,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div> </div>
<div class="content-footer column col-9 col-sm-12"> <div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-08-09 18:11:22 UTC</i> <i>Last updated 2019-08-23 21:40:48 UTC</i>
</div> </div>
</div> </div>
</div> </div>

View File

@@ -611,4 +611,12 @@ function Common.format_chat_player_name(player,raw_string)
end end
end end
--- Returns a desync safe file path for the current file
-- @tparam[opt=0] number offset the offset in the stack to get, 0 is current file
-- @treturn string the file path
function Common.get_file_path(offset)
offset = offset or 0
return debug.getinfo(offset+2, 'S').source:match('^.+/currently%-playing/(.+)$'):sub(1, -5)
end
return Common return Common

View File

@@ -650,7 +650,7 @@ end)
Event.add(defines.events.on_tick,function() Event.add(defines.events.on_tick,function()
progressbar_one:increment() progressbar_one:increment()
progressbar_three:decrement() progressbar_three:decrement()
local categories = Store.get_children(progressbar_two.store) local categories = Store.get_keys(progressbar_two.store)
for _,category in pairs(categories) do for _,category in pairs(categories) do
progressbar_two:increment(1,category) progressbar_two:increment(1,category)
end end

View File

@@ -4,119 +4,68 @@
@alias Store @alias Store
@usage @usage
---- Basic Use -- The data store module is designed to be an alterative way to store data in the global table
-- At the most basic level this allows for the naming of locations to store in the global table, the second feature is that you are -- each piece of data is stored at a location and optional key of that location
-- able to listen for updates of this value, which means that when ever the set function is called it will trigger the update callback. -- it is recomented that you use a local varible to store the location
local scenario_difficuly = Store.uid_location()
local team_scores = 'team-scores'
-- This may be useful when storing config values and when they get set you want to make sure it is taken care of, or maybe you want -- Setting and getting data is then as simple as
-- to have a value that you can trigger an update of from different places. Store.set(scenario_difficuly,'Hard')
Store.set(team_scores,game.player.force.name,20)
-- This will register a new location called 'scenario.difficulty' Store.get(scenario_difficuly) -- returns 'Hard'
-- note that setting a start value is optional and we could take nil to mean normal Store.get(team_scores,game.player.force.name) -- returns 20
Store.register('scenario.difficulty',function(value)
game.print('The scenario difficulty has be set to: '..value)
end)
-- This will set the value in the store to 'hard' and will trigger the update callback which will print a message to the game -- The reason for using stores over global is the abilty to watch for updates
Store.set('scenario.difficulty','hard') -- for stores to work you must register them, often at the end of the file
-- note that storing a table value may cause issues as a key changing does not cause the set function to trigger
Store.register(scenario_difficuly,function(value)
game.print('Scenario difficulty has been set to: '..value)
end)
-- This will return 'hard' Store.register(team_scores,function(value,key)
Store.get('scenario.difficulty') game.print('Team '..key..' now has a score of '..value)
end)
@usage -- This can be very powerful when working with data that can be changed for a number of locations
---- Using Children -- with this module you can enable any location to output its changes to a file
-- One limitation of store is that all locations must be registered to avoid desyncs, to get round this issue "children" can be used. -- say we wanted team scores to be synced across servers or between saves
-- When you set the value of a child it does not have its own update callback so rather the "parent" location which has been registered -- although you will need to set up a method of storing the data outside the game
-- will have its update value called with a second param of the name of that child. Store.register(team_scores,true,function(value,key)
game.print('Team '..key..' now has a score of '..value)
-- This may be useful when you want a value of each player or force and since you cant register every player at the start you must use end)
-- the players name as the child name.
-- This will register the location 'scenario.score' where we plan to use force names as the child
Store.register('scenario.score',function(value,child)
game.print(child..' now has a score of '..value)
end)
-- This will return nil, but will not error as children don't need to be registered
Store.get('scenario.score','player')
-- This will set 'player' to have a value of 10 for 'scenario.score' and trigger the game message print
Store.set('scenario.score','player',10)
-- This would be the similar to Store.get however this will return the names of all the children
Store.get_children('scenario.score')
@usage
---- Using Sync
-- There is the option to use synced values which is the same as a normal value however you can combine this with an external script
-- which can read the output from 'script-output/log/store.log' and have it send rcon commands back to the game allowing for cross instance
-- syncing of values.
-- This may be useful when you want to have a value change effect multiple instances or even if you just want a database to store values so
-- you can sync data between map resets.
-- This example will register the location 'statistics.total-play-time' where we plan to use plan names as the child
-- note that the location must be the same across instances
Store.register('statistics.total-play-time',true,function(value,child)
game.print(child..' now has now played for '..value)
end)
-- Use of set and are all the same as non synced but you should include from_sync as true
@usage
---- Alternative method
-- Some people may prefer to use a variable rather than a string for formating reasons here is an example. Also for any times when
-- there will be little external input Store.uid_location() can be used to generate non conflicting locations, uid_location will also
-- be used if you give a nil location.
local store_game_speed =
Store.register(function(value)
game.print('The game speed has been set to: '..value)
end)
]] ]]
local Global = require 'utils.global' --- @dep utils.global local Global = require 'utils.global' --- @dep utils.global
local Event = require 'utils.event' --- @dep utils.event local Event = require 'utils.event' --- @dep utils.event
local table_keys,write_json = ext_require('expcore.common','table_keys','write_json') --- @dep expcore.common local table_keys,write_json,get_file_path = ext_require('expcore.common','table_keys','write_json','get_file_path') --- @dep expcore.common
local Token = require 'utils.token' --- @dep utils.token local Token = require 'utils.token' --- @dep utils.token
local Store = { local Store = {
data={},
registered={}, registered={},
synced={}, synced={},
callbacks={}, callbacks={},
events = { events = {
on_value_update=script.generate_event_name() on_value_changed=script.generate_event_name()
} }
} }
local store_data = {}
Global.register(Store.data,function(tbl) Global.register(Store.data,function(tbl)
Store.data = tbl store_data = tbl
end) end)
local function error_not_table(value) local function error_not_table(value)
if type(value) ~= 'table' then if type(value) ~= 'table' then
error('Location is not a table can not use child locations',3) error('Location is not a table can not use key locations',3)
end end
end end
--- Check for if a location is registered
-- @tparam string location the location to test for
-- @treturn boolean true if registered
function Store.is_registered(location)
return Store.registered[location]
end
--- Returns a unique name that can be used for a store
-- @treturn string a unique name
function Store.uid_location()
return tostring(Token.uid())
end
--- Registers a new location with an update callback which is triggered when the value updates --- Registers a new location with an update callback which is triggered when the value updates
-- @tparam[opt] string location string a unique that points to the data, string used rather than token to allow migration -- @tparam[opt] string location string a unique that points to the data, string used rather than token to allow migration
-- @tparam[opt] boolean synced when true will output changes to a file so it can be synced -- @tparam[opt=false] boolean synced when true will output changes to a file so it can be synced
-- @tparam[opt] function callback when given the callback will be automatically registered to the update of the value -- @tparam[opt] function callback when given the callback will be automatically registered to the update of the value
-- @treturn string the location that is being used -- @treturn string the location that is being used
function Store.register(location,synced,callback) function Store.register(location,synced,callback)
@@ -136,10 +85,10 @@ function Store.register(location,synced,callback)
location = type(location) == 'string' and location or Store.uid_location() location = type(location) == 'string' and location or Store.uid_location()
if Store.registered[location] then if Store.registered[location] then
return error('Location is already registered', 2) return error('Location '..location..' is already registered by '..Store.registered[location], 2)
end end
Store.registered[location] = true Store.registered[location] = get_file_path(1)
Store.synced[location] = synced and true or nil Store.synced[location] = synced and true or nil
Store.callbacks[location] = callback or nil Store.callbacks[location] = callback or nil
@@ -148,18 +97,17 @@ end
--- Gets the value stored at a location, this location must be registered --- Gets the value stored at a location, this location must be registered
-- @tparam string location the location to get the data from -- @tparam string location the location to get the data from
-- @tparam[opt] string child the child location if required -- @tparam[opt] string key the key location if used
-- @tparam[opt=false] boolean allow_unregistered when true no error is returned if the location is not registered
-- @treturn any the data which was stored at the location -- @treturn any the data which was stored at the location
function Store.get(location,child,allow_unregistered) function Store.get(location,key)
if not Store.callbacks[location] and not allow_unregistered then if not Store.registered[location] then
return error('Location is not registered', 2) return error('Location is not registered', 2)
end end
local data = Store.data[location] local data = store_data[location]
if child and data then if key and data then
error_not_table(data) error_not_table(data)
return data[child] return data[key]
end end
return data return data
@@ -167,94 +115,120 @@ end
--- Sets the value at a location, this location must be registered --- Sets the value at a location, this location must be registered
-- @tparam string location the location to set the data to -- @tparam string location the location to set the data to
-- @tparam[opt] string child the child location if required -- @tparam[opt] string key the key location if used
-- @tparam any value the new value to set at the location, value may be reverted if there is a watch callback, cant be nil -- @tparam any value the new value to set at the location, value may be reverted if there is a watch callback, cant be nil
-- @tparam[opt] boolean from_sync set this true to avoid an output to the sync file -- @tparam[opt=false] boolean from_sync set this true to avoid an output to the sync file
-- @treturn boolean true if it was successful -- @treturn boolean true if it was successful
function Store.set(location,child,value,from_sync) function Store.set(location,key,value,from_sync)
if not Store.callbacks[location] then if not Store.callbacks[location] then
return error('Location is not registered', 2) return error('Location is not registered', 2)
end end
if child == nil or value == nil then if key == nil or value == nil then
value = child or value value = key or value
child = nil key = nil
end end
local data = Store.data if key then
if child then local data = store_data[location]
data = data[location]
if not data then if not data then
data = {} data = {}
Store.data[location] = data store_data[location] = data
end end
error_not_table(data) error_not_table(data)
data[child] = value data[key] = value
else else
data[location] = value store_data[location] = value
end end
script.raise_event(Store.events.on_value_update,{ script.raise_event(Store.events.on_value_changed,{
tick=game.tick, tick=game.tick,
location=location, location=location,
child=child, key=key,
value=value, value=value,
from_sync=from_sync from_sync=from_sync or false
}) })
return true return true
end end
--- Triggers the change handler manually
-- @tparam string location the location to set the data to
-- @tparam[opt] string key the key location if required
function Store.update(location,key)
local value = Store.get(location,key)
script.raise_event(Store.events.on_value_changed,{
tick=game.tick,
location=location,
key=key,
value=value,
from_sync=false
})
end
--- Sets the value at a location to nil, this location must be registered --- Sets the value at a location to nil, this location must be registered
-- @tparam string location the location to set the data to -- @tparam string location the location to set the data to
-- @tparam[opt] string child the child location if required -- @tparam[opt] string key the key location if used
-- @tparam[opt] boolean from_sync set this true to avoid an output to the sync file -- @tparam[opt=false] boolean from_sync set this true to avoid an output to the sync file
-- @treturn boolean true if it was successful -- @treturn boolean true if it was successful
function Store.clear(location,child,from_sync) function Store.clear(location,key,from_sync)
if not Store.callbacks[location] then if not Store.callbacks[location] then
return error('Location is not registered', 2) return error('Location is not registered', 2)
end end
local data = Store.data if key then
if child then local data = store_data[location]
data = data[location]
if not data then return end if not data then return end
error_not_table(data) error_not_table(data)
data[child] = nil data[key] = nil
else else
data[location] = nil store_data[location] = nil
end end
script.raise_event(Store.events.on_value_update,{ script.raise_event(Store.events.on_value_changed,{
tick=game.tick, tick=game.tick,
location=location, location=location,
child=child, key=key,
from_sync=from_sync from_sync=from_sync or false
}) })
return true return true
end end
--- Gets all non nil children at a location, children can be added and removed during runtime --- Gets all non nil keys at a location, keys can be added and removed during runtime
-- this is similar to Store.get but will always return a table even if it is empty -- this is similar to Store.get but will always return a table even if it is empty
-- @tparam string location the location to get the children of -- @tparam string location the location to get the keys of
-- @treturn table a table containing all the children names -- @treturn table a table containing all the keys names
function Store.get_children(location) function Store.get_keys(location)
local data = Store.get(location) local data = Store.get(location)
return type(data) == 'table' and table_keys(data) or {} return type(data) == 'table' and table_keys(data) or {}
end end
--- Check for if a location is registered
-- @tparam string location the location to test for
-- @treturn boolean true if registered
function Store.is_registered(location)
return Store.registered[location]
end
--- Returns a unique name that can be used for a store
-- @treturn string a unique name
function Store.uid_location()
return tostring(Token.uid())
end
-- Handles syncing -- Handles syncing
Event.add(Store.events.on_value_update,function(event) Event.add(Store.events.on_value_changed,function(event)
if Store.callbacks[event.location] then if Store.callbacks[event.location] then
Store.callbacks[event.location](event.value,event.child) Store.callbacks[event.location](event.value,event.key)
end end
if not event.from_sync and Store.synced[event.location] then if not event.from_sync and Store.synced[event.location] then
write_json('log/store.log',{ write_json('log/store.log',{
tick=event.tick, tick=event.tick,
location=event.location, location=event.location,
child=event.child, key=event.key,
value=event.value, value=event.value,
}) })
end end

View File

@@ -16,7 +16,7 @@ local interface_modules = {
['Group']='expcore.permission_groups', ['Group']='expcore.permission_groups',
['Roles']='expcore.roles', ['Roles']='expcore.roles',
['Store']='expcore.store', ['Store']='expcore.store',
['Gui']='expcore.gui', --['Gui']='expcore.gui',
['Sudo']='expcore.sudo' ['Sudo']='expcore.sudo'
} }

View File

@@ -478,7 +478,7 @@ end)
local r2 = config.activation_range^2 local r2 = config.activation_range^2
local rs2 = config.spawn_activation_range^2 local rs2 = config.spawn_activation_range^2
Event.on_nth_tick(math.floor(60/config.update_smoothing),function() Event.on_nth_tick(math.floor(60/config.update_smoothing),function()
local categories = Store.get_children(warp_timer.store) local categories = Store.get_keys(warp_timer.store)
for _,category in pairs(categories) do for _,category in pairs(categories) do
warp_timer:increment(1,category) warp_timer:increment(1,category)
end end