Extract time traveler stable into separate module

This commit is contained in:
Blade Barringer
2015-09-16 20:21:42 -05:00
parent 504a2e7a52
commit ccdcd32174
2 changed files with 17 additions and 7 deletions

View File

@@ -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')

View 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;