Payphone state
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
// ===========================================================================
|
||||
Reference in New Issue
Block a user