[QoL] Add message for when you aren't hatching eggs (#1969)

* Add message for when you aren't hatching eggs

* Add prompt to message

* Remove noEggs message after a delay
This commit is contained in:
EmberCM 2024-06-24 11:21:42 -05:00 committed by GitHub
parent e2507a2112
commit 9e3fe2d53a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 19 additions and 9 deletions

View File

@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
"importData": "Daten importieren",
"exportData": "Daten exportieren",
"cancel": "Abbrechen",
"losingProgressionWarning": "Du wirst jeglichen Fortschritt seit Anfang dieses Kampfes verlieren. Fortfahren?"
"losingProgressionWarning": "Du wirst jeglichen Fortschritt seit Anfang dieses Kampfes verlieren. Fortfahren?",
"noEggs": "You are not hatching\nany eggs at the moment!"
} as const;

View File

@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
"importData": "Import Data",
"exportData": "Export Data",
"cancel": "Cancel",
"losingProgressionWarning": "You will lose any progress since the beginning of the battle. Proceed?"
"losingProgressionWarning": "You will lose any progress since the beginning of the battle. Proceed?",
"noEggs": "You are not hatching\nany eggs at the moment!"
} as const;

View File

@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
"importData": "Importar Datos",
"exportData": "Exportar Datos",
"cancel": "Cancelar",
"losingProgressionWarning": "Perderás cualquier progreso desde el inicio de la batalla. ¿Continuar?"
"losingProgressionWarning": "Perderás cualquier progreso desde el inicio de la batalla. ¿Continuar?",
"noEggs": "You are not hatching\nany eggs at the moment!"
} as const;

View File

@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
"importData": "Importer données",
"exportData": "Exporter données",
"cancel": "Retour",
"losingProgressionWarning": "Vous allez perdre votre progression depuis le début du combat. Continuer ?"
"losingProgressionWarning": "Vous allez perdre votre progression depuis le début du combat. Continuer ?",
"noEggs": "You are not hatching\nany eggs at the moment!"
} as const;

View File

@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
"importData": "Importa Dati",
"exportData": "Esporta Dati",
"cancel": "Annulla",
"losingProgressionWarning": "Perderai tutti i progressi dall'inizio della battaglia. Procedere?"
"losingProgressionWarning": "Perderai tutti i progressi dall'inizio della battaglia. Procedere?",
"noEggs": "You are not hatching\nany eggs at the moment!"
} as const;

View File

@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
"importData": "데이터 불러오기",
"exportData": "데이터 내보내기",
"cancel": "취소",
"losingProgressionWarning": "전투 시작으로부터의 진행 상황을 잃게 됩니다. 계속하시겠습니까?"
"losingProgressionWarning": "전투 시작으로부터의 진행 상황을 잃게 됩니다. 계속하시겠습니까?",
"noEggs": "You are not hatching\nany eggs at the moment!"
} as const;

View File

@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
"importData": "Importar dados",
"exportData": "Exportar dados",
"cancel": "Cancelar",
"losingProgressionWarning": "Você vai perder todo o progresso desde o início da batalha. Confirmar?"
"losingProgressionWarning": "Você vai perder todo o progresso desde o início da batalha. Confirmar?",
"noEggs": "You are not hatching\nany eggs at the moment!"
} as const;

View File

@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
"importData": "导入数据",
"exportData": "导出数据",
"cancel": "取消",
"losingProgressionWarning": "你将失去自战斗开始以来的所有进度。是否\n继续"
"losingProgressionWarning": "你将失去自战斗开始以来的所有进度。是否\n继续",
"noEggs": "You are not hatching\nany eggs at the moment!"
} as const;

View File

@ -19,5 +19,6 @@ export const menuUiHandler: SimpleTranslationEntries = {
"importData": "導入數據",
"exportData": "導出數據",
"cancel": "取消",
"losingProgressionWarning": "你將失去自戰鬥開始以來的所有進度。是否\n繼續"
"losingProgressionWarning": "你將失去自戰鬥開始以來的所有進度。是否\n繼續",
"noEggs": "You are not hatching\nany eggs at the moment!"
} as const;

View File

@ -322,6 +322,7 @@ export default class MenuUiHandler extends MessageUiHandler {
ui.setOverlayMode(Mode.EGG_LIST);
success = true;
} else {
ui.showText(i18next.t("menuUiHandler:noEggs"), null, () => ui.showText(""), Utils.fixedInt(1500));
error = true;
}
break;