Map change warning (unfinished)

This commit is contained in:
Vortrex
2023-03-05 23:25:21 -06:00
parent 37d485a7c3
commit f0d0384a41
6 changed files with 37 additions and 16 deletions

View File

@@ -609,4 +609,16 @@ function fixOffScreenPosition(position, margin = toVector2(0.0, 0.0)) {
}
return position;
}
}
// ===========================================================================
function processMapChangeWarning() {
if (mapChangeWarning == false) {
return false;
}
smallGameMessageFonts["AuroraBdCnBT"].render(`Map is changing to ${(mapChangeToNight) ? "night" : "day"} soon!`, [0, game.height - 90], game.width, 0.5, 0.0, smallGameMessageFonts["AuroraBdCnBT"].size, getColourByName("yellow"), true, true, false, true);
}
// ===========================================================================