mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-03 12:40:00 +00:00
feat(quest): Pet Rocks
This commit is contained in:
parent
e7c7b3f081
commit
0608ac5caa
5 changed files with 30 additions and 2 deletions
Binary file not shown.
|
After Width: | Height: | Size: 7.3 KiB |
|
|
@ -72,6 +72,9 @@
|
|||
"questEggTRexText": "Tyrannosaur",
|
||||
"questEggTRexAdjective": "tiny-armed",
|
||||
|
||||
"questEggRockText": "Rock",
|
||||
"questEggRockAdjective": "lively",
|
||||
|
||||
"eggNotes": "Find a hatching potion to pour on this egg, and it will hatch into a <%= eggAdjective(locale) %> <%= eggText(locale) %>.",
|
||||
|
||||
"hatchingPotionBase": "Base",
|
||||
|
|
|
|||
|
|
@ -197,5 +197,11 @@
|
|||
"questTRexUndeadRageDescription": "This bar fills when you don't complete your Dailies. When it is full, the Skeletal Tyrannosaur will heal 30% of its remaining health!",
|
||||
"questTRexUndeadRageEffect": "`Skeletal Tyrannosaur uses SKELETON HEALING!`\n\nThe monster lets forth an unearthly roar, and some of its damaged bones knit back together!",
|
||||
|
||||
"questTRexDropTRexEgg": "Tyrannosaur (Egg)"
|
||||
"questTRexDropTRexEgg": "Tyrannosaur (Egg)",
|
||||
|
||||
"questRockText": "Escape the Cave Creature",
|
||||
"questRockNotes": "Crossing Habitica's Meandering Mountains with some friends, you make camp one night in a beautiful cave laced with shining minerals. But when you wake up the next morning, the entrance has disappeared, and the floor of the cave is shifting underneath you.<br><br>\"The mountain's alive!\" shouts your companion @pfeffernusse. \"These aren't crystals - these are teeth!\"<br><br>@Painter de Cluster grabs your hand. \"We'll have to find another way out – stay with me and don't get distracted, or we could be trapped in here forever!\"",
|
||||
"questRockBoss": "Crystal Colossus",
|
||||
"questRockCompletion": "Your diligence has allowed you to find a safe path through the living mountain. Standing in the sunshine, your friend @intune notices something glinting on the ground by the cave’s exit. You stoop to pick it up, and see that it’s a small rock with a vein of gold running through it. Beside it are a number of other rocks with rather peculiar shapes. They almost look like… eggs?",
|
||||
"questRockDropRockEgg": "Rock (Egg)"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -798,6 +798,7 @@ api.questEggs =
|
|||
Owl: text: t('questEggOwlText'), adjective: t('questEggOwlAdjective'), canBuy: false
|
||||
Penguin: text: t('questEggPenguinText'), adjective: t('questEggPenguinAdjective'), canBuy: false
|
||||
TRex: text: t('questEggTRexText'), adjective: t('questEggTRexAdjective'), canBuy: false
|
||||
Rock: text: t('questEggRockText'), adjective: t('questEggRockAdjective'), canBuy: false
|
||||
|
||||
_.each api.questEggs, (egg,key) ->
|
||||
_.defaults egg,
|
||||
|
|
@ -1511,6 +1512,24 @@ api.quests =
|
|||
gp: 55
|
||||
exp: 500
|
||||
|
||||
rock:
|
||||
text: t('questRockText')
|
||||
notes: t('questRockNotes')
|
||||
completion: t('questRockCompletion')
|
||||
value: 4
|
||||
boss:
|
||||
name: t('questRockBoss')
|
||||
hp: 400
|
||||
str: 1.5
|
||||
drop:
|
||||
items: [
|
||||
{type: 'eggs', key: 'Rock', text: t('questRockDropRockEgg')}
|
||||
{type: 'eggs', key: 'Rock', text: t('questRockDropRockEgg')}
|
||||
{type: 'eggs', key: 'Rock', text: t('questRockDropRockEgg')}
|
||||
]
|
||||
gp: 31
|
||||
exp: 200
|
||||
|
||||
_.each api.quests, (v,key) ->
|
||||
_.defaults v, {key,canBuy:true}
|
||||
b = v.boss
|
||||
|
|
|
|||
|
|
@ -183,7 +183,7 @@ script(type='text/ng-template', id='partials/options.inventory.drops.html')
|
|||
| {{::egg.value}}
|
||||
span.Pet_Currency_Gem1x.inline-gems
|
||||
//- buyable quest eggs
|
||||
each egg,quest in {gryphon:'Gryphon',hedgehog:'Hedgehog',ghost_stag:'Deer',rat:'Rat',octopus:'Octopus',dilatory_derby:'Seahorse',harpy:'Parrot',rooster:'Rooster',spider:'Spider',owl:'Owl',penguin:'Penguin'}
|
||||
each egg,quest in {gryphon:'Gryphon',hedgehog:'Hedgehog',ghost_stag:'Deer',rat:'Rat',octopus:'Octopus',dilatory_derby:'Seahorse',harpy:'Parrot',rooster:'Rooster',spider:'Spider',owl:'Owl',penguin:'Penguin',rock:'Rock'}
|
||||
div(ng-show='user.achievements.quests.#{quest} > 1')
|
||||
button.customize-option(popover='{{::Content.eggs.#{egg}.notes()}}', popover-title!=env.t("egg", {eggType: "{{::Content.eggs.#{egg}.text()}}"}), popover-trigger='mouseenter', popover-placement='top', popover-append-to-body='true', ng-click='purchase("eggs", Content.eggs.#{egg})', class='Pet_Egg_#{egg}')
|
||||
p
|
||||
|
|
|
|||
Loading…
Reference in a new issue