mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
feat(quests): Horse quest
This commit is contained in:
@@ -99,6 +99,9 @@
|
|||||||
"questEggCheetahText": "Cheetah",
|
"questEggCheetahText": "Cheetah",
|
||||||
"questEggCheetahAdjective": "honest",
|
"questEggCheetahAdjective": "honest",
|
||||||
|
|
||||||
|
"questEggHorseText": "Horse",
|
||||||
|
"questEggHorseAdjective": "galloping",
|
||||||
|
|
||||||
"eggNotes": "Find a hatching potion to pour on this egg, and it will hatch into a <%= eggAdjective(locale) %> <%= eggText(locale) %>.",
|
"eggNotes": "Find a hatching potion to pour on this egg, and it will hatch into a <%= eggAdjective(locale) %> <%= eggText(locale) %>.",
|
||||||
|
|
||||||
"hatchingPotionBase": "Base",
|
"hatchingPotionBase": "Base",
|
||||||
|
|||||||
@@ -284,5 +284,12 @@
|
|||||||
"questCheetahCompletion": "The new Habitican is breathing heavily after the wild ride, but thanks you and your friends for your help. \"I'm glad that Cheetah won't be able to grab anyone else. It did leave some Cheetah eggs for us, so maybe we can raise them into more trustworthy pets!\"",
|
"questCheetahCompletion": "The new Habitican is breathing heavily after the wild ride, but thanks you and your friends for your help. \"I'm glad that Cheetah won't be able to grab anyone else. It did leave some Cheetah eggs for us, so maybe we can raise them into more trustworthy pets!\"",
|
||||||
"questCheetahBoss": "Cheetah",
|
"questCheetahBoss": "Cheetah",
|
||||||
"questCheetahDropCheetahEgg": "Cheetah (Egg)",
|
"questCheetahDropCheetahEgg": "Cheetah (Egg)",
|
||||||
"questCheetahUnlockText": "Unlocks purchasable Cheetah eggs in the Market"
|
"questCheetahUnlockText": "Unlocks purchasable Cheetah eggs in the Market",
|
||||||
|
|
||||||
|
"questHorseText": "Ride the Night-Mare",
|
||||||
|
"questHorseNotes": "While relaxing in the Tavern with @beffymaroo and @JessicaChase, the talk turns to good-natured boasting about your adventuring accomplishments. Proud of your deeds, and perhaps getting a bit carried away, you brag that you can tame any task around. A nearby stranger turns toward you and smiles. One eye twinkles as he invites you to prove your claim by riding his horse.\nAs you all head for the stables, @UncommonCriminal whispers, \"You may have bitten off more than you can chew. That's no horse - that's a Night-Mare!\" Looking at its stamping hooves, you begin to regret your words...",
|
||||||
|
"questHorseCompletion": "It takes all your skill, but finally the horse stamps a couple of hooves and nuzzles you in the shoulder before allowing you to mount. You ride briefly but proudly around the Tavern grounds while your friends cheer. The stranger breaks into a broad grin.\n\"I can see that was no idle boast! Your determination is truly impressive. Take these eggs to raise horses of your own, and perhaps we'll meet again one day.\" You take the eggs, the stranger tips his hat... and vanishes.",
|
||||||
|
"questHorseBoss": "Night-Mare",
|
||||||
|
"questHorseDropHorseEgg": "Horse (Egg)",
|
||||||
|
"questHorseUnlockText": "Unlocks purchasable Horse eggs in the Market"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1098,6 +1098,7 @@ api.questEggs =
|
|||||||
Cuttlefish: text: t('questEggCuttlefishText'), adjective: t('questEggCuttlefishAdjective'), canBuy: false
|
Cuttlefish: text: t('questEggCuttlefishText'), adjective: t('questEggCuttlefishAdjective'), canBuy: false
|
||||||
Whale: text: t('questEggWhaleText'), adjective: t('questEggWhaleAdjective'), canBuy: false
|
Whale: text: t('questEggWhaleText'), adjective: t('questEggWhaleAdjective'), canBuy: false
|
||||||
Cheetah: text: t('questEggCheetahText'), adjective: t('questEggCheetahAdjective'), canBuy: false
|
Cheetah: text: t('questEggCheetahText'), adjective: t('questEggCheetahAdjective'), canBuy: false
|
||||||
|
Horse: text: t('questEggHorseText'), adjective: t('questEggHorseAdjective'), canBuy: false
|
||||||
|
|
||||||
_.each api.questEggs, (egg,key) ->
|
_.each api.questEggs, (egg,key) ->
|
||||||
_.defaults egg,
|
_.defaults egg,
|
||||||
@@ -2061,6 +2062,26 @@ api.quests =
|
|||||||
exp: 350
|
exp: 350
|
||||||
unlock: t('questCheetahUnlockText')
|
unlock: t('questCheetahUnlockText')
|
||||||
|
|
||||||
|
horse:
|
||||||
|
text: t('questHorseText')
|
||||||
|
notes: t('questHorseNotes')
|
||||||
|
completion: t('questHorseCompletion')
|
||||||
|
value: 4
|
||||||
|
category: 'pet'
|
||||||
|
boss:
|
||||||
|
name: t('questHorseBoss')
|
||||||
|
hp: 500
|
||||||
|
str: 1.5
|
||||||
|
drop:
|
||||||
|
items: [
|
||||||
|
{type: 'eggs', key: 'Horse', text: t('questHorseDropHorseEgg')}
|
||||||
|
{type: 'eggs', key: 'Horse', text: t('questHorseDropHorseEgg')}
|
||||||
|
{type: 'eggs', key: 'Horse', text: t('questHorseDropHorseEgg')}
|
||||||
|
]
|
||||||
|
gp: 37
|
||||||
|
exp: 275
|
||||||
|
unlock: t('questHorseUnlockText')
|
||||||
|
|
||||||
_.each api.quests, (v,key) ->
|
_.each api.quests, (v,key) ->
|
||||||
_.defaults v, {key,canBuy:true}
|
_.defaults v, {key,canBuy:true}
|
||||||
b = v.boss
|
b = v.boss
|
||||||
|
|||||||
@@ -112,7 +112,7 @@
|
|||||||
span.Pet_Currency_Gem1x.inline-gems
|
span.Pet_Currency_Gem1x.inline-gems
|
||||||
//- buyable quest eggs. TODO: Get this from a collection so we don't have to maintain this ridiculous comma-delimited list
|
//- buyable quest eggs. TODO: Get this from a collection so we don't have to maintain this ridiculous comma-delimited list
|
||||||
//- The hard part will be the trex stuff, since it is allowed to exist with two quests
|
//- The hard part will be the trex stuff, since it is allowed to exist with two quests
|
||||||
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',bunny:'Bunny',slime:'Slime',sheep:'Sheep',kraken:'Cuttlefish',whale:'Whale',cheetah:'Cheetah'}
|
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',bunny:'Bunny',slime:'Slime',sheep:'Sheep',kraken:'Cuttlefish',whale:'Whale',cheetah:'Cheetah',horse:'Horse'}
|
||||||
div(ng-show='user.achievements.quests.#{quest} > 0')
|
div(ng-show='user.achievements.quests.#{quest} > 0')
|
||||||
button.customize-option(class='Pet_Egg_#{egg}',
|
button.customize-option(class='Pet_Egg_#{egg}',
|
||||||
popover='{{::Content.eggs.#{egg}.notes()}}', popover-append-to-body='true',
|
popover='{{::Content.eggs.#{egg}.notes()}}', popover-append-to-body='true',
|
||||||
|
|||||||
Reference in New Issue
Block a user