From 43fdf939cce63e2f6f4b07646ec613c0994e2d72 Mon Sep 17 00:00:00 2001 From: Alys Date: Fri, 3 Apr 2015 23:00:15 +1000 Subject: [PATCH] add text to the Market for eggs, hatching potions, and food to explain to new users that the items will also drop --- common/locales/en/pets.json | 1 + website/views/options/inventory/inventory.jade | 3 +++ 2 files changed, 4 insertions(+) diff --git a/common/locales/en/pets.json b/common/locales/en/pets.json index 68f13bfe95..523fe5985f 100644 --- a/common/locales/en/pets.json +++ b/common/locales/en/pets.json @@ -26,6 +26,7 @@ "inventoryText": "Click an egg to see usable potions highlighted in green and then click one of the highlighted potions to hatch your pet. If no potions are highlighted, click that egg again to deselect it, and instead click a potion first to have the usable eggs highlighted. You can also sell unwanted drops to Alexander the Merchant.", "food": "Food and Saddles", "noFood": "You don't have any food or saddles.", + "dropsExplanation": "Get these items faster with gems if you don't want to wait for them to drop when completing a task. Learn more.", "beastMasterProgress": "Beast Master Progress", "beastAchievement": "You have earned the \"Beast Master\" Achievement for collecting all the pets!", "beastMasterName": "Beast Master", diff --git a/website/views/options/inventory/inventory.jade b/website/views/options/inventory/inventory.jade index 237b213d9c..e81fe4aa74 100644 --- a/website/views/options/inventory/inventory.jade +++ b/website/views/options/inventory/inventory.jade @@ -187,6 +187,7 @@ script(type='text/ng-template', id='partials/options.inventory.drops.html') menu.inventory-list(type='list') li.customize-menu menu.pets-menu(label=env.t('eggs')) + p.muted!=env.t('dropsExplanation') div(ng-repeat='egg in Content.eggs', ng-if='egg.canBuy') button.customize-option(popover='{{::egg.notes()}}', popover-title!=env.t("egg", {eggType: "{{::egg.text()}}"}), popover-trigger='mouseenter', popover-placement='top', popover-append-to-body='true', ng-click='purchase("eggs", egg)', class='Pet_Egg_{{::egg.key}}') p @@ -207,6 +208,7 @@ script(type='text/ng-template', id='partials/options.inventory.drops.html') li.customize-menu menu.pets-menu(label=env.t('hatchingPotions')) + p.muted!=env.t('dropsExplanation') div(ng-repeat='pot in Content.hatchingPotions') button.customize-option(popover='{{::pot.notes()}}', popover-title!=env.t("potion", {potionType: "{{::pot.text()}}"}), popover-trigger='mouseenter', popover-placement='top', popover-append-to-body='true', ng-click='purchase("hatchingPotions", pot)', class='Pet_HatchingPotion_{{::pot.key}}') p @@ -215,6 +217,7 @@ script(type='text/ng-template', id='partials/options.inventory.drops.html') li.customize-menu menu.pets-menu(label=env.t('food')) + p.muted!=env.t('dropsExplanation') div(ng-repeat='food in Content.food', ng-if='food.canBuy') button.customize-option(popover='{{::food.notes()}}', popover-title='{{::food.text()}}', popover-trigger='mouseenter', popover-placement='top', popover-append-to-body='true', ng-click='purchase("food", food)', class='Pet_Food_{{::food.key}}') p