mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
WIP(timetrav): buy BG with Hourglass
This commit is contained in:
@@ -973,6 +973,26 @@ const backgrounds = {
|
||||
currency: 'loginIncentive',
|
||||
},
|
||||
},
|
||||
timeTravelBackgrounds: {
|
||||
airship: {
|
||||
text: t('backgroundAirshipText'),
|
||||
notes: t('backgroundAirshipNotes'),
|
||||
price: 1,
|
||||
currency: 'hourglasses',
|
||||
},
|
||||
clocktower: {
|
||||
text: t('backgroundClocktowerText'),
|
||||
notes: t('backgroundClocktowerNotes'),
|
||||
price: 1,
|
||||
currency: 'hourglasses',
|
||||
},
|
||||
steamworks: {
|
||||
text: t('backgroundSteamworksText'),
|
||||
notes: t('backgroundSteamworksNotes'),
|
||||
price: 1,
|
||||
currency: 'hourglasses',
|
||||
},
|
||||
},
|
||||
};
|
||||
/* eslint-enable quote-props */
|
||||
|
||||
@@ -982,7 +1002,7 @@ forOwn(backgrounds, (backgroundsInSet, set) => {
|
||||
forOwn(backgroundsInSet, (background, bgKey) => {
|
||||
background.key = bgKey;
|
||||
background.set = set;
|
||||
background.price = 7;
|
||||
background.price = background.price || 7;
|
||||
|
||||
flat[bgKey] = background;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user