mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-08-05 13:33:00 +00:00
feat(valentine): remove valentine event
This commit is contained in:
parent
e731abb7b6
commit
b03c377294
7 changed files with 117 additions and 155 deletions
116
dist/customizer.css
vendored
116
dist/customizer.css
vendored
|
|
@ -1,30 +1,30 @@
|
|||
.achievement-alien {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2604px;
|
||||
background-position: -2688px -2610px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-armor {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2751px -1442px;
|
||||
background-position: -2745px -1448px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-boot {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2745px -1376px;
|
||||
background-position: -2748px -1376px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-bow {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2751px -1416px;
|
||||
background-position: -2745px -1422px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-cactus {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2739px -1584px;
|
||||
background-position: -2739px -1590px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
|
|
@ -96,7 +96,7 @@
|
|||
}
|
||||
.achievement-rat {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2745px -1350px;
|
||||
background-position: -2748px -1350px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
|
|
@ -132,13 +132,13 @@
|
|||
}
|
||||
.achievement-tree {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2604px;
|
||||
background-position: -2736px -2610px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-valentine {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2712px -2604px;
|
||||
background-position: -2712px -2610px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
|
|
@ -2076,13 +2076,13 @@
|
|||
}
|
||||
.Pet_Currency_Gem1x {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2745px -1402px;
|
||||
background-position: -2748px -1402px;
|
||||
width: 15px;
|
||||
height: 13px;
|
||||
}
|
||||
.Pet_Currency_Gem2x {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2739px -1533px;
|
||||
background-position: -2739px -1539px;
|
||||
width: 30px;
|
||||
height: 26px;
|
||||
}
|
||||
|
|
@ -2094,13 +2094,13 @@
|
|||
}
|
||||
.Pet_Egg_Cactus {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2502px;
|
||||
background-position: -2688px -2508px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_Egg_Dragon {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2553px;
|
||||
background-position: -2688px -2559px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
|
|
@ -2112,13 +2112,13 @@
|
|||
}
|
||||
.Pet_Egg_Fox {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1482px;
|
||||
background-position: -2688px -1488px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_Egg_Gryphon {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1635px;
|
||||
background-position: -2688px -1641px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
|
|
@ -2160,7 +2160,7 @@
|
|||
}
|
||||
.Pet_Food_Cake_CottonCandyBlue {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1635px;
|
||||
background-position: -2736px -1641px;
|
||||
width: 42px;
|
||||
height: 44px;
|
||||
}
|
||||
|
|
@ -2196,7 +2196,7 @@
|
|||
}
|
||||
.Pet_Food_Cake_Skeleton {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1482px;
|
||||
background-position: -2736px -1488px;
|
||||
width: 42px;
|
||||
height: 47px;
|
||||
}
|
||||
|
|
@ -2274,121 +2274,121 @@
|
|||
}
|
||||
.Pet_Food_Strawberry {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2451px;
|
||||
background-position: -2688px -2457px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_Base {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2400px;
|
||||
background-position: -2688px -2406px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_CottonCandyBlue {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2349px;
|
||||
background-position: -2688px -2355px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_CottonCandyPink {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2298px;
|
||||
background-position: -2688px -2304px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_Desert {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2247px;
|
||||
background-position: -2688px -2253px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_Golden {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2196px;
|
||||
background-position: -2688px -2202px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_Red {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2145px;
|
||||
background-position: -2688px -2151px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_Shade {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2094px;
|
||||
background-position: -2688px -2100px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_Skeleton {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2043px;
|
||||
background-position: -2688px -2049px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_White {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1992px;
|
||||
background-position: -2688px -1998px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_Zombie {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1941px;
|
||||
background-position: -2688px -1947px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.inventory_present {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1890px;
|
||||
background-position: -2688px -1896px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.inventory_quest_scroll {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1839px;
|
||||
background-position: -2688px -1845px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.inventory_special_fortify {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1788px;
|
||||
background-position: -2688px -1794px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.inventory_special_snowball {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1737px;
|
||||
background-position: -2688px -1743px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.inventory_special_valentine {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1737px;
|
||||
background-position: -2736px -1743px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.rebirth_orb {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1686px;
|
||||
background-position: -2688px -1692px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.GrimReaper {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1350px;
|
||||
background-position: -2688px -1422px;
|
||||
width: 57px;
|
||||
height: 66px;
|
||||
}
|
||||
.PixelPaw-Gold {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1584px;
|
||||
background-position: -2688px -1590px;
|
||||
width: 51px;
|
||||
height: 51px;
|
||||
}
|
||||
.PixelPaw {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1533px;
|
||||
background-position: -2688px -1539px;
|
||||
width: 51px;
|
||||
height: 51px;
|
||||
}
|
||||
|
|
@ -3636,9 +3636,9 @@
|
|||
}
|
||||
.npc_bailey {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1416px;
|
||||
width: 63px;
|
||||
height: 66px;
|
||||
background-position: -2688px -1350px;
|
||||
width: 60px;
|
||||
height: 72px;
|
||||
}
|
||||
.npc_daniel {
|
||||
background-image: url(spritesmith.png);
|
||||
|
|
@ -4308,7 +4308,7 @@
|
|||
}
|
||||
.quest_vice2_lightCrystal {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1839px;
|
||||
background-position: -2736px -1845px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
|
@ -4824,13 +4824,13 @@
|
|||
}
|
||||
.shop_copper {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2739px -1610px;
|
||||
background-position: -2739px -1616px;
|
||||
width: 32px;
|
||||
height: 22px;
|
||||
}
|
||||
.shop_eyes {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1788px;
|
||||
background-position: -2736px -1794px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
|
@ -4842,85 +4842,85 @@
|
|||
}
|
||||
.shop_head_base_0 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1890px;
|
||||
background-position: -2736px -1896px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_healer_ {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1941px;
|
||||
background-position: -2736px -1947px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_healer_1 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1992px;
|
||||
background-position: -2736px -1998px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_healer_2 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2043px;
|
||||
background-position: -2736px -2049px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_healer_3 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2094px;
|
||||
background-position: -2736px -2100px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_healer_4 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2145px;
|
||||
background-position: -2736px -2151px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_healer_5 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2196px;
|
||||
background-position: -2736px -2202px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_rogue_1 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2247px;
|
||||
background-position: -2736px -2253px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_rogue_2 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2298px;
|
||||
background-position: -2736px -2304px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_rogue_3 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2349px;
|
||||
background-position: -2736px -2355px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_rogue_4 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2400px;
|
||||
background-position: -2736px -2406px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_rogue_5 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2451px;
|
||||
background-position: -2736px -2457px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_special_0 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2502px;
|
||||
background-position: -2736px -2508px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_special_1 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2553px;
|
||||
background-position: -2736px -2559px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
|
@ -5130,7 +5130,7 @@
|
|||
}
|
||||
.shop_shield_special_snowflake {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1686px;
|
||||
background-position: -2736px -1692px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
|
@ -5172,7 +5172,7 @@
|
|||
}
|
||||
.shop_silver {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2739px -1559px;
|
||||
background-position: -2739px -1565px;
|
||||
width: 32px;
|
||||
height: 22px;
|
||||
}
|
||||
|
|
|
|||
2
dist/habitrpg-shared.css
vendored
2
dist/habitrpg-shared.css
vendored
File diff suppressed because one or more lines are too long
24
dist/habitrpg-shared.js
vendored
24
dist/habitrpg-shared.js
vendored
|
|
@ -10522,30 +10522,6 @@ var global=typeof self !== "undefined" ? self : typeof window !== "undefined" ?
|
|||
user.stats.buffs.snowball = false;
|
||||
return user.stats.gp -= 5;
|
||||
}
|
||||
},
|
||||
valentine: {
|
||||
text: "Valentine Card",
|
||||
mana: 0,
|
||||
value: 10,
|
||||
target: 'user',
|
||||
notes: "Send a valentines card to a friend.",
|
||||
cast: function(user, target) {
|
||||
var _base, _ref;
|
||||
|
||||
_.each([user, target], function(t) {
|
||||
var _base, _ref;
|
||||
|
||||
if ((_ref = (_base = t.achievements).valentine) == null) {
|
||||
_base.valentine = 0;
|
||||
}
|
||||
return t.achievements.valentine++;
|
||||
});
|
||||
((_ref = (_base = target.items.special).valentineReceived) != null ? _ref : _base.valentineReceived = []).push(user.profile.name);
|
||||
if (typeof target.markModified === "function") {
|
||||
target.markModified('items.special');
|
||||
}
|
||||
return user.stats.gp -= 10;
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
|
|
|
|||
116
dist/spritesmith.css
vendored
116
dist/spritesmith.css
vendored
|
|
@ -1,30 +1,30 @@
|
|||
.achievement-alien {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2604px;
|
||||
background-position: -2688px -2610px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-armor {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2751px -1442px;
|
||||
background-position: -2745px -1448px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-boot {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2745px -1376px;
|
||||
background-position: -2748px -1376px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-bow {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2751px -1416px;
|
||||
background-position: -2745px -1422px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-cactus {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2739px -1584px;
|
||||
background-position: -2739px -1590px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
|
|
@ -96,7 +96,7 @@
|
|||
}
|
||||
.achievement-rat {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2745px -1350px;
|
||||
background-position: -2748px -1350px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
|
|
@ -132,13 +132,13 @@
|
|||
}
|
||||
.achievement-tree {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2604px;
|
||||
background-position: -2736px -2610px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
.achievement-valentine {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2712px -2604px;
|
||||
background-position: -2712px -2610px;
|
||||
width: 24px;
|
||||
height: 26px;
|
||||
}
|
||||
|
|
@ -2076,13 +2076,13 @@
|
|||
}
|
||||
.Pet_Currency_Gem1x {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2745px -1402px;
|
||||
background-position: -2748px -1402px;
|
||||
width: 15px;
|
||||
height: 13px;
|
||||
}
|
||||
.Pet_Currency_Gem2x {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2739px -1533px;
|
||||
background-position: -2739px -1539px;
|
||||
width: 30px;
|
||||
height: 26px;
|
||||
}
|
||||
|
|
@ -2094,13 +2094,13 @@
|
|||
}
|
||||
.Pet_Egg_Cactus {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2502px;
|
||||
background-position: -2688px -2508px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_Egg_Dragon {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2553px;
|
||||
background-position: -2688px -2559px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
|
|
@ -2112,13 +2112,13 @@
|
|||
}
|
||||
.Pet_Egg_Fox {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1482px;
|
||||
background-position: -2688px -1488px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_Egg_Gryphon {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1635px;
|
||||
background-position: -2688px -1641px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
|
|
@ -2160,7 +2160,7 @@
|
|||
}
|
||||
.Pet_Food_Cake_CottonCandyBlue {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1635px;
|
||||
background-position: -2736px -1641px;
|
||||
width: 42px;
|
||||
height: 44px;
|
||||
}
|
||||
|
|
@ -2196,7 +2196,7 @@
|
|||
}
|
||||
.Pet_Food_Cake_Skeleton {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1482px;
|
||||
background-position: -2736px -1488px;
|
||||
width: 42px;
|
||||
height: 47px;
|
||||
}
|
||||
|
|
@ -2274,121 +2274,121 @@
|
|||
}
|
||||
.Pet_Food_Strawberry {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2451px;
|
||||
background-position: -2688px -2457px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_Base {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2400px;
|
||||
background-position: -2688px -2406px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_CottonCandyBlue {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2349px;
|
||||
background-position: -2688px -2355px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_CottonCandyPink {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2298px;
|
||||
background-position: -2688px -2304px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_Desert {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2247px;
|
||||
background-position: -2688px -2253px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_Golden {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2196px;
|
||||
background-position: -2688px -2202px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_Red {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2145px;
|
||||
background-position: -2688px -2151px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_Shade {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2094px;
|
||||
background-position: -2688px -2100px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_Skeleton {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -2043px;
|
||||
background-position: -2688px -2049px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_White {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1992px;
|
||||
background-position: -2688px -1998px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.Pet_HatchingPotion_Zombie {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1941px;
|
||||
background-position: -2688px -1947px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.inventory_present {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1890px;
|
||||
background-position: -2688px -1896px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.inventory_quest_scroll {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1839px;
|
||||
background-position: -2688px -1845px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.inventory_special_fortify {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1788px;
|
||||
background-position: -2688px -1794px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.inventory_special_snowball {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1737px;
|
||||
background-position: -2688px -1743px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.inventory_special_valentine {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1737px;
|
||||
background-position: -2736px -1743px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.rebirth_orb {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1686px;
|
||||
background-position: -2688px -1692px;
|
||||
width: 48px;
|
||||
height: 51px;
|
||||
}
|
||||
.GrimReaper {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1350px;
|
||||
background-position: -2688px -1422px;
|
||||
width: 57px;
|
||||
height: 66px;
|
||||
}
|
||||
.PixelPaw-Gold {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1584px;
|
||||
background-position: -2688px -1590px;
|
||||
width: 51px;
|
||||
height: 51px;
|
||||
}
|
||||
.PixelPaw {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1533px;
|
||||
background-position: -2688px -1539px;
|
||||
width: 51px;
|
||||
height: 51px;
|
||||
}
|
||||
|
|
@ -3636,9 +3636,9 @@
|
|||
}
|
||||
.npc_bailey {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2688px -1416px;
|
||||
width: 63px;
|
||||
height: 66px;
|
||||
background-position: -2688px -1350px;
|
||||
width: 60px;
|
||||
height: 72px;
|
||||
}
|
||||
.npc_daniel {
|
||||
background-image: url(spritesmith.png);
|
||||
|
|
@ -4308,7 +4308,7 @@
|
|||
}
|
||||
.quest_vice2_lightCrystal {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1839px;
|
||||
background-position: -2736px -1845px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
|
@ -4824,13 +4824,13 @@
|
|||
}
|
||||
.shop_copper {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2739px -1610px;
|
||||
background-position: -2739px -1616px;
|
||||
width: 32px;
|
||||
height: 22px;
|
||||
}
|
||||
.shop_eyes {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1788px;
|
||||
background-position: -2736px -1794px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
|
@ -4842,85 +4842,85 @@
|
|||
}
|
||||
.shop_head_base_0 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1890px;
|
||||
background-position: -2736px -1896px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_healer_ {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1941px;
|
||||
background-position: -2736px -1947px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_healer_1 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1992px;
|
||||
background-position: -2736px -1998px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_healer_2 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2043px;
|
||||
background-position: -2736px -2049px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_healer_3 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2094px;
|
||||
background-position: -2736px -2100px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_healer_4 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2145px;
|
||||
background-position: -2736px -2151px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_healer_5 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2196px;
|
||||
background-position: -2736px -2202px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_rogue_1 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2247px;
|
||||
background-position: -2736px -2253px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_rogue_2 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2298px;
|
||||
background-position: -2736px -2304px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_rogue_3 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2349px;
|
||||
background-position: -2736px -2355px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_rogue_4 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2400px;
|
||||
background-position: -2736px -2406px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_rogue_5 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2451px;
|
||||
background-position: -2736px -2457px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_special_0 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2502px;
|
||||
background-position: -2736px -2508px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_special_1 {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -2553px;
|
||||
background-position: -2736px -2559px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
|
@ -5130,7 +5130,7 @@
|
|||
}
|
||||
.shop_shield_special_snowflake {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2736px -1686px;
|
||||
background-position: -2736px -1692px;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
|
|
@ -5172,7 +5172,7 @@
|
|||
}
|
||||
.shop_silver {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -2739px -1559px;
|
||||
background-position: -2739px -1565px;
|
||||
width: 32px;
|
||||
height: 22px;
|
||||
}
|
||||
|
|
|
|||
BIN
dist/spritesmith.png
vendored
BIN
dist/spritesmith.png
vendored
Binary file not shown.
|
Before Width: | Height: | Size: 480 KiB After Width: | Height: | Size: 479 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.6 KiB |
|
|
@ -468,20 +468,6 @@ api.spells =
|
|||
user.stats.buffs.snowball = false
|
||||
user.stats.gp -= 5
|
||||
|
||||
valentine:
|
||||
text: "Valentine Card"
|
||||
mana: 0
|
||||
value: 10
|
||||
target: 'user'
|
||||
notes: "Send a valentines card to a friend."
|
||||
cast: (user, target) ->
|
||||
_.each [user,target], (t)->
|
||||
t.achievements.valentine ?= 0
|
||||
t.achievements.valentine++
|
||||
(target.items.special.valentineReceived ?= []).push user.profile.name
|
||||
target.markModified? 'items.special'
|
||||
user.stats.gp -= 10
|
||||
|
||||
# Intercept all spells to reduce user.stats.mp after casting the spell
|
||||
_.each api.spells, (spellClass) ->
|
||||
_.each spellClass, (spell, key) ->
|
||||
|
|
|
|||
Loading…
Reference in a new issue