new client - quest / seasonal / time travelers shops (#8903)

* initial quests.vue - refactorings - add group to quests

* shows quests by quest-group

* buyQuestModal with rewards sidebar

* store / actions to load seasonal/time-travelers shop data

* buyModal buyPressed instead of buyAction - seasonal shop categories now with specialClass property - seasonal shop

* time travelers vue - show hourglass in shopItem / buyDialog - fix banners

* cleanup

* show amount of already owned quests

* show html notes in popovers / dialog

* extract purchase-api to common.ops.purchaseWithSpell to call the same in the store / update the UI on purchases

* add time-travelers sprites

* fix lint

* add last mystery set images

* remove unused Page

* remove equipment from newClient.json
This commit is contained in:
negue
2017-08-01 01:04:40 +02:00
committed by Keith Holliday
parent 90f7390f84
commit ade6d9689f
87 changed files with 1954 additions and 85 deletions

View File

@@ -127,6 +127,7 @@ shops.getQuestShopCategories = function getQuestShopCategories (user, language)
* key: 'bundleName',
* text: t('bundleNameText'),
* notes: t('bundleNameNotes'),
* group: 'group',
* bundleKeys: [
* 'quest1',
* 'quest2',
@@ -154,6 +155,7 @@ shops.getQuestShopCategories = function getQuestShopCategories (user, language)
* key: 'bundleName',
* text: 'i18ned string for bundle title',
* notes: 'i18ned string for bundle description',
* group: 'group',
* value: 7,
* currency: 'gems',
* class: 'quest_bundle_bundleName',
@@ -205,6 +207,7 @@ shops.getQuestShopCategories = function getQuestShopCategories (user, language)
key: quest.key,
text: quest.text(language),
notes: quest.notes(language),
group: quest.group,
value: quest.goldValue ? quest.goldValue : quest.value,
currency: quest.goldValue ? 'gold' : 'gems',
locked,
@@ -404,6 +407,7 @@ shops.getSeasonalShopCategories = function getSeasonalShopCategories (user, lang
});
if (category.items.length > 0) {
category.specialClass = category.items[0].specialClass;
categories.push(category);
}
}