29 lines
No EOL
418 B
JavaScript
29 lines
No EOL
418 B
JavaScript
// Deathscreens, they should be the fallout 1 screens
|
|
|
|
module.exports = {
|
|
deathScreen,
|
|
timeDeath
|
|
};
|
|
|
|
function deathScreen() {
|
|
let random = Math.random(1,3);
|
|
if (random = 1) { death1(); }
|
|
if (random = 2) { death2(); }
|
|
if (random = 3) { death3(); }
|
|
}
|
|
|
|
function death1() {
|
|
|
|
}
|
|
|
|
function death2() {
|
|
|
|
}
|
|
|
|
function death3() {
|
|
|
|
}
|
|
|
|
function timeDeath() { // The death screen for passing the time limit
|
|
|
|
} |