mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
first pass on refactoring
This commit is contained in:
44
website/common/script/content/constants/questGeneric.js
Normal file
44
website/common/script/content/constants/questGeneric.js
Normal file
@@ -0,0 +1,44 @@
|
||||
import t from '../translation';
|
||||
|
||||
const QUEST_GENERIC = {
|
||||
basilist: {
|
||||
text: t('questBasilistText'),
|
||||
notes: t('questBasilistNotes'),
|
||||
group: 'questGroupEarnable',
|
||||
completion: t('questBasilistCompletion'),
|
||||
goldValue: 100,
|
||||
category: 'unlockable',
|
||||
unlockCondition: {
|
||||
condition: 'party invite',
|
||||
text: t('inviteFriends'),
|
||||
},
|
||||
boss: {
|
||||
name: t('questBasilistBoss'),
|
||||
hp: 100,
|
||||
str: 0.5,
|
||||
},
|
||||
drop: {
|
||||
gp: 8,
|
||||
exp: 42,
|
||||
},
|
||||
},
|
||||
dustbunnies: {
|
||||
text: t('questDustBunniesText'),
|
||||
notes: t('questDustBunniesNotes'),
|
||||
group: 'questGroupEarnable',
|
||||
completion: t('questDustBunniesCompletion'),
|
||||
value: 1,
|
||||
category: 'unlockable',
|
||||
boss: {
|
||||
name: t('questDustBunniesBoss'),
|
||||
hp: 100,
|
||||
str: 0.5,
|
||||
},
|
||||
drop: {
|
||||
gp: 8,
|
||||
exp: 42,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default QUEST_GENERIC;
|
||||
Reference in New Issue
Block a user