A lot, i dont rembr
This commit is contained in:
parent
fdd58af63e
commit
82565a2be9
6 changed files with 547 additions and 45 deletions
|
|
@ -1,14 +1,14 @@
|
|||
import { userInput } from "./functions.js";
|
||||
import { inventory, userInput } from "./variables.js";
|
||||
import "./variables.js";
|
||||
|
||||
//Builds the main menu inventory
|
||||
function inventoryMenuM(){
|
||||
export function inventoryMenuM(){
|
||||
console.clear();
|
||||
console.log("INVENTORY");
|
||||
console.log("---------");
|
||||
console.log("1) Supplies");
|
||||
console.log("2) Equipment");
|
||||
console.log("[spacebar to exit]");
|
||||
console.log("3) Exit");
|
||||
let invChoice = userInput("Enter: ");
|
||||
switch(userInput){
|
||||
case "1":
|
||||
|
|
@ -17,6 +17,8 @@ function inventoryMenuM(){
|
|||
case "2":
|
||||
equipmentInventory();
|
||||
break;
|
||||
case "3":
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue