submit initial working solution to disallow selling of Saddle (#9663)

This commit is contained in:
Julius Jung 2017-12-05 15:22:59 -05:00 committed by Sabe Jones
parent b886d7bb33
commit ec179182e7
3 changed files with 11 additions and 2 deletions

View file

@ -7,9 +7,16 @@
div.close
span.svg-icon.inline.icon-10(aria-hidden="true", v-html="icons.close", @click="hideDialog()")
div.content(v-if="item != null")
div.content(v-if="item")
div.inner-content
div.inner-content(v-if="item.sellWarningNote")
slot(name="item", :item="item")
h4.title {{ text ? text : item.text() }}
div.text {{ item.sellWarningNote() }}
br
div.inner-content(v-else)
slot(name="item", :item="item")
h4.title {{ text ? text : item.text() }}

View file

@ -286,6 +286,7 @@
"foodSaddleText": "Saddle",
"foodSaddleNotes": "Instantly raises one of your pets into a mount.",
"foodSaddleSellWarningNote": "Hey! This is a pretty useful item! Are you familiar with how to use a Saddle with your Pets?",
"foodNotes": "Feed this to a pet and it may grow into a sturdy steed."
}

View file

@ -353,6 +353,7 @@ api.food = {
canBuy () {
return true;
},
sellWarningNote: t('foodSaddleSellWarningNote'),
text: t('foodSaddleText'),
value: 5,
notes: t('foodSaddleNotes'),