Rewrite
This commit is contained in:
parent
8871c644fb
commit
e5fe71ce46
16 changed files with 573 additions and 638 deletions
|
|
@ -1,13 +1,6 @@
|
|||
const readline = require('readline-sync');
|
||||
const variables = require("./variables.js");
|
||||
import { randomNumber } from "./functions.js";
|
||||
import {} from "./variables.js";
|
||||
|
||||
module.exports = {
|
||||
ravenRock,
|
||||
vaultZero,
|
||||
newVegas,
|
||||
eureka,
|
||||
trader,
|
||||
}
|
||||
|
||||
// Inventories for the various shops
|
||||
var rrInv = [];
|
||||
|
|
@ -35,7 +28,7 @@ function eureka() {
|
|||
function trader() { // Picks a selection of items from a global trader inventory
|
||||
var tempTraderInv = [];
|
||||
for (var a = 0; a <= 2; a++) {
|
||||
let randomPick = Math.m
|
||||
let randomPick = randomNumber()
|
||||
tempTraderInv.push(traderInv[1]);
|
||||
console.log(randomPick);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue