fix: Change all instances of spookDust -> spookySparkles

This commit is contained in:
Blade Barringer
2016-05-19 09:53:46 -05:00
parent 42bc4bdd3d
commit 5bd436f3c8
20 changed files with 98 additions and 86 deletions

View File

@@ -346,13 +346,13 @@
width: 48px; width: 48px;
height: 52px; height: 52px;
} }
.achievement-spookDust { .achievement-spookySparkles {
background-image: url(spritesmith-main-0.png); background-image: url(spritesmith-main-0.png);
background-position: -25px -1601px; background-position: -25px -1601px;
width: 24px; width: 24px;
height: 26px; height: 26px;
} }
.achievement-spookDust2x { .achievement-spookySparkles2x {
background-image: url(spritesmith-main-0.png); background-image: url(spritesmith-main-0.png);
background-position: -980px -1548px; background-position: -980px -1548px;
width: 48px; width: 48px;

View File

@@ -270,7 +270,7 @@
} }
.shop_armor_special_candycane { .shop_armor_special_candycane {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -410px; background-position: -1674px -451px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
@@ -282,19 +282,19 @@
} }
.shop_armor_special_snowflake { .shop_armor_special_snowflake {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -615px; background-position: -1674px -656px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_armor_special_winter2015Healer { .shop_armor_special_winter2015Healer {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -1189px; background-position: -1674px -1230px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_armor_special_winter2015Mage { .shop_armor_special_winter2015Mage {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -1230px; background-position: -1674px -1271px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
@@ -456,13 +456,13 @@
} }
.shop_shield_special_winter2015Warrior { .shop_shield_special_winter2015Warrior {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -1558px; background-position: -1674px -1517px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_shield_special_winter2016Healer { .shop_shield_special_winter2016Healer {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -1476px; background-position: -1599px -1599px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
@@ -1098,103 +1098,103 @@
} }
.shop_head_rogue_3 { .shop_head_rogue_3 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -984px; background-position: -1674px -1025px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_head_rogue_4 { .shop_head_rogue_4 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -943px; background-position: -1674px -984px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_head_rogue_5 { .shop_head_rogue_5 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -902px; background-position: -1674px -943px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_head_special_0 { .shop_head_special_0 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -861px; background-position: -1674px -902px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_head_special_1 { .shop_head_special_1 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -820px; background-position: -1674px -861px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_head_special_2 { .shop_head_special_2 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -738px; background-position: -1674px -779px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_head_special_fireCoralCirclet { .shop_head_special_fireCoralCirclet {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -697px; background-position: -1674px -738px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_head_warrior_1 { .shop_head_warrior_1 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -656px; background-position: -1674px -697px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_head_warrior_2 { .shop_head_warrior_2 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -574px; background-position: -1674px -615px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_head_warrior_3 { .shop_head_warrior_3 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -533px; background-position: -1674px -574px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_head_warrior_4 { .shop_head_warrior_4 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -492px; background-position: -1674px -533px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_head_warrior_5 { .shop_head_warrior_5 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -451px; background-position: -1674px -492px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_head_wizard_1 { .shop_head_wizard_1 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -369px; background-position: -1674px -410px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_head_wizard_2 { .shop_head_wizard_2 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -328px; background-position: -1674px -369px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_head_wizard_3 { .shop_head_wizard_3 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -287px; background-position: -1674px -328px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_head_wizard_4 { .shop_head_wizard_4 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -246px; background-position: -1674px -287px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_head_wizard_5 { .shop_head_wizard_5 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -205px; background-position: -1674px -246px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
@@ -1296,7 +1296,7 @@
} }
.shop_headAccessory_special_bearEars { .shop_headAccessory_special_bearEars {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -164px; background-position: -1674px -205px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
@@ -1314,31 +1314,31 @@
} }
.shop_headAccessory_special_lionEars { .shop_headAccessory_special_lionEars {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1599px -1599px; background-position: -1674px 0px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_headAccessory_special_pandaEars { .shop_headAccessory_special_pandaEars {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px 0px; background-position: -1674px -41px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_headAccessory_special_pigEars { .shop_headAccessory_special_pigEars {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -41px; background-position: -1674px -82px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_headAccessory_special_tigerEars { .shop_headAccessory_special_tigerEars {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -82px; background-position: -1674px -123px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_headAccessory_special_wolfEars { .shop_headAccessory_special_wolfEars {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -123px; background-position: -1674px -164px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
@@ -1464,55 +1464,55 @@
} }
.shop_shield_healer_1 { .shop_shield_healer_1 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -1025px; background-position: -1674px -1066px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_shield_healer_2 { .shop_shield_healer_2 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -1066px; background-position: -1674px -1107px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_shield_healer_3 { .shop_shield_healer_3 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -1107px; background-position: -1674px -1148px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_shield_healer_4 { .shop_shield_healer_4 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -1148px; background-position: -1674px -1189px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_shield_healer_5 { .shop_shield_healer_5 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -1271px; background-position: -1674px -1312px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_shield_rogue_0 { .shop_shield_rogue_0 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -1312px; background-position: -1674px -1353px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_shield_rogue_1 { .shop_shield_rogue_1 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -1353px; background-position: -1674px -1394px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_shield_rogue_2 { .shop_shield_rogue_2 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -1394px; background-position: -1674px -1435px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_shield_rogue_3 { .shop_shield_rogue_3 {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -1435px; background-position: -1674px -1476px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
@@ -2056,6 +2056,12 @@
width: 64px; width: 64px;
height: 54px; height: 54px;
} }
.ghost {
background-image: url(spritesmith-main-5.png);
background-position: -455px -1144px;
width: 90px;
height: 90px;
}
.inventory_present { .inventory_present {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1616px -1049px; background-position: -1616px -1049px;
@@ -2172,7 +2178,7 @@
} }
.inventory_special_opaquePotion { .inventory_special_opaquePotion {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -779px; background-position: -1674px -820px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
@@ -2194,7 +2200,7 @@
width: 57px; width: 57px;
height: 54px; height: 54px;
} }
.inventory_special_spookDust { .inventory_special_spookySparkles {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1299px -1508px; background-position: -1299px -1508px;
width: 57px; width: 57px;
@@ -2238,23 +2244,17 @@
} }
.seafoam_star { .seafoam_star {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -455px -1144px; background-position: -364px -1144px;
width: 90px; width: 90px;
height: 90px; height: 90px;
} }
.shop_armoire { .shop_armoire {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -1674px -1517px; background-position: -1674px -1558px;
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.snowman { .snowman {
background-image: url(spritesmith-main-5.png);
background-position: -364px -1144px;
width: 90px;
height: 90px;
}
.spookman {
background-image: url(spritesmith-main-5.png); background-image: url(spritesmith-main-5.png);
background-position: -273px -1144px; background-position: -273px -1144px;
width: 90px; width: 90px;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 255 KiB

After

Width:  |  Height:  |  Size: 255 KiB

View File

@@ -682,7 +682,7 @@
width: 32px; width: 32px;
height: 32px; height: 32px;
} }
.shop_spookDust { .shop_spookySparkles {
background-image: url(spritesmith-main-6.png); background-image: url(spritesmith-main-6.png);
background-position: -790px -1176px; background-position: -790px -1176px;
width: 32px; width: 32px;
@@ -730,7 +730,7 @@
width: 40px; width: 40px;
height: 40px; height: 40px;
} }
.shop_heallAll { .shop_healAll {
background-image: url(spritesmith-main-6.png); background-image: url(spritesmith-main-6.png);
background-position: -791px -1643px; background-position: -791px -1643px;
width: 40px; width: 40px;

View File

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

View File

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -5,7 +5,7 @@
"annoyingFriends": "Annoying Friends", "annoyingFriends": "Annoying Friends",
"annoyingFriendsText": "Got snowballed <%= snowballs %> times by party members.", "annoyingFriendsText": "Got snowballed <%= snowballs %> times by party members.",
"alarmingFriends": "Alarming Friends", "alarmingFriends": "Alarming Friends",
"alarmingFriendsText": "Got spooked <%= spookDust %> times by party members.", "alarmingFriendsText": "Got spooked <%= spookySparkles %> times by party members.",
"agriculturalFriends": "Agricultural Friends", "agriculturalFriends": "Agricultural Friends",
"agriculturalFriendsText": "Got transformed into a flower <%= seeds %> times by party members.", "agriculturalFriendsText": "Got transformed into a flower <%= seeds %> times by party members.",
"aquaticFriends": "Aquatic Friends", "aquaticFriends": "Aquatic Friends",

View File

@@ -52,8 +52,8 @@
"spellSpecialSaltText": "Salt", "spellSpecialSaltText": "Salt",
"spellSpecialSaltNotes": "Someone has snowballed you. Ha ha, very funny. Now get this snow off me!", "spellSpecialSaltNotes": "Someone has snowballed you. Ha ha, very funny. Now get this snow off me!",
"spellSpecialSpookDustText": "Spooky Sparkles", "spellSpecialSpookySparklesText": "Spooky Sparkles",
"spellSpecialSpookDustNotes": "Turn a friend into a floating blanket with eyes!", "spellSpecialSpookySparklesNotes": "Turn a friend into a floating blanket with eyes!",
"spellSpecialOpaquePotionText": "Opaque Potion", "spellSpecialOpaquePotionText": "Opaque Potion",
"spellSpecialOpaquePotionNotes": "Cancel the effects of Spooky Sparkles.", "spellSpecialOpaquePotionNotes": "Cancel the effects of Spooky Sparkles.",

View File

@@ -265,7 +265,7 @@ spells.special = {
cast (user, target, req) { cast (user, target, req) {
if (!user.items.special.snowball) throw new NotAuthorized(t('spellNotOwned')(req.language)); if (!user.items.special.snowball) throw new NotAuthorized(t('spellNotOwned')(req.language));
target.stats.buffs.snowball = true; target.stats.buffs.snowball = true;
target.stats.buffs.spookDust = false; target.stats.buffs.spookySparkles = false;
target.stats.buffs.shinySeed = false; target.stats.buffs.shinySeed = false;
target.stats.buffs.seafoam = false; target.stats.buffs.seafoam = false;
if (!target.achievements.snowball) target.achievements.snowball = 0; if (!target.achievements.snowball) target.achievements.snowball = 0;
@@ -285,22 +285,22 @@ spells.special = {
user.stats.gp -= 5; user.stats.gp -= 5;
}, },
}, },
spookDust: { spookySparkles: {
text: t('spellSpecialSpookDustText'), text: t('spellSpecialSpookySparklesText'),
mana: 0, mana: 0,
value: 15, value: 15,
previousPurchase: true, previousPurchase: true,
target: 'user', target: 'user',
notes: t('spellSpecialSpookDustNotes'), notes: t('spellSpecialSpookySparklesNotes'),
cast (user, target, req) { cast (user, target, req) {
if (!user.items.special.spookDust) throw new NotAuthorized(t('spellNotOwned')(req.language)); if (!user.items.special.spookySparkles) throw new NotAuthorized(t('spellNotOwned')(req.language));
target.stats.buffs.snowball = false; target.stats.buffs.snowball = false;
target.stats.buffs.spookDust = true; target.stats.buffs.spookySparkles = true;
target.stats.buffs.shinySeed = false; target.stats.buffs.shinySeed = false;
target.stats.buffs.seafoam = false; target.stats.buffs.seafoam = false;
if (!target.achievements.spookDust) target.achievements.spookDust = 0; if (!target.achievements.spookySparkles) target.achievements.spookySparkles = 0;
target.achievements.spookDust++; target.achievements.spookySparkles++;
user.items.special.spookDust--; user.items.special.spookySparkles--;
}, },
}, },
opaquePotion: { opaquePotion: {
@@ -311,7 +311,7 @@ spells.special = {
target: 'self', target: 'self',
notes: t('spellSpecialOpaquePotionNotes'), notes: t('spellSpecialOpaquePotionNotes'),
cast (user) { cast (user) {
user.stats.buffs.spookDust = false; user.stats.buffs.spookySparkles = false;
user.stats.gp -= 5; user.stats.gp -= 5;
}, },
}, },
@@ -325,7 +325,7 @@ spells.special = {
cast (user, target, req) { cast (user, target, req) {
if (!user.items.special.shinySeed) throw new NotAuthorized(t('spellNotOwned')(req.language)); if (!user.items.special.shinySeed) throw new NotAuthorized(t('spellNotOwned')(req.language));
target.stats.buffs.snowball = false; target.stats.buffs.snowball = false;
target.stats.buffs.spookDust = false; target.stats.buffs.spookySparkles = false;
target.stats.buffs.shinySeed = true; target.stats.buffs.shinySeed = true;
target.stats.buffs.seafoam = false; target.stats.buffs.seafoam = false;
if (!target.achievements.shinySeed) target.achievements.shinySeed = 0; if (!target.achievements.shinySeed) target.achievements.shinySeed = 0;
@@ -355,7 +355,7 @@ spells.special = {
cast (user, target, req) { cast (user, target, req) {
if (!user.items.special.seafoam) throw new NotAuthorized(t('spellNotOwned')(req.language)); if (!user.items.special.seafoam) throw new NotAuthorized(t('spellNotOwned')(req.language));
target.stats.buffs.snowball = false; target.stats.buffs.snowball = false;
target.stats.buffs.spookDust = false; target.stats.buffs.spookySparkles = false;
target.stats.buffs.shinySeed = false; target.stats.buffs.shinySeed = false;
target.stats.buffs.seafoam = true; target.stats.buffs.seafoam = true;
if (!target.achievements.seafoam) target.achievements.seafoam = 0; if (!target.achievements.seafoam) target.achievements.seafoam = 0;

View File

@@ -113,6 +113,16 @@ function processUsers (afterId) {
delete oldUser.id; delete oldUser.id;
// spookDust -> spookySparkles
oldUser.achievements.spookySparkles = oldUser.achievements.spookDust;
oldUser.items.special.spookySparkles = oldUser.items.special.spookDust;
oldUser.stats.buffs.spookySparkles = oldUser.stats.buffs.spookDust;
delete oldUser.achievements.spookDust;
delete oldUser.items.special.spookDust;
delete oldUser.stats.buffs.spookDust;
// end spookDust -> spookySparkles
oldUser.tags = oldUser.tags.map(function (tag) { oldUser.tags = oldUser.tags.map(function (tag) {
return { return {
id: tag.id, id: tag.id,

View File

@@ -637,6 +637,8 @@ api.cast = async function(req, res, next) {
if (spellId === 'heallAll') { if (spellId === 'heallAll') {
spellId = 'healAll'; spellId = 'healAll';
} else if (spellId === 'spookDust') {
spellId = 'spookySparkles';
} }
let klass = shared.content.spells.special[spellId] ? 'special' : user.stats.class; let klass = shared.content.spells.special[spellId] ? 'special' : user.stats.class;

View File

@@ -65,7 +65,7 @@ export let schema = new Schema({
triadBingoCount: Number, triadBingoCount: Number,
veteran: Boolean, veteran: Boolean,
snowball: Number, snowball: Number,
spookDust: Number, spookySparkles: Number,
shinySeed: Number, shinySeed: Number,
seafoam: Number, seafoam: Number,
streak: Number, streak: Number,
@@ -265,7 +265,7 @@ export let schema = new Schema({
special: { special: {
snowball: {type: Number, default: 0}, snowball: {type: Number, default: 0},
spookDust: {type: Number, default: 0}, spookySparkles: {type: Number, default: 0},
shinySeed: {type: Number, default: 0}, shinySeed: {type: Number, default: 0},
seafoam: {type: Number, default: 0}, seafoam: {type: Number, default: 0},
valentine: {type: Number, default: 0}, valentine: {type: Number, default: 0},
@@ -481,7 +481,7 @@ export let schema = new Schema({
stealth: {type: Number, default: 0}, stealth: {type: Number, default: 0},
streaks: {type: Boolean, default: false}, streaks: {type: Boolean, default: false},
snowball: {type: Boolean, default: false}, snowball: {type: Boolean, default: false},
spookDust: {type: Boolean, default: false}, spookySparkles: {type: Boolean, default: false},
shinySeed: {type: Boolean, default: false}, shinySeed: {type: Boolean, default: false},
seafoam: {type: Boolean, default: false}, seafoam: {type: Boolean, default: false},
}, },

View File

@@ -57,7 +57,7 @@
ng-click='castStart(Content.special.#{k})') ng-click='castStart(Content.special.#{k})')
.badge.badge-info.stack-count {{user.items.special.#{k}}} .badge.badge-info.stack-count {{user.items.special.#{k}}}
+specialItem('snowball') +specialItem('snowball')
+specialItem('spookDust') +specialItem('spookySparkles')
+specialItem('shinySeed') +specialItem('shinySeed')
+specialItem('seafoam') +specialItem('seafoam')

View File

@@ -11,13 +11,13 @@ mixin avatar(opts)
span(ng-if='profile.items.currentMount', class='Mount_Body_{{profile.items.currentMount}}') span(ng-if='profile.items.currentMount', class='Mount_Body_{{profile.items.currentMount}}')
// Buffs that cause visual changes to avatar: Snowman, Ghost, Flower, etc // Buffs that cause visual changes to avatar: Snowman, Ghost, Flower, etc
- var visualBuffs = { snowball: 'snowman', spookDust: 'spookman', shinySeed: 'avatar_floral_{{profile.stats.class}}', seafoam: 'seafoam_star' } - var visualBuffs = { snowball: 'snowman', spookySparkles: 'ghost', shinySeed: 'avatar_floral_{{profile.stats.class}}', seafoam: 'seafoam_star' }
each klass, item in visualBuffs each klass, item in visualBuffs
span(ng-if='profile.stats.buffs.#{item}', class='#{klass}') span(ng-if='profile.stats.buffs.#{item}', class='#{klass}')
// Show avatar only if not currently affected by visual buff // Show avatar only if not currently affected by visual buff
- var buffs = '!profile.stats.buffs' - var buffs = '!profile.stats.buffs'
span(ng-if='#{buffs}.snowball && #{buffs}.spookDust && #{buffs}.shinySeed && #{buffs}.seafoam') span(ng-if='#{buffs}.snowball && #{buffs}.spookySparkles && #{buffs}.shinySeed && #{buffs}.seafoam')
+generatedAvatar +generatedAvatar
// Mount Head // Mount Head

View File

@@ -309,7 +309,7 @@ mixin oldNews
tr tr
td td
.promo_spring_classes_2016.pull-right .promo_spring_classes_2016.pull-right
h3 Limited Edition Class Outfits h3 Limited Edition Class Outfits
p From now until April 30th, limited edition outfits are available in the Rewards column! Depending on your class, you can be a Springing Bunny, Clever Dog, Grand Malkin, or Brave Mouse. You'd better get productive to earn enough Gold before your time runs out... p From now until April 30th, limited edition outfits are available in the Rewards column! Depending on your class, you can be a Springing Bunny, Clever Dog, Grand Malkin, or Brave Mouse. You'd better get productive to earn enough Gold before your time runs out...
p.small.muted by PainterProphet and Balduranne p.small.muted by PainterProphet and Balduranne
tr tr
@@ -863,7 +863,7 @@ mixin oldNews
p Exciting news - for the next three weeks, we are offering <a href='https://teespring.com/stores/habitica' target='_blank'>Habitica T-shirts via Teespring</a>! Show your Habitica pride in purple or black. We are also offering an <a href='https://teespring.com/habitica-gryphon-t-shirt_eu' target='_blank'>EU run for cheaper shipping to Europe</a>! p Exciting news - for the next three weeks, we are offering <a href='https://teespring.com/stores/habitica' target='_blank'>Habitica T-shirts via Teespring</a>! Show your Habitica pride in purple or black. We are also offering an <a href='https://teespring.com/habitica-gryphon-t-shirt_eu' target='_blank'>EU run for cheaper shipping to Europe</a>!
br br
p Whether you're getting them for yourself or as a holiday gift, we hope you enjoy these limited-run T-shirts! As always, thanks for supporting Habitica. p Whether you're getting them for yourself or as a holiday gift, we hope you enjoy these limited-run T-shirts! As always, thanks for supporting Habitica.
h2 11/5/2015 - HUGE IOS UPDATE AND ANDROID MAILING LIST h2 11/5/2015 - HUGE IOS UPDATE AND ANDROID MAILING LIST
tr tr
td td
@@ -893,7 +893,7 @@ mixin oldNews
tr tr
td td
h3 Android Mailing List h3 Android Mailing List
p For those of you anxious for news about the new native Android app, we've created a mailing list so that you can be notified about important updates for the Android app. <a href='/static/apps' target='_blank'>You can sign up here!</a> p For those of you anxious for news about the new native Android app, we've created a mailing list so that you can be notified about important updates for the Android app. <a href='/static/apps' target='_blank'>You can sign up here!</a>
br br
p Our staff has been working very hard on it and testing out a new build each week, so progress is definitely advancing. When the beta is ready we will announce it on social media and on the site, but the mailing list is the easiest way to make sure you don't miss it! Thanks very much for your patience. p Our staff has been working very hard on it and testing out a new build each week, so progress is definitely advancing. When the beta is ready we will announce it on social media and on the site, but the mailing list is the easiest way to make sure you don't miss it! Thanks very much for your patience.
h2 11/3/2015 - NOVEMBER BACKGROUNDS AND ARMOIRE ITEMS, AND AUTO-EQUIP NEW GEAR h2 11/3/2015 - NOVEMBER BACKGROUNDS AND ARMOIRE ITEMS, AND AUTO-EQUIP NEW GEAR
@@ -954,14 +954,14 @@ mixin oldNews
td td
.promo_mystery_201510.pull-right .promo_mystery_201510.pull-right
h3 Last Chance for Horned Goblin Set h3 Last Chance for Horned Goblin Set
p Reminder: this is the final day to <a href='/#/options/settings/subscription'>subscribe</a> and receive the Horned Goblin Item Set! If you want the Goblin Horns or the Goblin Tail, now's the time! p Reminder: this is the final day to <a href='/#/options/settings/subscription'>subscribe</a> and receive the Horned Goblin Item Set! If you want the Goblin Horns or the Goblin Tail, now's the time!
br br
p Thanks so much for your supporting the site -- you're helping us keep Habitica alive. p Thanks so much for your supporting the site -- you're helping us keep Habitica alive.
tr tr
td td
.npc_justin.pull-right .npc_justin.pull-right
h3 Happy Habitoween! h3 Happy Habitoween!
p Burnout is nearly defeated, so what could be a better way to speed the celebration than to have some fun? In honor of Habitoween and defiance of the looming threat, all of the remaining NPCs have dressed up as monsters from the Flourishing Fields! Be sure to visit them on the site to admire their outfits. If only the three Exhaust Spirits could join them... p Burnout is nearly defeated, so what could be a better way to speed the celebration than to have some fun? In honor of Habitoween and defiance of the looming threat, all of the remaining NPCs have dressed up as monsters from the Flourishing Fields! Be sure to visit them on the site to admire their outfits. If only the three Exhaust Spirits could join them...
h2 10/27/2015 - BURNOUT STRIKES AGAIN! PLUS, SPOOKY POTIONS VANISHING SOON h2 10/27/2015 - BURNOUT STRIKES AGAIN! PLUS, SPOOKY POTIONS VANISHING SOON
tr tr
@@ -2665,9 +2665,9 @@ mixin oldNews
td td
h3 Spooky Sparkles h3 Spooky Sparkles
.pull-right .pull-right
.inventory_special_spookDust .inventory_special_spookySparkles
.achievement-spookDust .achievement-spookySparkles
.spookman .ghost
p There's a new gold-purchasable item in the <a href='https://habitrpg.com/#/options/inventory/drops' target='_blank'>Market</a>: Spooky Sparkles! Buy some and then cast it on your friends. I wonder what it will do? p There's a new gold-purchasable item in the <a href='https://habitrpg.com/#/options/inventory/drops' target='_blank'>Market</a>: Spooky Sparkles! Buy some and then cast it on your friends. I wonder what it will do?
br br
p If you have Spooky Sparkles cast on you, you will receive the "Alarming Friends" badge! Don't worry, any mysterious effects will wear off the next day.... or you can cancel them early by buying an Opaque Potion! p If you have Spooky Sparkles cast on you, you will receive the "Alarming Friends" badge! Don't worry, any mysterious effects will wear off the next day.... or you can cancel them early by buying an Opaque Potion!

View File

@@ -183,11 +183,11 @@ div(ng-if='::profile.achievements.snowball')
=env.t('annoyingFriendsText', {snowballs: "{{::profile.achievements.snowball}}"}) =env.t('annoyingFriendsText', {snowballs: "{{::profile.achievements.snowball}}"})
hr hr
div(ng-if='::profile.achievements.spookDust') div(ng-if='::profile.achievements.spookySparkles')
.achievement.achievement-spookDust .achievement.achievement-spookySparkles
h5=env.t('alarmingFriends') h5=env.t('alarmingFriends')
small small
=env.t('alarmingFriendsText', {spookDust: "{{::profile.achievements.spookDust}}"}) =env.t('alarmingFriendsText', {spookySparkles: "{{::profile.achievements.spookySparkles}}"})
hr hr
div(ng-if='::profile.achievements.shinySeed') div(ng-if='::profile.achievements.shinySeed')

View File

@@ -1,5 +1,5 @@
// Events // Events
- var seasonalSkills = {'snowball':'salt', 'spookDust':'opaquePotion', 'shinySeed':'petalFreePotion', 'seafoam':'sand'} - var seasonalSkills = {'snowball':'salt', 'spookySparkles':'opaquePotion', 'shinySeed':'petalFreePotion', 'seafoam':'sand'}
ul.items.rewards ul.items.rewards
each dispel,skill in seasonalSkills each dispel,skill in seasonalSkills
span(ng-if='main && list.type=="reward" && (user.items.special.#{skill}>0 || user.stats.buffs.#{skill})') span(ng-if='main && list.type=="reward" && (user.items.special.#{skill}>0 || user.stats.buffs.#{skill})')