2013-03-08 17:55:04 +00:00
< modals: >
2013-03-21 20:56:25 +00:00
2013-03-13 15:47:37 +00:00
< app:modals:modal modalId = 'drops-enabled-modal' header = "Drops Enabled!" >
2013-03-27 00:58:44 +00:00
< p > < span class = "Pet_Egg_{_user.items.eggs.0.name} item-drop-icon" > < / span > You've unlocked the Drop System! Now when you complete tasks, you have a small chance of finding an item. And guess what, you just found a < strong > {_user.items.eggs.0.text} egg< / strong > ! {_user.items.eggs.0.notes}< / p >
2013-03-09 13:17:02 +00:00
< @footer>
2013-03-10 01:03:24 +00:00
< button class = "btn" data-dismiss = "modal" aria-hidden = "true" > Close< / button >
2013-03-09 13:17:02 +00:00
< /@footer>
2013-03-13 15:37:06 +00:00
< / app:modals:modal >
2013-03-21 20:56:25 +00:00
< app:modals:modal modalId = 'item-dropped-modal' header = "An item has dropped!" >
< p > < span class = "Pet_{_drop.type}_{_drop.name} item-drop-icon" > < / span > {_drop.dialog}< / p >
2013-03-13 15:37:06 +00:00
< @footer>
< button class = "btn" data-dismiss = "modal" aria-hidden = "true" > Close< / button >
< /@footer>
< / app:modals:modal >
2013-05-03 15:06:25 +00:00
< app:modals:modal modalId = 'beastmaster-achievement-modal' header = "Achievement Unlocked!" >
< p >
< div class = 'achievement achievement-rat' > < / div > You have earned the "Beast Master" Achievement for collecting all the pets!
< / p >
< @footer>
< button class = "btn" data-dismiss = "modal" aria-hidden = "true" > Close< / button >
< /@footer>
< / app:modals:modal >
2013-03-23 01:21:35 +00:00
< pet: >
< td class = "{#if _user.items.pets[.name]}active-pet{/}" >
< img rel = tooltip title = "{.text} - {.value} Tokens" x-bind = "click:selectPet" data-pet = '{.name}' src = 'img/sprites/{.icon}' / >
< / td >
2013-03-27 18:24:06 +00:00
< hatchingPotion: >
2013-03-27 18:59:56 +00:00
< td class = "active-hatchingPotion" x-bind = "click:buyHatchingPotion" data-hatchingPotion = '{.name}' >
2013-03-28 07:36:57 +00:00
< div class = "Pet_HatchingPotion_{.name}" > < / div >
{.text}< br / > < small > {.value} tokens< small >
2013-03-23 01:21:35 +00:00
< / td >
2013-03-23 01:37:48 +00:00
2013-03-25 21:41:41 +00:00
< egg: >
2013-03-27 18:59:56 +00:00
< td class = "active-egg" x-bind = "click:buyEgg" data-egg = '{.name}' >
2013-03-28 07:36:57 +00:00
< div rel = tooltip class = "Pet_Egg_{.name}" > < / div >
{.text}< br / > < small > {.value} tokens< small >
2013-03-25 21:41:41 +00:00
< / td >
2013-03-23 01:37:48 +00:00
< inventory: >
< div class = 'row-fluid' >
2013-05-02 14:12:00 +00:00
< div class = '{#if _hatchEgg}span6{/}' >
2013-03-25 17:50:32 +00:00
< menu type = "list" class = "inventory-list" >
2013-03-23 01:37:48 +00:00
< li class = "customize-menu" >
2013-03-25 17:50:32 +00:00
< menu label = "Eggs" class = 'pets-menu' >
2013-03-27 18:57:40 +00:00
{#if not(_user.items.eggs)}
< p > You don't have any eggs yet.< / p >
{/if}
2013-03-25 16:18:28 +00:00
{#each _user.items.eggs as :egg}
2013-03-25 17:50:32 +00:00
< div >
< button rel = tooltip title = "{:egg.text}" class = "customize-option Pet_Egg_{{:egg.name}}" x-bind = "click: chooseEgg" > < / button >
< p > {:egg.text}< / p >
< / div >
2013-03-25 16:18:28 +00:00
{/each}
< / menu >
2013-03-23 01:37:48 +00:00
< / li >
< li class = "customize-menu" >
2013-03-27 18:57:40 +00:00
< menu label = "Hatching Potions" class = 'hatchingPotion-menu' >
{#if not(_user.items.hatchingPotions)}
< p > You don't have any hatching potions yet.< / p >
{/if}
2013-03-27 18:24:06 +00:00
{#each _user.items.hatchingPotions as :hatchingPotion}
2013-03-25 17:50:32 +00:00
< div >
2013-03-27 18:24:06 +00:00
< button rel = tooltip title = "{:hatchingPotion}" class = "customize-option Pet_HatchingPotion_{{:hatchingPotion}}" x-bind = "click: chooseHatching Potion" > < / button >
< p > {:hatchingPotion}< / p >
2013-03-25 17:50:32 +00:00
< / div >
2013-03-25 16:18:28 +00:00
{/each}
< / menu >
2013-03-23 01:37:48 +00:00
< / li >
< / menu >
< / div >
2013-03-27 18:24:06 +00:00
{#if _hatchEgg}
2013-05-02 14:12:00 +00:00
< div class = 'span6' >
2013-03-23 04:35:51 +00:00
< h3 > Hatch Your Egg< / h3 >
2013-03-27 18:24:06 +00:00
{#if not(_user.items.hatchingPotions)}
2013-03-27 07:20:33 +00:00
< p > You don't have any hatching potions yet.< / p >
2013-03-23 01:37:48 +00:00
{else}
2013-03-27 18:57:40 +00:00
< p > Which hatching potion will you pour on your {_hatchEgg.text} egg?< / p >
2013-03-27 18:24:06 +00:00
< form x-bind = "submit:hatchEgg" >
2013-03-23 01:37:48 +00:00
< select >
2013-03-27 18:24:06 +00:00
{#each _user.items.hatchingPotions as :hatchingPotion}
2013-04-21 21:46:58 +00:00
< option > {:hatchingPotion}< / option >
2013-03-23 01:37:48 +00:00
{/each}
< / select >
2013-04-06 05:55:34 +00:00
< button type = submit > Pour< / button >
2013-03-23 01:37:48 +00:00
< / form >
{/if}
< / div >
{/if}
< / div >
< stable: >
2013-05-03 11:27:14 +00:00
< div > {count(_user.items.pets)} / 90 Pets Found< / div >
2013-04-15 06:03:32 +00:00
< table >
{{#each _items.pets as :pet}}
< tr >
{{#each _items.hatchingPotions as :potion}}
< td >
2013-04-17 01:30:44 +00:00
< app:pets:stable-pet tooltip = "{{:potion.text}} {{:pet.text}}" pet = "{{:pet.name}}-{{:potion.name}}" / >
2013-04-15 06:03:32 +00:00
< / td >
{{/}}
< / tr >
{{/}}
< / table >
2013-04-17 01:30:44 +00:00
< h4 > Rare Pets< / h4 >
< table >
< tr >
< td > < app:pets:stable-pet potion = 'Veteran Wolf' pet = "Wolf-Veteran" / > < / td >
< / tr >
< / table >
2013-04-15 06:03:32 +00:00
<!-- <menu type="list">
< li class = "customize-menu" >
< menu >
< / menu >
< / li >
< / menu > -->
< stable-pet: >
2013-04-17 01:30:44 +00:00
< div rel = "tooltip" title = "{{@tooltip}}" >
{{#if ownsPet(@pet, _user.items.pets)}}
< button class = "pet-button Pet-{{@pet}} {#if equal(_user.items.currentPet.name, @string)}active{/if}" data-pet = "{{@pet}}" x-bind = "click:choosePet" > < / button >
2013-04-15 06:03:32 +00:00
{{else}}
2013-04-17 01:30:44 +00:00
< button class = "pet-button pet-not-owned" data-pet = "{{@pet}}" > < img src = "/img/paw.png" / > < / button >
2013-04-15 06:03:32 +00:00
{{/}}
< / div >