Back to Home

ESO Lua File v101042

ingame/antiquities/antiquityjournaldialogs.lua

[◄ back to folders ]
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
-- Abandon scrying progress dialog
ZO_Dialogs_RegisterCustomDialog("CONFIRM_ABANDON_ANTIQUITY_SCRYING_PROGRESS",
{
    canQueue = true,
    gamepadInfo =
    {
        dialogType = GAMEPAD_DIALOGS.BASIC,
    },
    title =
    {
        text = SI_ANTIQUITY_CONFIRM_ABANDON_SCRYING_PROGRESS_TITLE,
    },
    mainText =
    {
        text = SI_ANTIQUITY_CONFIRM_ABANDON_SCRYING_PROGRESS_PROMPT,
    },
    buttons =
    {
        -- Confirm Button
        {
            keybind = "DIALOG_PRIMARY",
            text = GetString(SI_DIALOG_CONFIRM),
            callback = function(dialog)
                local data = dialog.data
                local antiquityId = data.antiquityId
                RequestAbandonAntiquity(antiquityId)
            end,
        },
        -- Cancel Button
        {
            keybind = "DIALOG_NEGATIVE",
            text = GetString(SI_DIALOG_CANCEL),
        },
    },
})