Still broken. Really needs to play his own game. Been like this for awhile with loads of bugs both routes.
Error: <<=>>: bad evaluation: player.cybermods is undefined
Delete from line 4630 and 4706. these are snippets to deleted
4630
setup.checkCyberware = function (requirements, req, player) {
let foundCheck = false;
let returnCheck = false;
for (let i = 0; i < player.cybermods.length; i++) {
if (requirements[req].id == player.cybermods
.name) {
console.log("Found.");
foundCheck = true;
if (requirements[req].type == "has-cybermod") {
returnCheck = true;
}
break;
}
}
if (foundCheck == false && requirements[req].type == "no-cybermod") {
returnCheck = true;
}
return returnCheck;
}
4706
} else if (requirements[req].type == "has-cybermod" || requirements[req].type == "no-cybermod") {
console.log("Doing cybercheck...");
returnCheck = setup.checkCyberware(requirements, req, player);