Add map and deathscreen files, add exports to variable file.

This commit is contained in:
Raktbastr 2025-02-22 10:31:14 -06:00
parent ef3035f944
commit 455a867719
4 changed files with 90 additions and 8 deletions

29
files/deathscreens.js Normal file
View file

@ -0,0 +1,29 @@
// 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
}