PreviewImages

Displays one or more clickable image previews in the current step panel. Use FillerPreviewImages for images associated with optional objectives. Relative paths are resolved from APR-Core/assets/; full Interface\\... paths are also accepted.

Формат значения
table
Область применения
step

Технические описания сохранены на английском языке оригинала. Имена полей и примеры Lua не изменены.

Примеры

Пример из исходной документации. Замените идентификаторы и значения для своего маршрута; этот сайт не выполняет Lua.

Lua · 01
{
    Qpart = { [92465] = { 1, 2 } },
    Fillers = { [93552] = { 1 } },
    FillerPreviewImages = { [93552] = { "routeHelper\\93552.jpg" } },
},
{
    Qpart = { [93552] = { 1 } },
    PreviewImages = { "routeHelper\\93552.jpg" },
},

Поведение и подробности

Automation and Display
OptionDescriptionExpected Syntax
BloodlustAdds a reminder to use Heroism / Bloodlust.Bloodlust = true
BuffsList of buff spell IDs to recommend.Buffs = { { spellId = 311103, tooltipMessage = "FRESHLEAF_BUFF" } }
ButtonItem buttons keyed by quest ID or questID-objective. A value may be one item ID or a nonempty list of item IDs, displayed in list order on the same step. Keep one key per quest/objective; repeated Lua keys overwrite earlier values.Button = { ["30778-1"] = 81356 } or Button = { ["5648"] = { 12345, 67890 } }
ItemTargetOptional explicit target for UseItem and supporting Button actions. Only "player" is supported; the secure item button still requires a player click and respects combat lockdown. Omit for ordinary item targeting.ItemTarget = "player"
DenyNPCNPC ID whose gossip should be closed automatically.DenyNPC = 209914
DontskipvidPrevents automatic skipping of cutscenes or videos.Dontskipvid = true
ExtraActionBPrompts use of the special extra action button.ExtraActionB = true
ExtraLineText*Additional helper lines displayed in the current step panel. Supports numbered variants such as ExtraLineText2, ExtraLineText3, etc. Accepts localization keys or literal text.ExtraLineText = "Interact with the second console"
FillerPreviewImagesClickable image previews in the Fillers panel, keyed by numeric quest ID from the same step's Fillers. Each image list follows that quest's visible objectives and disappears when none remain. Uses the same paths as PreviewImages.FillerPreviewImages = { [93552] = { "routeHelper\\93552.jpg" } }
GossipOptionIDsAutomatically select dialogue by option ID, rather than position.GossipOptionIDs = { 51901, 51902 }
InVehicleIndicates vehicle status (1 = enter, 2 = stay in vehicle).InVehicle = 1
MerchantNPCLimit the step purchase to this merchant NPC.MerchantNPC = 54
NoAutoAcceptKeep the quest pickup visible but require manual acceptance.NoAutoAccept = true
NoAutoTurnInKeep the quest hand-in visible but require manual interaction.NoAutoTurnIn = true
PreviewImagesDisplays one or more clickable image previews in the current step panel. Use FillerPreviewImages for images associated with optional objectives. Relative paths are resolved from APR-Core/assets/; full Interface\\... paths are also accepted.PreviewImages = { "routeHelper\\86644.jpg" }
RaidIconNPC ID, list of NPC IDs, or entries with npcID, optional questID and objectiveIndex. Explicit quest bindings take priority; otherwise a unique localized kill-objective name is matched across main and filler rows. Fallback: first main quest row, first filler quest row if there is no main quest, then last extra text row. Icons follow skull, cross, square, moon, triangle, diamond, circle, star and align horizontally beside action buttons.RaidIcon = {{npcID = 241743, questID = 12345, objectiveIndex = 1}, 241744}
SpellButtonSpell buttons keyed by quest ID or questID-objective. A value may be one spell or a nonempty list of spells, displayed in list order on the same step. Prefer numeric spell IDs; names must be understood by the client language. Keep one key per quest/objective; repeated Lua keys overwrite earlier values.SpellButton = { ["49939-1"] = 294197 } or SpellButton = { ["5648"] = { 2050, 1243 } }
SpellTriggerAutomatically completes the step when the given spell is cast.SpellTrigger = 306719
TrigText*Text fragments used as completion triggers (TrigText, TrigText2, etc.).TrigText = "Restore the console"
UseGliderDisplays available gliders for controlled jumps.UseGlider = true
IsCampaignQuestMarks the step as part of a campaign.IsCampaignQuest = true
Image previews

Use PreviewImages for the main step and FillerPreviewImages for a quest tracked in that step's Fillers. Both options can appear on the same step and display independently in their respective panels. Clicking a thumbnail opens an enlarged image with zoom and pan controls.

FillerPreviewImages maps numeric quest IDs to nonempty lists of image paths. A quest's images appear once, below its visible filler objectives, while at least one of those objectives remains active. Completed, skipped or unavailable fillers do not display images. Images never block step progression.

For example, show 93552.jpg in the Fillers panel while working on another quest, then in the main panel when finishing quest 93552:

{
    Qpart = { [92465] = { 1, 2 } },
    Fillers = { [93552] = { 1 } },
    FillerPreviewImages = { [93552] = { "routeHelper\\93552.jpg" } },
},
{
    Qpart = { [93552] = { 1 } },
    PreviewImages = { "routeHelper\\93552.jpg" },
},

Declare the association on each step that needs the filler preview. Both options accept paths relative to APR-Core/assets/ or full Interface\\... paths; escape backslashes in Lua strings as shown above.

Синхронизировано с GitHub · 6d80020 · Сохранённые данные

Поиск по вики

12 результатов

Открыть вики