mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 14:47:53 +01:00
Extract time traveler stable into separate module
This commit is contained in:
@@ -1114,13 +1114,7 @@ api.specialMounts =
|
|||||||
'Orca-Base': 'orca'
|
'Orca-Base': 'orca'
|
||||||
'Gryphon-RoyalPurple': 'royalPurpleGryphon'
|
'Gryphon-RoyalPurple': 'royalPurpleGryphon'
|
||||||
|
|
||||||
api.timeTravelStable =
|
api.timeTravelStable = require('./time-traveler-stable.js')
|
||||||
pets:
|
|
||||||
'Mammoth-Base': t('mammoth')
|
|
||||||
'MantisShrimp-Base': t('mantisShrimp')
|
|
||||||
mounts:
|
|
||||||
'Mammoth-Base': t('mammoth')
|
|
||||||
'MantisShrimp-Base': t('mantisShrimp')
|
|
||||||
|
|
||||||
api.hatchingPotions =
|
api.hatchingPotions =
|
||||||
Base: value: 2, text: t('hatchingPotionBase')
|
Base: value: 2, text: t('hatchingPotionBase')
|
||||||
|
|||||||
16
common/script/content/time-traveler-stable.js
Normal file
16
common/script/content/time-traveler-stable.js
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
'use strict';
|
||||||
|
|
||||||
|
var t = require('./translation.js');
|
||||||
|
|
||||||
|
var stable = {
|
||||||
|
pets: {
|
||||||
|
'Mammoth-Base': t('mammoth'),
|
||||||
|
'MantisShrimp-Base': t('mantisShrimp')
|
||||||
|
},
|
||||||
|
mounts: {
|
||||||
|
'Mammoth-Base': t('mammoth'),
|
||||||
|
'MantisShrimp-Base': t('mantisShrimp')
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
module.exports = stable;
|
||||||
Reference in New Issue
Block a user