This commit is contained in:
Tyler Renelle 2014-09-30 20:29:16 -06:00
parent 2f937b6340
commit c635fef960
14 changed files with 6731 additions and 5336 deletions

File diff suppressed because one or more lines are too long

View file

@ -12738,6 +12738,7 @@ api.userDefaults = {
};
},{"./i18n.coffee":6,"lodash":3,"moment":4}],6:[function(require,module,exports){
var _;
@ -12782,6 +12783,7 @@ module.exports = {
};
},{"lodash":3}],7:[function(require,module,exports){
(function (process){
var $w, api, content, i18n, moment, preenHistory, sanitizeOptions, sortOrder, _,
@ -13834,6 +13836,48 @@ api.wrap = function(user, main) {
}
return ga != null ? ga.event('purchase', key).send() : void 0;
},
release: function(req, cb) {
var pet;
if (user.balance < 1) {
return typeof cb === "function" ? cb({
code: 401,
message: i18n.t('notEnoughGems', req.language)
}) : void 0;
} else {
user.balance--;
for (pet in content.pets) {
user.items.pets[pet] = 0;
}
if (!user.achievements.beastMasterCount) {
user.achievements.beastMasterCount = 0;
}
user.achievements.beastMasterCount++;
user.items.currentPet = "";
}
return typeof cb === "function" ? cb(null, user) : void 0;
},
release2: function(req, cb) {
var pet;
if (user.balance < 2) {
return typeof cb === "function" ? cb({
code: 401,
message: i18n.t('notEnoughGems', req.language)
}) : void 0;
} else {
user.balance -= 2;
user.items.currentMount = "";
user.items.currentPet = "";
for (pet in content.pets) {
user.items.mounts[pet] = false;
user.items.pets[pet] = 0;
}
if (!user.achievements.beastMasterCount) {
user.achievements.beastMasterCount = 0;
}
user.achievements.beastMasterCount++;
}
return typeof cb === "function" ? cb(null, user) : void 0;
},
buy: function(req, cb) {
var item, key, message;
key = req.params.key;
@ -14799,5 +14843,6 @@ api.wrap = function(user, main) {
};
}).call(this,require("/Users/lefnire/Dropbox/Sites/habitrpg/modules/habitrpg-shared/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))
},{"./content.coffee":5,"./i18n.coffee":6,"/Users/lefnire/Dropbox/Sites/habitrpg/modules/habitrpg-shared/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":2,"lodash":3,"moment":4}]},{},[1])

3186
dist/spritesmith0.css vendored

File diff suppressed because it is too large Load diff

BIN
dist/spritesmith0.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 103 KiB

4562
dist/spritesmith1.css vendored

File diff suppressed because it is too large Load diff

BIN
dist/spritesmith1.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 78 KiB

After

Width:  |  Height:  |  Size: 66 KiB

1816
dist/spritesmith2.css vendored

File diff suppressed because it is too large Load diff

BIN
dist/spritesmith2.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 89 KiB

After

Width:  |  Height:  |  Size: 120 KiB

980
dist/spritesmith3.css vendored

File diff suppressed because it is too large Load diff

BIN
dist/spritesmith3.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 180 KiB

After

Width:  |  Height:  |  Size: 176 KiB

786
dist/spritesmith4.css vendored

File diff suppressed because it is too large Load diff

BIN
dist/spritesmith4.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 178 KiB

After

Width:  |  Height:  |  Size: 188 KiB

690
dist/spritesmith5.css vendored

File diff suppressed because it is too large Load diff

BIN
dist/spritesmith5.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 156 KiB

After

Width:  |  Height:  |  Size: 169 KiB