// Copyright (C) 2024 The Qt Company Ltd. // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause import QtQuick import QtQuick3D import QtQuick3D.Xr XrItem { id: prompter property int prompt: Prompt.None enum Prompt { None, DarknessFalling, PickupTorch, LightupTorch, DefendCrop } property var prompts : [ "", "Darkness is descending, enveloping the field.", "Lift the torch and prepare for the journey ahead.", "Light up the torch and illuminate your path.", "Defend the field by igniting the fire pits." ] property int hasShown: 0 onPromptChanged: { var bitmask = (1<