2013-12-17 23:51:27 +00:00
script(type='text/ng-template', id='partials/options.inventory.equipment.html')
.row-fluid
.span6.border-right
li.customize-menu.inventory-gear
menu.pets-menu(label='{{label}}', ng-repeat='(klass,label) in {base:"Base", warrior:"Warrior", wizard:"Wizard", rogue:"Rogue", healer:"Healer", special:"Special"}', ng-show='gear[klass]')
div(ng-repeat='item in gear[klass]')
button.customize-option(popover='{{item.notes}}', popover-title='{{item.text}}', popover-trigger='mouseenter', popover-placement='right', ng-click='user.ops.equip({params:{key:item.key}})', class='shop_{{item.key}}', ng-class='{selectableInventory: user.items.gear.equipped[item.type] == item.key}')
.span6
label.checkbox.inline
input(type="checkbox", ng-model="user.preferences.costume", ng-click='set({"preferences.costume":!user.preferences.costume})')
| Use Costume
i.icon-question-sign(popover="Show something different on your avatar than the gear you have equipped for battle", popover-trigger='mouseenter', popover-placement='right')
li.customize-menu(ng-if='user.preferences.costume')
menu.pets-menu(label='{{label}}', ng-repeat='(klass,label) in {base:"Base", warrior:"Warrior", wizard:"Wizard", rogue:"Rogue", healer:"Healer", special:"Special"}', ng-show='gear[klass]')
div(ng-repeat='item in gear[klass]')
button.customize-option(popover='{{item.notes}}', popover-title='{{item.text}}', popover-trigger='mouseenter', popover-placement='right', ng-click='user.ops.equip({params:{type:"costume", key:item.key}})', class='shop_{{item.key}}', ng-class='{selectableInventory: user.items.gear.costume[item.type] == item.key}')
script(type='text/ng-template', id='partials/options.inventory.drops.html')
2013-11-10 04:15:55 +00:00
.row-fluid
2013-10-28 05:27:07 +00:00
.span6.border-right
h2 Inventory
2013-11-08 18:53:28 +00:00
p.well 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.
2013-10-28 05:27:07 +00:00
menu.inventory-list(type='list')
2013-11-10 04:15:55 +00:00
li.customize-menu
menu.pets-menu(label='Eggs ({{eggCount}})')
2013-11-24 14:53:48 +00:00
p(ng-show='eggCount < 1') You don't have any eggs.
2013-11-10 04:15:55 +00:00
div(ng-repeat='(egg,points) in ownedItems(user.items.eggs)')
//TODO move positioning this styling to css
2013-12-11 16:30:39 +00:00
button.customize-option(popover='{{Content.eggs[egg].notes}}', popover-title='{{Content.eggs[egg].text}} Egg', popover-trigger='mouseenter', popover-placement='right', ng-click='chooseEgg(egg)', class='Pet_Egg_{{egg}}', ng-class='{selectableInventory: selectedPotion && !user.items.pets[egg+"-"+selectedPotion.name]}')
2013-11-10 04:15:55 +00:00
.badge.badge-info.stack-count {{points}}
2013-12-11 16:30:39 +00:00
//-p {{Content.eggs[egg].text}}
2013-11-10 04:15:55 +00:00
2013-10-28 05:27:07 +00:00
li.customize-menu
2013-11-10 04:15:55 +00:00
menu.hatchingPotion-menu(label='Hatching Potions ({{potCount}})')
2013-11-24 14:53:48 +00:00
p(ng-show='potCount < 1') You don't have any hatching potions.
2013-11-10 04:15:55 +00:00
div(ng-repeat='(pot,points) in ownedItems(user.items.hatchingPotions)')
2013-12-11 16:30:39 +00:00
button.customize-option(popover='{{Content.hatchingPotions[pot].notes}}', popover-title='{{Content.hatchingPotions[pot].text}} Potion', popover-trigger='mouseenter', popover-placement='right', ng-click='choosePotion(pot)', class='Pet_HatchingPotion_{{pot}}', ng-class='{selectableInventory: selectedEgg && !user.items.pets[selectedEgg.name+"-"+pot]}')
2013-11-10 04:15:55 +00:00
.badge.badge-info.stack-count {{points}}
2013-11-11 04:03:54 +00:00
//-p {{pot}}
2013-11-10 04:15:55 +00:00
2013-11-14 21:02:34 +00:00
li.customize-menu
2013-11-11 03:18:06 +00:00
menu.pets-menu(label='Food ({{foodCount}})')
2013-11-24 14:53:48 +00:00
p(ng-show='foodCount < 1') You don't have any food.
2013-11-10 04:15:55 +00:00
div(ng-repeat='(food,points) in ownedItems(user.items.food)')
2013-12-11 16:30:39 +00:00
button.customize-option(popover='{{Content.food[food].notes}}', popover-title='{{Content.food[food].text}}', popover-trigger='mouseenter', popover-placement='right', ng-click='chooseFood(food)', class='Pet_Food_{{food}}')
2013-11-10 04:15:55 +00:00
.badge.badge-info.stack-count {{points}}
2013-11-11 04:03:54 +00:00
//-p {{food}}
2013-10-28 05:27:07 +00:00
2013-12-20 17:25:23 +00:00
li.customize-menu(ng-if='user.items.special.snowball')
menu.pets-menu(label='Special')
div
button.customize-option(popover='{{Content.special.snowball.notes}}', popover-title='{{Content.special.snowball.text}}', popover-trigger='mouseenter', popover-placement='right', ng-click='castStart(Content.special.snowball)', class='inventory_special_snowball')
.badge.badge-info.stack-count {{user.items.special.snowball}}
2013-10-28 05:27:07 +00:00
.span6
h2 Market
2013-11-10 04:15:55 +00:00
.row-fluid
2013-12-04 23:52:06 +00:00
table.npc_alex_container
2013-10-28 05:27:07 +00:00
tr
td
2013-12-04 23:52:06 +00:00
.npc_alex.pull-left
2013-10-28 05:27:07 +00:00
td
.popover.static-popover.fade.right.in
.arrow
h3.popover-title
a(target='_blank', href='http://www.kickstarter.com/profile/523661924') Alexander the Merchant
.popover-content
p
2013-12-01 17:58:03 +00:00
| Welcome to the Market! Buy hard-to-find eggs and potions! Sell your extras! Commission useful services! Come see what we have to offer.
2013-10-28 05:27:07 +00:00
p
button.btn.btn-primary(ng-show='selectedEgg', ng-click='sellInventory()')
2013-11-17 15:36:38 +00:00
| Sell {{selectedEgg.name}} for {{selectedEgg.value}} Gold
2013-10-28 05:27:07 +00:00
button.btn.btn-primary(ng-show='selectedPotion', ng-click='sellInventory()')
2013-11-17 15:36:38 +00:00
| Sell {{selectedPotion.name}} for {{selectedPotion.value}} Gold
2013-11-10 04:15:55 +00:00
button.btn.btn-primary(ng-show='selectedFood', ng-click='sellInventory()')
2013-11-17 15:36:38 +00:00
| Sell {{selectedFood.name}} for {{selectedFood.value}} Gold
2013-10-28 05:27:07 +00:00
menu.inventory-list(type='list')
li.customize-menu
menu.pets-menu(label='Eggs')
2013-12-11 16:30:39 +00:00
div(ng-repeat='egg in Content.eggs')
2013-12-15 21:49:22 +00:00
button.customize-option(popover='{{egg.notes}}', popover-title='{{egg.text}} Egg', popover-trigger='mouseenter', popover-placement='left', ng-click='purchase("eggs", egg)', class='Pet_Egg_{{egg.name}}')
2013-11-11 04:03:54 +00:00
p
| {{egg.value}}
span.Pet_Currency_Gem1x.inline-gems
2013-10-28 05:27:07 +00:00
li.customize-menu
menu.pets-menu(label='Hatching Potions')
2013-12-11 16:30:39 +00:00
div(ng-repeat='pot in Content.hatchingPotions')
2013-12-15 21:49:22 +00:00
button.customize-option(popover='{{pot.notes}}', popover-title='{{pot.text}} Potion', popover-trigger='mouseenter', popover-placement='left', ng-click='purchase("hatchingPotions", pot)', class='Pet_HatchingPotion_{{pot.name}}')
2013-11-11 04:03:54 +00:00
p
| {{pot.value}}
span.Pet_Currency_Gem1x.inline-gems
2013-11-10 04:15:55 +00:00
2013-11-14 21:02:34 +00:00
li.customize-menu
2013-11-10 04:15:55 +00:00
menu.pets-menu(label='Food')
2013-12-13 01:38:05 +00:00
div(ng-repeat='food in Content.food', ng-show='food.name !== "Saddle"')
2013-12-15 21:49:22 +00:00
button.customize-option(popover='{{food.notes}}', popover-title='{{food.text}}', popover-trigger='mouseenter', popover-placement='left', ng-click='purchase("food", food)', class='Pet_Food_{{food.name}}')
2013-11-11 04:03:54 +00:00
p
| {{food.value}}
span.Pet_Currency_Gem1x.inline-gems
2013-12-20 17:25:23 +00:00
li.customize-menu
menu.pets-menu(label='Special')
2013-12-13 01:38:05 +00:00
div
2013-12-15 21:49:22 +00:00
button.customize-option(popover='{{Content.food.Saddle.notes}}', popover-title='{{Content.food.Saddle.text}}', popover-trigger='mouseenter', popover-placement='left', ng-click='purchase("food", Content.food.Saddle)', class='Pet_Food_{{Content.food.Saddle.name}}')
2013-12-13 01:38:05 +00:00
p
| {{Content.food.Saddle.value}}
span.Pet_Currency_Gem1x.inline-gems
2013-12-01 17:58:03 +00:00
div
2013-12-20 17:25:23 +00:00
button.customize-option(popover='Return all tasks to neutral value (yellow color), and restore all lost Health.', popover-title=env.t('rerollName'), popover-trigger='mouseenter', popover-placement='left', ng-click='modals.reroll = true', class='inventory_special_fortify')
p
| 4
span.Pet_Currency_Gem1x.inline-gems
div
button.customize-option(popover='{{Content.spells.special.snowball.notes}}', popover-title='{{Content.spells.special.snowball.text}}', popover-trigger='mouseenter', popover-placement='left', ng-click='purchase("special", Content.spells.special.snowball)', class='inventory_special_snowball')
p
| {{Content.spells.special.snowball.value}}
2013-12-08 16:50:37 +00:00
span.Pet_Currency_Gem1x.inline-gems