mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-08-01 23:40:25 +00:00
72 lines
No EOL
4.6 KiB
Text
72 lines
No EOL
4.6 KiB
Text
script(type='text/ng-template', id='partials/options.inventory.stable.html')
|
|
ul.nav.nav-tabs
|
|
li(ng-class="{ active: $state.includes('options.inventory.stable.pets') }")
|
|
a(ui-sref='options.inventory.stable.pets')
|
|
| Pets
|
|
li(ng-class="{ active: $state.includes('options.inventory.stable.mounts') }")
|
|
a(ui-sref='options.inventory.stable.mounts')
|
|
| Mounts
|
|
.tab-content
|
|
.tab-pane.active
|
|
div(ui-view)
|
|
|
|
script(type='text/ng-template', id='partials/options.inventory.stable.mounts.html')
|
|
.stable
|
|
.NPC-Matt
|
|
.popover.static-popover.fade.right.in(style='max-width: 550px; margin-left: 10px;')
|
|
.arrow
|
|
h3.popover-title
|
|
a(target='_blank', href='http://www.kickstarter.com/profile/mattboch') Matt Boch
|
|
.popover-content
|
|
p.
|
|
Shall I bring you your steed, {{user.profile.name}}? Click a mount to saddle up.
|
|
h4 {{mountCount}} / {{totalPets}} Mounts Tamed
|
|
menu.pets(type='list')
|
|
li.customize-menu(ng-repeat='egg in Items.eggs')
|
|
menu
|
|
div(ng-repeat='potion in Items.hatchingPotions', tooltip='{{potion.name}} {{egg.name}}', ng-init='mount = egg.name+"-"+potion.name')
|
|
button(class="pet-button Pet-{{mount}}", ng-show='user.items.mounts[mount]', ng-class='{active: user.items.currentMount == mount}', ng-click='chooseMount(egg.name, potion.name)')
|
|
button(class="pet-button pet-not-owned", ng-hide='user.items.mounts[mount]')
|
|
img(src='/bower_components/habitrpg-shared/img/PixelPaw.png')
|
|
|
|
script(type='text/ng-template', id='partials/options.inventory.stable.pets.html')
|
|
.stable
|
|
.NPC-Matt
|
|
.popover.static-popover.fade.right.in(style='max-width: 550px; margin-left: 10px;')
|
|
.arrow
|
|
h3.popover-title
|
|
a(target='_blank', href='http://www.kickstarter.com/profile/mattboch') Matt Boch
|
|
.popover-content
|
|
p.
|
|
Welcome to the Stable! I'm Matt, the beast master. Choose a pet here to venture at your side. Feed them and they'll grow into powerful steeds. <a target='_blank' href='https://f.cloud.github.com/assets/2374703/164631/3ed5fa6c-78cd-11e2-8743-f65ac477b55e.png'>Have a look-see</a> at all the pets you can collect.
|
|
h4 {{petCount}} / {{totalPets}} Pets Found
|
|
|
|
menu.pets(type='list')
|
|
li.customize-menu(ng-repeat='egg in Items.eggs')
|
|
menu
|
|
div(ng-repeat='potion in Items.hatchingPotions', tooltip='{{potion.name}} {{egg.name}}', ng-init='pet = egg.name+"-"+potion.name')
|
|
button(class="pet-button Pet-{{pet}}", ng-if='user.items.pets[pet]>0', ng-class='{active: user.items.currentPet == pet}', ng-click='choosePet(egg.name, potion.name)')
|
|
.progress(ng-class='{"progress-success": user.items.pets[pet]<150}')
|
|
.bar(style="width: {{user.items.pets[pet]/1.5}}%;")
|
|
button(class="pet-button pet-not-owned", ng-if='!user.items.pets[pet]')
|
|
img(src='/bower_components/habitrpg-shared/img/PixelPaw.png')
|
|
|
|
h4 Rare Pets
|
|
menu
|
|
div
|
|
button(ng-if='user.items.pets["Wolf-Veteran"]', class="pet-button Pet-Wolf-Veteran", ng-class='{active: user.items.currentPet == "Wolf-Veteran")}', ng-click='choosePet("Wolf", "Veteran")', tooltip='Veteran Wolf')
|
|
button(ng-if='user.items.pets["Wolf-Cerberus"]', class="pet-button Pet-Wolf-Cerberus", ng-class='{active: user.items.currentPet == "Wolf-Cerberus")}', ng-click='choosePet("Wolf", "Cerberus")', tooltip='Cerberus Pup')
|
|
button(ng-if='user.items.pets["Dragon-Hydra"]', class="pet-button Pet-Dragon-Hydra", ng-class='{active: user.items.currentPet == "Dragon-Hydra")}', ng-click='choosePet("Dragon", "Hydra")', tooltip='Hydra Pet')
|
|
a(target='_blank', href='https://github.com/HabitRPG/habitrpg/wiki/Contributing')
|
|
button(ng-if='!user.items.pets["Dragon-Hydra"]', class="pet-button pet-not-owned", popover-trigger='mouseenter', popover-placement='right', popover="Click the gold paw to learn more about how you can obtain this rare pet through contributing to HabitRPG!", popover-title='How to Get this Pet!')
|
|
img(src='/bower_components/habitrpg-shared/img/PixelPaw-Gold.png')
|
|
|
|
.well(style='position:fixed;right:0px;top:50%;width:200px')
|
|
menu.inventory-list(type='list')
|
|
li.customize-menu
|
|
menu.food-menu(label='Food')
|
|
p(ng-show='foodCount < 1') You don't have any food yet.
|
|
div(ng-repeat='(food,points) in ownedItems(user.items.food)')
|
|
button.customize-option(tooltip='{{food}}', ng-click='chooseFood(food)', class='Pet_Food_{{food}}')
|
|
.badge.badge-info.stack-count {{points}}
|
|
p {{food}} |