new year's eve event: party hat, new NPCs

This commit is contained in:
Tyler Renelle 2013-12-31 08:44:01 -07:00
parent 8cc55b1ee5
commit 549fd7bac0
15 changed files with 1239 additions and 1194 deletions

1208
dist/customizer.css vendored

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

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

File diff suppressed because it is too large Load diff

BIN
dist/spritesmith.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 248 KiB

After

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 KiB

After

Width:  |  Height:  |  Size: 5.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.9 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

View file

@ -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: