new year's eve event: party hat, new NPCs
1208
dist/customizer.css
vendored
2
dist/habitrpg-shared.css
vendored
14
dist/habitrpg-shared.js
vendored
|
|
@ -9782,6 +9782,14 @@ var global=self;/**
|
|||
var _ref;
|
||||
return +((_ref = u.backer) != null ? _ref.tier : void 0) >= 300;
|
||||
})
|
||||
},
|
||||
nye: {
|
||||
text: "Absurd Party Hat",
|
||||
notes: "You've received an Absurd Party Hat! Wear it with pride while ringing in the New Year!",
|
||||
canOwn: (function(u) {
|
||||
var _ref;
|
||||
return moment((_ref = u.auth.timestamps) != null ? _ref.created : void 0).isBefore(new Date('01/2/2014'));
|
||||
})
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
@ -11276,10 +11284,10 @@ var process=require("__browserify_process");(function() {
|
|||
rebirth: function(req, cb) {
|
||||
var flags, gear, lvl, stats;
|
||||
if (user.balance < 2) {
|
||||
return cb({
|
||||
return typeof cb === "function" ? cb({
|
||||
code: 401,
|
||||
message: "Not enough gems."
|
||||
}, req);
|
||||
}, req) : void 0;
|
||||
}
|
||||
user.balance -= 2;
|
||||
lvl = user.stats.lvl;
|
||||
|
|
@ -11326,7 +11334,7 @@ var process=require("__browserify_process");(function() {
|
|||
user.achievements.rebirths++;
|
||||
user.achievements.rebirthLevel = lvl;
|
||||
}
|
||||
return cb(null, req);
|
||||
return typeof cb === "function" ? cb(null, user) : void 0;
|
||||
},
|
||||
clearCompleted: function(req, cb) {
|
||||
user.todos = _.where(user.todos, {
|
||||
|
|
|
|||
1208
dist/spritesmith.css
vendored
BIN
dist/spritesmith.png
vendored
|
Before Width: | Height: | Size: 248 KiB After Width: | Height: | Size: 245 KiB |
BIN
img/project_files/npcs/winter/npc_ian.png
Normal file
|
After Width: | Height: | Size: 8.1 KiB |
BIN
img/sprites/spritesmith/head/head_special_nye.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 4.6 KiB |
BIN
img/sprites/spritesmith/npcs/npc_ian.png
Normal file
|
After Width: | Height: | Size: 8.5 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 6 KiB After Width: | Height: | Size: 6.3 KiB |
BIN
img/sprites/spritesmith/shop/shop_head_special_nye.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
|
|
@ -131,6 +131,7 @@ gear =
|
|||
0: text: "Shade Helm", notes:'Blood and ash, lava and obsidian give this helm its imagery and power. Increases INT by 20.', int: 20, value:150, canOwn: ((u)-> +u.backer?.tier >= 45)
|
||||
1: text: "Crystal Helm", notes:'The favored crown of those who lead by example. Increases all attributes by 6.', con: 6, str: 6, per: 6, int: 6, value:170, canOwn: ((u)-> +u.contributor?.level >= 3)
|
||||
2: text: "Nameless Helm", notes:'A testament to those who gave of themselves while asking nothing in return. Increases INT and STR by 25 each.', int: 25, str: 25, value:200, canOwn: ((u)-> +u.backer?.tier >= 300)
|
||||
nye: text: "Absurd Party Hat", notes:"You've received an Absurd Party Hat! Wear it with pride while ringing in the New Year!", canOwn: ((u)-> moment(u.auth.timestamps?.created).isBefore(new Date '01/2/2014'))
|
||||
#candycane: text: "Candy Cane Hat", notes: 'A hat adorned in candy, a wintery treat!', value:10, canOwn: ((u)-> moment(u.auth.timestamps?.created).isBefore(new Date '01/10/2014'))
|
||||
|
||||
shield:
|
||||
|
|
|
|||