zarillion / handynotes-plugins

A collection of HandyNotes plugins for World of Warcraft.
Other
46 stars 34 forks source link

add 2 achievements "Clued In" and "Goggle Wobble" #401

Closed pepedressingroom closed 7 months ago

pepedressingroom commented 7 months ago

Hi guys, I use C_TaskQuest.IsActive(quest) to add a new requirement InProgress, which can be used for achievements and loots that need certain world quest, daily quest, or other quest active. Do you think it necessary to add this requirement? InProgress sounds strange, could it be merged into ns.requirement.Quest.

I added it in "Clued In", but did not add it for "Goggle Wobble". Because "Goggle Wobble" can be completed during world quest e.g {78931} or intro quest chain e.g {77483, 76448, 76557, 77415,}. It will be like this ns.requirement.InProgress(77483, 76448, 76557, 77415, 78931) I know it's just a simple achievement, and I make it complicated.

wyldclaw commented 7 months ago

@pepedressingroom We don't use World Quest IDs for stuff like this or localization. If the quest isn't available then it will cause issues in the display. @Dathwada can probably explain a little better! We talked about it a while back in the Discord server.

pepedressingroom commented 7 months ago

@wyldclaw , Get it. I have removed this requirement.

pepedressingroom commented 7 months ago

Add 3 nodes of WQ 'Research: Drakonid of Forbidden Reach' for 'Clued In'

_forbiddenreach2.lua

map.nodes[19621537] = ns.node.CluedIn({
    label = L['decaying_fishing_bucket'],
    quest = 77362,
    location = L['decaying_fishing_bucket_note']
})

map.nodes[18241313] = ns.node.CluedIn({
    label = L['forgotten_fishing_pole'],
    quest = 77362,
    location = L['forgotten_fishing_pole_note']
})

map.nodes[10591156] = ns.node.CluedIn({
    label = L['overgrown_fishing_bench'],
    quest = 77362,
    location = L['overgrown_fishing_bench_note']
})

enUS.lua

L['decaying_fishing_bucket'] = 'Decaying Fishing Bucket'
L['decaying_fishing_bucket_note'] = 'On the top floor of the tower.'
L['forgotten_fishing_pole'] = 'Forgotten Fishing Pole'
L['forgotten_fishing_pole_note'] = 'On the ground level.'
L['overgrown_fishing_bench'] = 'Overgrown Fishing Bench'
L['overgrown_fishing_bench_note'] = 'An overgrown rock, hard to see.'

zhCN.lua

L['decaying_fishing_bucket'] = '腐烂鱼桶'
L['decaying_fishing_bucket_note'] = '在塔的最顶层'
L['forgotten_fishing_pole'] = '被遗忘的鱼竿'
L['forgotten_fishing_pole_note'] = '在最底层'
L['overgrown_fishing_bench'] = '长满杂草的钓鱼椅'
L['overgrown_fishing_bench_note'] = '覆满青苔的岩石,不大显眼'
Krovikan commented 7 months ago

The following is only my opinion:

Instead of comment in closed PR you can open one new PR with "3 nodes of WQ 'Research: Drakonid of Forbidden Reach' for 'Clued In' forgotten" comment (for example) and commit the changes.

The same with other comments in closed PRs.

Regards

Dathwada commented 7 months ago

@pepedressingroom We don't use World Quest IDs for stuff like this or localization. If the quest isn't available then it will cause issues in the display. @Dathwada can probably explain a little better! We talked about it a while back in the Discord server.

Like @wyldclaw already explained. Sometimes when the world quest is not active, the API does not return the quest name. That's why we don't use the quest ID for world quests.