2
dist/habitrpg-shared.css
vendored
39
dist/habitrpg-shared.js
vendored
|
|
@ -12498,6 +12498,7 @@ api.spells = {
|
|||
mana: 0,
|
||||
value: 10,
|
||||
immediateUse: true,
|
||||
silent: true,
|
||||
target: 'user',
|
||||
notes: t('nyeCardNotes'),
|
||||
cast: function(user, target) {
|
||||
|
|
@ -12525,6 +12526,40 @@ api.spells = {
|
|||
}
|
||||
return user.stats.gp -= 10;
|
||||
}
|
||||
},
|
||||
valentine: {
|
||||
text: t('valentineCard'),
|
||||
mana: 0,
|
||||
value: 10,
|
||||
immediateUse: true,
|
||||
silent: true,
|
||||
target: 'user',
|
||||
notes: t('valentineCardNotes'),
|
||||
cast: function(user, target) {
|
||||
var _base;
|
||||
if (user === target) {
|
||||
if ((_base = user.achievements).valentine == null) {
|
||||
_base.valentine = 0;
|
||||
}
|
||||
user.achievements.valentine++;
|
||||
} else {
|
||||
_.each([user, target], function(t) {
|
||||
var _base1;
|
||||
if ((_base1 = t.achievements).valentine == null) {
|
||||
_base1.valentine = 0;
|
||||
}
|
||||
return t.achievements.valentine++;
|
||||
});
|
||||
}
|
||||
if (!target.items.special.valentineReceived) {
|
||||
target.items.special.valentineReceived = [];
|
||||
}
|
||||
target.items.special.valentineReceived.push(user.profile.name);
|
||||
if (typeof target.markModified === "function") {
|
||||
target.markModified('items.special.valentineReceived');
|
||||
}
|
||||
return user.stats.gp -= 10;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
@ -16871,5 +16906,5 @@ api.wrap = function(user, main) {
|
|||
};
|
||||
|
||||
|
||||
}).call(this,require("/Users/blade/habitrpg/habitrpg-shared/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))
|
||||
},{"./content.coffee":5,"./i18n.coffee":6,"/Users/blade/habitrpg/habitrpg-shared/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":2,"lodash":3,"moment":4}]},{},[1])
|
||||
}).call(this,require("/home/sabrecat/habitrpg-shared/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js"))
|
||||
},{"./content.coffee":5,"./i18n.coffee":6,"/home/sabrecat/habitrpg-shared/node_modules/browserify/node_modules/insert-module-globals/node_modules/process/browser.js":2,"lodash":3,"moment":4}]},{},[1])
|
||||
248
dist/spritesmith0.css
vendored
|
|
@ -1,186 +1,186 @@
|
|||
.achievement-alien {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -800px -683px;
|
||||
background-position: -625px -710px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-armor {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1783px -1638px;
|
||||
background-position: -814px -592px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-boot {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -775px -683px;
|
||||
background-position: -600px -710px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-bow {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -750px -683px;
|
||||
background-position: -575px -710px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-cactus {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -725px -683px;
|
||||
background-position: -550px -710px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-cake {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -700px -683px;
|
||||
background-position: -525px -710px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-cave {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -675px -683px;
|
||||
background-position: -500px -710px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-coffin {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -650px -683px;
|
||||
background-position: -475px -710px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-comment {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -625px -683px;
|
||||
background-position: -450px -710px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-costumeContest {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -600px -683px;
|
||||
background-position: -425px -710px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-dilatory {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -575px -683px;
|
||||
background-position: -800px -683px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-firefox {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -550px -683px;
|
||||
background-position: -775px -683px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-habitBirthday {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -525px -683px;
|
||||
background-position: -750px -683px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-heart {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -500px -683px;
|
||||
background-position: -725px -683px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-helm {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -475px -683px;
|
||||
background-position: -700px -683px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-karaoke {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -450px -683px;
|
||||
background-position: -675px -683px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-ninja {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1758px -1638px;
|
||||
background-position: -789px -592px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-nye {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -814px -646px;
|
||||
background-position: -625px -683px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-perfect {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -789px -646px;
|
||||
background-position: -600px -683px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-rat {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -814px -619px;
|
||||
background-position: -575px -683px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-shield {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -789px -619px;
|
||||
background-position: -550px -683px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-snowball {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -814px -592px;
|
||||
background-position: -525px -683px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-spookDust {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -789px -592px;
|
||||
background-position: -500px -683px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-stoikalm {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1808px -1692px;
|
||||
background-position: -475px -683px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-sun {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1783px -1692px;
|
||||
background-position: -450px -683px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-sword {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1758px -1692px;
|
||||
background-position: -425px -683px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-thermometer {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1808px -1665px;
|
||||
background-position: -814px -646px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-tree {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1783px -1665px;
|
||||
background-position: -789px -646px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-triadbingo {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1758px -1665px;
|
||||
background-position: -814px -619px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-valentine {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1808px -1638px;
|
||||
background-position: -789px -619px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-wolf {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -425px -683px;
|
||||
background-position: -650px -683px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
|
|
@ -1860,13 +1860,13 @@
|
|||
}
|
||||
.hair_mustache_1_snowy {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -425px -592px;
|
||||
background-position: -1394px 0px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_mustache_1_snowy {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -450px -607px;
|
||||
background-position: -1419px -15px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
|
|
@ -1884,13 +1884,13 @@
|
|||
}
|
||||
.hair_mustache_1_winternight {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1394px -182px;
|
||||
background-position: -425px -592px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_mustache_1_winternight {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1419px -197px;
|
||||
background-position: -450px -607px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
|
|
@ -3586,13 +3586,13 @@
|
|||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_TRUEred {
|
||||
.hair_base_10_TRUred {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1758px -728px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_TRUEred {
|
||||
.customize-option.hair_base_10_TRUred {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1783px -743px;
|
||||
width: 60px;
|
||||
|
|
@ -3658,181 +3658,229 @@
|
|||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_festive {
|
||||
.hair_base_10_candycane {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1758px -1274px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_festive {
|
||||
.customize-option.hair_base_10_candycane {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1783px -1289px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_green {
|
||||
.hair_base_10_festive {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1758px -1365px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_green {
|
||||
.customize-option.hair_base_10_festive {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1783px -1380px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_hollygreen {
|
||||
.hair_base_10_frost {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1758px -1456px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_hollygreen {
|
||||
.customize-option.hair_base_10_frost {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1783px -1471px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_pblue {
|
||||
.hair_base_10_green {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1758px -1547px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_pblue {
|
||||
.customize-option.hair_base_10_green {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1783px -1562px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_holly {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1758px -1638px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_holly {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1783px -1653px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_hollygreen {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: 0px -1741px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_hollygreen {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -25px -1756px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_pblue {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -91px -1741px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_pblue {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -116px -1756px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_peppermint {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1394px 0px;
|
||||
background-position: -182px -1741px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_peppermint {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -1419px -15px;
|
||||
background-position: -207px -1756px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_pgreen {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -698px -592px;
|
||||
background-position: -1394px -182px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_pgreen {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -723px -607px;
|
||||
background-position: -1419px -197px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_porange {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -607px -592px;
|
||||
background-position: -698px -592px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_porange {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -632px -607px;
|
||||
background-position: -723px -607px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_ppink {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -516px -592px;
|
||||
background-position: -607px -592px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_ppink {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -541px -607px;
|
||||
background-position: -632px -607px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_ppurple {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -728px -831px;
|
||||
background-position: -516px -592px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_ppurple {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -753px -846px;
|
||||
background-position: -541px -607px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_purple {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -637px -831px;
|
||||
background-position: -728px -831px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_purple {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -662px -846px;
|
||||
background-position: -753px -846px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_pyellow {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -546px -831px;
|
||||
background-position: -637px -831px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_pyellow {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -571px -846px;
|
||||
background-position: -662px -846px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_rainbow {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -455px -831px;
|
||||
background-position: -546px -831px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_rainbow {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -480px -846px;
|
||||
background-position: -571px -846px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_red {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -364px -831px;
|
||||
background-position: -455px -831px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_red {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -389px -846px;
|
||||
background-position: -480px -846px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_snowy {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -273px -831px;
|
||||
background-position: -364px -831px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_snowy {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -298px -846px;
|
||||
background-position: -389px -846px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_white {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -182px -831px;
|
||||
background-position: -273px -831px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_white {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -298px -846px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_10_winternight {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -182px -831px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_10_winternight {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -207px -846px;
|
||||
width: 60px;
|
||||
|
|
@ -3862,13 +3910,13 @@
|
|||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_TRUEred {
|
||||
.hair_base_11_TRUred {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -848px -728px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_TRUEred {
|
||||
.customize-option.hair_base_11_TRUred {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -873px -743px;
|
||||
width: 60px;
|
||||
|
|
@ -3886,193 +3934,193 @@
|
|||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_blond {
|
||||
.hair_base_11_black {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -848px -546px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_blond {
|
||||
.customize-option.hair_base_11_black {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -873px -561px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_blue {
|
||||
.hair_base_11_blond {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -848px -455px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_blue {
|
||||
.customize-option.hair_base_11_blond {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -873px -470px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_brown {
|
||||
.hair_base_11_blue {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -848px -364px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_brown {
|
||||
.customize-option.hair_base_11_blue {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -873px -379px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_festive {
|
||||
.hair_base_11_brown {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -848px -273px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_festive {
|
||||
.customize-option.hair_base_11_brown {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -873px -288px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_green {
|
||||
.hair_base_11_candycane {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -848px -182px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_green {
|
||||
.customize-option.hair_base_11_candycane {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -873px -197px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_hollygreen {
|
||||
.hair_base_11_festive {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -848px -91px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_hollygreen {
|
||||
.customize-option.hair_base_11_festive {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -873px -106px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_pblue {
|
||||
.hair_base_11_frost {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -848px 0px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_pblue {
|
||||
.customize-option.hair_base_11_frost {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -873px -15px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_peppermint {
|
||||
.hair_base_11_green {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -728px -740px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_peppermint {
|
||||
.customize-option.hair_base_11_green {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -753px -755px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_pgreen {
|
||||
.hair_base_11_holly {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -637px -740px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_pgreen {
|
||||
.customize-option.hair_base_11_holly {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -662px -755px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_porange {
|
||||
.hair_base_11_hollygreen {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -546px -740px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_porange {
|
||||
.customize-option.hair_base_11_hollygreen {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -571px -755px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_ppink {
|
||||
.hair_base_11_pblue {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -455px -740px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_ppink {
|
||||
.customize-option.hair_base_11_pblue {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -480px -755px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_ppurple {
|
||||
.hair_base_11_peppermint {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -364px -740px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_ppurple {
|
||||
.customize-option.hair_base_11_peppermint {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -389px -755px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_purple {
|
||||
.hair_base_11_pgreen {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -273px -740px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_purple {
|
||||
.customize-option.hair_base_11_pgreen {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -298px -755px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_pyellow {
|
||||
.hair_base_11_porange {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -182px -740px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_pyellow {
|
||||
.customize-option.hair_base_11_porange {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -207px -755px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_rainbow {
|
||||
.hair_base_11_ppink {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -91px -740px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_rainbow {
|
||||
.customize-option.hair_base_11_ppink {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -116px -755px;
|
||||
width: 60px;
|
||||
height: 60px;
|
||||
}
|
||||
.hair_base_11_red {
|
||||
.hair_base_11_ppurple {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: 0px -740px;
|
||||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.customize-option.hair_base_11_red {
|
||||
.customize-option.hair_base_11_ppurple {
|
||||
background-image: url(spritesmith0.png);
|
||||
background-position: -25px -755px;
|
||||
width: 60px;
|
||||
|
|
|
|||
BIN
dist/spritesmith0.png
vendored
|
Before Width: | Height: | Size: 222 KiB After Width: | Height: | Size: 224 KiB |
5276
dist/spritesmith1.css
vendored
BIN
dist/spritesmith1.png
vendored
|
Before Width: | Height: | Size: 76 KiB After Width: | Height: | Size: 74 KiB |
4430
dist/spritesmith2.css
vendored
BIN
dist/spritesmith2.png
vendored
|
Before Width: | Height: | Size: 184 KiB After Width: | Height: | Size: 184 KiB |
848
dist/spritesmith3.css
vendored
BIN
dist/spritesmith3.png
vendored
|
Before Width: | Height: | Size: 470 KiB After Width: | Height: | Size: 481 KiB |
768
dist/spritesmith4.css
vendored
BIN
dist/spritesmith4.png
vendored
|
Before Width: | Height: | Size: 320 KiB After Width: | Height: | Size: 318 KiB |
1370
dist/spritesmith5.css
vendored
BIN
dist/spritesmith5.png
vendored
|
Before Width: | Height: | Size: 279 KiB After Width: | Height: | Size: 285 KiB |
|
Before Width: | Height: | Size: 3.3 KiB After Width: | Height: | Size: 3.3 KiB |
0
img/sprites/spritesmith/customize/hair/hair_base_10_TRUEred.png → img/sprites/spritesmith/customize/hair/hair_base_10_TRUred.png
Executable file → Normal file
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
BIN
img/sprites/spritesmith/customize/hair/hair_base_10_frost.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
img/sprites/spritesmith/customize/hair/hair_base_10_holly.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
0
img/sprites/spritesmith/customize/hair/hair_base_11_TRUEred.png → img/sprites/spritesmith/customize/hair/hair_base_11_TRUred.png
Executable file → Normal file
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
BIN
img/sprites/spritesmith/customize/hair/hair_base_11_black.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
BIN
img/sprites/spritesmith/customize/hair/hair_base_11_frost.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
img/sprites/spritesmith/customize/hair/hair_base_11_holly.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
0
img/sprites/spritesmith/customize/hair/hair_base_12_TRUEred.png → img/sprites/spritesmith/customize/hair/hair_base_12_TRUred.png
Executable file → Normal file
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
BIN
img/sprites/spritesmith/customize/hair/hair_base_12_black.png
Normal file
|
After Width: | Height: | Size: 3 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
BIN
img/sprites/spritesmith/customize/hair/hair_base_12_frost.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
img/sprites/spritesmith/customize/hair/hair_base_12_holly.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
0
img/sprites/spritesmith/customize/hair/hair_base_13_TRUEred.png → img/sprites/spritesmith/customize/hair/hair_base_13_TRUred.png
Executable file → Normal file
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 3 KiB |
BIN
img/sprites/spritesmith/customize/hair/hair_base_13_frost.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
img/sprites/spritesmith/customize/hair/hair_base_13_holly.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 3 KiB |
0
img/sprites/spritesmith/customize/hair/hair_base_14_TRUEred.png → img/sprites/spritesmith/customize/hair/hair_base_14_TRUred.png
Executable file → Normal file
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
BIN
img/sprites/spritesmith/customize/hair/hair_base_14_frost.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
img/sprites/spritesmith/customize/hair/hair_base_14_holly.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
0
img/sprites/spritesmith/customize/hair/hair_base_9_TRUEred.png → img/sprites/spritesmith/customize/hair/hair_base_9_TRUred.png
Executable file → Normal file
|
Before Width: | Height: | Size: 34 KiB After Width: | Height: | Size: 34 KiB |
BIN
img/sprites/spritesmith/customize/hair/hair_base_9_candycane.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
img/sprites/spritesmith/customize/hair/hair_base_9_frost.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
BIN
img/sprites/spritesmith/customize/hair/hair_base_9_holly.png
Normal file
|
After Width: | Height: | Size: 2.9 KiB |
|
After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 3.7 KiB |
BIN
img/sprites/spritesmith/promo/promo_updos.png
Normal file
|
After Width: | Height: | Size: 7.6 KiB |
|
|
@ -28,6 +28,7 @@
|
|||
"hairBangs": "Bangs",
|
||||
"hairBase": "Base",
|
||||
"hairSet1": "Hairstyle Set 1",
|
||||
"hairSet2": "Hairstyle Set 2",
|
||||
"bodyFacialHair": "Facial Hair",
|
||||
"beard": "Beard",
|
||||
"mustache": "Mustache",
|
||||
|
|
|
|||
|
|
@ -7,6 +7,11 @@
|
|||
"alarmingFriends": "Alarming Friends",
|
||||
"alarmingFriendsText": "Got spooked <%= spookDust %> times by party members.",
|
||||
"valentineCard": "Valentine's Day Card",
|
||||
"valentineCardNotes": "Send a Valentine's Day card to a party member.",
|
||||
"valentine0": "\"Roses are red<%= lineBreak %>My Dailies are blue<%= lineBreak %>I'm happy that I'm<%= lineBreak %>In a Party with you!\"",
|
||||
"valentine1": "\"Roses are red<%= lineBreak %>Violets are nice<%= lineBreak %>Let's get together<%= lineBreak %>And fight against Vice!\"",
|
||||
"valentine2": "\"Roses are red<%= lineBreak %>This poem style is old<%= lineBreak %>I hope that you like this<%= lineBreak %>'Cause it cost ten Gold.\"",
|
||||
"valentine3": "\"Roses are red<%= lineBreak %>Ice Drakes are blue<%= lineBreak %>No treasure is better<%= lineBreak %>Than time spent with you!\"",
|
||||
"adoringFriends": "Adoring Friends",
|
||||
"adoringFriendsText": "Aww, you and your friend must really care about each other! Sent or received <%= cards %> Valentine's Day cards.",
|
||||
"polarBear": "Polar Bear",
|
||||
|
|
@ -24,7 +29,7 @@
|
|||
"snowflakeSet": "Snowflake (Healer)",
|
||||
"yetiSet": "Yeti Tamer (Warrior)",
|
||||
"nyeCard": "New Year's Card",
|
||||
"nyeCardNotes": "Send a New Year's card to a friend.",
|
||||
"nyeCardNotes": "Send a New Year's card to a party member.",
|
||||
"seasonalItems": "Seasonal Items",
|
||||
"auldAcquaintance": "Auld Acquaintance",
|
||||
"auldAcquaintanceText": "Happy New Year! Sent or received <%= cards %> New Year's cards.",
|
||||
|
|
@ -32,5 +37,6 @@
|
|||
"newYear1": "Happy New Year! May you reap many Rewards.",
|
||||
"newYear2": "Happy New Year! May you earn many a Perfect Day.",
|
||||
"newYear3": "Happy New Year! May your To-Do list stay short and sweet.",
|
||||
"newYear4": "Happy New Year! May you not get attacked by a raging Hippogriff."
|
||||
"newYear4": "Happy New Year! May you not get attacked by a raging Hippogriff.",
|
||||
"holidayCard": "Received a holiday card!"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -705,6 +705,7 @@ api.spells =
|
|||
mana: 0
|
||||
value: 10
|
||||
immediateUse: true
|
||||
silent: true
|
||||
target: 'user'
|
||||
notes: t('nyeCardNotes')
|
||||
cast: (user, target) ->
|
||||
|
|
@ -722,6 +723,29 @@ api.spells =
|
|||
target.markModified? 'items.special.nyeReceived'
|
||||
user.stats.gp -= 10
|
||||
|
||||
valentine:
|
||||
text: t('valentineCard')
|
||||
mana: 0
|
||||
value: 10
|
||||
immediateUse: true
|
||||
silent: true
|
||||
target: 'user'
|
||||
notes: t('valentineCardNotes')
|
||||
cast: (user, target) ->
|
||||
if user == target
|
||||
user.achievements.valentine ?= 0
|
||||
user.achievements.valentine++
|
||||
else
|
||||
_.each [user,target], (t)->
|
||||
t.achievements.valentine ?= 0
|
||||
t.achievements.valentine++
|
||||
if !target.items.special.valentineReceived
|
||||
target.items.special.valentineReceived = []
|
||||
target.items.special.valentineReceived.push user.profile.name
|
||||
|
||||
target.markModified? 'items.special.valentineReceived'
|
||||
user.stats.gp -= 10
|
||||
|
||||
# Intercept all spells to reduce user.stats.mp after casting the spell
|
||||
_.each api.spells, (spellClass) ->
|
||||
_.each spellClass, (spell, key) ->
|
||||
|
|
|
|||