Quests icon indicating copy to clipboard operation
Quests copied to clipboard

The {questid} doesn't work in the quest display

Open tylerking opened this issue 2 years ago • 2 comments

Description of Bug

Tried setting up a quest using the locale placeholders combined with the {questid} variable/macro for the quests display item but it returns this error in chat:

"Attempt to reference unknown task 'questid'

I know these tags work in some places but not the quest itself.

Steps to Reproduce

Create this quest and reload:

display: name: "Brew Potions" lore-normal: - "Task: %quests_q:{questid}_p:task%" - "Progress: %quests_q:{questid}_p:progress%" type: "POTION" placeholders: task: "Brew 5 Potions" progress: "{brew:progress}/5 Potions" tasks: brew: type: "brewing" amount: 5

Environment

  • Minecraft version: 1.19
  • Server software: Paper
  • Quests version: 3.13.1

Agreements

  • [X] I am running the latest version of Quests
  • [X] I am certain this issue is unique and a similar issue is not currently open
  • [X] I am using a version of Minecraft which is supported by Quests

Other

No response

tylerking avatar Aug 04 '22 23:08 tylerking

I think a better solution would be an way to get those local placeholders without using PlaceholderAPI

LMBishop avatar Aug 06 '22 13:08 LMBishop

I completely agree and it would make editing quests a breeze without having to repeat yourself.

tylerking avatar Aug 06 '22 15:08 tylerking