Payphone state

This commit is contained in:
Vortrex
2023-03-01 01:16:14 -06:00
parent 67b8266a71
commit b7eac224c5
2 changed files with 34 additions and 1 deletions

View File

@@ -1370,11 +1370,24 @@ let placesOfOrigin = [
"Blaine County",
"Red County",
"Bone County",
"Lost Heaven",
"Empire Bay",
"Other",
];
// ===========================================================================
let payPhoneStateNames = [
"None/Unknown",
"Idle",
"Ringing",
"Active Call",
"Broken",
"Calling"
];
// ===========================================================================
function getGameConfig() {
return gameData;
}
@@ -3253,4 +3266,10 @@ function getWeatherData(weatherIndex, gameId = getGame()) {
return getGameConfig().weather[gameId][weatherIndex];
}
// ===========================================================================
function getPayPhoneStateName(state) {
return payPhoneStateNames[state];
}
// ===========================================================================