feat: Add modify inventory debug menu

This commit is contained in:
Blade Barringer
2016-05-15 16:07:30 -05:00
parent 4ceab38d0b
commit 21203c3f2e
7 changed files with 498 additions and 0 deletions

View File

@@ -594,6 +594,14 @@ api.questMounts = _.transform(api.questEggs, function(m, egg) {
}));
});
api.premiumMounts = _.transform(api.dropEggs, function(m, egg) {
return _.defaults(m, _.transform(api.hatchingPotions, function(m2, pot) {
if (pot.premium) {
return m2[egg.key + "-" + pot.key] = true;
}
}));
});
api.food = {
Meat: {
text: t('foodMeat'),