Reset variables for presentation.
This commit is contained in:
parent
3816805784
commit
aac13ca552
|
@ -2,7 +2,7 @@ function inventoryGUI() {
|
|||
guiControl.inventory = {
|
||||
screen: "main",
|
||||
cursorPosition: 0,
|
||||
show: true,
|
||||
show: false,
|
||||
|
||||
moneyDisplay: function () {
|
||||
var moneyString = "";
|
||||
|
|
13
index.html
13
index.html
|
@ -48,6 +48,7 @@
|
|||
<h2>
|
||||
<a id="controls" class="anchor" href="#controls" aria-hidden="true"><span aria-hidden="true" class="octicon octicon-link"></span></a>Controls</h2>
|
||||
|
||||
<strong>In-Game Controls</strong>
|
||||
<ul>
|
||||
<li>Turn Left: <code>←</code> or <code>A</code>
|
||||
</li>
|
||||
|
@ -57,6 +58,18 @@
|
|||
</li>
|
||||
<li>Decrease Speed: <code>↓</code> or <code>S</code>
|
||||
</li>
|
||||
<li>Open Storage/Inventory: <code>X</code> or <code>Shift</code>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<strong>Menu Controls</strong>
|
||||
<ul>
|
||||
<li>Move Cursor Up: <code>↑</code> or <code>W</code>
|
||||
</li>
|
||||
<li>Move Cursor Down: <code>↓</code> or <code>S</code>
|
||||
</li>
|
||||
<li>Select Option in Menu: <code>Z</code> or <code>Space</code>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h2>
|
||||
|
|
|
@ -41,7 +41,7 @@ G.stats = {
|
|||
crew: 2, // How many crew members you have. Influences how fast your energy recovers.
|
||||
energy: 25, // Drains rate determined by current speed. When drained, currentSpeed reduces until you have enough energy to continue.
|
||||
maxEnergy: 50, // How much to refill your energy to. Can increase with upgrades.
|
||||
illness: 1 // Your crew's overall health. When this is low, your ship slows down.
|
||||
illness: 0 // Your crew's overall health. When this is low, your ship slows down.
|
||||
};
|
||||
|
||||
G.economy = { // Aww yea, supply and demand.
|
||||
|
|
Loading…
Reference in New Issue