{{this.title}}
{{#if ../isGM}}
{{this.activityLabel}}
{{ccLocalize "quest.completed"}}
{{ccLocalize "quest.failed"}}
{{this.urgency}}
{{ccLocalize "quest.pinned"}}
{{ccLocalize "quest.visible"}}
{{ccLocalize "quest.progress"}} {{this.progressPct}}% ({{this.progressLabel}})
{{#if this.isBlocked}}{{ccLocalize "quest.blocked"}}{{/if}}
{{ccLocalize "quest.addCheckIn"}}
{{ccLocalize "quest.notifyPlayersNow"}}
{{else}}
{{#unless (or this.completedOn this.failedOn)}}
{{this.activityLabel}}
{{/unless}}
{{#if this.completedOn}}
{{ccLocalize "quest.completed"}}
{{/if}}
{{#if this.failedOn}}
{{ccLocalize "quest.failed"}}
{{/if}}
{{ccLocalize "quest.progress"}} {{this.progressPct}}% ({{this.progressLabel}})
{{#unless (or this.completedOn this.failedOn)}}
{{#if this.isBlocked}}{{ccLocalize "quest.blocked"}}{{/if}}
{{/unless}}
{{/if}}
{{#if this.canViewSource}}
{{ccLocalize "quest.openSource"}}
{{/if}}
{{#if ../isGM}}
{{/if}}
{{#if (or ../isGM this.showRewardsToPlayer)}}
{{/if}}
{{#if (or ../isGM this.hasLinkedMacros)}}
{{/if}}
{{#if (or ../isGM this.hasVisibleQuestLinks)}}
{{#if (or ../isGM this.hasQuestGiver)}}
{{/if}}
{{#if (or ../isGM this.hasRelatedDocs)}}
{{/if}}
{{/if}}
{{#if ../isGM}}
{{/if}}
{{#if this.visibleObjectives.length}}
{{/if}}
{{#if this.checkIns.length}}
{{/if}}
{{ccLocalize "names.information"}}
{{{this.enrichedDescription}}}
{{ccLocalize "quest.rewards"}}
{{#if ../isGM}} {{/if}}-
{{#if ../isGM}}
{{#if this.canDistributeAwards}}
{{/if}}
{{/if}}
{{#if this.rewardXP}}
- XP{{this.rewardXP}} {{/if}} {{#if this.rewardCurrency}}
- {{../currencyLabel}}{{this.rewardCurrency}} {{/if}} {{#if this.rewardReputation}}
- {{ccLocalize "quest.reputation"}}{{this.rewardReputation}} {{/if}} {{#each this.inventory as |item|}}
- {{item.name}} (x{{item.quantity}}) {{#if ../../isGM}} {{/if}} {{/each}}
{{ccLocalize "quest.macros"}}
{{#each this.macroItems}}
{{#if ../isGM}}{{#unless this.hasLinkedMacros}}{{ccLocalize "quest.dropMacro"}}{{/unless}}{{/if}}
{{this.name}}
{{#if ../../isGM}}{{/if}}
{{/each}}
{{ccLocalize "quest.questGiver"}}
{{#if this.questGiver}}
{{#if ../isGM}}{{#unless questGiver}}{{ccLocalize "quest.dropQuestGiver"}}{{/unless}}{{/if}}
{{this.questGiver.name}}
{{#if ../isGM}}{{/if}}
{{/if}}
{{ccLocalize "quest.related"}}
{{#each this.relatedDocs}}
{{#if this}}
{{#if ../isGM}}{{#unless relatedDocs}}{{ccLocalize "quest.dropRelated"}}{{/unless}}{{/if}}
{{this.name}}
{{#if ../../isGM}}{{/if}}
{{/if}}
{{/each}}
{{ccLocalize "quest.dependencies"}}
{{#each this.dependencyItems}}
{{#if ../isGM}}{{#unless dependencyItems}}{{ccLocalize "quest.dropDependency"}}{{/unless}}{{/if}}
{{this.title}}
{{/each}}
{{ccLocalize "quest.unlocks"}}
{{#each this.unlockItems}}
{{#if ../isGM}} {{#unless unlockItems}}{{ccLocalize "quest.dropUnlock"}}{{/unless}}{{/if}}
{{this.title}}
{{/each}}
{{ccLocalize "quest.objectives"}}
-
{{> "modules/campaign-codex/templates/partials/toc-quest-objective.hbs" objectives=this.visibleObjectives isGM=../isGM questId=this.id docUuid=this.journalUuid}}
{{ccLocalize "quest.checkIns"}}
-
{{#each this.checkIns}}
- {{this.note}} {{this.atLabel}} {{/each}}