Added readline function, started work on shops, added some comments, made main menu and a bit of the start.

This commit is contained in:
Raktbastr 2025-02-25 10:04:03 -06:00
parent 455a867719
commit e413a5dea4
17 changed files with 3889 additions and 17 deletions

39
files/shops.js Normal file
View file

@ -0,0 +1,39 @@
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 trader1Inv = [];
var trader2Inv = [];
var trader3Inv = [];
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
// purchasing code
}