const readline = require('readline-sync'); const variables = require("./variables"); module.exports = { ravenRock, vaultZero, newVegas, eureka, trader, } // Inventories for the various shops var rrInv = []; var vt0Inv = []; var vegasInv = []; // A mix of gunrunners, mick&ralphs, and followers var eurInv = []; var traderInv = ["gun", "stimpak", "radx"]; function ravenRock() { // purchasing code } function vaultZero() { // purchasing code } function newVegas() { // purchasing code } function eureka() { // purchasing code } function trader() { // One of the 3 trader inventories, chosen randomly var tempTraderInv = []; for (var a = 0; a <= 2; a++) { let randomPick = Math.m tempTraderInv.push(traderInv[1]); console.log(randomPick); } console.log(tempTraderInv); }