2015-10-01 18:25:00 +00:00
|
|
|
mixin mountList(eggSource, potionSource)
|
2015-07-11 18:13:00 +00:00
|
|
|
menu.pets(type='list')
|
2015-10-01 18:25:00 +00:00
|
|
|
each egg in eggSource
|
2015-07-11 18:13:00 +00:00
|
|
|
-if(!egg.noMount) {
|
|
|
|
|
li.customize-menu
|
|
|
|
|
menu
|
2015-10-01 18:25:00 +00:00
|
|
|
each potion in potionSource
|
2016-09-11 03:05:25 +00:00
|
|
|
- var mountKey = egg.key+"-"+potion.key
|
|
|
|
|
- var mount = env.Content.mountInfo[mountKey]
|
|
|
|
|
div(popover-trigger='mouseenter', popover=mount.text(), popover-placement='bottom')
|
|
|
|
|
button(class="pet-button Mount_Icon_#{mountKey}", ng-show='user.items.mounts["#{mountKey}"]', ng-class='{active: user.items.currentMount == "#{mountKey}"}', ng-click='chooseMount("#{egg.key}", "#{potion.key}")')
|
|
|
|
|
button(class="pet-button mount-not-owned", ng-if='!user.items.mounts["#{mountKey}"] && (#{potion.canBuy()} || user.items.hatchingPotions["#{potion.key}"] || user.items.pets["#{mountKey}"])')
|
2015-07-11 18:13:00 +00:00
|
|
|
.PixelPaw
|
|
|
|
|
-}
|
|
|
|
|
|
|
|
|
|
.container-fluid
|
2015-07-17 00:19:32 +00:00
|
|
|
.stable.row: .col-xs-12
|
|
|
|
|
.pull-left-sm.col-centered(class="#{env.worldDmg.stables ? 'npc_matt_broken' : 'npc_matt'}")
|
|
|
|
|
.popover.static-popover.fade.right.in.pull-left-sm.col-centered
|
|
|
|
|
.arrow.hidden-xs
|
|
|
|
|
h3.popover-title
|
|
|
|
|
a(target='_blank', href='http://www.kickstarter.com/profile/mattboch')=env.t('mattBoch')
|
|
|
|
|
.popover-content
|
|
|
|
|
p=env.t('mattShall', {name: "{{user.profile.name}}"})
|
2015-08-13 15:39:23 +00:00
|
|
|
h4 {{:: env.t('stableMountMasterProgress', { number: mountMasterProgress }) }}
|
2015-07-17 01:10:48 +00:00
|
|
|
.row: .col-md-12
|
2015-10-01 18:25:00 +00:00
|
|
|
+mountList(env.Content.dropEggs,env.Content.dropHatchingPotions)
|
2015-10-01 18:21:15 +00:00
|
|
|
|
|
|
|
|
.row: .col-md-12
|
|
|
|
|
h4=env.t('magicMounts')
|
|
|
|
|
menu.pets(type='list')
|
|
|
|
|
each potion in env.Content.premiumHatchingPotions
|
|
|
|
|
li.customize-menu
|
|
|
|
|
menu
|
|
|
|
|
each egg in env.Content.dropEggs
|
2016-09-11 03:05:25 +00:00
|
|
|
- var mountKey = egg.key + "-" + potion.key
|
|
|
|
|
- var mount = env.Content.mountInfo[mountKey]
|
|
|
|
|
div(popover-trigger='mouseenter', popover=mount.text(), popover-placement='bottom')
|
|
|
|
|
button(class="pet-button Mount_Icon_#{mountKey}", ng-show='user.items.mounts["#{mountKey}"]', ng-class='{active: user.items.currentMount == "#{mountKey}"}', ng-click='chooseMount("#{egg.key}", "#{potion.key}")')
|
|
|
|
|
button(class="pet-button mount-not-owned", ng-if='!user.items.mounts["#{mountKey}"] && (#{potion.canBuy()} || user.items.hatchingPotions["#{potion.key}"] || user.items.pets["#{mountKey}"])')
|
2015-10-01 18:21:15 +00:00
|
|
|
.PixelPaw
|
2015-07-17 01:10:48 +00:00
|
|
|
.row: .col-md-12
|
2015-07-17 00:19:32 +00:00
|
|
|
h4=env.t('questMounts')
|
2015-10-01 18:25:00 +00:00
|
|
|
+mountList(env.Content.questEggs,env.Content.dropHatchingPotions)
|
2015-07-17 01:10:48 +00:00
|
|
|
.row: .col-md-12
|
2015-07-17 00:19:32 +00:00
|
|
|
h4=env.t('rareMounts')
|
|
|
|
|
menu
|
|
|
|
|
div
|
|
|
|
|
each t,k in env.Content.specialMounts
|
|
|
|
|
- var animal = k.split('-')[0], color = k.split('-')[1]
|
2015-12-05 22:26:50 +00:00
|
|
|
button(ng-if='user.items.mounts["#{animal}-#{color}"]', class="pet-button Mount_Icon_#{animal}-#{color}", ng-class='{active: user.items.currentMount == "#{animal}-#{color}"}', ng-click='chooseMount("#{animal}", "#{color}")', popover=env.t(t), popover-trigger='mouseenter', popover-placement='bottom')
|