Added production to control

This commit is contained in:
Cooldude2606
2019-07-20 23:44:48 +01:00
parent 5d0ef2f11a
commit f5619165f6
409 changed files with 21360 additions and 23447 deletions

View File

@@ -35,14 +35,21 @@
</div>
<!-- sidebar navigation -->
<!-- sidebar navigation -->
<!-- list of items in a module -->
<ul class="nav nav-module-contents">
<li class="nav-item">
<h2>Sections</h2>
<ul class="nav">
<li class="nav-item"><a href="#Functions"><span class="fragment-hashtag">#</span> Functions</a></li>
<li class="nav-item"><a href="#Fields"><span class="fragment-hashtag">#</span> Fields</a></li>
</ul>
</li>
</ul>
<ul class="nav nav-modules">
<li class="nav-item">
<h2>Modules</h2>
<ul class="nav">
<li class="nav-item"><div class="nav-item-block-inactive block"><a href="../modules/Jail.html"><span class="module-name-item">Jail</span></a></div></li>
<li class="nav-item"><div class="nav-item-block-inactive block"><a href="../modules/Reports.html"><span class="module-name-item">Reports</span></a></div></li>
<li class="nav-item"><div class="nav-item-block-inactive block"><a href="../modules/Warnings.html"><span class="module-name-item">Warnings</span></a></div></li>
<li class="nav-item"><div class="nav-item-block-inactive block"><a href="../modules/config._file_loader.html"><span class="module-name-item">config._file_loader</span></a></div></li>
<li class="nav-item"><div class="nav-item-block-inactive block"><a href="../modules/config.action_buttons.html"><span class="module-name-item">config.action_buttons</span></a></div></li>
<li class="nav-item"><div class="nav-item-block-inactive block"><a href="../modules/config.advanced_start.html"><span class="module-name-item">config.advanced_start</span></a></div></li>
@@ -109,6 +116,17 @@
</ul>
<ul class="nav nav-modules">
<li class="nav-item">
<h2>Control</h2>
<ul class="nav">
<li class="nav-item"><div class="nav-item-block-inactive block"><a href="../control/Jail.html"><span class="module-name-item">Jail</span></a></div></li>
<li class="nav-item"><div class="nav-item-block-inactive block"><a href="../control/Production.html"><span class="module-name-item">Production</span></a></div></li>
<li class="nav-item"><div class="nav-item-block-inactive block"><a href="../control/Reports.html"><span class="module-name-item">Reports</span></a></div></li>
<li class="nav-item"><div class="nav-item-block-inactive block"><a href="../control/Warnings.html"><span class="module-name-item">Warnings</span></a></div></li>
</ul>
</li>
</ul>
<ul class="nav nav-modules">
<li class="nav-item">
<h2>Topics</h2>
<ul class="nav">
<li class="nav-item"><div class="nav-item-block-inactive block"><a href="../topics/readme.md.html"><span class="module-name-item">readme.md</span></a></div></li>
@@ -118,19 +136,18 @@
</ul>
</div>
<div class="up-to-top">
<!-- list of items in a module -->
<ul class="nav nav-module-contents">
<li class="nav-item">
<h4>Contents of <strong>expcore.gui.concepts.popups</strong></h4>
<h4>Jump to Section</h4>
<ul class="nav">
<li class="nav-item"><a href="#Functions"><span class="fragment-hashtag">#</span> Functions</a></li>
<li class="nav-item"><a href="#Fields"><span class="fragment-hashtag">#</span> Fields</a></li>
</ul>
</li>
</ul>
</div>
<div class="up-to-top">
<a href="#">Top <i class="icon icon-upward"></i></a>
</div>
</div>
@@ -168,24 +185,24 @@
</thead>
<tbody>
<tr>
<td class="name"><a href="#PopupFrames._prototype:open">PopupFrames._prototype:open (player[, open_time], ...)</a></td>
<td class="summary">Opens this define for a player, can be given open time and any other params for the draw function</td>
</tr>
<tr>
<td class="name"><a href="#PopupFrames._prototype:set_default_open_time">PopupFrames._prototype:set_default_open_time (amount)</a></td>
<td class="summary">Sets the default open time for the popup, will be used if non is provided with open</td>
</tr>
<tr>
<td class="name"><a href="#PopupFrames.get_flow">PopupFrames.get_flow (player)</a></td>
<td class="name"><a href="#PopupFrames.get_flow">PopupFrames.get_flow(player)</a></td>
<td class="summary">Gets the left flow that contains the popup frames</td>
</tr>
<tr>
<td class="name"><a href="#PopupFrames.new_popup">PopupFrames.new_popup ([name])</a></td>
<td class="name"><a href="#PopupFrames.open">PopupFrames.open(define_name, player[, open_time], ...)</a></td>
<td class="summary">Opens a popup for the player, can give the amount of time it is open as well as params for the draw function</td>
</tr>
<tr>
<td class="name"><a href="#PopupFrames.new_popup">PopupFrames.new_popup([name])</a></td>
<td class="summary">Creates a new popup frame define</td>
</tr>
<tr>
<td class="name"><a href="#PopupFrames.open">PopupFrames.open (define_name, player[, open_time], ...)</a></td>
<td class="summary">Opens a popup for the player, can give the amount of time it is open as well as params for the draw function</td>
<td class="name"><a href="#PopupFrames._prototype:set_default_open_time">PopupFrames._prototype:set_default_open_time(amount)</a></td>
<td class="summary">Sets the default open time for the popup, will be used if non is provided with open</td>
</tr>
<tr>
<td class="name"><a href="#PopupFrames._prototype:open">PopupFrames._prototype:open(player[, open_time], ...)</a></td>
<td class="summary">Opens this define for a player, can be given open time and any other params for the draw function</td>
</tr>
</tbody>
</table>
@@ -196,13 +213,13 @@
</thead>
<tbody>
<tr>
<td class="name"><a href="#PopupFrames.close_button">PopupFrames.close_button</a></td>
<td class="summary">A button which can be used to close the gui before the timer runs out</td>
</tr>
<tr>
<td class="name"><a href="#PopupFrames.close_progress">PopupFrames.close_progress</a></td>
<td class="summary">Progress bar which when depleaded will close the popup frame</td>
</tr>
<tr>
<td class="name"><a href="#PopupFrames.close_button">PopupFrames.close_button</a></td>
<td class="summary">A button which can be used to close the gui before the timer runs out</td>
</tr>
</tbody>
</table>
<!-- module section list end -->
@@ -215,155 +232,8 @@
<dt>
<div class="divider divider-custom"></div>
<div class="block section-item-header">
<a href="#PopupFrames._prototype:open" class="fragment-hashtag">#</a>
<span class="section-item-title" id="PopupFrames._prototype:open">PopupFrames._prototype:open (player[, open_time], ...)</span>
</div>
</dt>
<dd>
<div class="section-item-body">
<p class="section-item-summary">Opens this define for a player, can be given open time and any other params for the draw function</p>
<p class="section-item-description"></p>
<!-- parameters start -->
<strong>Parameters:</strong>
<ul>
<li class="section-subitem-li">
<strong><em>player</em></strong>
<strong> : </strong>
(<span class="types"><a class="type" href="http://lua-api.factorio.com/latest/LuaPlayer.html">LuaPlayer</a></span>)
the player to open the popup for
</li>
<li class="section-subitem-li">
<strong><em>open_time</em></strong>
<strong> : </strong>
(<span class="types"><a class="type" href="https://www.lua.org/pil/2.3.html">number</a></span>)
the minimum number of ticks you want the popup open for, 0 means no limit, nil will take default
(<em>optional</em>)
</li>
<li class="section-subitem-li">
<strong><em>...</em></strong>
<strong> : </strong>
(<span class="types"><span class="type">any</span></span>)
the other params that you want to pass to your on_draw event
</li>
</ul>
<!-- parameters end -->
<!-- returns start -->
<strong>Returns:</strong>
<ul>
<li>
(<span class="types"><a class="type" href="http://lua-api.factorio.com/latest/LuaGuiElement.html">LuaGuiElement</a></span>)
<span class="return-text">the frame that was drawn, the inner gui flow which contains the content</span>
</li>
</ul>
<!-- 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="#PopupFrames._prototype:set_default_open_time" class="fragment-hashtag">#</a>
<span class="section-item-title" id="PopupFrames._prototype:set_default_open_time">PopupFrames._prototype:set_default_open_time (amount)</span>
</div>
</dt>
<dd>
<div class="section-item-body">
<p class="section-item-summary">Sets the default open time for the popup, will be used if non is provided with open</p>
<p class="section-item-description"></p>
<!-- parameters start -->
<strong>Parameters:</strong>
<ul>
<li class="section-subitem-li">
<strong><em>amount</em></strong>
<strong> : </strong>
(<span class="types"><a class="type" href="https://www.lua.org/pil/2.3.html">number</a></span>)
the number of ticks, by default, the popup will be open for
</li>
</ul>
<!-- parameters end -->
<!-- returns start -->
<strong>Returns:</strong>
<ul>
<li>
(<span class="types"><a class="type" href="https://www.lua.org/pil/2.5.html">table</a></span>)
<span class="return-text">the define to allow for chaining</span>
</li>
</ul>
<!-- 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="#PopupFrames.get_flow" class="fragment-hashtag">#</a>
<span class="section-item-title" id="PopupFrames.get_flow">PopupFrames.get_flow (player)</span>
<span class="section-item-title" id="PopupFrames.get_flow">PopupFrames.get_flow(player)</span>
</div>
</dt>
<dd>
@@ -409,64 +279,6 @@
<!-- 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="#PopupFrames.new_popup" class="fragment-hashtag">#</a>
<span class="section-item-title" id="PopupFrames.new_popup">PopupFrames.new_popup ([name])</span>
</div>
</dt>
<dd>
<div class="section-item-body">
<p class="section-item-summary">Creates a new popup frame define</p>
<p class="section-item-description"></p>
<!-- parameters start -->
<strong>Parameters:</strong>
<ul>
<li class="section-subitem-li">
<strong><em>name</em></strong>
<strong> : </strong>
(<span class="types"><a class="type" href="http://lua-api.factorio.com/latest/Builtin-Types.html#string">string</a></span>)
the optional debug name that can be added
(<em>optional</em>)
</li>
</ul>
<!-- parameters end -->
<!-- returns start -->
<strong>Returns:</strong>
<ul>
<li>
(<span class="types"><a class="type" href="https://www.lua.org/pil/2.5.html">table</a></span>)
<span class="return-text">the new popup frame define</span>
</li>
</ul>
<!-- returns end -->
<!-- see also start -->
<!-- see also end -->
@@ -478,7 +290,7 @@
<div class="divider divider-custom"></div>
<div class="block section-item-header">
<a href="#PopupFrames.open" class="fragment-hashtag">#</a>
<span class="section-item-title" id="PopupFrames.open">PopupFrames.open (define_name, player[, open_time], ...)</span>
<span class="section-item-title" id="PopupFrames.open">PopupFrames.open(define_name, player[, open_time], ...)</span>
</div>
</dt>
<dd>
@@ -545,6 +357,211 @@
<li class="section-subitem-li">
<strong><em>...</em></strong>
<strong> : </strong>
(<span class="types"><span class="type">any</span></span>)
the other params that you want to pass to your on_draw event
</li>
</ul>
<!-- parameters end -->
<!-- returns start -->
<strong>Returns:</strong>
<ul>
<li>
(<span class="types"><a class="type" href="http://lua-api.factorio.com/latest/LuaGuiElement.html">LuaGuiElement</a></span>)
<span class="return-text">the frame that was drawn, the inner gui flow which contains the content</span>
</li>
</ul>
<!-- 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="#PopupFrames.new_popup" class="fragment-hashtag">#</a>
<span class="section-item-title" id="PopupFrames.new_popup">PopupFrames.new_popup([name])</span>
</div>
</dt>
<dd>
<div class="section-item-body">
<p class="section-item-summary">Creates a new popup frame define</p>
<p class="section-item-description"></p>
<!-- parameters start -->
<strong>Parameters:</strong>
<ul>
<li class="section-subitem-li">
<strong><em>name</em></strong>
<strong> : </strong>
(<span class="types"><a class="type" href="http://lua-api.factorio.com/latest/Builtin-Types.html#string">string</a></span>)
the optional debug name that can be added
(<em>optional</em>)
</li>
</ul>
<!-- parameters end -->
<!-- returns start -->
<strong>Returns:</strong>
<ul>
<li>
(<span class="types"><a class="type" href="https://www.lua.org/pil/2.5.html">table</a></span>)
<span class="return-text">the new popup frame define</span>
</li>
</ul>
<!-- 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="#PopupFrames._prototype:set_default_open_time" class="fragment-hashtag">#</a>
<span class="section-item-title" id="PopupFrames._prototype:set_default_open_time">PopupFrames._prototype:set_default_open_time(amount)</span>
</div>
</dt>
<dd>
<div class="section-item-body">
<p class="section-item-summary">Sets the default open time for the popup, will be used if non is provided with open</p>
<p class="section-item-description"></p>
<!-- parameters start -->
<strong>Parameters:</strong>
<ul>
<li class="section-subitem-li">
<strong><em>amount</em></strong>
<strong> : </strong>
(<span class="types"><a class="type" href="https://www.lua.org/pil/2.3.html">number</a></span>)
the number of ticks, by default, the popup will be open for
</li>
</ul>
<!-- parameters end -->
<!-- returns start -->
<strong>Returns:</strong>
<ul>
<li>
(<span class="types"><a class="type" href="https://www.lua.org/pil/2.5.html">table</a></span>)
<span class="return-text">the define to allow for chaining</span>
</li>
</ul>
<!-- 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="#PopupFrames._prototype:open" class="fragment-hashtag">#</a>
<span class="section-item-title" id="PopupFrames._prototype:open">PopupFrames._prototype:open(player[, open_time], ...)</span>
</div>
</dt>
<dd>
<div class="section-item-body">
<p class="section-item-summary">Opens this define for a player, can be given open time and any other params for the draw function</p>
<p class="section-item-description"></p>
<!-- parameters start -->
<strong>Parameters:</strong>
<ul>
<li class="section-subitem-li">
<strong><em>player</em></strong>
<strong> : </strong>
(<span class="types"><a class="type" href="http://lua-api.factorio.com/latest/LuaPlayer.html">LuaPlayer</a></span>)
the player to open the popup for
</li>
<li class="section-subitem-li">
<strong><em>open_time</em></strong>
<strong> : </strong>
(<span class="types"><a class="type" href="https://www.lua.org/pil/2.3.html">number</a></span>)
the minimum number of ticks you want the popup open for, 0 means no limit, nil will take default
(<em>optional</em>)
</li>
<li class="section-subitem-li">
<strong><em>...</em></strong>
@@ -586,14 +603,14 @@
<dt>
<div class="divider divider-custom"></div>
<div class="block section-item-header">
<a href="#PopupFrames.close_button" class="fragment-hashtag">#</a>
<span class="section-item-title" id="PopupFrames.close_button">PopupFrames.close_button</span>
<a href="#PopupFrames.close_progress" class="fragment-hashtag">#</a>
<span class="section-item-title" id="PopupFrames.close_progress">PopupFrames.close_progress</span>
</div>
</dt>
<dd>
<div class="section-item-body">
<p class="section-item-summary">A button which can be used to close the gui before the timer runs out</p>
<p class="section-item-summary">Progress bar which when depleaded will close the popup frame</p>
<p class="section-item-description"></p>
<!-- parameters start -->
@@ -613,14 +630,14 @@
<dt>
<div class="divider divider-custom"></div>
<div class="block section-item-header">
<a href="#PopupFrames.close_progress" class="fragment-hashtag">#</a>
<span class="section-item-title" id="PopupFrames.close_progress">PopupFrames.close_progress</span>
<a href="#PopupFrames.close_button" class="fragment-hashtag">#</a>
<span class="section-item-title" id="PopupFrames.close_button">PopupFrames.close_button</span>
</div>
</dt>
<dd>
<div class="section-item-body">
<p class="section-item-summary">Progress bar which when depleaded will close the popup frame</p>
<p class="section-item-summary">A button which can be used to close the gui before the timer runs out</p>
<p class="section-item-description"></p>
<!-- parameters start -->
@@ -652,7 +669,7 @@
<i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc </a></i>
</div>
<div class="content-footer column col-9 col-sm-12">
<i>Last updated 2019-06-29 01:27:33 UTC</i>
<i>Last updated 2019-07-20 23:44:09 UTC</i>
</div>
</div>
</div>