mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
Hourglass Quest (#11325)
* feat(content): Hourglass Quest * fix(hourglasses): NaN from undefined * fix(quests): sanity check for negative scrolls * fix(hourglasses): don't show quantity selection for binary items * fix(route): validate number, use body not params * test(timetrav): add quest tests
This commit is contained in:
@@ -3458,6 +3458,50 @@ let quests = {
|
||||
unlock: t('questSilverUnlockText'),
|
||||
},
|
||||
},
|
||||
robot: {
|
||||
text: t('questRobotText'),
|
||||
notes: t('questRobotNotes'),
|
||||
completion: t('questRobotCompletion'),
|
||||
value: 1,
|
||||
category: 'timeTravelers',
|
||||
canBuy () {
|
||||
return false;
|
||||
},
|
||||
collect: {
|
||||
bolt: {
|
||||
text: t('questRobotCollectBolts'),
|
||||
count: 15,
|
||||
},
|
||||
gear: {
|
||||
text: t('questRobotCollectGears'),
|
||||
count: 10,
|
||||
},
|
||||
spring: {
|
||||
text: t('questRobotCollectSprings'),
|
||||
count: 10,
|
||||
},
|
||||
},
|
||||
drop: {
|
||||
items: [
|
||||
{
|
||||
type: 'eggs',
|
||||
key: 'Robot',
|
||||
text: t('questRobotDropRobotEgg'),
|
||||
}, {
|
||||
type: 'eggs',
|
||||
key: 'Robot',
|
||||
text: t('questRobotDropRobotEgg'),
|
||||
}, {
|
||||
type: 'eggs',
|
||||
key: 'Robot',
|
||||
text: t('questRobotDropRobotEgg'),
|
||||
},
|
||||
],
|
||||
gp: 40,
|
||||
exp: 75,
|
||||
unlock: t('questRobotUnlockText'),
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
each(quests, (v, key) => {
|
||||
|
||||
Reference in New Issue
Block a user