Remove unused GUI funcs

This commit is contained in:
Vortrex
2021-01-15 03:42:17 -06:00
parent cd8e8dda11
commit b24a206705

View File

@@ -10,29 +10,13 @@
// ---------------------------------------------------------------------------
function showPlayerPromptGUI(client) {
}
// ---------------------------------------------------------------------------
function showPlayerPhoneGUI(client) {
}
// ---------------------------------------------------------------------------
function showPlayerItemInventoryGUI(client) {
}
// ---------------------------------------------------------------------------
function playerPromptAnswerNo(client) {
if(!getEntityData(client, "ag.prompt")) {
return false;
}
logToConsole(LOG_DEBUG, `[Asshat.GUI] ${getPlayerDisplayForConsole(client)} answered NO to their prompt (${getEntityData(client, "ag.prompt")})`);
switch(getEntityData(client, "ag.prompt")) {
case AG_PROMPT_CREATEFIRSTCHAR:
showPlayerErrorGUI(client, "You don't have a character to play. Goodbye!", "No Characters")
@@ -53,6 +37,8 @@ function playerPromptAnswerYes(client) {
return false;
}
logToConsole(LOG_DEBUG, `[Asshat.GUI] ${getPlayerDisplayForConsole(client)} answered YES to their prompt (${getEntityData(client, "ag.prompt")})`);
switch(getEntityData(client, "ag.prompt")) {
case AG_PROMPT_CREATEFIRSTCHAR:
showPlayerNewCharacterGUI(client);