mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
submit initial working solution to disallow selling of Saddle (#9663)
This commit is contained in:
parent
b886d7bb33
commit
ec179182e7
3 changed files with 11 additions and 2 deletions
|
|
@ -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() }}
|
||||
|
|
|
|||
|
|
@ -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."
|
||||
}
|
||||
|
|
|
|||
|
|
@ -353,6 +353,7 @@ api.food = {
|
|||
canBuy () {
|
||||
return true;
|
||||
},
|
||||
sellWarningNote: t('foodSaddleSellWarningNote'),
|
||||
text: t('foodSaddleText'),
|
||||
value: 5,
|
||||
notes: t('foodSaddleNotes'),
|
||||
|
|
|
|||
Loading…
Reference in a new issue