@if (store.loading()) {

Approaching…

} @else if (store.error()) { } @else if (store.interaction(); as interaction) {

{{ interaction.npc.name }}

@if (interaction.npc.title) {

{{ interaction.npc.title }}

} @if (interaction.npc.description) {

{{ interaction.npc.description }}

}
@if (interaction.dialogue) {
{{ interaction.dialogue.text }}
} @if (store.actionError()) { } @if (store.questLine(); as line) {
{{ line }}
} @if (store.grantedBag(); as bag) {

New Loot Bag

{{ bag.name }}

{{ capacityLabel(bag) }}

} @if (isPanel('QUESTS')) {

Matters at Hand

@for (quest of store.quests(); track quest.key) {

{{ quest.title }}

{{ quest.description }}

@if (currentObjective(quest); as objective) { } @if (quest.status === 'AVAILABLE') { } @else if (quest.status === 'ACTIVE' && isCurrentStepHere(quest)) { }
} @empty {

There is nothing to discuss.

}
} @if (isPanel('EXCHANGE') && store.exchange(); as exchange) {

{{ exchange.profileName }}

@if (exchange.offers.length === 0) {

There is nothing here he will take.

} @else {
    @for (offer of exchange.offers; track offer.itemKey) {
  • {{ offer.itemName }} Carrying {{ offer.quantityCarried }}
    {{ offer.silverPerStep }} Silver +{{ offer.reputationPerStep }} {{ offer.factionName }}
  • }
} @if (store.lastTrade(); as trade) {

Trade Complete

    @for (entry of trade.consumed; track entry.itemKey) {
  • {{ entry.quantity }} × {{ entry.itemName }} handed in
  • }
  • +{{ trade.rewards.silver }} Silver
  • +{{ trade.rewards.regionalReputation }} Border Watch Reputation
  • @if (trade.rewards.worldRenown > 0) {
  • +{{ trade.rewards.worldRenown }} World Renown
  • }
@if (trade.reputationRankChanged) {

The Border Watch now regards you differently.

}
}
} @if (isPanel('SHOP') && store.shop(); as shop) {

{{ shop.shopName }}

{{ shop.silver }} Silver

@if (store.newlyUnlocked().length > 0) {

@for (name of store.newlyUnlocked(); track name) { New merchant offer unlocked: {{ name }} }

} @if (store.lastPurchase(); as purchase) {

Bought {{ purchase.quantity }} × {{ purchase.itemName }} for {{ purchase.silverSpent }} Silver.

}
}
}