From fd4e54ef8451ae0c4365d1fa54763ebcf4c44999 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Sun, 10 Nov 2013 13:22:44 -0800 Subject: [PATCH 1/9] mounts: fix up spritesheets mount system --- css/Mounts.css | 30 +++++++++++++++++------------- dist/spritesheets.css | 2 +- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/css/Mounts.css b/css/Mounts.css index 3ec959fad0..a868bdad07 100644 --- a/css/Mounts.css +++ b/css/Mounts.css @@ -1,13 +1,17 @@ -.Mount_Head_Lion, .Mount_Body_Lion, .Mount_Head_PolarBear, .Mount_Body_PolarBear, .Mount_Head_Panda, .Mount_Body_Panda, .Mount_Head_Tiger, .Mount_Body_Tiger, .Mount_Head_Bear, .Mount_Body_Bear, .Mount_Head_EtherealLion, .Mount_Body_EtherealLion {background: url('../img/sprites/Mount-SpriteSheet.png') no-repeat; } -.Mount_Head_Lion {background-position: 0 0; width: 105px; height: 123px} -.Mount_Body_Lion {background-position: -105 0; width: 105px; height: 123px} -.Mount_Head_PolarBear {background-position: -210 0; width: 105px; height: 123px} -.Mount_Body_PolarBear {background-position: -315 0; width: 105px; height: 123px} -.Mount_Head_Panda {background-position: -420 0; width: 105px; height: 123px} -.Mount_Body_Panda {background-position: -525 0; width: 105px; height: 123px} -.Mount_Head_Tiger {background-position: -630 0; width: 105px; height: 123px} -.Mount_Body_Tiger {background-position: -735 0; width: 105px; height: 123px} -.Mount_Head_Bear {background-position: -840 0; width: 105px; height: 123px} -.Mount_Body_Bear {background-position: -945 0; width: 105px; height: 123px} -.Mount_Head_EtherealLion {background-position: -1050 0; width: 105px; height: 123px} -.Mount_Body_EtherealLion {background-position: -1155 0; width: 105px; height: 123px} +.Mount_Head_LionCub-Base, .Mount_Body_LionCub-Base, .Mount_Head_PolarBearCub-Base, .Mount_Body_PolarBearCub-Base, .Mount_Head_PandaCub-Base, .Mount_Body_PandaCub-Base, .Mount_Head_TigerCub-Base, .Mount_Body_TigerCub-Base, .Mount_Head_BearCub-Base, .Mount_Body_BearCub-Base, .Mount_Head_EtherealLion, .Mount_Body_EtherealLion { + background: url('../img/sprites/Mount-SpriteSheet.png') no-repeat; + width: 105px; + height: 123px; +} +.Mount_Head_LionCub-Base {background-position: 0px 0px;} +.Mount_Body_LionCub-Base {background-position: -105px 0px;} +.Mount_Head_PolarBear {background-position: -210px 0px;} +.Mount_Body_PolarBear {background-position: -315px 0px;} +.Mount_Head_PandaCub-Base {background-position: -420px 0px;} +.Mount_Body_PandaCub-Base {background-position: -525px 0px;} +.Mount_Head_TigerCub-Base {background-position: -630px 0px;} +.Mount_Body_TigerCub-Base {background-position: -735px 0px;} +.Mount_Head_BearCub-Base {background-position: -840px 0px;} +.Mount_Body_BearCub-Base {background-position: -945px 0px;} +.Mount_Head_EtherealLion {background-position: -1050px 0px;} +.Mount_Body_EtherealLion {background-position: -1155px 0px;} diff --git a/dist/spritesheets.css b/dist/spritesheets.css index 7f6b60b7df..e0371897fb 100644 --- a/dist/spritesheets.css +++ b/dist/spritesheets.css @@ -1 +1 @@ -.Mount_Head_Lion,.Mount_Body_Lion,.Mount_Head_PolarBear,.Mount_Body_PolarBear,.Mount_Head_Panda,.Mount_Body_Panda,.Mount_Head_Tiger,.Mount_Body_Tiger,.Mount_Head_Bear,.Mount_Body_Bear,.Mount_Head_EtherealLion,.Mount_Body_EtherealLion{background:url(../img/sprites/Mount-SpriteSheet.png) no-repeat}.Mount_Head_Lion{background-position:0 0;width:105px;height:123px}.Mount_Body_Lion{background-position:-105 0;width:105px;height:123px}.Mount_Head_PolarBear{background-position:-210 0;width:105px;height:123px}.Mount_Body_PolarBear{background-position:-315 0;width:105px;height:123px}.Mount_Head_Panda{background-position:-420 0;width:105px;height:123px}.Mount_Body_Panda{background-position:-525 0;width:105px;height:123px}.Mount_Head_Tiger{background-position:-630 0;width:105px;height:123px}.Mount_Body_Tiger{background-position:-735 0;width:105px;height:123px}.Mount_Head_Bear{background-position:-840 0;width:105px;height:123px}.Mount_Body_Bear{background-position:-945 0;width:105px;height:123px}.Mount_Head_EtherealLion{background-position:-1050 0;width:105px;height:123px}.Mount_Body_EtherealLion{background-position:-1155 0;width:105px;height:123px}.Pet_Egg_Wolf,.Pet_Egg_TigerCub,.Pet_Egg_PolarBear,.Pet_Egg_PandaCub,.Pet_Egg_LionCub,.Pet_Egg_Fox,.Pet_Egg_FlyingPig,.Pet_Egg_Dragon,.Pet_Egg_Cactus,.Pet_Egg_BearCub,.Pet_HatchingPotion_Base,.Pet_HatchingPotion_White,.Pet_HatchingPotion_Desert,.Pet_HatchingPotion_Red,.Pet_HatchingPotion_Shade,.Pet_HatchingPotion_Skeleton,.Pet_HatchingPotion_Zombie,.Pet_HatchingPotion_CottonCandyPink,.Pet_HatchingPotion_CottonCandyBlue,.Pet_HatchingPotion_Golden,.Pet_Currency_Gem,.Pet_Currency_Gem2x,.Pet_Currency_Gem1x{background:url(../img/sprites/Egg_Sprite_Sheet.png) no-repeat}.Pet_Egg_Wolf{background-position:0 0;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_TigerCub{background-position:0 -51px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_PolarBear{background-position:0 -102px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_PandaCub{background-position:0 -153px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_LionCub{background-position:0 -204px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Fox{background-position:0 -255px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_FlyingPig{background-position:0 -306px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Dragon{background-position:0 -357px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Cactus{background-position:0 -408px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_BearCub{background-position:0 -459px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Base{background-position:-48px -0px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_White{background-position:-48px -51px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Desert{background-position:-48px -102px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Red{background-position:-48px -153px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Shade{background-position:-48px -204px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Skeleton{background-position:-48px -255px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Zombie{background-position:-48px -306px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_CottonCandyPink{background-position:-48px -357px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_CottonCandyBlue{background-position:-48px -408px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Golden{background-position:-48px -459px;width:48px;height:53px;margin-left:1.25em}.Pet_Currency_Gem{background-position:0 -510px;width:51px;height:45px}.Pet_Currency_Gem2x{background-position:-55px -513px;width:34px;height:30px}.Pet_Currency_Gem1x{background-position:-63px -542px;width:19px;height:17px}.inline-gems{display:inline-block}.weapon_6,.weapon_5,.weapon_4,.weapon_3,.weapon_2,.weapon_1,.weapon_0,.skin_white,.skin_pale,.skin_orc,.skin_dead,.skin_black,.skin_asian,.shield_5_v1,.shield_5_v0,.shield_4_v0,.shield_3_v1,.shield_3_v0,.shield_2_v1,.shield_2_v0,.shield_1_v1,.shield_1_v0,_shield_4_v1,.nh_hair_white_v1,.nh_hair_white_v0,.nh_hair_brown_v1,.nh_hair_brown_v0,.nh_hair_blond_v1,.nh_hair_blond_v0,.nh_hair_black_v1,.nh_hair_black_v0,.head_5_v2,.head_5_v1,.head_5_v0,.head_4_v2,.head_4_v1,.head_4_v0,.head_3_v2,.head_3_v1,.head_3_v0,.head_2_v2,.head_2_v1,.head_2_v0,.head_1_v1,.head_1_v0,.head_0_v1,.head_0_v0,.hair_white_v1,.hair_white_v0,.hair_brown_v1,.hair_brown_v0,.hair_blond_v1,.hair_blond_v0,.hair_black_v1,.hair_black_v0,.armor_5_v1,.armor_5_v0,.armor_4_v1,.armor_4_v0,.armor_3_v1,.armor_3_v0,.armor_2_v0,.armor_1_v1,.armor_1_v0,.armor_0_v11,.armor_0_v10,.armor_0_v9,.armor_0_v8,.armor_0_v7,.armor_0_v6,.armor_0_v5,.armor_0_v4,.armor_0_v3,.armor_0_v2,.armor_0_v1,.armor_0_v0{background:url(../img/sprites/player_sprites.png) no-repeat}.weapon_6{background-position:0 0;width:90px;height:90px}.weapon_5{background-position:-90px 0;width:90px;height:90px}.weapon_4{background-position:-180px 0;width:90px;height:90px}.weapon_3{background-position:-270px 0;width:90px;height:90px}.weapon_2{background-position:-360px 0;width:90px;height:90px}.weapon_1{background-position:-450px 0;width:90px;height:90px}.weapon_0{background-position:-540px 0;width:90px;height:90px}.skin_white{background-position:-630px 0;width:90px;height:90px}.skin_pale{background-position:-720px 0;width:90px;height:90px}.skin_orc{background-position:-810px 0;width:90px;height:90px}.skin_dead{background-position:-900px 0;width:90px;height:90px}.skin_black{background-position:-990px 0;width:90px;height:90px}.skin_asian{background-position:-1080px 0;width:90px;height:90px}.shield_5_v1{background-position:-1170px 0;width:90px;height:90px}.shield_5_v0{background-position:-1260px 0;width:90px;height:90px}.shield_4_v0{background-position:-1350px 0;width:90px;height:90px}.shield_3_v1{background-position:-1440px 0;width:90px;height:90px}.shield_3_v0{background-position:-1530px 0;width:90px;height:90px}.shield_2_v1{background-position:-1620px 0;width:90px;height:90px}.shield_2_v0{background-position:-1710px 0;width:90px;height:90px}.shield_1_v1{background-position:-1800px 0;width:90px;height:90px}.shield_1_v0{background-position:-1890px 0;width:90px;height:90px}._shield_4_v1{background-position:-1980px 0;width:90px;height:90px}.nh_hair_white_v1{background-position:-2070px 0;width:90px;height:90px}.nh_hair_white_v0{background-position:-2160px 0;width:90px;height:90px}.nh_hair_brown_v1{background-position:-2250px 0;width:90px;height:90px}.nh_hair_brown_v0{background-position:-2340px 0;width:90px;height:90px}.nh_hair_blond_v1{background-position:-2430px 0;width:90px;height:90px}.nh_hair_blond_v0{background-position:-2520px 0;width:90px;height:90px}.nh_hair_black_v1{background-position:-2610px 0;width:90px;height:90px}.nh_hair_black_v0{background-position:-2700px 0;width:90px;height:90px}.head_5_v2{background-position:-2790px 0;width:90px;height:90px}.head_5_v1{background-position:-2880px 0;width:90px;height:90px}.head_5_v0{background-position:-2970px 0;width:90px;height:90px}.head_4_v2{background-position:-3060px 0;width:90px;height:90px}.head_4_v1{background-position:-3150px 0;width:90px;height:90px}.head_4_v0{background-position:-3240px 0;width:90px;height:90px}.head_3_v2{background-position:-3330px 0;width:90px;height:90px}.head_3_v1{background-position:-3420px 0;width:90px;height:90px}.head_3_v0{background-position:-3510px 0;width:90px;height:90px}.head_2_v2{background-position:-3600px 0;width:90px;height:90px}.head_2_v1{background-position:-3690px 0;width:90px;height:90px}.head_2_v0{background-position:-3780px 0;width:90px;height:90px}.head_1_v1{background-position:-3870px 0;width:90px;height:90px}.head_1_v0{background-position:-3960px 0;width:90px;height:90px}.head_0_v1{background-position:-4050px 0;width:90px;height:90px}.head_0_v0{background-position:-4140px 0;width:90px;height:90px}.hair_white_v1{background-position:-4230px 0;width:90px;height:90px}.hair_white_v0{background-position:-4320px 0;width:90px;height:90px}.hair_brown_v1{background-position:-4410px 0;width:90px;height:90px}.hair_brown_v0{background-position:-4500px 0;width:90px;height:90px}.hair_blond_v1{background-position:-4590px 0;width:90px;height:90px}.hair_blond_v0{background-position:-4680px 0;width:90px;height:90px}.hair_black_v1{background-position:-4770px 0;width:90px;height:90px}.hair_black_v0{background-position:-4860px 0;width:90px;height:90px}.armor_5_v1{background-position:-4950px 0;width:90px;height:90px}.armor_5_v0{background-position:-5040px 0;width:90px;height:90px}.armor_4_v1{background-position:-5130px 0;width:90px;height:90px}.armor_4_v0{background-position:-5220px 0;width:90px;height:90px}.armor_3_v1{background-position:-5310px 0;width:90px;height:90px}.armor_3_v0{background-position:-5400px 0;width:90px;height:90px}.armor_2_v0{background-position:-5490px 0;width:90px;height:90px}.armor_1_v1{background-position:-5580px 0;width:90px;height:90px}.armor_1_v0{background-position:-5670px 0;width:90px;height:90px}.armor_0_v11{background-position:-5760px 0;width:90px;height:90px}.armor_0_v10{background-position:-5850px 0;width:90px;height:90px}.armor_0_v9{background-position:-5940px 0;width:90px;height:90px}.armor_0_v8{background-position:-6030px 0;width:90px;height:90px}.armor_0_v7{background-position:-6120px 0;width:90px;height:90px}.armor_0_v6{background-position:-6210px 0;width:90px;height:90px}.armor_0_v5{background-position:-6300px 0;width:90px;height:90px}.armor_0_v4{background-position:-6390px 0;width:90px;height:90px}.armor_0_v3{background-position:-6480px 0;width:90px;height:90px}.armor_0_v2{background-position:-6570px 0;width:90px;height:90px}.armor_0_v1{background-position:-6660px 0;width:90px;height:90px}.armor_0_v0{background-position:-6750px 0;width:90px;height:90px}.m_weapon_6,.m_weapon_5,.m_weapon_4,.m_weapon_3,.m_weapon_2,.m_weapon_1,.m_weapon_0,.m_shield_5,.m_shield_4,.m_shield_3,.m_shield_2,.m_shield_1,.m_head_5,.m_head_4,.m_head_3,.m_head_2,.m_head_1,.m_head_0,.m_hair_blond,.m_hair_black,.m_hair_brown,.m_hair_white,.m_armor_5,.m_armor_4,.m_armor_3,.m_armor_2,.m_armor_1,.m_armor_0,.m_skin_dead,.m_skin_orc,.m_skin_asian,.m_skin_black,.m_skin_white,.m_skin_ea8349,.m_skin_c06534,.m_skin_98461a,.m_skin_eb052b,.m_skin_f69922,.m_skin_f5d70f,.m_skin_0ff591,.m_skin_2b43f6,.m_skin_d7a9f7,.m_skin_800ed0,.m_skin_rainbow,.m_skin_monster,.m_skin_pumpkin,.m_skin_skeleton,.m_skin_zombie,.m_skin_ghost,.m_skin_shadow,.m_hair_red{background:url(../img/sprites/male_sprites.png) no-repeat}.m_weapon_6{background-position:0 0;width:90px;height:90px}.m_weapon_5{background-position:-90px 0;width:90px;height:90px}.m_weapon_4{background-position:-180px 0;width:90px;height:90px}.m_weapon_3{background-position:-270px 0;width:90px;height:90px}.m_weapon_2{background-position:-360px 0;width:90px;height:90px}.m_weapon_1{background-position:-450px 0;width:90px;height:90px}.m_weapon_0{background-position:-540px 0;width:90px;height:90px}.m_shield_5{background-position:-630px 0;width:90px;height:90px}.m_shield_4{background-position:-720px 0;width:90px;height:90px}.m_shield_3{background-position:-810px 0;width:90px;height:90px}.m_shield_2{background-position:-900px 0;width:90px;height:90px}.m_shield_1{background-position:-990px 0;width:90px;height:90px}.m_head_5{background-position:-1080px 0;width:90px;height:90px}.m_head_4{background-position:-1170px 0;width:90px;height:90px}.m_head_3{background-position:-1260px 0;width:90px;height:90px}.m_head_2{background-position:-1350px 0;width:90px;height:90px}.m_head_1{background-position:-1440px 0;width:90px;height:90px}.m_head_0{background-position:-1530px 0;width:90px;height:90px}.m_hair_blond{background-position:-1620px 0;width:90px;height:90px}.m_hair_black{background-position:-1710px 0;width:90px;height:90px}.m_hair_brown{background-position:-1800px 0;width:90px;height:90px}.m_hair_white{background-position:-1890px 0;width:90px;height:90px}.m_armor_5{background-position:-1980px 0;width:90px;height:90px}.m_armor_4{background-position:-2070px 0;width:90px;height:90px}.m_armor_3{background-position:-2160px 0;width:90px;height:90px}.m_armor_2{background-position:-2250px 0;width:90px;height:90px}.m_armor_1{background-position:-2340px 0;width:90px;height:90px}.m_armor_0{background-position:-2430px 0;width:90px;height:90px}.m_skin_dead{background-position:-2520px 0;width:90px;height:90px}.m_skin_orc{background-position:-2610px 0;width:90px;height:90px}.m_skin_asian{background-position:-2700px 0;width:90px;height:90px}.m_skin_black{background-position:-2790px 0;width:90px;height:90px}.m_skin_white{background-position:-2880px 0;width:90px;height:90px}.m_skin_ea8349{background-position:-2970px 0;width:90px;height:90px}.m_skin_c06534{background-position:-3060px 0;width:90px;height:90px}.m_skin_98461a{background-position:-3150px 0;width:90px;height:90px}.m_skin_eb052b{background-position:-3240px 0;width:90px;height:90px}.m_skin_f69922{background-position:-3330px 0;width:90px;height:90px}.m_skin_f5d70f{background-position:-3420px 0;width:90px;height:90px}.m_skin_0ff591{background-position:-3510px 0;width:90px;height:90px}.m_skin_2b43f6{background-position:-3600px 0;width:90px;height:90px}.m_skin_d7a9f7{background-position:-3690px 0;width:90px;height:90px}.m_skin_800ed0{background-position:-3780px 0;width:90px;height:90px}.m_skin_rainbow{background-position:-3870px 0;width:90px;height:90px}.m_skin_monster{background-position:-3960px 0;width:90px;height:90px}.m_skin_pumpkin{background-position:-4050px 0;width:90px;height:90px}.m_skin_skeleton{background-position:-4140px 0;width:90px;height:90px}.m_skin_zombie{background-position:-4230px 0;width:90px;height:90px}.m_skin_ghost{background-position:-4320px 0;width:90px;height:90px}.m_skin_shadow{background-position:-4410px 0;width:90px;height:90px}.m_hair_red{background-position:-4500px 0;width:90px;height:90px}.f_weapon_6,.f_weapon_5,.f_weapon_4,.f_weapon_3,.f_weapon_2,.f_weapon_1,.f_weapon_0,.f_shield_5,.f_shield_4,.f_shield_3,.f_shield_2,.f_shield_1,.f_head_5_v2,.f_head_5_v1,.f_head_4_v2,.f_head_4_v1,.f_head_3_v2,.f_head_3_v1,.f_head_2_v2,.f_head_2_v1,.f_head_1,.f_head_0,.f_hair_white,.f_hair_brown,.f_hair_black,.f_hair_blond,.f_armor_5,.f_armor_4,.f_armor_3,.f_armor_2,.f_armor_1,.f_armor_0_v2,.f_armor_0_v1,.f_skin_dead,.f_skin_orc,.f_skin_asian,.f_skin_black,.f_skin_white,.f_skin_ea8349,.f_skin_c06534,.f_skin_98461a,.f_skin_eb052b,.f_skin_eb052b,.f_skin_f69922,.f_skin_f5d70f,.f_skin_0ff591,.f_skin_2b43f6,.f_skin_d7a9f7,.f_skin_800ed0,.f_skin_rainbow,.f_skin_monster,.f_skin_pumpkin,.f_skin_skeleton,.f_skin_zombie,.f_skin_ghost,.f_skin_shadow,.f_hair_red{background:url(../img/sprites/female_sprites.png) no-repeat}.f_weapon_6{background-position:0 0;width:90px;height:90px}.f_weapon_5{background-position:-90px 0;width:90px;height:90px}.f_weapon_4{background-position:-180px 0;width:90px;height:90px}.f_weapon_3{background-position:-270px 0;width:90px;height:90px}.f_weapon_2{background-position:-360px 0;width:90px;height:90px}.f_weapon_1{background-position:-450px 0;width:90px;height:90px}.f_weapon_0{background-position:-540px 0;width:90px;height:90px}.f_shield_5{background-position:-630px 0;width:90px;height:90px}.f_shield_4{background-position:-720px 0;width:90px;height:90px}.f_shield_3{background-position:-810px 0;width:90px;height:90px}.f_shield_2{background-position:-900px 0;width:90px;height:90px}.f_shield_1{background-position:-990px 0;width:90px;height:90px}.f_head_5_v2{background-position:-1080px 0;width:90px;height:90px}.f_head_5_v1{background-position:-1170px 0;width:90px;height:90px}.f_head_4_v2{background-position:-1260px 0;width:90px;height:90px}.f_head_4_v1{background-position:-1350px 0;width:90px;height:90px}.f_head_3_v2{background-position:-1440px 0;width:90px;height:90px}.f_head_3_v1{background-position:-1530px 0;width:90px;height:90px}.f_head_2_v2{background-position:-1620px 0;width:90px;height:90px}.f_head_2_v1{background-position:-1710px 0;width:90px;height:90px}.f_head_1{background-position:-1800px 0;width:90px;height:90px}.f_head_0{background-position:-1890px 0;width:90px;height:90px}.f_hair_white{background-position:-1980px 0;width:90px;height:90px}.f_hair_brown{background-position:-2070px 0;width:90px;height:90px}.f_hair_black{background-position:-2160px 0;width:90px;height:90px}.f_hair_blond{background-position:-2250px 0;width:90px;height:90px}.f_armor_5{background-position:-2340px 0;width:90px;height:90px}.f_armor_4{background-position:-2430px 0;width:90px;height:90px}.f_armor_3{background-position:-2520px 0;width:90px;height:90px}.f_armor_2{background-position:-2610px 0;width:90px;height:90px}.f_armor_1{background-position:-2700px 0;width:90px;height:90px}.f_armor_0_v2{background-position:-2790px 0;width:90px;height:90px}.f_armor_0_v1{background-position:-2880px 0;width:90px;height:90px}.f_skin_dead{background-position:-2970px 0;width:90px;height:90px}.f_skin_orc{background-position:-3060px 0;width:90px;height:90px}.f_skin_asian{background-position:-3150px 0;width:90px;height:90px}.f_skin_black{background-position:-3240px 0;width:90px;height:90px}.f_skin_white{background-position:-3330px 0;width:90px;height:90px}.f_skin_ea8349{background-position:-3420px 0;width:90px;height:90px}.f_skin_c06534{background-position:-3510px 0;width:90px;height:90px}.f_skin_98461a{background-position:-3600px 0;width:90px;height:90px}.f_skin_eb052b{background-position:-3690px 0;width:90px;height:90px}.f_skin_f69922{background-position:-3780px 0;width:90px;height:90px}.f_skin_f5d70f{background-position:-3870px 0;width:90px;height:90px}.f_skin_0ff591{background-position:-3960px 0;width:90px;height:90px}.f_skin_2b43f6{background-position:-4050px 0;width:90px;height:90px}.f_skin_d7a9f7{background-position:-4140px 0;width:90px;height:90px}.f_skin_800ed0{background-position:-4230px 0;width:90px;height:90px}.f_skin_rainbow{background-position:-4320px 0;width:90px;height:90px}.f_skin_monster{background-position:-4410px 0;width:90px;height:90px}.f_skin_pumpkin{background-position:-4500px 0;width:90px;height:90px}.f_skin_skeleton{background-position:-4590px 0;width:90px;height:90px}.f_skin_zombie{background-position:-4680px 0;width:90px;height:90px}.f_skin_ghost{background-position:-4770px 0;width:90px;height:90px}.f_skin_shadow{background-position:-4860px 0;width:90px;height:90px}.f_hair_red{background-position:-4950px 0;width:90px;height:90px}[class^=shop_],[class^=zzz]{background:url(../img/sprites/shop_sprites.png) no-repeat}[class^=shop_weapon_],[class^=shop_shield_],[class^=shop_head_],[class^=shop_armor_],[class^=zzz]{width:40px;height:40px}.shop_weapon_6,.shop_weapon_5,.shop_weapon_4,.shop_weapon_3,.shop_weapon_2,.shop_weapon_1,.shop_shield_5,.shop_shield_4,.shop_shield_3,.shop_shield_2,.shop_shield_1,.shop_head_5,.shop_head_4,.shop_head_3,.shop_head_2,.shop_head_1,.shop_armor_5,.shop_armor_4,.shop_armor_3,.shop_armor_2,.shop_armor_1,.shop_reroll,.shop_potion,.shop_copper,.shop_silver,.shop_gold,.zzz,.zzz_light{background:url(../img/sprites/shop_sprites.png) no-repeat}.shop_weapon_6,.shop_weapon_5,.shop_weapon_4,.shop_weapon_3,.shop_weapon_2,.shop_weapon_1,.shop_shield_5,.shop_shield_4,.shop_shield_3,.shop_shield_2,.shop_shield_1,.shop_head_5,.shop_head_4,.shop_head_3,.shop_head_2,.shop_head_1,.shop_armor_5,.shop_armor_4,.shop_armor_3,.shop_armor_2,.shop_armor_1,.zzz,.zzz_light{width:40px;height:40px}.shop_weapon_6{background-position:0 0}.shop_weapon_5{background-position:-40px 0}.shop_weapon_4{background-position:-80px 0}.shop_weapon_3{background-position:-120px 0}.shop_weapon_2{background-position:-160px 0}.shop_weapon_1{background-position:-200px 0}.shop_shield_5{background-position:-240px 0}.shop_shield_4{background-position:-280px 0}.shop_shield_3{background-position:-320px 0}.shop_shield_2{background-position:-360px 0}.shop_shield_1{background-position:-400px 0}.shop_head_5{background-position:-440px 0}.shop_head_4{background-position:-480px 0}.shop_head_3{background-position:-520px 0}.shop_head_2{background-position:-560px 0}.shop_head_1{background-position:-600px 0}.shop_armor_5{background-position:-640px 0}.shop_armor_4{background-position:-680px 0}.shop_armor_3{background-position:-720px 0}.shop_armor_2{background-position:-760px 0}.shop_armor_1{background-position:-800px 0}.shop_reroll{background-position:-840px 0;width:40px;height:40px}.shop_potion{background-position:-880px 0;width:40px;height:40px}.shop_copper{background-position:-923px -8px;width:32px;height:22px}.shop_silver{background-position:-963px -8px;width:32px;height:22px}.shop_gold{background-position:-1003px -8px;width:32px;height:22px}.zzz{background-position:-1200px 0}.zzz_light{background-position:-1280px 0}.Pet-Wolf-Zombie,.Pet-Wolf-White,.Pet-Wolf-Veteran,.Pet-Wolf-Skeleton,.Pet-Wolf-Shade,.Pet-Wolf-Red,.Pet-Wolf-Golden,.Pet-Wolf-Desert,.Pet-Wolf-CottonCandyPink,.Pet-Wolf-CottonCandyBlue,.Pet-TigerCub-Zombie,.Pet-TigerCub-White,.Pet-TigerCub-Skeleton,.Pet-TigerCub-Shade,.Pet-TigerCub-Red,.Pet-TigerCub-Golden,.Pet-TigerCub-Desert,.Pet-TigerCub-CottonCandyPink,.Pet-TigerCub-CottonCandyBlue,.Pet-TigerCub-Base,.Pet-PolarBearCub-Base,.Pet-PandaCub-Zombie,.Pet-PandaCub-White,.Pet-PandaCub-Skeleton,.Pet-PandaCub-Shade,.Pet-PandaCub-Red,.Pet-PandaCub-Golden,.Pet-PandaCub-Desert,.Pet-PandaCub-CottonCandyPink,.Pet-PandaCub-CottonCandyBlue,.Pet-PandaCub-Base,.Pet-LionCub-Zombie,.Pet-LionCub-White,.Pet-LionCub-Skeleton,.Pet-LionCub-Shade,.Pet-LionCub-Red,.Pet-LionCub-Golden,.Pet-LionCub-Desert,.Pet-LionCub-CottonCandyPink,.Pet-LionCub-CottonCandyBlue,.Pet-LionCub-Base,.Pet-Fox-Zombie,.Pet-Fox-White,.Pet-Fox-Skeleton,.Pet-Fox-Shade,.Pet-Fox-Red,.Pet-Fox-Golden,.Pet-Fox-Desert,.Pet-Fox-CottonCandyPink,.Pet-Fox-CottonCandyBlue,.Pet-Fox-Base,.Pet-FlyingPig-Zombie,.Pet-FlyingPig-White,.Pet-FlyingPig-Skeleton,.Pet-FlyingPig-Shade,.Pet-FlyingPig-Red,.Pet-FlyingPig-Golden,.Pet-FlyingPig-Desert,.Pet-FlyingPig-CottonCandyPink,.Pet-FlyingPig-CottonCandyBlue,.Pet-FlyingPig-Base,.Pet-Dragon-Zombie,.Pet-Dragon-White,.Pet-Dragon-Skeleton,.Pet-Dragon-Shade,.Pet-Dragon-Red,.Pet-Dragon-Golden,.Pet-Dragon-Desert,.Pet-Dragon-CottonCandyPink,.Pet-Dragon-CottonCandyBlue,.Pet-Dragon-Base,.Pet-Cactus-Skeleton,.Pet-Cactus-Red,.Pet-Cactus-Zombie,.Pet-Cactus-Shade,.Pet-Cactus-Golden,.Pet-Cactus-White,.Pet-Cactus-CottonCandyPink,.Pet-Cactus-CottonCandyBlue,.Pet-Cactus-Desert,.Pet-Cactus-Base,.Pet-BearCub-Zombie,.Pet-BearCub-White,.Pet-BearCub-Skeleton,.Pet-BearCub-Shade,.Pet-BearCub-Red,.Pet-BearCub-Golden,.Pet-BearCub-Desert,.Pet-BearCub-CottonCandyPink,.Pet-BearCub-CottonCandyBlue,.Pet-BearCub-Base,.Pet-Wolf-Base{background:url(../img/sprites/pet_sprites.png) no-repeat}.Pet-Wolf-Zombie{background-position:0 0;width:81px;height:99px}.Pet-Wolf-White{background-position:-81px 0;width:81px;height:99px}.Pet-Wolf-Veteran{background-position:-162px 0;width:81px;height:99px}.Pet-Wolf-Skeleton{background-position:-243px 0;width:81px;height:99px}.Pet-Wolf-Shade{background-position:-324px 0;width:81px;height:99px}.Pet-Wolf-Red{background-position:-405px 0;width:81px;height:99px}.Pet-Wolf-Golden{background-position:-486px 0;width:81px;height:99px}.Pet-Wolf-Desert{background-position:-567px 0;width:81px;height:99px}.Pet-Wolf-CottonCandyPink{background-position:-648px 0;width:81px;height:99px}.Pet-Wolf-CottonCandyBlue{background-position:-729px 0;width:81px;height:99px}.Pet-TigerCub-Zombie{background-position:-810px 0;width:81px;height:99px}.Pet-TigerCub-White{background-position:-891px 0;width:81px;height:99px}.Pet-TigerCub-Skeleton{background-position:-972px 0;width:81px;height:99px}.Pet-TigerCub-Shade{background-position:-1053px 0;width:81px;height:99px}.Pet-TigerCub-Red{background-position:-1134px 0;width:81px;height:99px}.Pet-TigerCub-Golden{background-position:-1215px 0;width:81px;height:99px}.Pet-TigerCub-Desert{background-position:-1296px 0;width:81px;height:99px}.Pet-TigerCub-CottonCandyPink{background-position:-1377px 0;width:81px;height:99px}.Pet-TigerCub-CottonCandyBlue{background-position:-1458px 0;width:81px;height:99px}.Pet-TigerCub-Base{background-position:-1539px 0;width:81px;height:99px}.Pet-PolarBearCub-Base{background-position:-1620px 0;width:81px;height:99px}.Pet-PandaCub-Zombie{background-position:-1701px 0;width:81px;height:99px}.Pet-PandaCub-White{background-position:-1782px 0;width:81px;height:99px}.Pet-PandaCub-Skeleton{background-position:-1863px 0;width:81px;height:99px}.Pet-PandaCub-Shade{background-position:-1944px 0;width:81px;height:99px}.Pet-PandaCub-Red{background-position:-2025px 0;width:81px;height:99px}.Pet-PandaCub-Golden{background-position:-2106px 0;width:81px;height:99px}.Pet-PandaCub-Desert{background-position:-2187px 0;width:81px;height:99px}.Pet-PandaCub-CottonCandyPink{background-position:-2268px 0;width:81px;height:99px}.Pet-PandaCub-CottonCandyBlue{background-position:-2349px 0;width:81px;height:99px}.Pet-PandaCub-Base{background-position:-2430px 0;width:81px;height:99px}.Pet-LionCub-Zombie{background-position:-2511px 0;width:81px;height:99px}.Pet-LionCub-White{background-position:-2592px 0;width:81px;height:99px}.Pet-LionCub-Skeleton{background-position:-2673px 0;width:81px;height:99px}.Pet-LionCub-Shade{background-position:-2754px 0;width:81px;height:99px}.Pet-LionCub-Red{background-position:-2835px 0;width:81px;height:99px}.Pet-LionCub-Golden{background-position:-2916px 0;width:81px;height:99px}.Pet-LionCub-Desert{background-position:-2997px 0;width:81px;height:99px}.Pet-LionCub-CottonCandyPink{background-position:-3078px 0;width:81px;height:99px}.Pet-LionCub-CottonCandyBlue{background-position:-3159px 0;width:81px;height:99px}.Pet-LionCub-Base{background-position:-3240px 0;width:81px;height:99px}.Pet-Fox-Zombie{background-position:-3321px 0;width:81px;height:99px}.Pet-Fox-White{background-position:-3402px 0;width:81px;height:99px}.Pet-Fox-Skeleton{background-position:-3483px 0;width:81px;height:99px}.Pet-Fox-Shade{background-position:-3564px 0;width:81px;height:99px}.Pet-Fox-Red{background-position:-3645px 0;width:81px;height:99px}.Pet-Fox-Golden{background-position:-3726px 0;width:81px;height:99px}.Pet-Fox-Desert{background-position:-3807px 0;width:81px;height:99px}.Pet-Fox-CottonCandyPink{background-position:-3888px 0;width:81px;height:99px}.Pet-Fox-CottonCandyBlue{background-position:-3969px 0;width:81px;height:99px}.Pet-Fox-Base{background-position:-4050px 0;width:81px;height:99px}.Pet-FlyingPig-Zombie{background-position:-4131px 0;width:81px;height:99px}.Pet-FlyingPig-White{background-position:-4212px 0;width:81px;height:99px}.Pet-FlyingPig-Skeleton{background-position:-4293px 0;width:81px;height:99px}.Pet-FlyingPig-Shade{background-position:-4374px 0;width:81px;height:99px}.Pet-FlyingPig-Red{background-position:-4455px 0;width:81px;height:99px}.Pet-FlyingPig-Golden{background-position:-4536px 0;width:81px;height:99px}.Pet-FlyingPig-Desert{background-position:-4617px 0;width:81px;height:99px}.Pet-FlyingPig-CottonCandyPink{background-position:-4698px 0;width:81px;height:99px}.Pet-FlyingPig-CottonCandyBlue{background-position:-4779px 0;width:81px;height:99px}.Pet-FlyingPig-Base{background-position:-4860px 0;width:81px;height:99px}.Pet-Dragon-Zombie{background-position:-4941px 0;width:81px;height:99px}.Pet-Dragon-White{background-position:-5022px 0;width:81px;height:99px}.Pet-Dragon-Skeleton{background-position:-5103px 0;width:81px;height:99px}.Pet-Dragon-Shade{background-position:-5184px 0;width:81px;height:99px}.Pet-Dragon-Red{background-position:-5265px 0;width:81px;height:99px}.Pet-Dragon-Golden{background-position:-5346px 0;width:81px;height:99px}.Pet-Dragon-Desert{background-position:-5427px 0;width:81px;height:99px}.Pet-Dragon-CottonCandyPink{background-position:-5508px 0;width:81px;height:99px}.Pet-Dragon-CottonCandyBlue{background-position:-5589px 0;width:81px;height:99px}.Pet-Dragon-Base{background-position:-5670px 0;width:81px;height:99px}.Pet-Cactus-Zombie{background-position:-5913px 0;width:81px;height:99px}.Pet-Cactus-White{background-position:-6156px 0;width:81px;height:99px}.Pet-Cactus-Skeleton{background-position:-5751px 0;width:81px;height:99px}.Pet-Cactus-Red{background-position:-5832px 0;width:81px;height:99px}.Pet-Cactus-Shade{background-position:-5994px 0;width:81px;height:99px}.Pet-Cactus-Golden{background-position:-6075px 0;width:81px;height:99px}.Pet-Cactus-Desert{background-position:-6399px 0;width:81px;height:99px}.Pet-Cactus-CottonCandyPink{background-position:-6237px 0;width:81px;height:99px}.Pet-Cactus-CottonCandyBlue{background-position:-6318px 0;width:81px;height:99px}.Pet-Cactus-Base{background-position:-6480px 0;width:81px;height:99px}.Pet-BearCub-Zombie{background-position:-6561px 0;width:81px;height:99px}.Pet-BearCub-White{background-position:-6642px 0;width:81px;height:99px}.Pet-BearCub-Skeleton{background-position:-6723px 0;width:81px;height:99px}.Pet-BearCub-Shade{background-position:-6804px 0;width:81px;height:99px}.Pet-BearCub-Red{background-position:-6885px 0;width:81px;height:99px}.Pet-BearCub-Golden{background-position:-6966px 0;width:81px;height:99px}.Pet-BearCub-Desert{background-position:-7047px 0;width:81px;height:99px}.Pet-BearCub-CottonCandyPink{background-position:-7128px 0;width:81px;height:99px}.Pet-BearCub-CottonCandyBlue{background-position:-7209px 0;width:81px;height:99px}.Pet-BearCub-Base{background-position:-7290px 0;width:81px;height:99px}.Pet-Wolf-Base{background-position:-7371px 0;width:81px;height:99px}.Pet-Egg{background:url(../img/sprites/egg.png) no-repeat;width:39px;height:42px}.Gems{background:url(../img/sprites/Egg_Sprite_Sheet.png);background-position:-57px 50px;display:inline-block;margin-right:5px;border-style:none;width:30px;height:30px}.achievements-container{margin:20px}.achievement{background:url(../img/sprites/achievements.png) no-repeat;width:24px;height:26px;float:left;clear:right;margin-right:10px}.achievement-sword{background-position:0 0}.achievement-tree{background-position:-24px 0}.achievement-rat{background-position:-48px 0}.achievement-comment{background-position:-72px 0}.achievement-armor{background-position:-96px 0}.achievement-cave{background-position:-120px 0}.achievement-sun{background-position:-144px 0}.achievement-boot{background-position:-168px 0}.achievement-coffin{background-position:-192px 0}.achievement-alien{background-position:-216px 0}.achievement-ninja{background-position:-240px 0}.achievement-cactus{background-position:-264px 0}.achievement-bow{background-position:-288px 0}.achievement-heart{background-position:-312px 0}.achievement-shield{background-position:-336px 0}.achievement-thermometer{background-position:-360px 0}.achievement-helm{background-position:-384px 0}.achievement-firefox{background-position:0 -26px}.achievement-cake{background-position:-24px -26px}.achievement-karaoke{background-position:-48px -26px}.weapon_7,.armor_6,.head_6,.shield_6{width:105px;height:105px;margin-left:-3px;margin-top:-18px}.weapon_8,.armor_7,.head_7,.shield_7{width:105px;height:105px;margin-left:-9px;margin-top:-15px}.head_6{background:url(../img/sprites/backer-only/BackerOnly-Equip-ShadeHelmet.gif) no-repeat}.head_7{background:url(../img/sprites/backer-only/ContributorOnly-Equip-CrystalHelmet.gif) no-repeat}.armor_6{background:url(../img/sprites/backer-only/BackerOnly-Equip-ShadeArmor.gif) no-repeat}.armor_7{background:url(../img/sprites/backer-only/ContributorOnly-Equip-CrystalArmor.gif) no-repeat}.shield_6{background:url(../img/sprites/backer-only/BackerOnly-Shield-TormentedSkull.gif) no-repeat}.shield_7{background:url(../img/sprites/backer-only/ContributorOnly-Shield-Crystal.png) no-repeat}.weapon_7{background:url(../img/sprites/backer-only/BackerOnly-Weapon-DarkSoulsBlade.gif) no-repeat}.weapon_8{background:url(../img/sprites/backer-only/ContributorOnly-Weapon-CrystalBlade.png) no-repeat}.Pet-Wolf-Cerberus{width:105px;height:72px;background:url(../img/sprites/backer-only/BackerOnly-Pet-CerberusPup.gif) no-repeat}.Pet-Dragon-Hydra{width:106px;height:89px;background:url(../img/sprites/backer-only/ContributorOnly-Pet-Hydra.png) no-repeat}.shop_shield_6{background-position:-1040px 0}.shop_weapon_7{background-position:-1080px 0}.shop_head_6{background-position:-1120px 0}.shop_armor_6{background-position:-1160px 0}.shop_shield_7{background-position:-1318px 0;width:35px}.shop_weapon_8{background-position:-1352px 0;width:45px}.shop_head_7{background-position:-1398px 0}.shop_armor_7{background-position:-1438px 0}.customize-menu .f_head_0{width:60px;height:60px;background-position:-1917px -9px}.customize-menu .f_armor_0_v2{width:60px;height:60px;background-position:-2819px -38px}.customize-menu .f_armor_0_v1{width:60px;height:60px;background-position:-2909px -38px}.customize-menu .f_hair_white{width:60px;height:60px;background-position:-2009px -8px}.customize-menu .f_hair_brown{width:60px;height:60px;background-position:-2099px -8px}.customize-menu .f_hair_black{width:60px;height:60px;background-position:-2189px -8px}.customize-menu .f_hair_blond{width:60px;height:60px;background-position:-2279px -8px}.customize-menu .f_hair_red{width:60px;height:60px;background-position:-4979px -8px}.customize-menu .f_skin_dead{width:60px;height:60px;background-position:-2997px -20px}.customize-menu .f_skin_orc{width:60px;height:60px;background-position:-3087px -20px}.customize-menu .f_skin_asian{width:60px;height:60px;background-position:-3177px -20px}.customize-menu .f_skin_black{width:60px;height:60px;background-position:-3267px -20px}.customize-menu .f_skin_white{width:60px;height:60px;background-position:-3357px -20px}.customize-menu .f_skin_ea8349{width:60px;height:60px;background-position:-3448px -21px}.customize-menu .f_skin_c06534{width:60px;height:60px;background-position:-3539px -21px}.customize-menu .f_skin_98461a{width:60px;height:60px;background-position:-3629px -21px}.customize-menu .f_skin_eb052b{width:60px;height:60px;background-position:-3719px -20px}.customize-menu .f_skin_f69922{width:60px;height:60px;background-position:-3809px -20px}.customize-menu .f_skin_f5d70f{width:60px;height:60px;background-position:-3899px -20px}.customize-menu .f_skin_0ff591{width:60px;height:60px;background-position:-3989px -20px}.customize-menu .f_skin_2b43f6{width:60px;height:60px;background-position:-4079px -20px}.customize-menu .f_skin_d7a9f7{width:60px;height:60px;background-position:-4169px -21px}.customize-menu .f_skin_800ed0{width:60px;height:60px;background-position:-4259px -21px}.customize-menu .f_skin_rainbow{width:60px;height:60px;background-position:-4349px -21px}.customize-menu .f_skin_monster{width:60px;height:60px;background-position:-4439px -20px}.customize-menu .f_skin_pumpkin{width:60px;height:60px;background-position:-4529px -20px}.customize-menu .f_skin_skeleton{width:60px;height:60px;background-position:-4619px -20px}.customize-menu .f_skin_zombie{width:60px;height:60px;background-position:-4709px -20px}.customize-menu .f_skin_ghost{width:60px;height:60px;background-position:-4799px -20px}.customize-menu .f_skin_shadow{width:60px;height:60px;background-position:-4889px -21px}.customize-menu .m_head_0{width:60px;height:60px;background-position:-1557px -9px}.customize-menu .m_hair_blond{width:60px;height:60px;background-position:-1649px -6px}.customize-menu .m_hair_black{width:60px;height:60px;background-position:-1737px -6px}.customize-menu .m_hair_brown{width:60px;height:60px;background-position:-1827px -6px}.customize-menu .m_hair_white{width:60px;height:60px;background-position:-1917px -6px}.customize-menu .m_hair_red{width:60px;height:60px;background-position:-4528px -6px}.customize-menu .m_skin_dead{width:60px;height:60px;background-position:-2547px -20px}.customize-menu .m_skin_orc{width:60px;height:60px;background-position:-2637px -20px}.customize-menu .m_skin_asian{width:60px;height:60px;background-position:-2727px -20px}.customize-menu .m_skin_black{width:60px;height:60px;background-position:-2817px -20px}.customize-menu .m_skin_white{width:60px;height:60px;background-position:-2907px -20px}.customize-menu .m_skin_ea8349{width:60px;height:60px;background-position:-2999px -20px}.customize-menu .m_skin_c06534{width:60px;height:60px;background-position:-3087px -20px}.customize-menu .m_skin_98461a{width:60px;height:60px;background-position:-3178px -20px}.customize-menu .m_skin_eb052b{width:60px;height:60px;background-position:-3268px -20px}.customize-menu .m_skin_f69922{width:60px;height:60px;background-position:-3358px -20px}.customize-menu .m_skin_f5d70f{width:60px;height:60px;background-position:-3448px -20px}.customize-menu .m_skin_0ff591{width:60px;height:60px;background-position:-3538px -20px}.customize-menu .m_skin_2b43f6{width:60px;height:60px;background-position:-3628px -20px}.customize-menu .m_skin_d7a9f7{width:60px;height:60px;background-position:-3718px -20px}.customize-menu .m_skin_800ed0{width:60px;height:60px;background-position:-3808px -20px}.customize-menu .m_skin_rainbow{width:60px;height:60px;background-position:-3898px -20px}.customize-menu .m_skin_monster{width:60px;height:60px;background-position:-3988px -20px}.customize-menu .m_skin_pumpkin{width:60px;height:60px;background-position:-4078px -20px}.customize-menu .m_skin_skeleton{width:60px;height:60px;background-position:-4168px -20px}.customize-menu .m_skin_zombie{width:60px;height:60px;background-position:-4258px -20px}.customize-menu .m_skin_ghost{width:60px;height:60px;background-position:-4348px -20px}.customize-menu .m_skin_shadow{width:60px;height:60px;background-position:-4438px -20px}.customize-menu .locked{background-color:#727272} \ No newline at end of file +.Mount_Head_LionCub-Base,.Mount_Body_LionCub-Base,.Mount_Head_PolarBearCub-Base,.Mount_Body_PolarBearCub-Base,.Mount_Head_PandaCub-Base,.Mount_Body_PandaCub-Base,.Mount_Head_TigerCub-Base,.Mount_Body_TigerCub-Base,.Mount_Head_BearCub-Base,.Mount_Body_BearCub-Base,.Mount_Head_EtherealLion,.Mount_Body_EtherealLion{background:url(../img/sprites/Mount-SpriteSheet.png) no-repeat;width:105px;height:123px}.Mount_Head_LionCub-Base{background-position:0 0}.Mount_Body_LionCub-Base{background-position:-105px 0}.Mount_Head_PolarBear{background-position:-210px 0}.Mount_Body_PolarBear{background-position:-315px 0}.Mount_Head_PandaCub-Base{background-position:-420px 0}.Mount_Body_PandaCub-Base{background-position:-525px 0}.Mount_Head_TigerCub-Base{background-position:-630px 0}.Mount_Body_TigerCub-Base{background-position:-735px 0}.Mount_Head_BearCub-Base{background-position:-840px 0}.Mount_Body_BearCub-Base{background-position:-945px 0}.Mount_Head_EtherealLion{background-position:-1050px 0}.Mount_Body_EtherealLion{background-position:-1155px 0}.Pet_Egg_Wolf,.Pet_Egg_TigerCub,.Pet_Egg_PolarBear,.Pet_Egg_PandaCub,.Pet_Egg_LionCub,.Pet_Egg_Fox,.Pet_Egg_FlyingPig,.Pet_Egg_Dragon,.Pet_Egg_Cactus,.Pet_Egg_BearCub,.Pet_HatchingPotion_Base,.Pet_HatchingPotion_White,.Pet_HatchingPotion_Desert,.Pet_HatchingPotion_Red,.Pet_HatchingPotion_Shade,.Pet_HatchingPotion_Skeleton,.Pet_HatchingPotion_Zombie,.Pet_HatchingPotion_CottonCandyPink,.Pet_HatchingPotion_CottonCandyBlue,.Pet_HatchingPotion_Golden,.Pet_Currency_Gem,.Pet_Currency_Gem2x,.Pet_Currency_Gem1x{background:url(../img/sprites/Egg_Sprite_Sheet.png) no-repeat}.Pet_Egg_Wolf{background-position:0 0;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_TigerCub{background-position:0 -51px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_PolarBear{background-position:0 -102px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_PandaCub{background-position:0 -153px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_LionCub{background-position:0 -204px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Fox{background-position:0 -255px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_FlyingPig{background-position:0 -306px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Dragon{background-position:0 -357px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Cactus{background-position:0 -408px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_BearCub{background-position:0 -459px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Base{background-position:-48px -0px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_White{background-position:-48px -51px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Desert{background-position:-48px -102px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Red{background-position:-48px -153px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Shade{background-position:-48px -204px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Skeleton{background-position:-48px -255px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Zombie{background-position:-48px -306px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_CottonCandyPink{background-position:-48px -357px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_CottonCandyBlue{background-position:-48px -408px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Golden{background-position:-48px -459px;width:48px;height:53px;margin-left:1.25em}.Pet_Currency_Gem{background-position:0 -510px;width:51px;height:45px}.Pet_Currency_Gem2x{background-position:-55px -513px;width:34px;height:30px}.Pet_Currency_Gem1x{background-position:-63px -542px;width:19px;height:17px}.inline-gems{display:inline-block}.weapon_6,.weapon_5,.weapon_4,.weapon_3,.weapon_2,.weapon_1,.weapon_0,.skin_white,.skin_pale,.skin_orc,.skin_dead,.skin_black,.skin_asian,.shield_5_v1,.shield_5_v0,.shield_4_v0,.shield_3_v1,.shield_3_v0,.shield_2_v1,.shield_2_v0,.shield_1_v1,.shield_1_v0,_shield_4_v1,.nh_hair_white_v1,.nh_hair_white_v0,.nh_hair_brown_v1,.nh_hair_brown_v0,.nh_hair_blond_v1,.nh_hair_blond_v0,.nh_hair_black_v1,.nh_hair_black_v0,.head_5_v2,.head_5_v1,.head_5_v0,.head_4_v2,.head_4_v1,.head_4_v0,.head_3_v2,.head_3_v1,.head_3_v0,.head_2_v2,.head_2_v1,.head_2_v0,.head_1_v1,.head_1_v0,.head_0_v1,.head_0_v0,.hair_white_v1,.hair_white_v0,.hair_brown_v1,.hair_brown_v0,.hair_blond_v1,.hair_blond_v0,.hair_black_v1,.hair_black_v0,.armor_5_v1,.armor_5_v0,.armor_4_v1,.armor_4_v0,.armor_3_v1,.armor_3_v0,.armor_2_v0,.armor_1_v1,.armor_1_v0,.armor_0_v11,.armor_0_v10,.armor_0_v9,.armor_0_v8,.armor_0_v7,.armor_0_v6,.armor_0_v5,.armor_0_v4,.armor_0_v3,.armor_0_v2,.armor_0_v1,.armor_0_v0{background:url(../img/sprites/player_sprites.png) no-repeat}.weapon_6{background-position:0 0;width:90px;height:90px}.weapon_5{background-position:-90px 0;width:90px;height:90px}.weapon_4{background-position:-180px 0;width:90px;height:90px}.weapon_3{background-position:-270px 0;width:90px;height:90px}.weapon_2{background-position:-360px 0;width:90px;height:90px}.weapon_1{background-position:-450px 0;width:90px;height:90px}.weapon_0{background-position:-540px 0;width:90px;height:90px}.skin_white{background-position:-630px 0;width:90px;height:90px}.skin_pale{background-position:-720px 0;width:90px;height:90px}.skin_orc{background-position:-810px 0;width:90px;height:90px}.skin_dead{background-position:-900px 0;width:90px;height:90px}.skin_black{background-position:-990px 0;width:90px;height:90px}.skin_asian{background-position:-1080px 0;width:90px;height:90px}.shield_5_v1{background-position:-1170px 0;width:90px;height:90px}.shield_5_v0{background-position:-1260px 0;width:90px;height:90px}.shield_4_v0{background-position:-1350px 0;width:90px;height:90px}.shield_3_v1{background-position:-1440px 0;width:90px;height:90px}.shield_3_v0{background-position:-1530px 0;width:90px;height:90px}.shield_2_v1{background-position:-1620px 0;width:90px;height:90px}.shield_2_v0{background-position:-1710px 0;width:90px;height:90px}.shield_1_v1{background-position:-1800px 0;width:90px;height:90px}.shield_1_v0{background-position:-1890px 0;width:90px;height:90px}._shield_4_v1{background-position:-1980px 0;width:90px;height:90px}.nh_hair_white_v1{background-position:-2070px 0;width:90px;height:90px}.nh_hair_white_v0{background-position:-2160px 0;width:90px;height:90px}.nh_hair_brown_v1{background-position:-2250px 0;width:90px;height:90px}.nh_hair_brown_v0{background-position:-2340px 0;width:90px;height:90px}.nh_hair_blond_v1{background-position:-2430px 0;width:90px;height:90px}.nh_hair_blond_v0{background-position:-2520px 0;width:90px;height:90px}.nh_hair_black_v1{background-position:-2610px 0;width:90px;height:90px}.nh_hair_black_v0{background-position:-2700px 0;width:90px;height:90px}.head_5_v2{background-position:-2790px 0;width:90px;height:90px}.head_5_v1{background-position:-2880px 0;width:90px;height:90px}.head_5_v0{background-position:-2970px 0;width:90px;height:90px}.head_4_v2{background-position:-3060px 0;width:90px;height:90px}.head_4_v1{background-position:-3150px 0;width:90px;height:90px}.head_4_v0{background-position:-3240px 0;width:90px;height:90px}.head_3_v2{background-position:-3330px 0;width:90px;height:90px}.head_3_v1{background-position:-3420px 0;width:90px;height:90px}.head_3_v0{background-position:-3510px 0;width:90px;height:90px}.head_2_v2{background-position:-3600px 0;width:90px;height:90px}.head_2_v1{background-position:-3690px 0;width:90px;height:90px}.head_2_v0{background-position:-3780px 0;width:90px;height:90px}.head_1_v1{background-position:-3870px 0;width:90px;height:90px}.head_1_v0{background-position:-3960px 0;width:90px;height:90px}.head_0_v1{background-position:-4050px 0;width:90px;height:90px}.head_0_v0{background-position:-4140px 0;width:90px;height:90px}.hair_white_v1{background-position:-4230px 0;width:90px;height:90px}.hair_white_v0{background-position:-4320px 0;width:90px;height:90px}.hair_brown_v1{background-position:-4410px 0;width:90px;height:90px}.hair_brown_v0{background-position:-4500px 0;width:90px;height:90px}.hair_blond_v1{background-position:-4590px 0;width:90px;height:90px}.hair_blond_v0{background-position:-4680px 0;width:90px;height:90px}.hair_black_v1{background-position:-4770px 0;width:90px;height:90px}.hair_black_v0{background-position:-4860px 0;width:90px;height:90px}.armor_5_v1{background-position:-4950px 0;width:90px;height:90px}.armor_5_v0{background-position:-5040px 0;width:90px;height:90px}.armor_4_v1{background-position:-5130px 0;width:90px;height:90px}.armor_4_v0{background-position:-5220px 0;width:90px;height:90px}.armor_3_v1{background-position:-5310px 0;width:90px;height:90px}.armor_3_v0{background-position:-5400px 0;width:90px;height:90px}.armor_2_v0{background-position:-5490px 0;width:90px;height:90px}.armor_1_v1{background-position:-5580px 0;width:90px;height:90px}.armor_1_v0{background-position:-5670px 0;width:90px;height:90px}.armor_0_v11{background-position:-5760px 0;width:90px;height:90px}.armor_0_v10{background-position:-5850px 0;width:90px;height:90px}.armor_0_v9{background-position:-5940px 0;width:90px;height:90px}.armor_0_v8{background-position:-6030px 0;width:90px;height:90px}.armor_0_v7{background-position:-6120px 0;width:90px;height:90px}.armor_0_v6{background-position:-6210px 0;width:90px;height:90px}.armor_0_v5{background-position:-6300px 0;width:90px;height:90px}.armor_0_v4{background-position:-6390px 0;width:90px;height:90px}.armor_0_v3{background-position:-6480px 0;width:90px;height:90px}.armor_0_v2{background-position:-6570px 0;width:90px;height:90px}.armor_0_v1{background-position:-6660px 0;width:90px;height:90px}.armor_0_v0{background-position:-6750px 0;width:90px;height:90px}.m_weapon_6,.m_weapon_5,.m_weapon_4,.m_weapon_3,.m_weapon_2,.m_weapon_1,.m_weapon_0,.m_shield_5,.m_shield_4,.m_shield_3,.m_shield_2,.m_shield_1,.m_head_5,.m_head_4,.m_head_3,.m_head_2,.m_head_1,.m_head_0,.m_hair_blond,.m_hair_black,.m_hair_brown,.m_hair_white,.m_armor_5,.m_armor_4,.m_armor_3,.m_armor_2,.m_armor_1,.m_armor_0,.m_skin_dead,.m_skin_orc,.m_skin_asian,.m_skin_black,.m_skin_white,.m_skin_ea8349,.m_skin_c06534,.m_skin_98461a,.m_skin_eb052b,.m_skin_f69922,.m_skin_f5d70f,.m_skin_0ff591,.m_skin_2b43f6,.m_skin_d7a9f7,.m_skin_800ed0,.m_skin_rainbow,.m_skin_monster,.m_skin_pumpkin,.m_skin_skeleton,.m_skin_zombie,.m_skin_ghost,.m_skin_shadow,.m_hair_red{background:url(../img/sprites/male_sprites.png) no-repeat}.m_weapon_6{background-position:0 0;width:90px;height:90px}.m_weapon_5{background-position:-90px 0;width:90px;height:90px}.m_weapon_4{background-position:-180px 0;width:90px;height:90px}.m_weapon_3{background-position:-270px 0;width:90px;height:90px}.m_weapon_2{background-position:-360px 0;width:90px;height:90px}.m_weapon_1{background-position:-450px 0;width:90px;height:90px}.m_weapon_0{background-position:-540px 0;width:90px;height:90px}.m_shield_5{background-position:-630px 0;width:90px;height:90px}.m_shield_4{background-position:-720px 0;width:90px;height:90px}.m_shield_3{background-position:-810px 0;width:90px;height:90px}.m_shield_2{background-position:-900px 0;width:90px;height:90px}.m_shield_1{background-position:-990px 0;width:90px;height:90px}.m_head_5{background-position:-1080px 0;width:90px;height:90px}.m_head_4{background-position:-1170px 0;width:90px;height:90px}.m_head_3{background-position:-1260px 0;width:90px;height:90px}.m_head_2{background-position:-1350px 0;width:90px;height:90px}.m_head_1{background-position:-1440px 0;width:90px;height:90px}.m_head_0{background-position:-1530px 0;width:90px;height:90px}.m_hair_blond{background-position:-1620px 0;width:90px;height:90px}.m_hair_black{background-position:-1710px 0;width:90px;height:90px}.m_hair_brown{background-position:-1800px 0;width:90px;height:90px}.m_hair_white{background-position:-1890px 0;width:90px;height:90px}.m_armor_5{background-position:-1980px 0;width:90px;height:90px}.m_armor_4{background-position:-2070px 0;width:90px;height:90px}.m_armor_3{background-position:-2160px 0;width:90px;height:90px}.m_armor_2{background-position:-2250px 0;width:90px;height:90px}.m_armor_1{background-position:-2340px 0;width:90px;height:90px}.m_armor_0{background-position:-2430px 0;width:90px;height:90px}.m_skin_dead{background-position:-2520px 0;width:90px;height:90px}.m_skin_orc{background-position:-2610px 0;width:90px;height:90px}.m_skin_asian{background-position:-2700px 0;width:90px;height:90px}.m_skin_black{background-position:-2790px 0;width:90px;height:90px}.m_skin_white{background-position:-2880px 0;width:90px;height:90px}.m_skin_ea8349{background-position:-2970px 0;width:90px;height:90px}.m_skin_c06534{background-position:-3060px 0;width:90px;height:90px}.m_skin_98461a{background-position:-3150px 0;width:90px;height:90px}.m_skin_eb052b{background-position:-3240px 0;width:90px;height:90px}.m_skin_f69922{background-position:-3330px 0;width:90px;height:90px}.m_skin_f5d70f{background-position:-3420px 0;width:90px;height:90px}.m_skin_0ff591{background-position:-3510px 0;width:90px;height:90px}.m_skin_2b43f6{background-position:-3600px 0;width:90px;height:90px}.m_skin_d7a9f7{background-position:-3690px 0;width:90px;height:90px}.m_skin_800ed0{background-position:-3780px 0;width:90px;height:90px}.m_skin_rainbow{background-position:-3870px 0;width:90px;height:90px}.m_skin_monster{background-position:-3960px 0;width:90px;height:90px}.m_skin_pumpkin{background-position:-4050px 0;width:90px;height:90px}.m_skin_skeleton{background-position:-4140px 0;width:90px;height:90px}.m_skin_zombie{background-position:-4230px 0;width:90px;height:90px}.m_skin_ghost{background-position:-4320px 0;width:90px;height:90px}.m_skin_shadow{background-position:-4410px 0;width:90px;height:90px}.m_hair_red{background-position:-4500px 0;width:90px;height:90px}.f_weapon_6,.f_weapon_5,.f_weapon_4,.f_weapon_3,.f_weapon_2,.f_weapon_1,.f_weapon_0,.f_shield_5,.f_shield_4,.f_shield_3,.f_shield_2,.f_shield_1,.f_head_5_v2,.f_head_5_v1,.f_head_4_v2,.f_head_4_v1,.f_head_3_v2,.f_head_3_v1,.f_head_2_v2,.f_head_2_v1,.f_head_1,.f_head_0,.f_hair_white,.f_hair_brown,.f_hair_black,.f_hair_blond,.f_armor_5,.f_armor_4,.f_armor_3,.f_armor_2,.f_armor_1,.f_armor_0_v2,.f_armor_0_v1,.f_skin_dead,.f_skin_orc,.f_skin_asian,.f_skin_black,.f_skin_white,.f_skin_ea8349,.f_skin_c06534,.f_skin_98461a,.f_skin_eb052b,.f_skin_eb052b,.f_skin_f69922,.f_skin_f5d70f,.f_skin_0ff591,.f_skin_2b43f6,.f_skin_d7a9f7,.f_skin_800ed0,.f_skin_rainbow,.f_skin_monster,.f_skin_pumpkin,.f_skin_skeleton,.f_skin_zombie,.f_skin_ghost,.f_skin_shadow,.f_hair_red{background:url(../img/sprites/female_sprites.png) no-repeat}.f_weapon_6{background-position:0 0;width:90px;height:90px}.f_weapon_5{background-position:-90px 0;width:90px;height:90px}.f_weapon_4{background-position:-180px 0;width:90px;height:90px}.f_weapon_3{background-position:-270px 0;width:90px;height:90px}.f_weapon_2{background-position:-360px 0;width:90px;height:90px}.f_weapon_1{background-position:-450px 0;width:90px;height:90px}.f_weapon_0{background-position:-540px 0;width:90px;height:90px}.f_shield_5{background-position:-630px 0;width:90px;height:90px}.f_shield_4{background-position:-720px 0;width:90px;height:90px}.f_shield_3{background-position:-810px 0;width:90px;height:90px}.f_shield_2{background-position:-900px 0;width:90px;height:90px}.f_shield_1{background-position:-990px 0;width:90px;height:90px}.f_head_5_v2{background-position:-1080px 0;width:90px;height:90px}.f_head_5_v1{background-position:-1170px 0;width:90px;height:90px}.f_head_4_v2{background-position:-1260px 0;width:90px;height:90px}.f_head_4_v1{background-position:-1350px 0;width:90px;height:90px}.f_head_3_v2{background-position:-1440px 0;width:90px;height:90px}.f_head_3_v1{background-position:-1530px 0;width:90px;height:90px}.f_head_2_v2{background-position:-1620px 0;width:90px;height:90px}.f_head_2_v1{background-position:-1710px 0;width:90px;height:90px}.f_head_1{background-position:-1800px 0;width:90px;height:90px}.f_head_0{background-position:-1890px 0;width:90px;height:90px}.f_hair_white{background-position:-1980px 0;width:90px;height:90px}.f_hair_brown{background-position:-2070px 0;width:90px;height:90px}.f_hair_black{background-position:-2160px 0;width:90px;height:90px}.f_hair_blond{background-position:-2250px 0;width:90px;height:90px}.f_armor_5{background-position:-2340px 0;width:90px;height:90px}.f_armor_4{background-position:-2430px 0;width:90px;height:90px}.f_armor_3{background-position:-2520px 0;width:90px;height:90px}.f_armor_2{background-position:-2610px 0;width:90px;height:90px}.f_armor_1{background-position:-2700px 0;width:90px;height:90px}.f_armor_0_v2{background-position:-2790px 0;width:90px;height:90px}.f_armor_0_v1{background-position:-2880px 0;width:90px;height:90px}.f_skin_dead{background-position:-2970px 0;width:90px;height:90px}.f_skin_orc{background-position:-3060px 0;width:90px;height:90px}.f_skin_asian{background-position:-3150px 0;width:90px;height:90px}.f_skin_black{background-position:-3240px 0;width:90px;height:90px}.f_skin_white{background-position:-3330px 0;width:90px;height:90px}.f_skin_ea8349{background-position:-3420px 0;width:90px;height:90px}.f_skin_c06534{background-position:-3510px 0;width:90px;height:90px}.f_skin_98461a{background-position:-3600px 0;width:90px;height:90px}.f_skin_eb052b{background-position:-3690px 0;width:90px;height:90px}.f_skin_f69922{background-position:-3780px 0;width:90px;height:90px}.f_skin_f5d70f{background-position:-3870px 0;width:90px;height:90px}.f_skin_0ff591{background-position:-3960px 0;width:90px;height:90px}.f_skin_2b43f6{background-position:-4050px 0;width:90px;height:90px}.f_skin_d7a9f7{background-position:-4140px 0;width:90px;height:90px}.f_skin_800ed0{background-position:-4230px 0;width:90px;height:90px}.f_skin_rainbow{background-position:-4320px 0;width:90px;height:90px}.f_skin_monster{background-position:-4410px 0;width:90px;height:90px}.f_skin_pumpkin{background-position:-4500px 0;width:90px;height:90px}.f_skin_skeleton{background-position:-4590px 0;width:90px;height:90px}.f_skin_zombie{background-position:-4680px 0;width:90px;height:90px}.f_skin_ghost{background-position:-4770px 0;width:90px;height:90px}.f_skin_shadow{background-position:-4860px 0;width:90px;height:90px}.f_hair_red{background-position:-4950px 0;width:90px;height:90px}[class^=shop_],[class^=zzz]{background:url(../img/sprites/shop_sprites.png) no-repeat}[class^=shop_weapon_],[class^=shop_shield_],[class^=shop_head_],[class^=shop_armor_],[class^=zzz]{width:40px;height:40px}.shop_weapon_6,.shop_weapon_5,.shop_weapon_4,.shop_weapon_3,.shop_weapon_2,.shop_weapon_1,.shop_shield_5,.shop_shield_4,.shop_shield_3,.shop_shield_2,.shop_shield_1,.shop_head_5,.shop_head_4,.shop_head_3,.shop_head_2,.shop_head_1,.shop_armor_5,.shop_armor_4,.shop_armor_3,.shop_armor_2,.shop_armor_1,.shop_reroll,.shop_potion,.shop_copper,.shop_silver,.shop_gold,.zzz,.zzz_light{background:url(../img/sprites/shop_sprites.png) no-repeat}.shop_weapon_6,.shop_weapon_5,.shop_weapon_4,.shop_weapon_3,.shop_weapon_2,.shop_weapon_1,.shop_shield_5,.shop_shield_4,.shop_shield_3,.shop_shield_2,.shop_shield_1,.shop_head_5,.shop_head_4,.shop_head_3,.shop_head_2,.shop_head_1,.shop_armor_5,.shop_armor_4,.shop_armor_3,.shop_armor_2,.shop_armor_1,.zzz,.zzz_light{width:40px;height:40px}.shop_weapon_6{background-position:0 0}.shop_weapon_5{background-position:-40px 0}.shop_weapon_4{background-position:-80px 0}.shop_weapon_3{background-position:-120px 0}.shop_weapon_2{background-position:-160px 0}.shop_weapon_1{background-position:-200px 0}.shop_shield_5{background-position:-240px 0}.shop_shield_4{background-position:-280px 0}.shop_shield_3{background-position:-320px 0}.shop_shield_2{background-position:-360px 0}.shop_shield_1{background-position:-400px 0}.shop_head_5{background-position:-440px 0}.shop_head_4{background-position:-480px 0}.shop_head_3{background-position:-520px 0}.shop_head_2{background-position:-560px 0}.shop_head_1{background-position:-600px 0}.shop_armor_5{background-position:-640px 0}.shop_armor_4{background-position:-680px 0}.shop_armor_3{background-position:-720px 0}.shop_armor_2{background-position:-760px 0}.shop_armor_1{background-position:-800px 0}.shop_reroll{background-position:-840px 0;width:40px;height:40px}.shop_potion{background-position:-880px 0;width:40px;height:40px}.shop_copper{background-position:-923px -8px;width:32px;height:22px}.shop_silver{background-position:-963px -8px;width:32px;height:22px}.shop_gold{background-position:-1003px -8px;width:32px;height:22px}.zzz{background-position:-1200px 0}.zzz_light{background-position:-1280px 0}.Pet-Wolf-Zombie,.Pet-Wolf-White,.Pet-Wolf-Veteran,.Pet-Wolf-Skeleton,.Pet-Wolf-Shade,.Pet-Wolf-Red,.Pet-Wolf-Golden,.Pet-Wolf-Desert,.Pet-Wolf-CottonCandyPink,.Pet-Wolf-CottonCandyBlue,.Pet-TigerCub-Zombie,.Pet-TigerCub-White,.Pet-TigerCub-Skeleton,.Pet-TigerCub-Shade,.Pet-TigerCub-Red,.Pet-TigerCub-Golden,.Pet-TigerCub-Desert,.Pet-TigerCub-CottonCandyPink,.Pet-TigerCub-CottonCandyBlue,.Pet-TigerCub-Base,.Pet-PolarBearCub-Base,.Pet-PandaCub-Zombie,.Pet-PandaCub-White,.Pet-PandaCub-Skeleton,.Pet-PandaCub-Shade,.Pet-PandaCub-Red,.Pet-PandaCub-Golden,.Pet-PandaCub-Desert,.Pet-PandaCub-CottonCandyPink,.Pet-PandaCub-CottonCandyBlue,.Pet-PandaCub-Base,.Pet-LionCub-Zombie,.Pet-LionCub-White,.Pet-LionCub-Skeleton,.Pet-LionCub-Shade,.Pet-LionCub-Red,.Pet-LionCub-Golden,.Pet-LionCub-Desert,.Pet-LionCub-CottonCandyPink,.Pet-LionCub-CottonCandyBlue,.Pet-LionCub-Base,.Pet-Fox-Zombie,.Pet-Fox-White,.Pet-Fox-Skeleton,.Pet-Fox-Shade,.Pet-Fox-Red,.Pet-Fox-Golden,.Pet-Fox-Desert,.Pet-Fox-CottonCandyPink,.Pet-Fox-CottonCandyBlue,.Pet-Fox-Base,.Pet-FlyingPig-Zombie,.Pet-FlyingPig-White,.Pet-FlyingPig-Skeleton,.Pet-FlyingPig-Shade,.Pet-FlyingPig-Red,.Pet-FlyingPig-Golden,.Pet-FlyingPig-Desert,.Pet-FlyingPig-CottonCandyPink,.Pet-FlyingPig-CottonCandyBlue,.Pet-FlyingPig-Base,.Pet-Dragon-Zombie,.Pet-Dragon-White,.Pet-Dragon-Skeleton,.Pet-Dragon-Shade,.Pet-Dragon-Red,.Pet-Dragon-Golden,.Pet-Dragon-Desert,.Pet-Dragon-CottonCandyPink,.Pet-Dragon-CottonCandyBlue,.Pet-Dragon-Base,.Pet-Cactus-Skeleton,.Pet-Cactus-Red,.Pet-Cactus-Zombie,.Pet-Cactus-Shade,.Pet-Cactus-Golden,.Pet-Cactus-White,.Pet-Cactus-CottonCandyPink,.Pet-Cactus-CottonCandyBlue,.Pet-Cactus-Desert,.Pet-Cactus-Base,.Pet-BearCub-Zombie,.Pet-BearCub-White,.Pet-BearCub-Skeleton,.Pet-BearCub-Shade,.Pet-BearCub-Red,.Pet-BearCub-Golden,.Pet-BearCub-Desert,.Pet-BearCub-CottonCandyPink,.Pet-BearCub-CottonCandyBlue,.Pet-BearCub-Base,.Pet-Wolf-Base{background:url(../img/sprites/pet_sprites.png) no-repeat}.Pet-Wolf-Zombie{background-position:0 0;width:81px;height:99px}.Pet-Wolf-White{background-position:-81px 0;width:81px;height:99px}.Pet-Wolf-Veteran{background-position:-162px 0;width:81px;height:99px}.Pet-Wolf-Skeleton{background-position:-243px 0;width:81px;height:99px}.Pet-Wolf-Shade{background-position:-324px 0;width:81px;height:99px}.Pet-Wolf-Red{background-position:-405px 0;width:81px;height:99px}.Pet-Wolf-Golden{background-position:-486px 0;width:81px;height:99px}.Pet-Wolf-Desert{background-position:-567px 0;width:81px;height:99px}.Pet-Wolf-CottonCandyPink{background-position:-648px 0;width:81px;height:99px}.Pet-Wolf-CottonCandyBlue{background-position:-729px 0;width:81px;height:99px}.Pet-TigerCub-Zombie{background-position:-810px 0;width:81px;height:99px}.Pet-TigerCub-White{background-position:-891px 0;width:81px;height:99px}.Pet-TigerCub-Skeleton{background-position:-972px 0;width:81px;height:99px}.Pet-TigerCub-Shade{background-position:-1053px 0;width:81px;height:99px}.Pet-TigerCub-Red{background-position:-1134px 0;width:81px;height:99px}.Pet-TigerCub-Golden{background-position:-1215px 0;width:81px;height:99px}.Pet-TigerCub-Desert{background-position:-1296px 0;width:81px;height:99px}.Pet-TigerCub-CottonCandyPink{background-position:-1377px 0;width:81px;height:99px}.Pet-TigerCub-CottonCandyBlue{background-position:-1458px 0;width:81px;height:99px}.Pet-TigerCub-Base{background-position:-1539px 0;width:81px;height:99px}.Pet-PolarBearCub-Base{background-position:-1620px 0;width:81px;height:99px}.Pet-PandaCub-Zombie{background-position:-1701px 0;width:81px;height:99px}.Pet-PandaCub-White{background-position:-1782px 0;width:81px;height:99px}.Pet-PandaCub-Skeleton{background-position:-1863px 0;width:81px;height:99px}.Pet-PandaCub-Shade{background-position:-1944px 0;width:81px;height:99px}.Pet-PandaCub-Red{background-position:-2025px 0;width:81px;height:99px}.Pet-PandaCub-Golden{background-position:-2106px 0;width:81px;height:99px}.Pet-PandaCub-Desert{background-position:-2187px 0;width:81px;height:99px}.Pet-PandaCub-CottonCandyPink{background-position:-2268px 0;width:81px;height:99px}.Pet-PandaCub-CottonCandyBlue{background-position:-2349px 0;width:81px;height:99px}.Pet-PandaCub-Base{background-position:-2430px 0;width:81px;height:99px}.Pet-LionCub-Zombie{background-position:-2511px 0;width:81px;height:99px}.Pet-LionCub-White{background-position:-2592px 0;width:81px;height:99px}.Pet-LionCub-Skeleton{background-position:-2673px 0;width:81px;height:99px}.Pet-LionCub-Shade{background-position:-2754px 0;width:81px;height:99px}.Pet-LionCub-Red{background-position:-2835px 0;width:81px;height:99px}.Pet-LionCub-Golden{background-position:-2916px 0;width:81px;height:99px}.Pet-LionCub-Desert{background-position:-2997px 0;width:81px;height:99px}.Pet-LionCub-CottonCandyPink{background-position:-3078px 0;width:81px;height:99px}.Pet-LionCub-CottonCandyBlue{background-position:-3159px 0;width:81px;height:99px}.Pet-LionCub-Base{background-position:-3240px 0;width:81px;height:99px}.Pet-Fox-Zombie{background-position:-3321px 0;width:81px;height:99px}.Pet-Fox-White{background-position:-3402px 0;width:81px;height:99px}.Pet-Fox-Skeleton{background-position:-3483px 0;width:81px;height:99px}.Pet-Fox-Shade{background-position:-3564px 0;width:81px;height:99px}.Pet-Fox-Red{background-position:-3645px 0;width:81px;height:99px}.Pet-Fox-Golden{background-position:-3726px 0;width:81px;height:99px}.Pet-Fox-Desert{background-position:-3807px 0;width:81px;height:99px}.Pet-Fox-CottonCandyPink{background-position:-3888px 0;width:81px;height:99px}.Pet-Fox-CottonCandyBlue{background-position:-3969px 0;width:81px;height:99px}.Pet-Fox-Base{background-position:-4050px 0;width:81px;height:99px}.Pet-FlyingPig-Zombie{background-position:-4131px 0;width:81px;height:99px}.Pet-FlyingPig-White{background-position:-4212px 0;width:81px;height:99px}.Pet-FlyingPig-Skeleton{background-position:-4293px 0;width:81px;height:99px}.Pet-FlyingPig-Shade{background-position:-4374px 0;width:81px;height:99px}.Pet-FlyingPig-Red{background-position:-4455px 0;width:81px;height:99px}.Pet-FlyingPig-Golden{background-position:-4536px 0;width:81px;height:99px}.Pet-FlyingPig-Desert{background-position:-4617px 0;width:81px;height:99px}.Pet-FlyingPig-CottonCandyPink{background-position:-4698px 0;width:81px;height:99px}.Pet-FlyingPig-CottonCandyBlue{background-position:-4779px 0;width:81px;height:99px}.Pet-FlyingPig-Base{background-position:-4860px 0;width:81px;height:99px}.Pet-Dragon-Zombie{background-position:-4941px 0;width:81px;height:99px}.Pet-Dragon-White{background-position:-5022px 0;width:81px;height:99px}.Pet-Dragon-Skeleton{background-position:-5103px 0;width:81px;height:99px}.Pet-Dragon-Shade{background-position:-5184px 0;width:81px;height:99px}.Pet-Dragon-Red{background-position:-5265px 0;width:81px;height:99px}.Pet-Dragon-Golden{background-position:-5346px 0;width:81px;height:99px}.Pet-Dragon-Desert{background-position:-5427px 0;width:81px;height:99px}.Pet-Dragon-CottonCandyPink{background-position:-5508px 0;width:81px;height:99px}.Pet-Dragon-CottonCandyBlue{background-position:-5589px 0;width:81px;height:99px}.Pet-Dragon-Base{background-position:-5670px 0;width:81px;height:99px}.Pet-Cactus-Zombie{background-position:-5913px 0;width:81px;height:99px}.Pet-Cactus-White{background-position:-6156px 0;width:81px;height:99px}.Pet-Cactus-Skeleton{background-position:-5751px 0;width:81px;height:99px}.Pet-Cactus-Red{background-position:-5832px 0;width:81px;height:99px}.Pet-Cactus-Shade{background-position:-5994px 0;width:81px;height:99px}.Pet-Cactus-Golden{background-position:-6075px 0;width:81px;height:99px}.Pet-Cactus-Desert{background-position:-6399px 0;width:81px;height:99px}.Pet-Cactus-CottonCandyPink{background-position:-6237px 0;width:81px;height:99px}.Pet-Cactus-CottonCandyBlue{background-position:-6318px 0;width:81px;height:99px}.Pet-Cactus-Base{background-position:-6480px 0;width:81px;height:99px}.Pet-BearCub-Zombie{background-position:-6561px 0;width:81px;height:99px}.Pet-BearCub-White{background-position:-6642px 0;width:81px;height:99px}.Pet-BearCub-Skeleton{background-position:-6723px 0;width:81px;height:99px}.Pet-BearCub-Shade{background-position:-6804px 0;width:81px;height:99px}.Pet-BearCub-Red{background-position:-6885px 0;width:81px;height:99px}.Pet-BearCub-Golden{background-position:-6966px 0;width:81px;height:99px}.Pet-BearCub-Desert{background-position:-7047px 0;width:81px;height:99px}.Pet-BearCub-CottonCandyPink{background-position:-7128px 0;width:81px;height:99px}.Pet-BearCub-CottonCandyBlue{background-position:-7209px 0;width:81px;height:99px}.Pet-BearCub-Base{background-position:-7290px 0;width:81px;height:99px}.Pet-Wolf-Base{background-position:-7371px 0;width:81px;height:99px}.Pet-Egg{background:url(../img/sprites/egg.png) no-repeat;width:39px;height:42px}.Gems{background:url(../img/sprites/Egg_Sprite_Sheet.png);background-position:-57px 50px;display:inline-block;margin-right:5px;border-style:none;width:30px;height:30px}.achievements-container{margin:20px}.achievement{background:url(../img/sprites/achievements.png) no-repeat;width:24px;height:26px;float:left;clear:right;margin-right:10px}.achievement-sword{background-position:0 0}.achievement-tree{background-position:-24px 0}.achievement-rat{background-position:-48px 0}.achievement-comment{background-position:-72px 0}.achievement-armor{background-position:-96px 0}.achievement-cave{background-position:-120px 0}.achievement-sun{background-position:-144px 0}.achievement-boot{background-position:-168px 0}.achievement-coffin{background-position:-192px 0}.achievement-alien{background-position:-216px 0}.achievement-ninja{background-position:-240px 0}.achievement-cactus{background-position:-264px 0}.achievement-bow{background-position:-288px 0}.achievement-heart{background-position:-312px 0}.achievement-shield{background-position:-336px 0}.achievement-thermometer{background-position:-360px 0}.achievement-helm{background-position:-384px 0}.achievement-firefox{background-position:0 -26px}.achievement-cake{background-position:-24px -26px}.achievement-karaoke{background-position:-48px -26px}.weapon_7,.armor_6,.head_6,.shield_6{width:105px;height:105px;margin-left:-3px;margin-top:-18px}.weapon_8,.armor_7,.head_7,.shield_7{width:105px;height:105px;margin-left:-9px;margin-top:-15px}.head_6{background:url(../img/sprites/backer-only/BackerOnly-Equip-ShadeHelmet.gif) no-repeat}.head_7{background:url(../img/sprites/backer-only/ContributorOnly-Equip-CrystalHelmet.gif) no-repeat}.armor_6{background:url(../img/sprites/backer-only/BackerOnly-Equip-ShadeArmor.gif) no-repeat}.armor_7{background:url(../img/sprites/backer-only/ContributorOnly-Equip-CrystalArmor.gif) no-repeat}.shield_6{background:url(../img/sprites/backer-only/BackerOnly-Shield-TormentedSkull.gif) no-repeat}.shield_7{background:url(../img/sprites/backer-only/ContributorOnly-Shield-Crystal.png) no-repeat}.weapon_7{background:url(../img/sprites/backer-only/BackerOnly-Weapon-DarkSoulsBlade.gif) no-repeat}.weapon_8{background:url(../img/sprites/backer-only/ContributorOnly-Weapon-CrystalBlade.png) no-repeat}.Pet-Wolf-Cerberus{width:105px;height:72px;background:url(../img/sprites/backer-only/BackerOnly-Pet-CerberusPup.gif) no-repeat}.Pet-Dragon-Hydra{width:106px;height:89px;background:url(../img/sprites/backer-only/ContributorOnly-Pet-Hydra.png) no-repeat}.shop_shield_6{background-position:-1040px 0}.shop_weapon_7{background-position:-1080px 0}.shop_head_6{background-position:-1120px 0}.shop_armor_6{background-position:-1160px 0}.shop_shield_7{background-position:-1318px 0;width:35px}.shop_weapon_8{background-position:-1352px 0;width:45px}.shop_head_7{background-position:-1398px 0}.shop_armor_7{background-position:-1438px 0}.customize-menu .f_head_0{width:60px;height:60px;background-position:-1917px -9px}.customize-menu .f_armor_0_v2{width:60px;height:60px;background-position:-2819px -38px}.customize-menu .f_armor_0_v1{width:60px;height:60px;background-position:-2909px -38px}.customize-menu .f_hair_white{width:60px;height:60px;background-position:-2009px -8px}.customize-menu .f_hair_brown{width:60px;height:60px;background-position:-2099px -8px}.customize-menu .f_hair_black{width:60px;height:60px;background-position:-2189px -8px}.customize-menu .f_hair_blond{width:60px;height:60px;background-position:-2279px -8px}.customize-menu .f_hair_red{width:60px;height:60px;background-position:-4979px -8px}.customize-menu .f_skin_dead{width:60px;height:60px;background-position:-2997px -20px}.customize-menu .f_skin_orc{width:60px;height:60px;background-position:-3087px -20px}.customize-menu .f_skin_asian{width:60px;height:60px;background-position:-3177px -20px}.customize-menu .f_skin_black{width:60px;height:60px;background-position:-3267px -20px}.customize-menu .f_skin_white{width:60px;height:60px;background-position:-3357px -20px}.customize-menu .f_skin_ea8349{width:60px;height:60px;background-position:-3448px -21px}.customize-menu .f_skin_c06534{width:60px;height:60px;background-position:-3539px -21px}.customize-menu .f_skin_98461a{width:60px;height:60px;background-position:-3629px -21px}.customize-menu .f_skin_eb052b{width:60px;height:60px;background-position:-3719px -20px}.customize-menu .f_skin_f69922{width:60px;height:60px;background-position:-3809px -20px}.customize-menu .f_skin_f5d70f{width:60px;height:60px;background-position:-3899px -20px}.customize-menu .f_skin_0ff591{width:60px;height:60px;background-position:-3989px -20px}.customize-menu .f_skin_2b43f6{width:60px;height:60px;background-position:-4079px -20px}.customize-menu .f_skin_d7a9f7{width:60px;height:60px;background-position:-4169px -21px}.customize-menu .f_skin_800ed0{width:60px;height:60px;background-position:-4259px -21px}.customize-menu .f_skin_rainbow{width:60px;height:60px;background-position:-4349px -21px}.customize-menu .f_skin_monster{width:60px;height:60px;background-position:-4439px -20px}.customize-menu .f_skin_pumpkin{width:60px;height:60px;background-position:-4529px -20px}.customize-menu .f_skin_skeleton{width:60px;height:60px;background-position:-4619px -20px}.customize-menu .f_skin_zombie{width:60px;height:60px;background-position:-4709px -20px}.customize-menu .f_skin_ghost{width:60px;height:60px;background-position:-4799px -20px}.customize-menu .f_skin_shadow{width:60px;height:60px;background-position:-4889px -21px}.customize-menu .m_head_0{width:60px;height:60px;background-position:-1557px -9px}.customize-menu .m_hair_blond{width:60px;height:60px;background-position:-1649px -6px}.customize-menu .m_hair_black{width:60px;height:60px;background-position:-1737px -6px}.customize-menu .m_hair_brown{width:60px;height:60px;background-position:-1827px -6px}.customize-menu .m_hair_white{width:60px;height:60px;background-position:-1917px -6px}.customize-menu .m_hair_red{width:60px;height:60px;background-position:-4528px -6px}.customize-menu .m_skin_dead{width:60px;height:60px;background-position:-2547px -20px}.customize-menu .m_skin_orc{width:60px;height:60px;background-position:-2637px -20px}.customize-menu .m_skin_asian{width:60px;height:60px;background-position:-2727px -20px}.customize-menu .m_skin_black{width:60px;height:60px;background-position:-2817px -20px}.customize-menu .m_skin_white{width:60px;height:60px;background-position:-2907px -20px}.customize-menu .m_skin_ea8349{width:60px;height:60px;background-position:-2999px -20px}.customize-menu .m_skin_c06534{width:60px;height:60px;background-position:-3087px -20px}.customize-menu .m_skin_98461a{width:60px;height:60px;background-position:-3178px -20px}.customize-menu .m_skin_eb052b{width:60px;height:60px;background-position:-3268px -20px}.customize-menu .m_skin_f69922{width:60px;height:60px;background-position:-3358px -20px}.customize-menu .m_skin_f5d70f{width:60px;height:60px;background-position:-3448px -20px}.customize-menu .m_skin_0ff591{width:60px;height:60px;background-position:-3538px -20px}.customize-menu .m_skin_2b43f6{width:60px;height:60px;background-position:-3628px -20px}.customize-menu .m_skin_d7a9f7{width:60px;height:60px;background-position:-3718px -20px}.customize-menu .m_skin_800ed0{width:60px;height:60px;background-position:-3808px -20px}.customize-menu .m_skin_rainbow{width:60px;height:60px;background-position:-3898px -20px}.customize-menu .m_skin_monster{width:60px;height:60px;background-position:-3988px -20px}.customize-menu .m_skin_pumpkin{width:60px;height:60px;background-position:-4078px -20px}.customize-menu .m_skin_skeleton{width:60px;height:60px;background-position:-4168px -20px}.customize-menu .m_skin_zombie{width:60px;height:60px;background-position:-4258px -20px}.customize-menu .m_skin_ghost{width:60px;height:60px;background-position:-4348px -20px}.customize-menu .m_skin_shadow{width:60px;height:60px;background-position:-4438px -20px}.customize-menu .locked{background-color:#727272} \ No newline at end of file From d74755942936090b7e2bbb0997dcbfb866848429 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Sun, 10 Nov 2013 13:25:13 -0800 Subject: [PATCH 2/9] mounts: rewrite item definitions as objects, rather than arrays, to support UserSchema overhaul. Add items.food & items.mounts --- script/HISTORY_PREEN.js | 59 -------------------------------------- script/algos.coffee | 20 ++++++------- script/helpers.coffee | 18 ++++++++---- script/items.coffee | 63 +++++++++++++++++++++++++---------------- 4 files changed, 59 insertions(+), 101 deletions(-) delete mode 100644 script/HISTORY_PREEN.js diff --git a/script/HISTORY_PREEN.js b/script/HISTORY_PREEN.js deleted file mode 100644 index 8adc22bb5c..0000000000 --- a/script/HISTORY_PREEN.js +++ /dev/null @@ -1,59 +0,0 @@ -// FIXME this needs to be ported into algos.cron so it's run for each individual user on the server. It used to be a migration script -/** - * Preen history for users with > 7 history entries - * This takes an infinite array of single day entries [day day day day day...], and turns it into a condensed array - * of averages, condensing more the further back in time we go. Eg, 7 entries each for last 7 days; 4 entries for last - * 4 weeks; 12 entries for last 12 months; 1 entry per year before that: [day*7 week*4 month*12 year*infinite] - */ -function preenHistory(history) { - history = _.filter(history, function(h) {return !!h}); // discard nulls (corrupted somehow) - var newHistory = []; - function preen(amount, groupBy) { - var groups, avg, start; - groups = _(history) - .groupBy(function(h) { return moment(h.date).format(groupBy) }) // get date groupings to average against - .sortBy(function(h,k) {return k;}) // sort by date - .value(); // turn into an array - amount++; // if we want the last 4 weeks, we're going 4 weeks back excluding this week. so +1 to account for exclusion - start = (groups.length - amount > 0) ? groups.length - amount : 0; - groups = groups.slice(start, groups.length - 1) - _.each(groups, function(group){ - avg = _.reduce(group, function(mem, obj){ return mem + obj.value }, 0) / group.length; - newHistory.push({date: +moment(group[0].date), value: avg}); - return true; - }) - } - - preen(50, 'YYYY'); // last 50 years - preen(12, 'YYYYMM'); // last 12 months - preen(4, 'YYYYww'); // last 4 weeks - newHistory = newHistory.concat(history.slice(-7)); // last 7 days - return newHistory; -} - -var minHistLen = 7; -db.users.find({ - - // Registered users with some history - $or: [ - { 'auth.local': { $exists: true }}, - { 'auth.facebook': { $exists: true }} - ], - 'history': {$exists: true} - -}).forEach(function(user) { - var update = {$set:{}}; - - _.each(user.tasks, function(task) { - if ( task.history && task.history.length > minHistLen ) - update['$set']['tasks.' + task.id + '.history'] = preenHistory(task.history); - return true; - }) - - if (user.history.exp && user.history.exp.length > minHistLen) - update['$set']['history.exp'] = preenHistory(user.history.exp); - if (user.history.todos && user.history.todos.length > minHistLen) - update['$set']['history.todos'] = preenHistory(user.history.todos); - - if (!_.isEmpty(update['$set'])) db.users.update({_id: user._id}, update); - }); \ No newline at end of file diff --git a/script/algos.coffee b/script/algos.coffee index 8ec7cad4b1..d35983e6d0 100644 --- a/script/algos.coffee +++ b/script/algos.coffee @@ -2,7 +2,7 @@ moment = require('moment') _ = require('lodash') helpers = require('./helpers.coffee') items = require('./items.coffee') -{pets, hatchingPotions} = items.items +{eggs, hatchingPotions} = items.items XP = 15 HP = 2 @@ -313,10 +313,10 @@ updateStats = (user, newStats, options={}) -> if newStats.hp? # Game Over if newStats.hp <= 0 - user.stats.hp = 0; paths['stats.hp'] = true # signifies dead + user.stats.hp = 0 return else - user.stats.hp = newStats.hp; paths['stats.hp'] = true + user.stats.hp = newStats.hp if newStats.exp? tnl = obj.tnl(user.stats.lvl) @@ -341,21 +341,17 @@ updateStats = (user, newStats, options={}) -> user.stats.exp = newStats.exp - paths["stats.exp"]=true; paths['stats.lvl']=true; paths['stats.gp']=true; paths['stats.hp']=true; - #if silent - #console.log("pushing silent :" + obj.stats.exp) - - # Set flags when they unlock features user.flags ?= {} if !user.flags.customizationsNotification and (user.stats.exp > 10 or user.stats.lvl > 1) - user.flags.customizationsNotification = true; paths['flags.customizationsNotification']=true; + user.flags.customizationsNotification = true if !user.flags.itemsEnabled and user.stats.lvl >= 2 - user.flags.itemsEnabled = true; paths['flags.itemsEnabled']=true; + user.flags.itemsEnabled = true if !user.flags.partyEnabled and user.stats.lvl >= 3 - user.flags.partyEnabled = true; paths['flags.partyEnabled']=true; + user.flags.partyEnabled = true if !user.flags.dropsEnabled and user.stats.lvl >= 4 - user.flags.dropsEnabled = true; paths['flags.dropsEnabled']=true; + user.flags.dropsEnabled = true + user.items.eggs["Wolf"] = 1 if newStats.gp? #FIXME what was I doing here? I can't remember, gp isn't defined diff --git a/script/helpers.coffee b/script/helpers.coffee index 9dce6653fa..7ab7a3f58a 100644 --- a/script/helpers.coffee +++ b/script/helpers.coffee @@ -81,7 +81,18 @@ module.exports = # _id / id handled by Racer stats: { gp: 0, exp: 0, lvl: 1, hp: 50 } invitations: {party:null, guilds: []} - items: { weapon: 0, armor: 0, head: 0, shield: 0, lastDrop: { date: +new Date, count: 0 } } + items: + weapon: 0 + armor: 0 + head: 0 + shield: 0 + lastDrop: { date: +new Date, count: 0 } + eggs: {} + food: {} + hatchingPotions: {} + pets: {} + mounts: {} + preferences: { gender: 'm', skin: 'white', hair: 'blond', armorSet: 'v1', dayStart:0, showHelm: true } apiToken: uuid() # set in newUserObject below lastCron: +new Date #this will be replaced with `+new Date` on first run @@ -274,11 +285,6 @@ module.exports = classes += ' color-best' return classes - ### - Does the user own this pet? - ### - ownsPet: (pet, userPets) -> _.isArray(userPets) and userPets.indexOf(pet) != -1 - ### Friendly timestamp ### diff --git a/script/items.coffee b/script/items.coffee index 19a166d239..68ff955f1e 100644 --- a/script/items.coffee +++ b/script/items.coffee @@ -45,31 +45,45 @@ items = module.exports.items = potion: {type: 'potion', text: "Potion", notes: "Recover 15 HP (Instant Use)", value: 25, classes: 'potion'} reroll: {type: 'reroll', text: "Re-Roll", classes: 'reroll', notes: "Resets your task values back to 0 (yellow). Useful when everything's red and it's hard to stay alive.", value:0 } - pets: [ - {text: 'Wolf', name: 'Wolf', value: 3} - {text: 'Tiger Cub', name: 'TigerCub', value: 3} + eggs: + Wolf: {text: 'Wolf', name: 'Wolf', value: 3} + TigerCub: {text: 'Tiger Cub', name: 'TigerCub', value: 3} #{text: 'Polar Bear Cub', name: 'PolarBearCub', value: 3} #commented out because there are no polarbear modifiers yet, special drop? - {text: 'Panda Cub', name: 'PandaCub', value: 3} - {text: 'Lion Cub', name: 'LionCub', value: 3} - {text: 'Fox', name: 'Fox', value: 3} - {text: 'Flying Pig', name: 'FlyingPig', value: 3} - {text: 'Dragon', name: 'Dragon', value: 3} - {text: 'Cactus', name: 'Cactus', value: 3} - {text: 'Bear Cub', name: 'BearCub', value: 3} - ] + PandaCub: {text: 'Panda Cub', name: 'PandaCub', value: 3} + LionCub: {text: 'Lion Cub', name: 'LionCub', value: 3} + Fox: {text: 'Fox', name: 'Fox', value: 3} + FlyingPig: {text: 'Flying Pig', name: 'FlyingPig', value: 3} + Dragon: {text: 'Dragon', name: 'Dragon', value: 3} + Cactus: {text: 'Cactus', name: 'Cactus', value: 3} + BearCub: {text: 'Bear Cub', name: 'BearCub', value: 3} - hatchingPotions: [ - {text: 'Base', name: 'Base', notes: "Hatches your pet in it's base form.", value: 1} - {text: 'White', name: 'White', notes: 'Turns your animal into a White pet.', value: 2} - {text: 'Desert', name: 'Desert', notes: 'Turns your animal into a Desert pet.', value: 2} - {text: 'Red', name: 'Red', notes: 'Turns your animal into a Red pet.', value: 3} - {text: 'Shade', name: 'Shade', notes: 'Turns your animal into a Shade pet.', value: 3} - {text: 'Skeleton', name: 'Skeleton', notes: 'Turns your animal into a Skeleton.', value: 3} - {text: 'Zombie', name: 'Zombie', notes: 'Turns your animal into a Zombie.', value: 4} - {text: 'Cotton Candy Pink', name: 'CottonCandyPink', notes: 'Turns your animal into a Cotton Candy Pink pet.', value: 4} - {text: 'Cotton Candy Blue', name: 'CottonCandyBlue', notes: 'Turns your animal into a Cotton Candy Blue pet.', value: 4} - {text: 'Golden', name: 'Golden', notes: 'Turns your animal into a Golden pet.', value: 5} - ] + hatchingPotions: + Base: {text: 'Base', name: 'Base', notes: "Hatches your pet in it's base form.", value: 1} + White: {text: 'White', name: 'White', notes: 'Turns your animal into a White pet.', value: 2} + Desert: {text: 'Desert', name: 'Desert', notes: 'Turns your animal into a Desert pet.', value: 2} + Red: {text: 'Red', name: 'Red', notes: 'Turns your animal into a Red pet.', value: 3} + Shade: {text: 'Shade', name: 'Shade', notes: 'Turns your animal into a Shade pet.', value: 3} + Skeleton: {text: 'Skeleton', name: 'Skeleton', notes: 'Turns your animal into a Skeleton.', value: 3} + Zombie: {text: 'Zombie', name: 'Zombie', notes: 'Turns your animal into a Zombie.', value: 4} + CottonCandyPink: {text: 'Cotton Candy Pink', name: 'CottonCandyPink', notes: 'Turns your animal into a Cotton Candy Pink pet.', value: 4} + CottonCandyBlue: {text: 'Cotton Candy Blue', name: 'CottonCandyBlue', notes: 'Turns your animal into a Cotton Candy Blue pet.', value: 4} + Golden: {text: 'Golden', name: 'Golden', notes: 'Turns your animal into a Golden pet.', value: 5} + + food: + Meat: {text: 'Meat', name: 'Meat', value: 1, target: 'Base'} + Milk: {text: 'Milk', name: 'Milk', value: 1, target: 'White'} + Potatoe: {text: 'Potatoe', name: 'Potatoe', value: 1, target: 'Desert'} + Strawberry: {text: 'Strawberry', name: 'Strawberry', value: 1, target: 'Red'} + Chocolate: {text: 'Chocolate', name: 'Chocolate', value: 1, target: 'Shade'} + Fish: {text: 'Fish', name: 'Fish', value: 1, target: 'Skeleton'} + RottenMeat: {text: 'Rotten Meat', name: 'RottenMeat', value: 1, target: 'Zombie'} + CottonCandyPink: {text: 'Pink Cotton Candy', name: 'CottonCandyPink', value: 1, target: 'CottonCandyPink'} + CottonCandyBlue: {text: 'Blue Cotton Candy', name: 'CottonCandyBlue', value: 1, target: 'CottonCandyBlue'} + Honey: {text: 'Honey', name: 'Honey', value: 1, target: 'Golden'} + #Cheese: {text: 'Cheese', name: 'Cheese', value: 1, target: 'Golden'} + #Watermelon: {text: 'Watermelon', name: 'Watermelon', value: 1, target: 'Golden'} + #SeaWeed: {text: 'SeaWeed', name: 'SeaWeed', value: 1, target: 'Golden'} + Saddle: {text: 'Saddle', name: 'Saddle', value: 10} # we somtimes want item arrays above in reverse order, for backward lookups (you'll see later in the code) reversed = {} @@ -80,8 +94,9 @@ _.each ['weapon', 'armor', 'head', 'shield'], (type) -> # Also add canOwn(), which we use when comparing if user is a backer or contributor - but defaulted to `return true` _.each items[type], (item) -> _.defaults(item, {type, canOwn: ->true}) -_.each items.pets, (pet) -> pet.notes = 'Find a hatching potion to pour on this egg, and it will hatch into a loyal pet.' +_.each items.eggs, (pet) -> pet.notes = 'Find a hatching potion to pour on this egg, and it will hatch into a loyal pet.' _.each items.hatchingPotions, (hatchingPotion) -> hatchingPotion.notes = "Pour this on an egg, and it will hatch as a #{hatchingPotion.text} pet." +_.each items.food, (food) -> food.notes = "Feed this to a pet and it may grown into a sturdy steed." module.exports.buyItem = (user, type) -> nextItem = From 1bc87f01e9f4e1ca4550bf63b39a5f89ce6cbb53 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Sun, 10 Nov 2013 13:25:52 -0800 Subject: [PATCH 3/9] mounts: factor food into random drops (40% food, 30% eggs, 40% pots). This commit needs revisiting --- dist/habitrpg-shared.js | 236 +++++++++++++++++++++++++++------------- script/algos.coffee | 83 +++++++------- 2 files changed, 206 insertions(+), 113 deletions(-) diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index 22b587cbff..669aaac059 100644 --- a/dist/habitrpg-shared.js +++ b/dist/habitrpg-shared.js @@ -8131,7 +8131,7 @@ if(typeof module != 'undefined' && module.exports){ },{}],5:[function(require,module,exports){ (function() { - var HP, XP, hatchingPotions, helpers, items, moment, obj, pets, preenHistory, randomDrop, updateStats, _, _ref, + var HP, XP, eggs, hatchingPotions, helpers, items, moment, obj, preenHistory, randomDrop, updateStats, _, _ref, __indexOf = [].indexOf || function(item) { for (var i = 0, l = this.length; i < l; i++) { if (i in this && this[i] === item) return i; } return -1; }; moment = require('moment'); @@ -8142,7 +8142,7 @@ if(typeof module != 'undefined' && module.exports){ items = require('./items.coffee'); - _ref = items.items, pets = _ref.pets, hatchingPotions = _ref.hatchingPotions; + _ref = items.items, eggs = _ref.eggs, hatchingPotions = _ref.hatchingPotions; XP = 15; @@ -8304,7 +8304,7 @@ if(typeof module != 'undefined' && module.exports){ randomDrop = function(user, delta, priority, streak, options) { - var acceptableDrops, chanceMultiplier, drop, paths, rarity, reachedDropLimit, _base, _base1, _base2, _ref1; + var acceptableDrops, chanceMultiplier, drop, paths, rarity, reachedDropLimit, _base, _base1, _base2, _base3, _name, _name1, _name2, _ref1; if (streak == null) { streak = 0; } @@ -8318,8 +8318,7 @@ if(typeof module != 'undefined' && module.exports){ count: 0 }; } - paths['items.lastDrop'] = true; - reachedDropLimit = (helpers.daysSince(user.items.lastDrop.date, user.preferences) === 0) && (user.items.lastDrop.count >= 2); + reachedDropLimit = (helpers.daysSince(user.items.lastDrop.date, user.preferences) === 0) && (user.items.lastDrop.count >= 5); if (reachedDropLimit) { return; } @@ -8328,37 +8327,49 @@ if(typeof module != 'undefined' && module.exports){ chanceMultiplier += streak; if (((_ref1 = user.flags) != null ? _ref1.dropsEnabled : void 0) && Math.random() < (.05 * chanceMultiplier)) { rarity = Math.random(); - if (rarity > .5) { - drop = helpers.randomVal(pets); - ((_base1 = user.items).eggs != null ? (_base1 = user.items).eggs : _base1.eggs = []).push(drop); - paths['items.eggs'] = true; - drop.type = 'Egg'; - drop.dialog = "You've found a " + drop.text + " Egg! " + drop.notes; - } else { - acceptableDrops = []; - if (rarity < .1) { - acceptableDrops = ['Base', 'White', 'Desert', 'Red', 'Shade', 'Skeleton', 'Zombie', 'CottonCandyPink', 'CottonCandyBlue', 'Golden']; - } else if (rarity < .2) { - acceptableDrops = ['Base', 'White', 'Desert', 'Red', 'Shade', 'Skeleton', 'Zombie', 'CottonCandyPink', 'CottonCandyBlue']; - } else if (rarity < .3) { - acceptableDrops = ['Base', 'White', 'Desert', 'Red', 'Shade', 'Skeleton']; - } else { - acceptableDrops = ['Base', 'White', 'Desert']; + if (rarity > .6) { + drop = helpers.randomVal(items.items.food); + if ((_base1 = user.items.food)[_name = drop.name] == null) { + _base1[_name] = 0; + } + user.items.food[drop.name] += 1; + drop.type = 'Food'; + drop.dialog = "You've found a " + drop.text + " Food! " + drop.notes; + } else { + if (rarity > .3) { + drop = helpers.randomVal(eggs); + if ((_base2 = user.items.eggs)[_name1 = drop.name] == null) { + _base2[_name1] = 0; + } + user.items.eggs[drop.name]++; + drop.type = 'Egg'; + drop.dialog = "You've found a " + drop.text + " Egg! " + drop.notes; + } else { + acceptableDrops = []; + if (rarity < .15) { + acceptableDrops = 'Base White Desert Red Shade Skeleton Zombie CottonCandyPink CottonCandyBlue Golden'.split(' '); + } else if (rarity < .2) { + acceptableDrops = 'Base White Desert Red Shade Skeleton Zombie CottonCandyPink CottonCandyBlue'.split(' '); + } else if (rarity < .25) { + acceptableDrops = 'Base White Desert Red Shade Skeleton'.split(' '); + } else { + acceptableDrops = ['Base', 'White', 'Desert']; + } + acceptableDrops = _.pick(hatchingPotions, (function(v, k) { + return __indexOf.call(acceptableDrops, k) >= 0; + })); + drop = helpers.randomVal(acceptableDrops); + if ((_base3 = user.items.hatchingPotions)[_name2 = drop.name] == null) { + _base3[_name2] = 0; + } + user.items.hatchingPotions[drop.name]++; + drop.type = 'HatchingPotion'; + drop.dialog = "You've found a " + drop.text + " Hatching Potion! " + drop.notes; } - acceptableDrops = hatchingPotions.filter(function(hatchingPotion) { - var _ref2; - return _ref2 = hatchingPotion.name, __indexOf.call(acceptableDrops, _ref2) >= 0; - }); - drop = helpers.randomVal(acceptableDrops); - ((_base2 = user.items).hatchingPotions != null ? (_base2 = user.items).hatchingPotions : _base2.hatchingPotions = []).push(drop.name); - paths['items.hatchingPotions'] = true; - drop.type = 'HatchingPotion'; - drop.dialog = "You've found a " + drop.text + " Hatching Potion! " + drop.notes; } user._tmp.drop = drop; user.items.lastDrop.date = +(new Date); - user.items.lastDrop.count++; - return paths['items.lastDrop'] = true; + return user.items.lastDrop.count++; } }; @@ -8514,11 +8525,9 @@ if(typeof module != 'undefined' && module.exports){ if (newStats.hp != null) { if (newStats.hp <= 0) { user.stats.hp = 0; - paths['stats.hp'] = true; return; } else { user.stats.hp = newStats.hp; - paths['stats.hp'] = true; } } if (newStats.exp != null) { @@ -8542,28 +8551,21 @@ if(typeof module != 'undefined' && module.exports){ } } user.stats.exp = newStats.exp; - paths["stats.exp"] = true; - paths['stats.lvl'] = true; - paths['stats.gp'] = true; - paths['stats.hp'] = true; if (user.flags == null) { user.flags = {}; } if (!user.flags.customizationsNotification && (user.stats.exp > 10 || user.stats.lvl > 1)) { user.flags.customizationsNotification = true; - paths['flags.customizationsNotification'] = true; } if (!user.flags.itemsEnabled && user.stats.lvl >= 2) { user.flags.itemsEnabled = true; - paths['flags.itemsEnabled'] = true; } if (!user.flags.partyEnabled && user.stats.lvl >= 3) { user.flags.partyEnabled = true; - paths['flags.partyEnabled'] = true; } if (!user.flags.dropsEnabled && user.stats.lvl >= 4) { user.flags.dropsEnabled = true; - paths['flags.dropsEnabled'] = true; + user.items.eggs["Wolf"] = 1; } } if (newStats.gp != null) { @@ -8936,7 +8938,12 @@ var process=require("__browserify_process");(function() { lastDrop: { date: +(new Date), count: 0 - } + }, + eggs: {}, + food: {}, + hatchingPotions: {}, + pets: {}, + mounts: {} }, preferences: { gender: 'm', @@ -9262,13 +9269,6 @@ var process=require("__browserify_process");(function() { } return classes; }, - /* - Does the user own this pet? - */ - - ownsPet: function(pet, userPets) { - return _.isArray(userPets) && userPets.indexOf(pet) !== -1; - }, /* Friendly timestamp */ @@ -9706,98 +9706,182 @@ try { notes: "Resets your task values back to 0 (yellow). Useful when everything's red and it's hard to stay alive.", value: 0 }, - pets: [ - { + eggs: { + Wolf: { text: 'Wolf', name: 'Wolf', value: 3 - }, { + }, + TigerCub: { text: 'Tiger Cub', name: 'TigerCub', value: 3 - }, { + }, + PandaCub: { text: 'Panda Cub', name: 'PandaCub', value: 3 - }, { + }, + LionCub: { text: 'Lion Cub', name: 'LionCub', value: 3 - }, { + }, + Fox: { text: 'Fox', name: 'Fox', value: 3 - }, { + }, + FlyingPig: { text: 'Flying Pig', name: 'FlyingPig', value: 3 - }, { + }, + Dragon: { text: 'Dragon', name: 'Dragon', value: 3 - }, { + }, + Cactus: { text: 'Cactus', name: 'Cactus', value: 3 - }, { + }, + BearCub: { text: 'Bear Cub', name: 'BearCub', value: 3 } - ], - hatchingPotions: [ - { + }, + hatchingPotions: { + Base: { text: 'Base', name: 'Base', notes: "Hatches your pet in it's base form.", value: 1 - }, { + }, + White: { text: 'White', name: 'White', notes: 'Turns your animal into a White pet.', value: 2 - }, { + }, + Desert: { text: 'Desert', name: 'Desert', notes: 'Turns your animal into a Desert pet.', value: 2 - }, { + }, + Red: { text: 'Red', name: 'Red', notes: 'Turns your animal into a Red pet.', value: 3 - }, { + }, + Shade: { text: 'Shade', name: 'Shade', notes: 'Turns your animal into a Shade pet.', value: 3 - }, { + }, + Skeleton: { text: 'Skeleton', name: 'Skeleton', notes: 'Turns your animal into a Skeleton.', value: 3 - }, { + }, + Zombie: { text: 'Zombie', name: 'Zombie', notes: 'Turns your animal into a Zombie.', value: 4 - }, { + }, + CottonCandyPink: { text: 'Cotton Candy Pink', name: 'CottonCandyPink', notes: 'Turns your animal into a Cotton Candy Pink pet.', value: 4 - }, { + }, + CottonCandyBlue: { text: 'Cotton Candy Blue', name: 'CottonCandyBlue', notes: 'Turns your animal into a Cotton Candy Blue pet.', value: 4 - }, { + }, + Golden: { text: 'Golden', name: 'Golden', notes: 'Turns your animal into a Golden pet.', value: 5 } - ] + }, + food: { + Meat: { + text: 'Meat', + name: 'Meat', + value: 1, + target: 'Base' + }, + Milk: { + text: 'Milk', + name: 'Milk', + value: 1, + target: 'White' + }, + Potatoe: { + text: 'Potatoe', + name: 'Potatoe', + value: 1, + target: 'Desert' + }, + Strawberry: { + text: 'Strawberry', + name: 'Strawberry', + value: 1, + target: 'Red' + }, + Chocolate: { + text: 'Chocolate', + name: 'Chocolate', + value: 1, + target: 'Shade' + }, + Fish: { + text: 'Fish', + name: 'Fish', + value: 1, + target: 'Skeleton' + }, + RottenMeat: { + text: 'Rotten Meat', + name: 'RottenMeat', + value: 1, + target: 'Zombie' + }, + CottonCandyPink: { + text: 'Pink Cotton Candy', + name: 'CottonCandyPink', + value: 1, + target: 'CottonCandyPink' + }, + CottonCandyBlue: { + text: 'Blue Cotton Candy', + name: 'CottonCandyBlue', + value: 1, + target: 'CottonCandyBlue' + }, + Honey: { + text: 'Honey', + name: 'Honey', + value: 1, + target: 'Golden' + }, + Saddle: { + text: 'Saddle', + name: 'Saddle', + value: 10 + } + } }; reversed = {}; @@ -9814,7 +9898,7 @@ try { }); }); - _.each(items.pets, function(pet) { + _.each(items.eggs, function(pet) { return pet.notes = 'Find a hatching potion to pour on this egg, and it will hatch into a loyal pet.'; }); @@ -9822,6 +9906,10 @@ try { return hatchingPotion.notes = "Pour this on an egg, and it will hatch as a " + hatchingPotion.text + " pet."; }); + _.each(items.food, function(food) { + return food.notes = "Feed this to a pet and it may grown into a sturdy steed."; + }); + module.exports.buyItem = function(user, type) { var nextItem; nextItem = type === 'potion' ? items.potion : _.find(items[type].slice(~~user.items[type] + 1), (function(i) { diff --git a/script/algos.coffee b/script/algos.coffee index d35983e6d0..a66382ee09 100644 --- a/script/algos.coffee +++ b/script/algos.coffee @@ -118,9 +118,8 @@ randomDrop = (user, delta, priority, streak = 0, options={}) -> user.items.lastDrop ?= date: +moment().subtract('d', 1) # trick - set it to yesterday on first run, that way they can get drops today count: 0 - paths['items.lastDrop'] = true - reachedDropLimit = (helpers.daysSince(user.items.lastDrop.date, user.preferences) is 0) and (user.items.lastDrop.count >= 2) + reachedDropLimit = (helpers.daysSince(user.items.lastDrop.date, user.preferences) is 0) and (user.items.lastDrop.count >= 5) return if reachedDropLimit # % chance of getting a pet or meat @@ -133,47 +132,54 @@ randomDrop = (user, delta, priority, streak = 0, options={}) -> # If they got a drop: 50% chance of egg, 50% Hatching Potion. If hatchingPotion, broken down further even further rarity = Math.random() - # Egg, 50% chance - if rarity > .5 - drop = helpers.randomVal(pets) - (user.items.eggs ?= []).push drop; paths['items.eggs'] = true - drop.type = 'Egg' - drop.dialog = "You've found a #{drop.text} Egg! #{drop.notes}" + # Food: 40% chance + if rarity > .6 + drop = helpers.randomVal(items.items.food) + user.items.food[drop.name] ?= 0 + user.items.food[drop.name]+= 1 + drop.type = 'Food' + drop.dialog = "You've found a #{drop.text} Food! #{drop.notes}" - # Hatching Potion, 50% chance - break down by rarity even more. FIXME this may not be the best method, so revisit + # Eggs & hatchingPotions: 60% chance else - acceptableDrops = [] + if rarity > .3 + drop = helpers.randomVal(eggs) + user.items.eggs[drop.name] ?= 0 + user.items.eggs[drop.name]++ + drop.type = 'Egg' + drop.dialog = "You've found a #{drop.text} Egg! #{drop.notes}" - # Tier 5 (Blue Moon Rare) - if rarity < .1 - acceptableDrops = - ['Base', 'White', 'Desert', 'Red', 'Shade', 'Skeleton', 'Zombie', 'CottonCandyPink', 'CottonCandyBlue', - 'Golden'] - - # Tier 4 (Very Rare) - else if rarity < .2 - acceptableDrops = - ['Base', 'White', 'Desert', 'Red', 'Shade', 'Skeleton', 'Zombie', 'CottonCandyPink', 'CottonCandyBlue'] - - # Tier 3 (Rare) - else if rarity < .3 - acceptableDrops = ['Base', 'White', 'Desert', 'Red', 'Shade', 'Skeleton'] - - # Commented out for testing with increased egg drop, delete if successful - # Tier 2 (Scarce) - # else if rarity < .4 - # acceptableDrops = ['Base', 'White', 'Desert'] - - # Tier 1 (Common) + # Hatching Potion, 30% chance - break down by rarity even more. else - acceptableDrops = ['Base', 'White', 'Desert'] + acceptableDrops = [] - acceptableDrops = hatchingPotions.filter (hatchingPotion) -> - hatchingPotion.name in acceptableDrops - drop = helpers.randomVal acceptableDrops - (user.items.hatchingPotions ?= []).push drop.name; paths['items.hatchingPotions'] = true - drop.type = 'HatchingPotion' - drop.dialog = "You've found a #{drop.text} Hatching Potion! #{drop.notes}" + # Tier 5 (Blue Moon Rare) + if rarity < .15 + acceptableDrops = 'Base White Desert Red Shade Skeleton Zombie CottonCandyPink CottonCandyBlue Golden'.split(' ') + + # Tier 4 (Very Rare) + else if rarity < .2 + acceptableDrops = 'Base White Desert Red Shade Skeleton Zombie CottonCandyPink CottonCandyBlue'.split(' ') + + # Tier 3 (Rare) + else if rarity < .25 + acceptableDrops = 'Base White Desert Red Shade Skeleton'.split(' ') + + # Commented out for testing with increased egg drop, delete if successful + # Tier 2 (Scarce) + # else if rarity < .4 + # acceptableDrops = ['Base', 'White', 'Desert'] + + # Tier 1 (Common) + else + acceptableDrops = ['Base', 'White', 'Desert'] + + acceptableDrops = _.pick hatchingPotions, ((v,k) -> k in acceptableDrops) + drop = helpers.randomVal acceptableDrops + user.items.hatchingPotions[drop.name] ?= 0 + user.items.hatchingPotions[drop.name]++ + drop.type = 'HatchingPotion' + drop.dialog = "You've found a #{drop.text} Hatching Potion! #{drop.notes}" # if they've dropped something, we want the consuming client to know so they can notify the user. See how the Derby # app handles it for example. Would this be better handled as an emit() ? @@ -181,7 +187,6 @@ randomDrop = (user, delta, priority, streak = 0, options={}) -> user.items.lastDrop.date = +new Date user.items.lastDrop.count++ - paths['items.lastDrop'] = true # {task} task you want to score From d1cc6a3dd79b092cd2680a13572951fd6ccf875d Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Sun, 10 Nov 2013 14:36:02 -0800 Subject: [PATCH 4/9] mounts: fix spritesheets for rare mounts to work with mount system --- css/Mounts.css | 10 +++++----- dist/spritesheets.css | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/css/Mounts.css b/css/Mounts.css index a868bdad07..f87e34c24e 100644 --- a/css/Mounts.css +++ b/css/Mounts.css @@ -1,17 +1,17 @@ -.Mount_Head_LionCub-Base, .Mount_Body_LionCub-Base, .Mount_Head_PolarBearCub-Base, .Mount_Body_PolarBearCub-Base, .Mount_Head_PandaCub-Base, .Mount_Body_PandaCub-Base, .Mount_Head_TigerCub-Base, .Mount_Body_TigerCub-Base, .Mount_Head_BearCub-Base, .Mount_Body_BearCub-Base, .Mount_Head_EtherealLion, .Mount_Body_EtherealLion { +.Mount_Head_LionCub-Base, .Mount_Body_LionCub-Base, .Mount_Head_BearCub-Polar, .Mount_Body_BearCub-Polar, .Mount_Head_PandaCub-Base, .Mount_Body_PandaCub-Base, .Mount_Head_TigerCub-Base, .Mount_Body_TigerCub-Base, .Mount_Head_BearCub-Base, .Mount_Body_BearCub-Base, .Mount_Head_LionCub-Ethereal, .Mount_Body_LionCub-Ethereal { background: url('../img/sprites/Mount-SpriteSheet.png') no-repeat; width: 105px; height: 123px; } .Mount_Head_LionCub-Base {background-position: 0px 0px;} .Mount_Body_LionCub-Base {background-position: -105px 0px;} -.Mount_Head_PolarBear {background-position: -210px 0px;} -.Mount_Body_PolarBear {background-position: -315px 0px;} +.Mount_Head_BearCub-Polar {background-position: -210px 0px;} +.Mount_Body_BearCub-Polar {background-position: -315px 0px;} .Mount_Head_PandaCub-Base {background-position: -420px 0px;} .Mount_Body_PandaCub-Base {background-position: -525px 0px;} .Mount_Head_TigerCub-Base {background-position: -630px 0px;} .Mount_Body_TigerCub-Base {background-position: -735px 0px;} .Mount_Head_BearCub-Base {background-position: -840px 0px;} .Mount_Body_BearCub-Base {background-position: -945px 0px;} -.Mount_Head_EtherealLion {background-position: -1050px 0px;} -.Mount_Body_EtherealLion {background-position: -1155px 0px;} +.Mount_Head_LionCub-Ethereal {background-position: -1050px 0px;} +.Mount_Body_LionCub-Ethereal {background-position: -1155px 0px;} diff --git a/dist/spritesheets.css b/dist/spritesheets.css index e0371897fb..2cf333bcae 100644 --- a/dist/spritesheets.css +++ b/dist/spritesheets.css @@ -1 +1 @@ -.Mount_Head_LionCub-Base,.Mount_Body_LionCub-Base,.Mount_Head_PolarBearCub-Base,.Mount_Body_PolarBearCub-Base,.Mount_Head_PandaCub-Base,.Mount_Body_PandaCub-Base,.Mount_Head_TigerCub-Base,.Mount_Body_TigerCub-Base,.Mount_Head_BearCub-Base,.Mount_Body_BearCub-Base,.Mount_Head_EtherealLion,.Mount_Body_EtherealLion{background:url(../img/sprites/Mount-SpriteSheet.png) no-repeat;width:105px;height:123px}.Mount_Head_LionCub-Base{background-position:0 0}.Mount_Body_LionCub-Base{background-position:-105px 0}.Mount_Head_PolarBear{background-position:-210px 0}.Mount_Body_PolarBear{background-position:-315px 0}.Mount_Head_PandaCub-Base{background-position:-420px 0}.Mount_Body_PandaCub-Base{background-position:-525px 0}.Mount_Head_TigerCub-Base{background-position:-630px 0}.Mount_Body_TigerCub-Base{background-position:-735px 0}.Mount_Head_BearCub-Base{background-position:-840px 0}.Mount_Body_BearCub-Base{background-position:-945px 0}.Mount_Head_EtherealLion{background-position:-1050px 0}.Mount_Body_EtherealLion{background-position:-1155px 0}.Pet_Egg_Wolf,.Pet_Egg_TigerCub,.Pet_Egg_PolarBear,.Pet_Egg_PandaCub,.Pet_Egg_LionCub,.Pet_Egg_Fox,.Pet_Egg_FlyingPig,.Pet_Egg_Dragon,.Pet_Egg_Cactus,.Pet_Egg_BearCub,.Pet_HatchingPotion_Base,.Pet_HatchingPotion_White,.Pet_HatchingPotion_Desert,.Pet_HatchingPotion_Red,.Pet_HatchingPotion_Shade,.Pet_HatchingPotion_Skeleton,.Pet_HatchingPotion_Zombie,.Pet_HatchingPotion_CottonCandyPink,.Pet_HatchingPotion_CottonCandyBlue,.Pet_HatchingPotion_Golden,.Pet_Currency_Gem,.Pet_Currency_Gem2x,.Pet_Currency_Gem1x{background:url(../img/sprites/Egg_Sprite_Sheet.png) no-repeat}.Pet_Egg_Wolf{background-position:0 0;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_TigerCub{background-position:0 -51px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_PolarBear{background-position:0 -102px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_PandaCub{background-position:0 -153px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_LionCub{background-position:0 -204px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Fox{background-position:0 -255px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_FlyingPig{background-position:0 -306px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Dragon{background-position:0 -357px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Cactus{background-position:0 -408px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_BearCub{background-position:0 -459px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Base{background-position:-48px -0px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_White{background-position:-48px -51px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Desert{background-position:-48px -102px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Red{background-position:-48px -153px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Shade{background-position:-48px -204px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Skeleton{background-position:-48px -255px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Zombie{background-position:-48px -306px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_CottonCandyPink{background-position:-48px -357px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_CottonCandyBlue{background-position:-48px -408px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Golden{background-position:-48px -459px;width:48px;height:53px;margin-left:1.25em}.Pet_Currency_Gem{background-position:0 -510px;width:51px;height:45px}.Pet_Currency_Gem2x{background-position:-55px -513px;width:34px;height:30px}.Pet_Currency_Gem1x{background-position:-63px -542px;width:19px;height:17px}.inline-gems{display:inline-block}.weapon_6,.weapon_5,.weapon_4,.weapon_3,.weapon_2,.weapon_1,.weapon_0,.skin_white,.skin_pale,.skin_orc,.skin_dead,.skin_black,.skin_asian,.shield_5_v1,.shield_5_v0,.shield_4_v0,.shield_3_v1,.shield_3_v0,.shield_2_v1,.shield_2_v0,.shield_1_v1,.shield_1_v0,_shield_4_v1,.nh_hair_white_v1,.nh_hair_white_v0,.nh_hair_brown_v1,.nh_hair_brown_v0,.nh_hair_blond_v1,.nh_hair_blond_v0,.nh_hair_black_v1,.nh_hair_black_v0,.head_5_v2,.head_5_v1,.head_5_v0,.head_4_v2,.head_4_v1,.head_4_v0,.head_3_v2,.head_3_v1,.head_3_v0,.head_2_v2,.head_2_v1,.head_2_v0,.head_1_v1,.head_1_v0,.head_0_v1,.head_0_v0,.hair_white_v1,.hair_white_v0,.hair_brown_v1,.hair_brown_v0,.hair_blond_v1,.hair_blond_v0,.hair_black_v1,.hair_black_v0,.armor_5_v1,.armor_5_v0,.armor_4_v1,.armor_4_v0,.armor_3_v1,.armor_3_v0,.armor_2_v0,.armor_1_v1,.armor_1_v0,.armor_0_v11,.armor_0_v10,.armor_0_v9,.armor_0_v8,.armor_0_v7,.armor_0_v6,.armor_0_v5,.armor_0_v4,.armor_0_v3,.armor_0_v2,.armor_0_v1,.armor_0_v0{background:url(../img/sprites/player_sprites.png) no-repeat}.weapon_6{background-position:0 0;width:90px;height:90px}.weapon_5{background-position:-90px 0;width:90px;height:90px}.weapon_4{background-position:-180px 0;width:90px;height:90px}.weapon_3{background-position:-270px 0;width:90px;height:90px}.weapon_2{background-position:-360px 0;width:90px;height:90px}.weapon_1{background-position:-450px 0;width:90px;height:90px}.weapon_0{background-position:-540px 0;width:90px;height:90px}.skin_white{background-position:-630px 0;width:90px;height:90px}.skin_pale{background-position:-720px 0;width:90px;height:90px}.skin_orc{background-position:-810px 0;width:90px;height:90px}.skin_dead{background-position:-900px 0;width:90px;height:90px}.skin_black{background-position:-990px 0;width:90px;height:90px}.skin_asian{background-position:-1080px 0;width:90px;height:90px}.shield_5_v1{background-position:-1170px 0;width:90px;height:90px}.shield_5_v0{background-position:-1260px 0;width:90px;height:90px}.shield_4_v0{background-position:-1350px 0;width:90px;height:90px}.shield_3_v1{background-position:-1440px 0;width:90px;height:90px}.shield_3_v0{background-position:-1530px 0;width:90px;height:90px}.shield_2_v1{background-position:-1620px 0;width:90px;height:90px}.shield_2_v0{background-position:-1710px 0;width:90px;height:90px}.shield_1_v1{background-position:-1800px 0;width:90px;height:90px}.shield_1_v0{background-position:-1890px 0;width:90px;height:90px}._shield_4_v1{background-position:-1980px 0;width:90px;height:90px}.nh_hair_white_v1{background-position:-2070px 0;width:90px;height:90px}.nh_hair_white_v0{background-position:-2160px 0;width:90px;height:90px}.nh_hair_brown_v1{background-position:-2250px 0;width:90px;height:90px}.nh_hair_brown_v0{background-position:-2340px 0;width:90px;height:90px}.nh_hair_blond_v1{background-position:-2430px 0;width:90px;height:90px}.nh_hair_blond_v0{background-position:-2520px 0;width:90px;height:90px}.nh_hair_black_v1{background-position:-2610px 0;width:90px;height:90px}.nh_hair_black_v0{background-position:-2700px 0;width:90px;height:90px}.head_5_v2{background-position:-2790px 0;width:90px;height:90px}.head_5_v1{background-position:-2880px 0;width:90px;height:90px}.head_5_v0{background-position:-2970px 0;width:90px;height:90px}.head_4_v2{background-position:-3060px 0;width:90px;height:90px}.head_4_v1{background-position:-3150px 0;width:90px;height:90px}.head_4_v0{background-position:-3240px 0;width:90px;height:90px}.head_3_v2{background-position:-3330px 0;width:90px;height:90px}.head_3_v1{background-position:-3420px 0;width:90px;height:90px}.head_3_v0{background-position:-3510px 0;width:90px;height:90px}.head_2_v2{background-position:-3600px 0;width:90px;height:90px}.head_2_v1{background-position:-3690px 0;width:90px;height:90px}.head_2_v0{background-position:-3780px 0;width:90px;height:90px}.head_1_v1{background-position:-3870px 0;width:90px;height:90px}.head_1_v0{background-position:-3960px 0;width:90px;height:90px}.head_0_v1{background-position:-4050px 0;width:90px;height:90px}.head_0_v0{background-position:-4140px 0;width:90px;height:90px}.hair_white_v1{background-position:-4230px 0;width:90px;height:90px}.hair_white_v0{background-position:-4320px 0;width:90px;height:90px}.hair_brown_v1{background-position:-4410px 0;width:90px;height:90px}.hair_brown_v0{background-position:-4500px 0;width:90px;height:90px}.hair_blond_v1{background-position:-4590px 0;width:90px;height:90px}.hair_blond_v0{background-position:-4680px 0;width:90px;height:90px}.hair_black_v1{background-position:-4770px 0;width:90px;height:90px}.hair_black_v0{background-position:-4860px 0;width:90px;height:90px}.armor_5_v1{background-position:-4950px 0;width:90px;height:90px}.armor_5_v0{background-position:-5040px 0;width:90px;height:90px}.armor_4_v1{background-position:-5130px 0;width:90px;height:90px}.armor_4_v0{background-position:-5220px 0;width:90px;height:90px}.armor_3_v1{background-position:-5310px 0;width:90px;height:90px}.armor_3_v0{background-position:-5400px 0;width:90px;height:90px}.armor_2_v0{background-position:-5490px 0;width:90px;height:90px}.armor_1_v1{background-position:-5580px 0;width:90px;height:90px}.armor_1_v0{background-position:-5670px 0;width:90px;height:90px}.armor_0_v11{background-position:-5760px 0;width:90px;height:90px}.armor_0_v10{background-position:-5850px 0;width:90px;height:90px}.armor_0_v9{background-position:-5940px 0;width:90px;height:90px}.armor_0_v8{background-position:-6030px 0;width:90px;height:90px}.armor_0_v7{background-position:-6120px 0;width:90px;height:90px}.armor_0_v6{background-position:-6210px 0;width:90px;height:90px}.armor_0_v5{background-position:-6300px 0;width:90px;height:90px}.armor_0_v4{background-position:-6390px 0;width:90px;height:90px}.armor_0_v3{background-position:-6480px 0;width:90px;height:90px}.armor_0_v2{background-position:-6570px 0;width:90px;height:90px}.armor_0_v1{background-position:-6660px 0;width:90px;height:90px}.armor_0_v0{background-position:-6750px 0;width:90px;height:90px}.m_weapon_6,.m_weapon_5,.m_weapon_4,.m_weapon_3,.m_weapon_2,.m_weapon_1,.m_weapon_0,.m_shield_5,.m_shield_4,.m_shield_3,.m_shield_2,.m_shield_1,.m_head_5,.m_head_4,.m_head_3,.m_head_2,.m_head_1,.m_head_0,.m_hair_blond,.m_hair_black,.m_hair_brown,.m_hair_white,.m_armor_5,.m_armor_4,.m_armor_3,.m_armor_2,.m_armor_1,.m_armor_0,.m_skin_dead,.m_skin_orc,.m_skin_asian,.m_skin_black,.m_skin_white,.m_skin_ea8349,.m_skin_c06534,.m_skin_98461a,.m_skin_eb052b,.m_skin_f69922,.m_skin_f5d70f,.m_skin_0ff591,.m_skin_2b43f6,.m_skin_d7a9f7,.m_skin_800ed0,.m_skin_rainbow,.m_skin_monster,.m_skin_pumpkin,.m_skin_skeleton,.m_skin_zombie,.m_skin_ghost,.m_skin_shadow,.m_hair_red{background:url(../img/sprites/male_sprites.png) no-repeat}.m_weapon_6{background-position:0 0;width:90px;height:90px}.m_weapon_5{background-position:-90px 0;width:90px;height:90px}.m_weapon_4{background-position:-180px 0;width:90px;height:90px}.m_weapon_3{background-position:-270px 0;width:90px;height:90px}.m_weapon_2{background-position:-360px 0;width:90px;height:90px}.m_weapon_1{background-position:-450px 0;width:90px;height:90px}.m_weapon_0{background-position:-540px 0;width:90px;height:90px}.m_shield_5{background-position:-630px 0;width:90px;height:90px}.m_shield_4{background-position:-720px 0;width:90px;height:90px}.m_shield_3{background-position:-810px 0;width:90px;height:90px}.m_shield_2{background-position:-900px 0;width:90px;height:90px}.m_shield_1{background-position:-990px 0;width:90px;height:90px}.m_head_5{background-position:-1080px 0;width:90px;height:90px}.m_head_4{background-position:-1170px 0;width:90px;height:90px}.m_head_3{background-position:-1260px 0;width:90px;height:90px}.m_head_2{background-position:-1350px 0;width:90px;height:90px}.m_head_1{background-position:-1440px 0;width:90px;height:90px}.m_head_0{background-position:-1530px 0;width:90px;height:90px}.m_hair_blond{background-position:-1620px 0;width:90px;height:90px}.m_hair_black{background-position:-1710px 0;width:90px;height:90px}.m_hair_brown{background-position:-1800px 0;width:90px;height:90px}.m_hair_white{background-position:-1890px 0;width:90px;height:90px}.m_armor_5{background-position:-1980px 0;width:90px;height:90px}.m_armor_4{background-position:-2070px 0;width:90px;height:90px}.m_armor_3{background-position:-2160px 0;width:90px;height:90px}.m_armor_2{background-position:-2250px 0;width:90px;height:90px}.m_armor_1{background-position:-2340px 0;width:90px;height:90px}.m_armor_0{background-position:-2430px 0;width:90px;height:90px}.m_skin_dead{background-position:-2520px 0;width:90px;height:90px}.m_skin_orc{background-position:-2610px 0;width:90px;height:90px}.m_skin_asian{background-position:-2700px 0;width:90px;height:90px}.m_skin_black{background-position:-2790px 0;width:90px;height:90px}.m_skin_white{background-position:-2880px 0;width:90px;height:90px}.m_skin_ea8349{background-position:-2970px 0;width:90px;height:90px}.m_skin_c06534{background-position:-3060px 0;width:90px;height:90px}.m_skin_98461a{background-position:-3150px 0;width:90px;height:90px}.m_skin_eb052b{background-position:-3240px 0;width:90px;height:90px}.m_skin_f69922{background-position:-3330px 0;width:90px;height:90px}.m_skin_f5d70f{background-position:-3420px 0;width:90px;height:90px}.m_skin_0ff591{background-position:-3510px 0;width:90px;height:90px}.m_skin_2b43f6{background-position:-3600px 0;width:90px;height:90px}.m_skin_d7a9f7{background-position:-3690px 0;width:90px;height:90px}.m_skin_800ed0{background-position:-3780px 0;width:90px;height:90px}.m_skin_rainbow{background-position:-3870px 0;width:90px;height:90px}.m_skin_monster{background-position:-3960px 0;width:90px;height:90px}.m_skin_pumpkin{background-position:-4050px 0;width:90px;height:90px}.m_skin_skeleton{background-position:-4140px 0;width:90px;height:90px}.m_skin_zombie{background-position:-4230px 0;width:90px;height:90px}.m_skin_ghost{background-position:-4320px 0;width:90px;height:90px}.m_skin_shadow{background-position:-4410px 0;width:90px;height:90px}.m_hair_red{background-position:-4500px 0;width:90px;height:90px}.f_weapon_6,.f_weapon_5,.f_weapon_4,.f_weapon_3,.f_weapon_2,.f_weapon_1,.f_weapon_0,.f_shield_5,.f_shield_4,.f_shield_3,.f_shield_2,.f_shield_1,.f_head_5_v2,.f_head_5_v1,.f_head_4_v2,.f_head_4_v1,.f_head_3_v2,.f_head_3_v1,.f_head_2_v2,.f_head_2_v1,.f_head_1,.f_head_0,.f_hair_white,.f_hair_brown,.f_hair_black,.f_hair_blond,.f_armor_5,.f_armor_4,.f_armor_3,.f_armor_2,.f_armor_1,.f_armor_0_v2,.f_armor_0_v1,.f_skin_dead,.f_skin_orc,.f_skin_asian,.f_skin_black,.f_skin_white,.f_skin_ea8349,.f_skin_c06534,.f_skin_98461a,.f_skin_eb052b,.f_skin_eb052b,.f_skin_f69922,.f_skin_f5d70f,.f_skin_0ff591,.f_skin_2b43f6,.f_skin_d7a9f7,.f_skin_800ed0,.f_skin_rainbow,.f_skin_monster,.f_skin_pumpkin,.f_skin_skeleton,.f_skin_zombie,.f_skin_ghost,.f_skin_shadow,.f_hair_red{background:url(../img/sprites/female_sprites.png) no-repeat}.f_weapon_6{background-position:0 0;width:90px;height:90px}.f_weapon_5{background-position:-90px 0;width:90px;height:90px}.f_weapon_4{background-position:-180px 0;width:90px;height:90px}.f_weapon_3{background-position:-270px 0;width:90px;height:90px}.f_weapon_2{background-position:-360px 0;width:90px;height:90px}.f_weapon_1{background-position:-450px 0;width:90px;height:90px}.f_weapon_0{background-position:-540px 0;width:90px;height:90px}.f_shield_5{background-position:-630px 0;width:90px;height:90px}.f_shield_4{background-position:-720px 0;width:90px;height:90px}.f_shield_3{background-position:-810px 0;width:90px;height:90px}.f_shield_2{background-position:-900px 0;width:90px;height:90px}.f_shield_1{background-position:-990px 0;width:90px;height:90px}.f_head_5_v2{background-position:-1080px 0;width:90px;height:90px}.f_head_5_v1{background-position:-1170px 0;width:90px;height:90px}.f_head_4_v2{background-position:-1260px 0;width:90px;height:90px}.f_head_4_v1{background-position:-1350px 0;width:90px;height:90px}.f_head_3_v2{background-position:-1440px 0;width:90px;height:90px}.f_head_3_v1{background-position:-1530px 0;width:90px;height:90px}.f_head_2_v2{background-position:-1620px 0;width:90px;height:90px}.f_head_2_v1{background-position:-1710px 0;width:90px;height:90px}.f_head_1{background-position:-1800px 0;width:90px;height:90px}.f_head_0{background-position:-1890px 0;width:90px;height:90px}.f_hair_white{background-position:-1980px 0;width:90px;height:90px}.f_hair_brown{background-position:-2070px 0;width:90px;height:90px}.f_hair_black{background-position:-2160px 0;width:90px;height:90px}.f_hair_blond{background-position:-2250px 0;width:90px;height:90px}.f_armor_5{background-position:-2340px 0;width:90px;height:90px}.f_armor_4{background-position:-2430px 0;width:90px;height:90px}.f_armor_3{background-position:-2520px 0;width:90px;height:90px}.f_armor_2{background-position:-2610px 0;width:90px;height:90px}.f_armor_1{background-position:-2700px 0;width:90px;height:90px}.f_armor_0_v2{background-position:-2790px 0;width:90px;height:90px}.f_armor_0_v1{background-position:-2880px 0;width:90px;height:90px}.f_skin_dead{background-position:-2970px 0;width:90px;height:90px}.f_skin_orc{background-position:-3060px 0;width:90px;height:90px}.f_skin_asian{background-position:-3150px 0;width:90px;height:90px}.f_skin_black{background-position:-3240px 0;width:90px;height:90px}.f_skin_white{background-position:-3330px 0;width:90px;height:90px}.f_skin_ea8349{background-position:-3420px 0;width:90px;height:90px}.f_skin_c06534{background-position:-3510px 0;width:90px;height:90px}.f_skin_98461a{background-position:-3600px 0;width:90px;height:90px}.f_skin_eb052b{background-position:-3690px 0;width:90px;height:90px}.f_skin_f69922{background-position:-3780px 0;width:90px;height:90px}.f_skin_f5d70f{background-position:-3870px 0;width:90px;height:90px}.f_skin_0ff591{background-position:-3960px 0;width:90px;height:90px}.f_skin_2b43f6{background-position:-4050px 0;width:90px;height:90px}.f_skin_d7a9f7{background-position:-4140px 0;width:90px;height:90px}.f_skin_800ed0{background-position:-4230px 0;width:90px;height:90px}.f_skin_rainbow{background-position:-4320px 0;width:90px;height:90px}.f_skin_monster{background-position:-4410px 0;width:90px;height:90px}.f_skin_pumpkin{background-position:-4500px 0;width:90px;height:90px}.f_skin_skeleton{background-position:-4590px 0;width:90px;height:90px}.f_skin_zombie{background-position:-4680px 0;width:90px;height:90px}.f_skin_ghost{background-position:-4770px 0;width:90px;height:90px}.f_skin_shadow{background-position:-4860px 0;width:90px;height:90px}.f_hair_red{background-position:-4950px 0;width:90px;height:90px}[class^=shop_],[class^=zzz]{background:url(../img/sprites/shop_sprites.png) no-repeat}[class^=shop_weapon_],[class^=shop_shield_],[class^=shop_head_],[class^=shop_armor_],[class^=zzz]{width:40px;height:40px}.shop_weapon_6,.shop_weapon_5,.shop_weapon_4,.shop_weapon_3,.shop_weapon_2,.shop_weapon_1,.shop_shield_5,.shop_shield_4,.shop_shield_3,.shop_shield_2,.shop_shield_1,.shop_head_5,.shop_head_4,.shop_head_3,.shop_head_2,.shop_head_1,.shop_armor_5,.shop_armor_4,.shop_armor_3,.shop_armor_2,.shop_armor_1,.shop_reroll,.shop_potion,.shop_copper,.shop_silver,.shop_gold,.zzz,.zzz_light{background:url(../img/sprites/shop_sprites.png) no-repeat}.shop_weapon_6,.shop_weapon_5,.shop_weapon_4,.shop_weapon_3,.shop_weapon_2,.shop_weapon_1,.shop_shield_5,.shop_shield_4,.shop_shield_3,.shop_shield_2,.shop_shield_1,.shop_head_5,.shop_head_4,.shop_head_3,.shop_head_2,.shop_head_1,.shop_armor_5,.shop_armor_4,.shop_armor_3,.shop_armor_2,.shop_armor_1,.zzz,.zzz_light{width:40px;height:40px}.shop_weapon_6{background-position:0 0}.shop_weapon_5{background-position:-40px 0}.shop_weapon_4{background-position:-80px 0}.shop_weapon_3{background-position:-120px 0}.shop_weapon_2{background-position:-160px 0}.shop_weapon_1{background-position:-200px 0}.shop_shield_5{background-position:-240px 0}.shop_shield_4{background-position:-280px 0}.shop_shield_3{background-position:-320px 0}.shop_shield_2{background-position:-360px 0}.shop_shield_1{background-position:-400px 0}.shop_head_5{background-position:-440px 0}.shop_head_4{background-position:-480px 0}.shop_head_3{background-position:-520px 0}.shop_head_2{background-position:-560px 0}.shop_head_1{background-position:-600px 0}.shop_armor_5{background-position:-640px 0}.shop_armor_4{background-position:-680px 0}.shop_armor_3{background-position:-720px 0}.shop_armor_2{background-position:-760px 0}.shop_armor_1{background-position:-800px 0}.shop_reroll{background-position:-840px 0;width:40px;height:40px}.shop_potion{background-position:-880px 0;width:40px;height:40px}.shop_copper{background-position:-923px -8px;width:32px;height:22px}.shop_silver{background-position:-963px -8px;width:32px;height:22px}.shop_gold{background-position:-1003px -8px;width:32px;height:22px}.zzz{background-position:-1200px 0}.zzz_light{background-position:-1280px 0}.Pet-Wolf-Zombie,.Pet-Wolf-White,.Pet-Wolf-Veteran,.Pet-Wolf-Skeleton,.Pet-Wolf-Shade,.Pet-Wolf-Red,.Pet-Wolf-Golden,.Pet-Wolf-Desert,.Pet-Wolf-CottonCandyPink,.Pet-Wolf-CottonCandyBlue,.Pet-TigerCub-Zombie,.Pet-TigerCub-White,.Pet-TigerCub-Skeleton,.Pet-TigerCub-Shade,.Pet-TigerCub-Red,.Pet-TigerCub-Golden,.Pet-TigerCub-Desert,.Pet-TigerCub-CottonCandyPink,.Pet-TigerCub-CottonCandyBlue,.Pet-TigerCub-Base,.Pet-PolarBearCub-Base,.Pet-PandaCub-Zombie,.Pet-PandaCub-White,.Pet-PandaCub-Skeleton,.Pet-PandaCub-Shade,.Pet-PandaCub-Red,.Pet-PandaCub-Golden,.Pet-PandaCub-Desert,.Pet-PandaCub-CottonCandyPink,.Pet-PandaCub-CottonCandyBlue,.Pet-PandaCub-Base,.Pet-LionCub-Zombie,.Pet-LionCub-White,.Pet-LionCub-Skeleton,.Pet-LionCub-Shade,.Pet-LionCub-Red,.Pet-LionCub-Golden,.Pet-LionCub-Desert,.Pet-LionCub-CottonCandyPink,.Pet-LionCub-CottonCandyBlue,.Pet-LionCub-Base,.Pet-Fox-Zombie,.Pet-Fox-White,.Pet-Fox-Skeleton,.Pet-Fox-Shade,.Pet-Fox-Red,.Pet-Fox-Golden,.Pet-Fox-Desert,.Pet-Fox-CottonCandyPink,.Pet-Fox-CottonCandyBlue,.Pet-Fox-Base,.Pet-FlyingPig-Zombie,.Pet-FlyingPig-White,.Pet-FlyingPig-Skeleton,.Pet-FlyingPig-Shade,.Pet-FlyingPig-Red,.Pet-FlyingPig-Golden,.Pet-FlyingPig-Desert,.Pet-FlyingPig-CottonCandyPink,.Pet-FlyingPig-CottonCandyBlue,.Pet-FlyingPig-Base,.Pet-Dragon-Zombie,.Pet-Dragon-White,.Pet-Dragon-Skeleton,.Pet-Dragon-Shade,.Pet-Dragon-Red,.Pet-Dragon-Golden,.Pet-Dragon-Desert,.Pet-Dragon-CottonCandyPink,.Pet-Dragon-CottonCandyBlue,.Pet-Dragon-Base,.Pet-Cactus-Skeleton,.Pet-Cactus-Red,.Pet-Cactus-Zombie,.Pet-Cactus-Shade,.Pet-Cactus-Golden,.Pet-Cactus-White,.Pet-Cactus-CottonCandyPink,.Pet-Cactus-CottonCandyBlue,.Pet-Cactus-Desert,.Pet-Cactus-Base,.Pet-BearCub-Zombie,.Pet-BearCub-White,.Pet-BearCub-Skeleton,.Pet-BearCub-Shade,.Pet-BearCub-Red,.Pet-BearCub-Golden,.Pet-BearCub-Desert,.Pet-BearCub-CottonCandyPink,.Pet-BearCub-CottonCandyBlue,.Pet-BearCub-Base,.Pet-Wolf-Base{background:url(../img/sprites/pet_sprites.png) no-repeat}.Pet-Wolf-Zombie{background-position:0 0;width:81px;height:99px}.Pet-Wolf-White{background-position:-81px 0;width:81px;height:99px}.Pet-Wolf-Veteran{background-position:-162px 0;width:81px;height:99px}.Pet-Wolf-Skeleton{background-position:-243px 0;width:81px;height:99px}.Pet-Wolf-Shade{background-position:-324px 0;width:81px;height:99px}.Pet-Wolf-Red{background-position:-405px 0;width:81px;height:99px}.Pet-Wolf-Golden{background-position:-486px 0;width:81px;height:99px}.Pet-Wolf-Desert{background-position:-567px 0;width:81px;height:99px}.Pet-Wolf-CottonCandyPink{background-position:-648px 0;width:81px;height:99px}.Pet-Wolf-CottonCandyBlue{background-position:-729px 0;width:81px;height:99px}.Pet-TigerCub-Zombie{background-position:-810px 0;width:81px;height:99px}.Pet-TigerCub-White{background-position:-891px 0;width:81px;height:99px}.Pet-TigerCub-Skeleton{background-position:-972px 0;width:81px;height:99px}.Pet-TigerCub-Shade{background-position:-1053px 0;width:81px;height:99px}.Pet-TigerCub-Red{background-position:-1134px 0;width:81px;height:99px}.Pet-TigerCub-Golden{background-position:-1215px 0;width:81px;height:99px}.Pet-TigerCub-Desert{background-position:-1296px 0;width:81px;height:99px}.Pet-TigerCub-CottonCandyPink{background-position:-1377px 0;width:81px;height:99px}.Pet-TigerCub-CottonCandyBlue{background-position:-1458px 0;width:81px;height:99px}.Pet-TigerCub-Base{background-position:-1539px 0;width:81px;height:99px}.Pet-PolarBearCub-Base{background-position:-1620px 0;width:81px;height:99px}.Pet-PandaCub-Zombie{background-position:-1701px 0;width:81px;height:99px}.Pet-PandaCub-White{background-position:-1782px 0;width:81px;height:99px}.Pet-PandaCub-Skeleton{background-position:-1863px 0;width:81px;height:99px}.Pet-PandaCub-Shade{background-position:-1944px 0;width:81px;height:99px}.Pet-PandaCub-Red{background-position:-2025px 0;width:81px;height:99px}.Pet-PandaCub-Golden{background-position:-2106px 0;width:81px;height:99px}.Pet-PandaCub-Desert{background-position:-2187px 0;width:81px;height:99px}.Pet-PandaCub-CottonCandyPink{background-position:-2268px 0;width:81px;height:99px}.Pet-PandaCub-CottonCandyBlue{background-position:-2349px 0;width:81px;height:99px}.Pet-PandaCub-Base{background-position:-2430px 0;width:81px;height:99px}.Pet-LionCub-Zombie{background-position:-2511px 0;width:81px;height:99px}.Pet-LionCub-White{background-position:-2592px 0;width:81px;height:99px}.Pet-LionCub-Skeleton{background-position:-2673px 0;width:81px;height:99px}.Pet-LionCub-Shade{background-position:-2754px 0;width:81px;height:99px}.Pet-LionCub-Red{background-position:-2835px 0;width:81px;height:99px}.Pet-LionCub-Golden{background-position:-2916px 0;width:81px;height:99px}.Pet-LionCub-Desert{background-position:-2997px 0;width:81px;height:99px}.Pet-LionCub-CottonCandyPink{background-position:-3078px 0;width:81px;height:99px}.Pet-LionCub-CottonCandyBlue{background-position:-3159px 0;width:81px;height:99px}.Pet-LionCub-Base{background-position:-3240px 0;width:81px;height:99px}.Pet-Fox-Zombie{background-position:-3321px 0;width:81px;height:99px}.Pet-Fox-White{background-position:-3402px 0;width:81px;height:99px}.Pet-Fox-Skeleton{background-position:-3483px 0;width:81px;height:99px}.Pet-Fox-Shade{background-position:-3564px 0;width:81px;height:99px}.Pet-Fox-Red{background-position:-3645px 0;width:81px;height:99px}.Pet-Fox-Golden{background-position:-3726px 0;width:81px;height:99px}.Pet-Fox-Desert{background-position:-3807px 0;width:81px;height:99px}.Pet-Fox-CottonCandyPink{background-position:-3888px 0;width:81px;height:99px}.Pet-Fox-CottonCandyBlue{background-position:-3969px 0;width:81px;height:99px}.Pet-Fox-Base{background-position:-4050px 0;width:81px;height:99px}.Pet-FlyingPig-Zombie{background-position:-4131px 0;width:81px;height:99px}.Pet-FlyingPig-White{background-position:-4212px 0;width:81px;height:99px}.Pet-FlyingPig-Skeleton{background-position:-4293px 0;width:81px;height:99px}.Pet-FlyingPig-Shade{background-position:-4374px 0;width:81px;height:99px}.Pet-FlyingPig-Red{background-position:-4455px 0;width:81px;height:99px}.Pet-FlyingPig-Golden{background-position:-4536px 0;width:81px;height:99px}.Pet-FlyingPig-Desert{background-position:-4617px 0;width:81px;height:99px}.Pet-FlyingPig-CottonCandyPink{background-position:-4698px 0;width:81px;height:99px}.Pet-FlyingPig-CottonCandyBlue{background-position:-4779px 0;width:81px;height:99px}.Pet-FlyingPig-Base{background-position:-4860px 0;width:81px;height:99px}.Pet-Dragon-Zombie{background-position:-4941px 0;width:81px;height:99px}.Pet-Dragon-White{background-position:-5022px 0;width:81px;height:99px}.Pet-Dragon-Skeleton{background-position:-5103px 0;width:81px;height:99px}.Pet-Dragon-Shade{background-position:-5184px 0;width:81px;height:99px}.Pet-Dragon-Red{background-position:-5265px 0;width:81px;height:99px}.Pet-Dragon-Golden{background-position:-5346px 0;width:81px;height:99px}.Pet-Dragon-Desert{background-position:-5427px 0;width:81px;height:99px}.Pet-Dragon-CottonCandyPink{background-position:-5508px 0;width:81px;height:99px}.Pet-Dragon-CottonCandyBlue{background-position:-5589px 0;width:81px;height:99px}.Pet-Dragon-Base{background-position:-5670px 0;width:81px;height:99px}.Pet-Cactus-Zombie{background-position:-5913px 0;width:81px;height:99px}.Pet-Cactus-White{background-position:-6156px 0;width:81px;height:99px}.Pet-Cactus-Skeleton{background-position:-5751px 0;width:81px;height:99px}.Pet-Cactus-Red{background-position:-5832px 0;width:81px;height:99px}.Pet-Cactus-Shade{background-position:-5994px 0;width:81px;height:99px}.Pet-Cactus-Golden{background-position:-6075px 0;width:81px;height:99px}.Pet-Cactus-Desert{background-position:-6399px 0;width:81px;height:99px}.Pet-Cactus-CottonCandyPink{background-position:-6237px 0;width:81px;height:99px}.Pet-Cactus-CottonCandyBlue{background-position:-6318px 0;width:81px;height:99px}.Pet-Cactus-Base{background-position:-6480px 0;width:81px;height:99px}.Pet-BearCub-Zombie{background-position:-6561px 0;width:81px;height:99px}.Pet-BearCub-White{background-position:-6642px 0;width:81px;height:99px}.Pet-BearCub-Skeleton{background-position:-6723px 0;width:81px;height:99px}.Pet-BearCub-Shade{background-position:-6804px 0;width:81px;height:99px}.Pet-BearCub-Red{background-position:-6885px 0;width:81px;height:99px}.Pet-BearCub-Golden{background-position:-6966px 0;width:81px;height:99px}.Pet-BearCub-Desert{background-position:-7047px 0;width:81px;height:99px}.Pet-BearCub-CottonCandyPink{background-position:-7128px 0;width:81px;height:99px}.Pet-BearCub-CottonCandyBlue{background-position:-7209px 0;width:81px;height:99px}.Pet-BearCub-Base{background-position:-7290px 0;width:81px;height:99px}.Pet-Wolf-Base{background-position:-7371px 0;width:81px;height:99px}.Pet-Egg{background:url(../img/sprites/egg.png) no-repeat;width:39px;height:42px}.Gems{background:url(../img/sprites/Egg_Sprite_Sheet.png);background-position:-57px 50px;display:inline-block;margin-right:5px;border-style:none;width:30px;height:30px}.achievements-container{margin:20px}.achievement{background:url(../img/sprites/achievements.png) no-repeat;width:24px;height:26px;float:left;clear:right;margin-right:10px}.achievement-sword{background-position:0 0}.achievement-tree{background-position:-24px 0}.achievement-rat{background-position:-48px 0}.achievement-comment{background-position:-72px 0}.achievement-armor{background-position:-96px 0}.achievement-cave{background-position:-120px 0}.achievement-sun{background-position:-144px 0}.achievement-boot{background-position:-168px 0}.achievement-coffin{background-position:-192px 0}.achievement-alien{background-position:-216px 0}.achievement-ninja{background-position:-240px 0}.achievement-cactus{background-position:-264px 0}.achievement-bow{background-position:-288px 0}.achievement-heart{background-position:-312px 0}.achievement-shield{background-position:-336px 0}.achievement-thermometer{background-position:-360px 0}.achievement-helm{background-position:-384px 0}.achievement-firefox{background-position:0 -26px}.achievement-cake{background-position:-24px -26px}.achievement-karaoke{background-position:-48px -26px}.weapon_7,.armor_6,.head_6,.shield_6{width:105px;height:105px;margin-left:-3px;margin-top:-18px}.weapon_8,.armor_7,.head_7,.shield_7{width:105px;height:105px;margin-left:-9px;margin-top:-15px}.head_6{background:url(../img/sprites/backer-only/BackerOnly-Equip-ShadeHelmet.gif) no-repeat}.head_7{background:url(../img/sprites/backer-only/ContributorOnly-Equip-CrystalHelmet.gif) no-repeat}.armor_6{background:url(../img/sprites/backer-only/BackerOnly-Equip-ShadeArmor.gif) no-repeat}.armor_7{background:url(../img/sprites/backer-only/ContributorOnly-Equip-CrystalArmor.gif) no-repeat}.shield_6{background:url(../img/sprites/backer-only/BackerOnly-Shield-TormentedSkull.gif) no-repeat}.shield_7{background:url(../img/sprites/backer-only/ContributorOnly-Shield-Crystal.png) no-repeat}.weapon_7{background:url(../img/sprites/backer-only/BackerOnly-Weapon-DarkSoulsBlade.gif) no-repeat}.weapon_8{background:url(../img/sprites/backer-only/ContributorOnly-Weapon-CrystalBlade.png) no-repeat}.Pet-Wolf-Cerberus{width:105px;height:72px;background:url(../img/sprites/backer-only/BackerOnly-Pet-CerberusPup.gif) no-repeat}.Pet-Dragon-Hydra{width:106px;height:89px;background:url(../img/sprites/backer-only/ContributorOnly-Pet-Hydra.png) no-repeat}.shop_shield_6{background-position:-1040px 0}.shop_weapon_7{background-position:-1080px 0}.shop_head_6{background-position:-1120px 0}.shop_armor_6{background-position:-1160px 0}.shop_shield_7{background-position:-1318px 0;width:35px}.shop_weapon_8{background-position:-1352px 0;width:45px}.shop_head_7{background-position:-1398px 0}.shop_armor_7{background-position:-1438px 0}.customize-menu .f_head_0{width:60px;height:60px;background-position:-1917px -9px}.customize-menu .f_armor_0_v2{width:60px;height:60px;background-position:-2819px -38px}.customize-menu .f_armor_0_v1{width:60px;height:60px;background-position:-2909px -38px}.customize-menu .f_hair_white{width:60px;height:60px;background-position:-2009px -8px}.customize-menu .f_hair_brown{width:60px;height:60px;background-position:-2099px -8px}.customize-menu .f_hair_black{width:60px;height:60px;background-position:-2189px -8px}.customize-menu .f_hair_blond{width:60px;height:60px;background-position:-2279px -8px}.customize-menu .f_hair_red{width:60px;height:60px;background-position:-4979px -8px}.customize-menu .f_skin_dead{width:60px;height:60px;background-position:-2997px -20px}.customize-menu .f_skin_orc{width:60px;height:60px;background-position:-3087px -20px}.customize-menu .f_skin_asian{width:60px;height:60px;background-position:-3177px -20px}.customize-menu .f_skin_black{width:60px;height:60px;background-position:-3267px -20px}.customize-menu .f_skin_white{width:60px;height:60px;background-position:-3357px -20px}.customize-menu .f_skin_ea8349{width:60px;height:60px;background-position:-3448px -21px}.customize-menu .f_skin_c06534{width:60px;height:60px;background-position:-3539px -21px}.customize-menu .f_skin_98461a{width:60px;height:60px;background-position:-3629px -21px}.customize-menu .f_skin_eb052b{width:60px;height:60px;background-position:-3719px -20px}.customize-menu .f_skin_f69922{width:60px;height:60px;background-position:-3809px -20px}.customize-menu .f_skin_f5d70f{width:60px;height:60px;background-position:-3899px -20px}.customize-menu .f_skin_0ff591{width:60px;height:60px;background-position:-3989px -20px}.customize-menu .f_skin_2b43f6{width:60px;height:60px;background-position:-4079px -20px}.customize-menu .f_skin_d7a9f7{width:60px;height:60px;background-position:-4169px -21px}.customize-menu .f_skin_800ed0{width:60px;height:60px;background-position:-4259px -21px}.customize-menu .f_skin_rainbow{width:60px;height:60px;background-position:-4349px -21px}.customize-menu .f_skin_monster{width:60px;height:60px;background-position:-4439px -20px}.customize-menu .f_skin_pumpkin{width:60px;height:60px;background-position:-4529px -20px}.customize-menu .f_skin_skeleton{width:60px;height:60px;background-position:-4619px -20px}.customize-menu .f_skin_zombie{width:60px;height:60px;background-position:-4709px -20px}.customize-menu .f_skin_ghost{width:60px;height:60px;background-position:-4799px -20px}.customize-menu .f_skin_shadow{width:60px;height:60px;background-position:-4889px -21px}.customize-menu .m_head_0{width:60px;height:60px;background-position:-1557px -9px}.customize-menu .m_hair_blond{width:60px;height:60px;background-position:-1649px -6px}.customize-menu .m_hair_black{width:60px;height:60px;background-position:-1737px -6px}.customize-menu .m_hair_brown{width:60px;height:60px;background-position:-1827px -6px}.customize-menu .m_hair_white{width:60px;height:60px;background-position:-1917px -6px}.customize-menu .m_hair_red{width:60px;height:60px;background-position:-4528px -6px}.customize-menu .m_skin_dead{width:60px;height:60px;background-position:-2547px -20px}.customize-menu .m_skin_orc{width:60px;height:60px;background-position:-2637px -20px}.customize-menu .m_skin_asian{width:60px;height:60px;background-position:-2727px -20px}.customize-menu .m_skin_black{width:60px;height:60px;background-position:-2817px -20px}.customize-menu .m_skin_white{width:60px;height:60px;background-position:-2907px -20px}.customize-menu .m_skin_ea8349{width:60px;height:60px;background-position:-2999px -20px}.customize-menu .m_skin_c06534{width:60px;height:60px;background-position:-3087px -20px}.customize-menu .m_skin_98461a{width:60px;height:60px;background-position:-3178px -20px}.customize-menu .m_skin_eb052b{width:60px;height:60px;background-position:-3268px -20px}.customize-menu .m_skin_f69922{width:60px;height:60px;background-position:-3358px -20px}.customize-menu .m_skin_f5d70f{width:60px;height:60px;background-position:-3448px -20px}.customize-menu .m_skin_0ff591{width:60px;height:60px;background-position:-3538px -20px}.customize-menu .m_skin_2b43f6{width:60px;height:60px;background-position:-3628px -20px}.customize-menu .m_skin_d7a9f7{width:60px;height:60px;background-position:-3718px -20px}.customize-menu .m_skin_800ed0{width:60px;height:60px;background-position:-3808px -20px}.customize-menu .m_skin_rainbow{width:60px;height:60px;background-position:-3898px -20px}.customize-menu .m_skin_monster{width:60px;height:60px;background-position:-3988px -20px}.customize-menu .m_skin_pumpkin{width:60px;height:60px;background-position:-4078px -20px}.customize-menu .m_skin_skeleton{width:60px;height:60px;background-position:-4168px -20px}.customize-menu .m_skin_zombie{width:60px;height:60px;background-position:-4258px -20px}.customize-menu .m_skin_ghost{width:60px;height:60px;background-position:-4348px -20px}.customize-menu .m_skin_shadow{width:60px;height:60px;background-position:-4438px -20px}.customize-menu .locked{background-color:#727272} \ No newline at end of file +.Mount_Head_LionCub-Base,.Mount_Body_LionCub-Base,.Mount_Head_BearCub-Polar,.Mount_Body_BearCub-Polar,.Mount_Head_PandaCub-Base,.Mount_Body_PandaCub-Base,.Mount_Head_TigerCub-Base,.Mount_Body_TigerCub-Base,.Mount_Head_BearCub-Base,.Mount_Body_BearCub-Base,.Mount_Head_LionCub-Ethereal,.Mount_Body_LionCub-Ethereal{background:url(../img/sprites/Mount-SpriteSheet.png) no-repeat;width:105px;height:123px}.Mount_Head_LionCub-Base{background-position:0 0}.Mount_Body_LionCub-Base{background-position:-105px 0}.Mount_Head_BearCub-Polar{background-position:-210px 0}.Mount_Body_BearCub-Polar{background-position:-315px 0}.Mount_Head_PandaCub-Base{background-position:-420px 0}.Mount_Body_PandaCub-Base{background-position:-525px 0}.Mount_Head_TigerCub-Base{background-position:-630px 0}.Mount_Body_TigerCub-Base{background-position:-735px 0}.Mount_Head_BearCub-Base{background-position:-840px 0}.Mount_Body_BearCub-Base{background-position:-945px 0}.Mount_Head_LionCub-Ethereal{background-position:-1050px 0}.Mount_Body_LionCub-Ethereal{background-position:-1155px 0}.Pet_Egg_Wolf,.Pet_Egg_TigerCub,.Pet_Egg_PolarBear,.Pet_Egg_PandaCub,.Pet_Egg_LionCub,.Pet_Egg_Fox,.Pet_Egg_FlyingPig,.Pet_Egg_Dragon,.Pet_Egg_Cactus,.Pet_Egg_BearCub,.Pet_HatchingPotion_Base,.Pet_HatchingPotion_White,.Pet_HatchingPotion_Desert,.Pet_HatchingPotion_Red,.Pet_HatchingPotion_Shade,.Pet_HatchingPotion_Skeleton,.Pet_HatchingPotion_Zombie,.Pet_HatchingPotion_CottonCandyPink,.Pet_HatchingPotion_CottonCandyBlue,.Pet_HatchingPotion_Golden,.Pet_Currency_Gem,.Pet_Currency_Gem2x,.Pet_Currency_Gem1x{background:url(../img/sprites/Egg_Sprite_Sheet.png) no-repeat}.Pet_Egg_Wolf{background-position:0 0;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_TigerCub{background-position:0 -51px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_PolarBear{background-position:0 -102px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_PandaCub{background-position:0 -153px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_LionCub{background-position:0 -204px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Fox{background-position:0 -255px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_FlyingPig{background-position:0 -306px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Dragon{background-position:0 -357px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Cactus{background-position:0 -408px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_BearCub{background-position:0 -459px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Base{background-position:-48px -0px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_White{background-position:-48px -51px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Desert{background-position:-48px -102px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Red{background-position:-48px -153px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Shade{background-position:-48px -204px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Skeleton{background-position:-48px -255px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Zombie{background-position:-48px -306px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_CottonCandyPink{background-position:-48px -357px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_CottonCandyBlue{background-position:-48px -408px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Golden{background-position:-48px -459px;width:48px;height:53px;margin-left:1.25em}.Pet_Currency_Gem{background-position:0 -510px;width:51px;height:45px}.Pet_Currency_Gem2x{background-position:-55px -513px;width:34px;height:30px}.Pet_Currency_Gem1x{background-position:-63px -542px;width:19px;height:17px}.inline-gems{display:inline-block}.weapon_6,.weapon_5,.weapon_4,.weapon_3,.weapon_2,.weapon_1,.weapon_0,.skin_white,.skin_pale,.skin_orc,.skin_dead,.skin_black,.skin_asian,.shield_5_v1,.shield_5_v0,.shield_4_v0,.shield_3_v1,.shield_3_v0,.shield_2_v1,.shield_2_v0,.shield_1_v1,.shield_1_v0,_shield_4_v1,.nh_hair_white_v1,.nh_hair_white_v0,.nh_hair_brown_v1,.nh_hair_brown_v0,.nh_hair_blond_v1,.nh_hair_blond_v0,.nh_hair_black_v1,.nh_hair_black_v0,.head_5_v2,.head_5_v1,.head_5_v0,.head_4_v2,.head_4_v1,.head_4_v0,.head_3_v2,.head_3_v1,.head_3_v0,.head_2_v2,.head_2_v1,.head_2_v0,.head_1_v1,.head_1_v0,.head_0_v1,.head_0_v0,.hair_white_v1,.hair_white_v0,.hair_brown_v1,.hair_brown_v0,.hair_blond_v1,.hair_blond_v0,.hair_black_v1,.hair_black_v0,.armor_5_v1,.armor_5_v0,.armor_4_v1,.armor_4_v0,.armor_3_v1,.armor_3_v0,.armor_2_v0,.armor_1_v1,.armor_1_v0,.armor_0_v11,.armor_0_v10,.armor_0_v9,.armor_0_v8,.armor_0_v7,.armor_0_v6,.armor_0_v5,.armor_0_v4,.armor_0_v3,.armor_0_v2,.armor_0_v1,.armor_0_v0{background:url(../img/sprites/player_sprites.png) no-repeat}.weapon_6{background-position:0 0;width:90px;height:90px}.weapon_5{background-position:-90px 0;width:90px;height:90px}.weapon_4{background-position:-180px 0;width:90px;height:90px}.weapon_3{background-position:-270px 0;width:90px;height:90px}.weapon_2{background-position:-360px 0;width:90px;height:90px}.weapon_1{background-position:-450px 0;width:90px;height:90px}.weapon_0{background-position:-540px 0;width:90px;height:90px}.skin_white{background-position:-630px 0;width:90px;height:90px}.skin_pale{background-position:-720px 0;width:90px;height:90px}.skin_orc{background-position:-810px 0;width:90px;height:90px}.skin_dead{background-position:-900px 0;width:90px;height:90px}.skin_black{background-position:-990px 0;width:90px;height:90px}.skin_asian{background-position:-1080px 0;width:90px;height:90px}.shield_5_v1{background-position:-1170px 0;width:90px;height:90px}.shield_5_v0{background-position:-1260px 0;width:90px;height:90px}.shield_4_v0{background-position:-1350px 0;width:90px;height:90px}.shield_3_v1{background-position:-1440px 0;width:90px;height:90px}.shield_3_v0{background-position:-1530px 0;width:90px;height:90px}.shield_2_v1{background-position:-1620px 0;width:90px;height:90px}.shield_2_v0{background-position:-1710px 0;width:90px;height:90px}.shield_1_v1{background-position:-1800px 0;width:90px;height:90px}.shield_1_v0{background-position:-1890px 0;width:90px;height:90px}._shield_4_v1{background-position:-1980px 0;width:90px;height:90px}.nh_hair_white_v1{background-position:-2070px 0;width:90px;height:90px}.nh_hair_white_v0{background-position:-2160px 0;width:90px;height:90px}.nh_hair_brown_v1{background-position:-2250px 0;width:90px;height:90px}.nh_hair_brown_v0{background-position:-2340px 0;width:90px;height:90px}.nh_hair_blond_v1{background-position:-2430px 0;width:90px;height:90px}.nh_hair_blond_v0{background-position:-2520px 0;width:90px;height:90px}.nh_hair_black_v1{background-position:-2610px 0;width:90px;height:90px}.nh_hair_black_v0{background-position:-2700px 0;width:90px;height:90px}.head_5_v2{background-position:-2790px 0;width:90px;height:90px}.head_5_v1{background-position:-2880px 0;width:90px;height:90px}.head_5_v0{background-position:-2970px 0;width:90px;height:90px}.head_4_v2{background-position:-3060px 0;width:90px;height:90px}.head_4_v1{background-position:-3150px 0;width:90px;height:90px}.head_4_v0{background-position:-3240px 0;width:90px;height:90px}.head_3_v2{background-position:-3330px 0;width:90px;height:90px}.head_3_v1{background-position:-3420px 0;width:90px;height:90px}.head_3_v0{background-position:-3510px 0;width:90px;height:90px}.head_2_v2{background-position:-3600px 0;width:90px;height:90px}.head_2_v1{background-position:-3690px 0;width:90px;height:90px}.head_2_v0{background-position:-3780px 0;width:90px;height:90px}.head_1_v1{background-position:-3870px 0;width:90px;height:90px}.head_1_v0{background-position:-3960px 0;width:90px;height:90px}.head_0_v1{background-position:-4050px 0;width:90px;height:90px}.head_0_v0{background-position:-4140px 0;width:90px;height:90px}.hair_white_v1{background-position:-4230px 0;width:90px;height:90px}.hair_white_v0{background-position:-4320px 0;width:90px;height:90px}.hair_brown_v1{background-position:-4410px 0;width:90px;height:90px}.hair_brown_v0{background-position:-4500px 0;width:90px;height:90px}.hair_blond_v1{background-position:-4590px 0;width:90px;height:90px}.hair_blond_v0{background-position:-4680px 0;width:90px;height:90px}.hair_black_v1{background-position:-4770px 0;width:90px;height:90px}.hair_black_v0{background-position:-4860px 0;width:90px;height:90px}.armor_5_v1{background-position:-4950px 0;width:90px;height:90px}.armor_5_v0{background-position:-5040px 0;width:90px;height:90px}.armor_4_v1{background-position:-5130px 0;width:90px;height:90px}.armor_4_v0{background-position:-5220px 0;width:90px;height:90px}.armor_3_v1{background-position:-5310px 0;width:90px;height:90px}.armor_3_v0{background-position:-5400px 0;width:90px;height:90px}.armor_2_v0{background-position:-5490px 0;width:90px;height:90px}.armor_1_v1{background-position:-5580px 0;width:90px;height:90px}.armor_1_v0{background-position:-5670px 0;width:90px;height:90px}.armor_0_v11{background-position:-5760px 0;width:90px;height:90px}.armor_0_v10{background-position:-5850px 0;width:90px;height:90px}.armor_0_v9{background-position:-5940px 0;width:90px;height:90px}.armor_0_v8{background-position:-6030px 0;width:90px;height:90px}.armor_0_v7{background-position:-6120px 0;width:90px;height:90px}.armor_0_v6{background-position:-6210px 0;width:90px;height:90px}.armor_0_v5{background-position:-6300px 0;width:90px;height:90px}.armor_0_v4{background-position:-6390px 0;width:90px;height:90px}.armor_0_v3{background-position:-6480px 0;width:90px;height:90px}.armor_0_v2{background-position:-6570px 0;width:90px;height:90px}.armor_0_v1{background-position:-6660px 0;width:90px;height:90px}.armor_0_v0{background-position:-6750px 0;width:90px;height:90px}.m_weapon_6,.m_weapon_5,.m_weapon_4,.m_weapon_3,.m_weapon_2,.m_weapon_1,.m_weapon_0,.m_shield_5,.m_shield_4,.m_shield_3,.m_shield_2,.m_shield_1,.m_head_5,.m_head_4,.m_head_3,.m_head_2,.m_head_1,.m_head_0,.m_hair_blond,.m_hair_black,.m_hair_brown,.m_hair_white,.m_armor_5,.m_armor_4,.m_armor_3,.m_armor_2,.m_armor_1,.m_armor_0,.m_skin_dead,.m_skin_orc,.m_skin_asian,.m_skin_black,.m_skin_white,.m_skin_ea8349,.m_skin_c06534,.m_skin_98461a,.m_skin_eb052b,.m_skin_f69922,.m_skin_f5d70f,.m_skin_0ff591,.m_skin_2b43f6,.m_skin_d7a9f7,.m_skin_800ed0,.m_skin_rainbow,.m_skin_monster,.m_skin_pumpkin,.m_skin_skeleton,.m_skin_zombie,.m_skin_ghost,.m_skin_shadow,.m_hair_red{background:url(../img/sprites/male_sprites.png) no-repeat}.m_weapon_6{background-position:0 0;width:90px;height:90px}.m_weapon_5{background-position:-90px 0;width:90px;height:90px}.m_weapon_4{background-position:-180px 0;width:90px;height:90px}.m_weapon_3{background-position:-270px 0;width:90px;height:90px}.m_weapon_2{background-position:-360px 0;width:90px;height:90px}.m_weapon_1{background-position:-450px 0;width:90px;height:90px}.m_weapon_0{background-position:-540px 0;width:90px;height:90px}.m_shield_5{background-position:-630px 0;width:90px;height:90px}.m_shield_4{background-position:-720px 0;width:90px;height:90px}.m_shield_3{background-position:-810px 0;width:90px;height:90px}.m_shield_2{background-position:-900px 0;width:90px;height:90px}.m_shield_1{background-position:-990px 0;width:90px;height:90px}.m_head_5{background-position:-1080px 0;width:90px;height:90px}.m_head_4{background-position:-1170px 0;width:90px;height:90px}.m_head_3{background-position:-1260px 0;width:90px;height:90px}.m_head_2{background-position:-1350px 0;width:90px;height:90px}.m_head_1{background-position:-1440px 0;width:90px;height:90px}.m_head_0{background-position:-1530px 0;width:90px;height:90px}.m_hair_blond{background-position:-1620px 0;width:90px;height:90px}.m_hair_black{background-position:-1710px 0;width:90px;height:90px}.m_hair_brown{background-position:-1800px 0;width:90px;height:90px}.m_hair_white{background-position:-1890px 0;width:90px;height:90px}.m_armor_5{background-position:-1980px 0;width:90px;height:90px}.m_armor_4{background-position:-2070px 0;width:90px;height:90px}.m_armor_3{background-position:-2160px 0;width:90px;height:90px}.m_armor_2{background-position:-2250px 0;width:90px;height:90px}.m_armor_1{background-position:-2340px 0;width:90px;height:90px}.m_armor_0{background-position:-2430px 0;width:90px;height:90px}.m_skin_dead{background-position:-2520px 0;width:90px;height:90px}.m_skin_orc{background-position:-2610px 0;width:90px;height:90px}.m_skin_asian{background-position:-2700px 0;width:90px;height:90px}.m_skin_black{background-position:-2790px 0;width:90px;height:90px}.m_skin_white{background-position:-2880px 0;width:90px;height:90px}.m_skin_ea8349{background-position:-2970px 0;width:90px;height:90px}.m_skin_c06534{background-position:-3060px 0;width:90px;height:90px}.m_skin_98461a{background-position:-3150px 0;width:90px;height:90px}.m_skin_eb052b{background-position:-3240px 0;width:90px;height:90px}.m_skin_f69922{background-position:-3330px 0;width:90px;height:90px}.m_skin_f5d70f{background-position:-3420px 0;width:90px;height:90px}.m_skin_0ff591{background-position:-3510px 0;width:90px;height:90px}.m_skin_2b43f6{background-position:-3600px 0;width:90px;height:90px}.m_skin_d7a9f7{background-position:-3690px 0;width:90px;height:90px}.m_skin_800ed0{background-position:-3780px 0;width:90px;height:90px}.m_skin_rainbow{background-position:-3870px 0;width:90px;height:90px}.m_skin_monster{background-position:-3960px 0;width:90px;height:90px}.m_skin_pumpkin{background-position:-4050px 0;width:90px;height:90px}.m_skin_skeleton{background-position:-4140px 0;width:90px;height:90px}.m_skin_zombie{background-position:-4230px 0;width:90px;height:90px}.m_skin_ghost{background-position:-4320px 0;width:90px;height:90px}.m_skin_shadow{background-position:-4410px 0;width:90px;height:90px}.m_hair_red{background-position:-4500px 0;width:90px;height:90px}.f_weapon_6,.f_weapon_5,.f_weapon_4,.f_weapon_3,.f_weapon_2,.f_weapon_1,.f_weapon_0,.f_shield_5,.f_shield_4,.f_shield_3,.f_shield_2,.f_shield_1,.f_head_5_v2,.f_head_5_v1,.f_head_4_v2,.f_head_4_v1,.f_head_3_v2,.f_head_3_v1,.f_head_2_v2,.f_head_2_v1,.f_head_1,.f_head_0,.f_hair_white,.f_hair_brown,.f_hair_black,.f_hair_blond,.f_armor_5,.f_armor_4,.f_armor_3,.f_armor_2,.f_armor_1,.f_armor_0_v2,.f_armor_0_v1,.f_skin_dead,.f_skin_orc,.f_skin_asian,.f_skin_black,.f_skin_white,.f_skin_ea8349,.f_skin_c06534,.f_skin_98461a,.f_skin_eb052b,.f_skin_eb052b,.f_skin_f69922,.f_skin_f5d70f,.f_skin_0ff591,.f_skin_2b43f6,.f_skin_d7a9f7,.f_skin_800ed0,.f_skin_rainbow,.f_skin_monster,.f_skin_pumpkin,.f_skin_skeleton,.f_skin_zombie,.f_skin_ghost,.f_skin_shadow,.f_hair_red{background:url(../img/sprites/female_sprites.png) no-repeat}.f_weapon_6{background-position:0 0;width:90px;height:90px}.f_weapon_5{background-position:-90px 0;width:90px;height:90px}.f_weapon_4{background-position:-180px 0;width:90px;height:90px}.f_weapon_3{background-position:-270px 0;width:90px;height:90px}.f_weapon_2{background-position:-360px 0;width:90px;height:90px}.f_weapon_1{background-position:-450px 0;width:90px;height:90px}.f_weapon_0{background-position:-540px 0;width:90px;height:90px}.f_shield_5{background-position:-630px 0;width:90px;height:90px}.f_shield_4{background-position:-720px 0;width:90px;height:90px}.f_shield_3{background-position:-810px 0;width:90px;height:90px}.f_shield_2{background-position:-900px 0;width:90px;height:90px}.f_shield_1{background-position:-990px 0;width:90px;height:90px}.f_head_5_v2{background-position:-1080px 0;width:90px;height:90px}.f_head_5_v1{background-position:-1170px 0;width:90px;height:90px}.f_head_4_v2{background-position:-1260px 0;width:90px;height:90px}.f_head_4_v1{background-position:-1350px 0;width:90px;height:90px}.f_head_3_v2{background-position:-1440px 0;width:90px;height:90px}.f_head_3_v1{background-position:-1530px 0;width:90px;height:90px}.f_head_2_v2{background-position:-1620px 0;width:90px;height:90px}.f_head_2_v1{background-position:-1710px 0;width:90px;height:90px}.f_head_1{background-position:-1800px 0;width:90px;height:90px}.f_head_0{background-position:-1890px 0;width:90px;height:90px}.f_hair_white{background-position:-1980px 0;width:90px;height:90px}.f_hair_brown{background-position:-2070px 0;width:90px;height:90px}.f_hair_black{background-position:-2160px 0;width:90px;height:90px}.f_hair_blond{background-position:-2250px 0;width:90px;height:90px}.f_armor_5{background-position:-2340px 0;width:90px;height:90px}.f_armor_4{background-position:-2430px 0;width:90px;height:90px}.f_armor_3{background-position:-2520px 0;width:90px;height:90px}.f_armor_2{background-position:-2610px 0;width:90px;height:90px}.f_armor_1{background-position:-2700px 0;width:90px;height:90px}.f_armor_0_v2{background-position:-2790px 0;width:90px;height:90px}.f_armor_0_v1{background-position:-2880px 0;width:90px;height:90px}.f_skin_dead{background-position:-2970px 0;width:90px;height:90px}.f_skin_orc{background-position:-3060px 0;width:90px;height:90px}.f_skin_asian{background-position:-3150px 0;width:90px;height:90px}.f_skin_black{background-position:-3240px 0;width:90px;height:90px}.f_skin_white{background-position:-3330px 0;width:90px;height:90px}.f_skin_ea8349{background-position:-3420px 0;width:90px;height:90px}.f_skin_c06534{background-position:-3510px 0;width:90px;height:90px}.f_skin_98461a{background-position:-3600px 0;width:90px;height:90px}.f_skin_eb052b{background-position:-3690px 0;width:90px;height:90px}.f_skin_f69922{background-position:-3780px 0;width:90px;height:90px}.f_skin_f5d70f{background-position:-3870px 0;width:90px;height:90px}.f_skin_0ff591{background-position:-3960px 0;width:90px;height:90px}.f_skin_2b43f6{background-position:-4050px 0;width:90px;height:90px}.f_skin_d7a9f7{background-position:-4140px 0;width:90px;height:90px}.f_skin_800ed0{background-position:-4230px 0;width:90px;height:90px}.f_skin_rainbow{background-position:-4320px 0;width:90px;height:90px}.f_skin_monster{background-position:-4410px 0;width:90px;height:90px}.f_skin_pumpkin{background-position:-4500px 0;width:90px;height:90px}.f_skin_skeleton{background-position:-4590px 0;width:90px;height:90px}.f_skin_zombie{background-position:-4680px 0;width:90px;height:90px}.f_skin_ghost{background-position:-4770px 0;width:90px;height:90px}.f_skin_shadow{background-position:-4860px 0;width:90px;height:90px}.f_hair_red{background-position:-4950px 0;width:90px;height:90px}[class^=shop_],[class^=zzz]{background:url(../img/sprites/shop_sprites.png) no-repeat}[class^=shop_weapon_],[class^=shop_shield_],[class^=shop_head_],[class^=shop_armor_],[class^=zzz]{width:40px;height:40px}.shop_weapon_6,.shop_weapon_5,.shop_weapon_4,.shop_weapon_3,.shop_weapon_2,.shop_weapon_1,.shop_shield_5,.shop_shield_4,.shop_shield_3,.shop_shield_2,.shop_shield_1,.shop_head_5,.shop_head_4,.shop_head_3,.shop_head_2,.shop_head_1,.shop_armor_5,.shop_armor_4,.shop_armor_3,.shop_armor_2,.shop_armor_1,.shop_reroll,.shop_potion,.shop_copper,.shop_silver,.shop_gold,.zzz,.zzz_light{background:url(../img/sprites/shop_sprites.png) no-repeat}.shop_weapon_6,.shop_weapon_5,.shop_weapon_4,.shop_weapon_3,.shop_weapon_2,.shop_weapon_1,.shop_shield_5,.shop_shield_4,.shop_shield_3,.shop_shield_2,.shop_shield_1,.shop_head_5,.shop_head_4,.shop_head_3,.shop_head_2,.shop_head_1,.shop_armor_5,.shop_armor_4,.shop_armor_3,.shop_armor_2,.shop_armor_1,.zzz,.zzz_light{width:40px;height:40px}.shop_weapon_6{background-position:0 0}.shop_weapon_5{background-position:-40px 0}.shop_weapon_4{background-position:-80px 0}.shop_weapon_3{background-position:-120px 0}.shop_weapon_2{background-position:-160px 0}.shop_weapon_1{background-position:-200px 0}.shop_shield_5{background-position:-240px 0}.shop_shield_4{background-position:-280px 0}.shop_shield_3{background-position:-320px 0}.shop_shield_2{background-position:-360px 0}.shop_shield_1{background-position:-400px 0}.shop_head_5{background-position:-440px 0}.shop_head_4{background-position:-480px 0}.shop_head_3{background-position:-520px 0}.shop_head_2{background-position:-560px 0}.shop_head_1{background-position:-600px 0}.shop_armor_5{background-position:-640px 0}.shop_armor_4{background-position:-680px 0}.shop_armor_3{background-position:-720px 0}.shop_armor_2{background-position:-760px 0}.shop_armor_1{background-position:-800px 0}.shop_reroll{background-position:-840px 0;width:40px;height:40px}.shop_potion{background-position:-880px 0;width:40px;height:40px}.shop_copper{background-position:-923px -8px;width:32px;height:22px}.shop_silver{background-position:-963px -8px;width:32px;height:22px}.shop_gold{background-position:-1003px -8px;width:32px;height:22px}.zzz{background-position:-1200px 0}.zzz_light{background-position:-1280px 0}.Pet-Wolf-Zombie,.Pet-Wolf-White,.Pet-Wolf-Veteran,.Pet-Wolf-Skeleton,.Pet-Wolf-Shade,.Pet-Wolf-Red,.Pet-Wolf-Golden,.Pet-Wolf-Desert,.Pet-Wolf-CottonCandyPink,.Pet-Wolf-CottonCandyBlue,.Pet-TigerCub-Zombie,.Pet-TigerCub-White,.Pet-TigerCub-Skeleton,.Pet-TigerCub-Shade,.Pet-TigerCub-Red,.Pet-TigerCub-Golden,.Pet-TigerCub-Desert,.Pet-TigerCub-CottonCandyPink,.Pet-TigerCub-CottonCandyBlue,.Pet-TigerCub-Base,.Pet-PolarBearCub-Base,.Pet-PandaCub-Zombie,.Pet-PandaCub-White,.Pet-PandaCub-Skeleton,.Pet-PandaCub-Shade,.Pet-PandaCub-Red,.Pet-PandaCub-Golden,.Pet-PandaCub-Desert,.Pet-PandaCub-CottonCandyPink,.Pet-PandaCub-CottonCandyBlue,.Pet-PandaCub-Base,.Pet-LionCub-Zombie,.Pet-LionCub-White,.Pet-LionCub-Skeleton,.Pet-LionCub-Shade,.Pet-LionCub-Red,.Pet-LionCub-Golden,.Pet-LionCub-Desert,.Pet-LionCub-CottonCandyPink,.Pet-LionCub-CottonCandyBlue,.Pet-LionCub-Base,.Pet-Fox-Zombie,.Pet-Fox-White,.Pet-Fox-Skeleton,.Pet-Fox-Shade,.Pet-Fox-Red,.Pet-Fox-Golden,.Pet-Fox-Desert,.Pet-Fox-CottonCandyPink,.Pet-Fox-CottonCandyBlue,.Pet-Fox-Base,.Pet-FlyingPig-Zombie,.Pet-FlyingPig-White,.Pet-FlyingPig-Skeleton,.Pet-FlyingPig-Shade,.Pet-FlyingPig-Red,.Pet-FlyingPig-Golden,.Pet-FlyingPig-Desert,.Pet-FlyingPig-CottonCandyPink,.Pet-FlyingPig-CottonCandyBlue,.Pet-FlyingPig-Base,.Pet-Dragon-Zombie,.Pet-Dragon-White,.Pet-Dragon-Skeleton,.Pet-Dragon-Shade,.Pet-Dragon-Red,.Pet-Dragon-Golden,.Pet-Dragon-Desert,.Pet-Dragon-CottonCandyPink,.Pet-Dragon-CottonCandyBlue,.Pet-Dragon-Base,.Pet-Cactus-Skeleton,.Pet-Cactus-Red,.Pet-Cactus-Zombie,.Pet-Cactus-Shade,.Pet-Cactus-Golden,.Pet-Cactus-White,.Pet-Cactus-CottonCandyPink,.Pet-Cactus-CottonCandyBlue,.Pet-Cactus-Desert,.Pet-Cactus-Base,.Pet-BearCub-Zombie,.Pet-BearCub-White,.Pet-BearCub-Skeleton,.Pet-BearCub-Shade,.Pet-BearCub-Red,.Pet-BearCub-Golden,.Pet-BearCub-Desert,.Pet-BearCub-CottonCandyPink,.Pet-BearCub-CottonCandyBlue,.Pet-BearCub-Base,.Pet-Wolf-Base{background:url(../img/sprites/pet_sprites.png) no-repeat}.Pet-Wolf-Zombie{background-position:0 0;width:81px;height:99px}.Pet-Wolf-White{background-position:-81px 0;width:81px;height:99px}.Pet-Wolf-Veteran{background-position:-162px 0;width:81px;height:99px}.Pet-Wolf-Skeleton{background-position:-243px 0;width:81px;height:99px}.Pet-Wolf-Shade{background-position:-324px 0;width:81px;height:99px}.Pet-Wolf-Red{background-position:-405px 0;width:81px;height:99px}.Pet-Wolf-Golden{background-position:-486px 0;width:81px;height:99px}.Pet-Wolf-Desert{background-position:-567px 0;width:81px;height:99px}.Pet-Wolf-CottonCandyPink{background-position:-648px 0;width:81px;height:99px}.Pet-Wolf-CottonCandyBlue{background-position:-729px 0;width:81px;height:99px}.Pet-TigerCub-Zombie{background-position:-810px 0;width:81px;height:99px}.Pet-TigerCub-White{background-position:-891px 0;width:81px;height:99px}.Pet-TigerCub-Skeleton{background-position:-972px 0;width:81px;height:99px}.Pet-TigerCub-Shade{background-position:-1053px 0;width:81px;height:99px}.Pet-TigerCub-Red{background-position:-1134px 0;width:81px;height:99px}.Pet-TigerCub-Golden{background-position:-1215px 0;width:81px;height:99px}.Pet-TigerCub-Desert{background-position:-1296px 0;width:81px;height:99px}.Pet-TigerCub-CottonCandyPink{background-position:-1377px 0;width:81px;height:99px}.Pet-TigerCub-CottonCandyBlue{background-position:-1458px 0;width:81px;height:99px}.Pet-TigerCub-Base{background-position:-1539px 0;width:81px;height:99px}.Pet-PolarBearCub-Base{background-position:-1620px 0;width:81px;height:99px}.Pet-PandaCub-Zombie{background-position:-1701px 0;width:81px;height:99px}.Pet-PandaCub-White{background-position:-1782px 0;width:81px;height:99px}.Pet-PandaCub-Skeleton{background-position:-1863px 0;width:81px;height:99px}.Pet-PandaCub-Shade{background-position:-1944px 0;width:81px;height:99px}.Pet-PandaCub-Red{background-position:-2025px 0;width:81px;height:99px}.Pet-PandaCub-Golden{background-position:-2106px 0;width:81px;height:99px}.Pet-PandaCub-Desert{background-position:-2187px 0;width:81px;height:99px}.Pet-PandaCub-CottonCandyPink{background-position:-2268px 0;width:81px;height:99px}.Pet-PandaCub-CottonCandyBlue{background-position:-2349px 0;width:81px;height:99px}.Pet-PandaCub-Base{background-position:-2430px 0;width:81px;height:99px}.Pet-LionCub-Zombie{background-position:-2511px 0;width:81px;height:99px}.Pet-LionCub-White{background-position:-2592px 0;width:81px;height:99px}.Pet-LionCub-Skeleton{background-position:-2673px 0;width:81px;height:99px}.Pet-LionCub-Shade{background-position:-2754px 0;width:81px;height:99px}.Pet-LionCub-Red{background-position:-2835px 0;width:81px;height:99px}.Pet-LionCub-Golden{background-position:-2916px 0;width:81px;height:99px}.Pet-LionCub-Desert{background-position:-2997px 0;width:81px;height:99px}.Pet-LionCub-CottonCandyPink{background-position:-3078px 0;width:81px;height:99px}.Pet-LionCub-CottonCandyBlue{background-position:-3159px 0;width:81px;height:99px}.Pet-LionCub-Base{background-position:-3240px 0;width:81px;height:99px}.Pet-Fox-Zombie{background-position:-3321px 0;width:81px;height:99px}.Pet-Fox-White{background-position:-3402px 0;width:81px;height:99px}.Pet-Fox-Skeleton{background-position:-3483px 0;width:81px;height:99px}.Pet-Fox-Shade{background-position:-3564px 0;width:81px;height:99px}.Pet-Fox-Red{background-position:-3645px 0;width:81px;height:99px}.Pet-Fox-Golden{background-position:-3726px 0;width:81px;height:99px}.Pet-Fox-Desert{background-position:-3807px 0;width:81px;height:99px}.Pet-Fox-CottonCandyPink{background-position:-3888px 0;width:81px;height:99px}.Pet-Fox-CottonCandyBlue{background-position:-3969px 0;width:81px;height:99px}.Pet-Fox-Base{background-position:-4050px 0;width:81px;height:99px}.Pet-FlyingPig-Zombie{background-position:-4131px 0;width:81px;height:99px}.Pet-FlyingPig-White{background-position:-4212px 0;width:81px;height:99px}.Pet-FlyingPig-Skeleton{background-position:-4293px 0;width:81px;height:99px}.Pet-FlyingPig-Shade{background-position:-4374px 0;width:81px;height:99px}.Pet-FlyingPig-Red{background-position:-4455px 0;width:81px;height:99px}.Pet-FlyingPig-Golden{background-position:-4536px 0;width:81px;height:99px}.Pet-FlyingPig-Desert{background-position:-4617px 0;width:81px;height:99px}.Pet-FlyingPig-CottonCandyPink{background-position:-4698px 0;width:81px;height:99px}.Pet-FlyingPig-CottonCandyBlue{background-position:-4779px 0;width:81px;height:99px}.Pet-FlyingPig-Base{background-position:-4860px 0;width:81px;height:99px}.Pet-Dragon-Zombie{background-position:-4941px 0;width:81px;height:99px}.Pet-Dragon-White{background-position:-5022px 0;width:81px;height:99px}.Pet-Dragon-Skeleton{background-position:-5103px 0;width:81px;height:99px}.Pet-Dragon-Shade{background-position:-5184px 0;width:81px;height:99px}.Pet-Dragon-Red{background-position:-5265px 0;width:81px;height:99px}.Pet-Dragon-Golden{background-position:-5346px 0;width:81px;height:99px}.Pet-Dragon-Desert{background-position:-5427px 0;width:81px;height:99px}.Pet-Dragon-CottonCandyPink{background-position:-5508px 0;width:81px;height:99px}.Pet-Dragon-CottonCandyBlue{background-position:-5589px 0;width:81px;height:99px}.Pet-Dragon-Base{background-position:-5670px 0;width:81px;height:99px}.Pet-Cactus-Zombie{background-position:-5913px 0;width:81px;height:99px}.Pet-Cactus-White{background-position:-6156px 0;width:81px;height:99px}.Pet-Cactus-Skeleton{background-position:-5751px 0;width:81px;height:99px}.Pet-Cactus-Red{background-position:-5832px 0;width:81px;height:99px}.Pet-Cactus-Shade{background-position:-5994px 0;width:81px;height:99px}.Pet-Cactus-Golden{background-position:-6075px 0;width:81px;height:99px}.Pet-Cactus-Desert{background-position:-6399px 0;width:81px;height:99px}.Pet-Cactus-CottonCandyPink{background-position:-6237px 0;width:81px;height:99px}.Pet-Cactus-CottonCandyBlue{background-position:-6318px 0;width:81px;height:99px}.Pet-Cactus-Base{background-position:-6480px 0;width:81px;height:99px}.Pet-BearCub-Zombie{background-position:-6561px 0;width:81px;height:99px}.Pet-BearCub-White{background-position:-6642px 0;width:81px;height:99px}.Pet-BearCub-Skeleton{background-position:-6723px 0;width:81px;height:99px}.Pet-BearCub-Shade{background-position:-6804px 0;width:81px;height:99px}.Pet-BearCub-Red{background-position:-6885px 0;width:81px;height:99px}.Pet-BearCub-Golden{background-position:-6966px 0;width:81px;height:99px}.Pet-BearCub-Desert{background-position:-7047px 0;width:81px;height:99px}.Pet-BearCub-CottonCandyPink{background-position:-7128px 0;width:81px;height:99px}.Pet-BearCub-CottonCandyBlue{background-position:-7209px 0;width:81px;height:99px}.Pet-BearCub-Base{background-position:-7290px 0;width:81px;height:99px}.Pet-Wolf-Base{background-position:-7371px 0;width:81px;height:99px}.Pet-Egg{background:url(../img/sprites/egg.png) no-repeat;width:39px;height:42px}.Gems{background:url(../img/sprites/Egg_Sprite_Sheet.png);background-position:-57px 50px;display:inline-block;margin-right:5px;border-style:none;width:30px;height:30px}.achievements-container{margin:20px}.achievement{background:url(../img/sprites/achievements.png) no-repeat;width:24px;height:26px;float:left;clear:right;margin-right:10px}.achievement-sword{background-position:0 0}.achievement-tree{background-position:-24px 0}.achievement-rat{background-position:-48px 0}.achievement-comment{background-position:-72px 0}.achievement-armor{background-position:-96px 0}.achievement-cave{background-position:-120px 0}.achievement-sun{background-position:-144px 0}.achievement-boot{background-position:-168px 0}.achievement-coffin{background-position:-192px 0}.achievement-alien{background-position:-216px 0}.achievement-ninja{background-position:-240px 0}.achievement-cactus{background-position:-264px 0}.achievement-bow{background-position:-288px 0}.achievement-heart{background-position:-312px 0}.achievement-shield{background-position:-336px 0}.achievement-thermometer{background-position:-360px 0}.achievement-helm{background-position:-384px 0}.achievement-firefox{background-position:0 -26px}.achievement-cake{background-position:-24px -26px}.achievement-karaoke{background-position:-48px -26px}.weapon_7,.armor_6,.head_6,.shield_6{width:105px;height:105px;margin-left:-3px;margin-top:-18px}.weapon_8,.armor_7,.head_7,.shield_7{width:105px;height:105px;margin-left:-9px;margin-top:-15px}.head_6{background:url(../img/sprites/backer-only/BackerOnly-Equip-ShadeHelmet.gif) no-repeat}.head_7{background:url(../img/sprites/backer-only/ContributorOnly-Equip-CrystalHelmet.gif) no-repeat}.armor_6{background:url(../img/sprites/backer-only/BackerOnly-Equip-ShadeArmor.gif) no-repeat}.armor_7{background:url(../img/sprites/backer-only/ContributorOnly-Equip-CrystalArmor.gif) no-repeat}.shield_6{background:url(../img/sprites/backer-only/BackerOnly-Shield-TormentedSkull.gif) no-repeat}.shield_7{background:url(../img/sprites/backer-only/ContributorOnly-Shield-Crystal.png) no-repeat}.weapon_7{background:url(../img/sprites/backer-only/BackerOnly-Weapon-DarkSoulsBlade.gif) no-repeat}.weapon_8{background:url(../img/sprites/backer-only/ContributorOnly-Weapon-CrystalBlade.png) no-repeat}.Pet-Wolf-Cerberus{width:105px;height:72px;background:url(../img/sprites/backer-only/BackerOnly-Pet-CerberusPup.gif) no-repeat}.Pet-Dragon-Hydra{width:106px;height:89px;background:url(../img/sprites/backer-only/ContributorOnly-Pet-Hydra.png) no-repeat}.shop_shield_6{background-position:-1040px 0}.shop_weapon_7{background-position:-1080px 0}.shop_head_6{background-position:-1120px 0}.shop_armor_6{background-position:-1160px 0}.shop_shield_7{background-position:-1318px 0;width:35px}.shop_weapon_8{background-position:-1352px 0;width:45px}.shop_head_7{background-position:-1398px 0}.shop_armor_7{background-position:-1438px 0}.customize-menu .f_head_0{width:60px;height:60px;background-position:-1917px -9px}.customize-menu .f_armor_0_v2{width:60px;height:60px;background-position:-2819px -38px}.customize-menu .f_armor_0_v1{width:60px;height:60px;background-position:-2909px -38px}.customize-menu .f_hair_white{width:60px;height:60px;background-position:-2009px -8px}.customize-menu .f_hair_brown{width:60px;height:60px;background-position:-2099px -8px}.customize-menu .f_hair_black{width:60px;height:60px;background-position:-2189px -8px}.customize-menu .f_hair_blond{width:60px;height:60px;background-position:-2279px -8px}.customize-menu .f_hair_red{width:60px;height:60px;background-position:-4979px -8px}.customize-menu .f_skin_dead{width:60px;height:60px;background-position:-2997px -20px}.customize-menu .f_skin_orc{width:60px;height:60px;background-position:-3087px -20px}.customize-menu .f_skin_asian{width:60px;height:60px;background-position:-3177px -20px}.customize-menu .f_skin_black{width:60px;height:60px;background-position:-3267px -20px}.customize-menu .f_skin_white{width:60px;height:60px;background-position:-3357px -20px}.customize-menu .f_skin_ea8349{width:60px;height:60px;background-position:-3448px -21px}.customize-menu .f_skin_c06534{width:60px;height:60px;background-position:-3539px -21px}.customize-menu .f_skin_98461a{width:60px;height:60px;background-position:-3629px -21px}.customize-menu .f_skin_eb052b{width:60px;height:60px;background-position:-3719px -20px}.customize-menu .f_skin_f69922{width:60px;height:60px;background-position:-3809px -20px}.customize-menu .f_skin_f5d70f{width:60px;height:60px;background-position:-3899px -20px}.customize-menu .f_skin_0ff591{width:60px;height:60px;background-position:-3989px -20px}.customize-menu .f_skin_2b43f6{width:60px;height:60px;background-position:-4079px -20px}.customize-menu .f_skin_d7a9f7{width:60px;height:60px;background-position:-4169px -21px}.customize-menu .f_skin_800ed0{width:60px;height:60px;background-position:-4259px -21px}.customize-menu .f_skin_rainbow{width:60px;height:60px;background-position:-4349px -21px}.customize-menu .f_skin_monster{width:60px;height:60px;background-position:-4439px -20px}.customize-menu .f_skin_pumpkin{width:60px;height:60px;background-position:-4529px -20px}.customize-menu .f_skin_skeleton{width:60px;height:60px;background-position:-4619px -20px}.customize-menu .f_skin_zombie{width:60px;height:60px;background-position:-4709px -20px}.customize-menu .f_skin_ghost{width:60px;height:60px;background-position:-4799px -20px}.customize-menu .f_skin_shadow{width:60px;height:60px;background-position:-4889px -21px}.customize-menu .m_head_0{width:60px;height:60px;background-position:-1557px -9px}.customize-menu .m_hair_blond{width:60px;height:60px;background-position:-1649px -6px}.customize-menu .m_hair_black{width:60px;height:60px;background-position:-1737px -6px}.customize-menu .m_hair_brown{width:60px;height:60px;background-position:-1827px -6px}.customize-menu .m_hair_white{width:60px;height:60px;background-position:-1917px -6px}.customize-menu .m_hair_red{width:60px;height:60px;background-position:-4528px -6px}.customize-menu .m_skin_dead{width:60px;height:60px;background-position:-2547px -20px}.customize-menu .m_skin_orc{width:60px;height:60px;background-position:-2637px -20px}.customize-menu .m_skin_asian{width:60px;height:60px;background-position:-2727px -20px}.customize-menu .m_skin_black{width:60px;height:60px;background-position:-2817px -20px}.customize-menu .m_skin_white{width:60px;height:60px;background-position:-2907px -20px}.customize-menu .m_skin_ea8349{width:60px;height:60px;background-position:-2999px -20px}.customize-menu .m_skin_c06534{width:60px;height:60px;background-position:-3087px -20px}.customize-menu .m_skin_98461a{width:60px;height:60px;background-position:-3178px -20px}.customize-menu .m_skin_eb052b{width:60px;height:60px;background-position:-3268px -20px}.customize-menu .m_skin_f69922{width:60px;height:60px;background-position:-3358px -20px}.customize-menu .m_skin_f5d70f{width:60px;height:60px;background-position:-3448px -20px}.customize-menu .m_skin_0ff591{width:60px;height:60px;background-position:-3538px -20px}.customize-menu .m_skin_2b43f6{width:60px;height:60px;background-position:-3628px -20px}.customize-menu .m_skin_d7a9f7{width:60px;height:60px;background-position:-3718px -20px}.customize-menu .m_skin_800ed0{width:60px;height:60px;background-position:-3808px -20px}.customize-menu .m_skin_rainbow{width:60px;height:60px;background-position:-3898px -20px}.customize-menu .m_skin_monster{width:60px;height:60px;background-position:-3988px -20px}.customize-menu .m_skin_pumpkin{width:60px;height:60px;background-position:-4078px -20px}.customize-menu .m_skin_skeleton{width:60px;height:60px;background-position:-4168px -20px}.customize-menu .m_skin_zombie{width:60px;height:60px;background-position:-4258px -20px}.customize-menu .m_skin_ghost{width:60px;height:60px;background-position:-4348px -20px}.customize-menu .m_skin_shadow{width:60px;height:60px;background-position:-4438px -20px}.customize-menu .locked{background-color:#727272} \ No newline at end of file From 69d9ebe5d34bb5d44fdec7411493ee2979c77a97 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Sun, 10 Nov 2013 19:38:06 -0800 Subject: [PATCH 5/9] mounts: some item-def DRYing, provide defaults rather than requiring defined --- dist/habitrpg-shared.js | 135 +++++++++++++++------------------------- script/algos.coffee | 3 +- script/items.coffee | 81 +++++++++++++----------- 3 files changed, 95 insertions(+), 124 deletions(-) diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index 669aaac059..4de1b1f99e 100644 --- a/dist/habitrpg-shared.js +++ b/dist/habitrpg-shared.js @@ -8328,7 +8328,7 @@ if(typeof module != 'undefined' && module.exports){ if (((_ref1 = user.flags) != null ? _ref1.dropsEnabled : void 0) && Math.random() < (.05 * chanceMultiplier)) { rarity = Math.random(); if (rarity > .6) { - drop = helpers.randomVal(items.items.food); + drop = helpers.randomVal(_.omit(items.items.food, 'Saddle')); if ((_base1 = user.items.food)[_name = drop.name] == null) { _base1[_name] = 0; } @@ -9708,178 +9708,130 @@ try { }, eggs: { Wolf: { - text: 'Wolf', - name: 'Wolf', - value: 3 + text: 'Wolf' }, TigerCub: { - text: 'Tiger Cub', - name: 'TigerCub', - value: 3 + text: 'Tiger Cub' }, PandaCub: { - text: 'Panda Cub', - name: 'PandaCub', - value: 3 + text: 'Panda Cub' }, LionCub: { - text: 'Lion Cub', - name: 'LionCub', - value: 3 + text: 'Lion Cub' }, Fox: { - text: 'Fox', - name: 'Fox', - value: 3 + text: 'Fox' }, FlyingPig: { - text: 'Flying Pig', - name: 'FlyingPig', - value: 3 + text: 'Flying Pig' }, Dragon: { - text: 'Dragon', - name: 'Dragon', - value: 3 + text: 'Dragon' }, Cactus: { - text: 'Cactus', - name: 'Cactus', - value: 3 + text: 'Cactus' }, BearCub: { - text: 'Bear Cub', - name: 'BearCub', - value: 3 + text: 'Bear Cub' } }, hatchingPotions: { Base: { + value: 1, text: 'Base', - name: 'Base', - notes: "Hatches your pet in it's base form.", - value: 1 + notes: "Hatches your pet in it's base form." }, White: { + value: 2, text: 'White', - name: 'White', - notes: 'Turns your animal into a White pet.', - value: 2 + notes: 'Turns your animal into a White pet.' }, Desert: { + value: 2, text: 'Desert', - name: 'Desert', - notes: 'Turns your animal into a Desert pet.', - value: 2 + notes: 'Turns your animal into a Desert pet.' }, Red: { + value: 3, text: 'Red', - name: 'Red', - notes: 'Turns your animal into a Red pet.', - value: 3 + notes: 'Turns your animal into a Red pet.' }, Shade: { + value: 3, text: 'Shade', - name: 'Shade', - notes: 'Turns your animal into a Shade pet.', - value: 3 + notes: 'Turns your animal into a Shade pet.' }, Skeleton: { + value: 3, text: 'Skeleton', - name: 'Skeleton', - notes: 'Turns your animal into a Skeleton.', - value: 3 + notes: 'Turns your animal into a Skeleton.' }, Zombie: { + value: 4, text: 'Zombie', - name: 'Zombie', - notes: 'Turns your animal into a Zombie.', - value: 4 + notes: 'Turns your animal into a Zombie.' }, CottonCandyPink: { + value: 4, text: 'Cotton Candy Pink', - name: 'CottonCandyPink', - notes: 'Turns your animal into a Cotton Candy Pink pet.', - value: 4 + notes: 'Turns your animal into a Cotton Candy Pink pet.' }, CottonCandyBlue: { + value: 4, text: 'Cotton Candy Blue', - name: 'CottonCandyBlue', - notes: 'Turns your animal into a Cotton Candy Blue pet.', - value: 4 + notes: 'Turns your animal into a Cotton Candy Blue pet.' }, Golden: { + value: 5, text: 'Golden', - name: 'Golden', - notes: 'Turns your animal into a Golden pet.', - value: 5 + notes: 'Turns your animal into a Golden pet.' } }, food: { Meat: { text: 'Meat', - name: 'Meat', - value: 1, target: 'Base' }, Milk: { text: 'Milk', - name: 'Milk', - value: 1, target: 'White' }, Potatoe: { text: 'Potatoe', - name: 'Potatoe', - value: 1, target: 'Desert' }, Strawberry: { text: 'Strawberry', - name: 'Strawberry', - value: 1, target: 'Red' }, Chocolate: { text: 'Chocolate', - name: 'Chocolate', - value: 1, target: 'Shade' }, Fish: { text: 'Fish', - name: 'Fish', - value: 1, target: 'Skeleton' }, RottenMeat: { text: 'Rotten Meat', - name: 'RottenMeat', - value: 1, target: 'Zombie' }, CottonCandyPink: { text: 'Pink Cotton Candy', - name: 'CottonCandyPink', - value: 1, target: 'CottonCandyPink' }, CottonCandyBlue: { text: 'Blue Cotton Candy', - name: 'CottonCandyBlue', - value: 1, target: 'CottonCandyBlue' }, Honey: { text: 'Honey', - name: 'Honey', - value: 1, target: 'Golden' }, Saddle: { text: 'Saddle', - name: 'Saddle', - value: 10 + value: 5, + notes: 'Instantly raises your pet into a mount.' } } }; @@ -9898,16 +9850,27 @@ try { }); }); - _.each(items.eggs, function(pet) { - return pet.notes = 'Find a hatching potion to pour on this egg, and it will hatch into a loyal pet.'; + _.each(items.eggs, function(egg, k) { + return _.defaults(egg, { + value: 3, + name: k, + notes: 'Find a hatching potion to pour on this egg, and it will hatch into a loyal pet.' + }); }); - _.each(items.hatchingPotions, function(hatchingPotion) { - return hatchingPotion.notes = "Pour this on an egg, and it will hatch as a " + hatchingPotion.text + " pet."; + _.each(items.hatchingPotions, function(pot, k) { + return _.defaults(pot, { + name: k, + notes: "Pour this on an egg, and it will hatch as a " + pot.text + " pet." + }); }); - _.each(items.food, function(food) { - return food.notes = "Feed this to a pet and it may grown into a sturdy steed."; + _.each(items.food, function(food, k) { + return _.defaults(food, { + value: 1, + name: k, + notes: "Feed this to a pet and it may grown into a sturdy steed." + }); }); module.exports.buyItem = function(user, type) { diff --git a/script/algos.coffee b/script/algos.coffee index a66382ee09..8e4441af3b 100644 --- a/script/algos.coffee +++ b/script/algos.coffee @@ -134,7 +134,8 @@ randomDrop = (user, delta, priority, streak = 0, options={}) -> # Food: 40% chance if rarity > .6 - drop = helpers.randomVal(items.items.food) + + drop = helpers.randomVal _.omit(items.items.food, 'Saddle') user.items.food[drop.name] ?= 0 user.items.food[drop.name]+= 1 drop.type = 'Food' diff --git a/script/items.coffee b/script/items.coffee index 68ff955f1e..fc089ad673 100644 --- a/script/items.coffee +++ b/script/items.coffee @@ -46,44 +46,46 @@ items = module.exports.items = reroll: {type: 'reroll', text: "Re-Roll", classes: 'reroll', notes: "Resets your task values back to 0 (yellow). Useful when everything's red and it's hard to stay alive.", value:0 } eggs: - Wolf: {text: 'Wolf', name: 'Wolf', value: 3} - TigerCub: {text: 'Tiger Cub', name: 'TigerCub', value: 3} - #{text: 'Polar Bear Cub', name: 'PolarBearCub', value: 3} #commented out because there are no polarbear modifiers yet, special drop? - PandaCub: {text: 'Panda Cub', name: 'PandaCub', value: 3} - LionCub: {text: 'Lion Cub', name: 'LionCub', value: 3} - Fox: {text: 'Fox', name: 'Fox', value: 3} - FlyingPig: {text: 'Flying Pig', name: 'FlyingPig', value: 3} - Dragon: {text: 'Dragon', name: 'Dragon', value: 3} - Cactus: {text: 'Cactus', name: 'Cactus', value: 3} - BearCub: {text: 'Bear Cub', name: 'BearCub', value: 3} + Wolf: text: 'Wolf' # values set below + TigerCub: text: 'Tiger Cub' + PandaCub: text: 'Panda Cub' + LionCub: text: 'Lion Cub' + Fox: text: 'Fox' + FlyingPig: text: 'Flying Pig' + Dragon: text: 'Dragon' + Cactus: text: 'Cactus' + BearCub: text: 'Bear Cub' + #{text: 'Polar Bear Cub', name: 'PolarBearCub', value: 3} hatchingPotions: - Base: {text: 'Base', name: 'Base', notes: "Hatches your pet in it's base form.", value: 1} - White: {text: 'White', name: 'White', notes: 'Turns your animal into a White pet.', value: 2} - Desert: {text: 'Desert', name: 'Desert', notes: 'Turns your animal into a Desert pet.', value: 2} - Red: {text: 'Red', name: 'Red', notes: 'Turns your animal into a Red pet.', value: 3} - Shade: {text: 'Shade', name: 'Shade', notes: 'Turns your animal into a Shade pet.', value: 3} - Skeleton: {text: 'Skeleton', name: 'Skeleton', notes: 'Turns your animal into a Skeleton.', value: 3} - Zombie: {text: 'Zombie', name: 'Zombie', notes: 'Turns your animal into a Zombie.', value: 4} - CottonCandyPink: {text: 'Cotton Candy Pink', name: 'CottonCandyPink', notes: 'Turns your animal into a Cotton Candy Pink pet.', value: 4} - CottonCandyBlue: {text: 'Cotton Candy Blue', name: 'CottonCandyBlue', notes: 'Turns your animal into a Cotton Candy Blue pet.', value: 4} - Golden: {text: 'Golden', name: 'Golden', notes: 'Turns your animal into a Golden pet.', value: 5} + Base: value: 1, text: 'Base', notes: "Hatches your pet in it's base form." + White: value: 2, text: 'White', notes: 'Turns your animal into a White pet.' + Desert: value: 2, text: 'Desert', notes: 'Turns your animal into a Desert pet.' + Red: value: 3, text: 'Red', notes: 'Turns your animal into a Red pet.' + Shade: value: 3, text: 'Shade', notes: 'Turns your animal into a Shade pet.' + Skeleton: value: 3, text: 'Skeleton', notes: 'Turns your animal into a Skeleton.' + Zombie: value: 4, text: 'Zombie', notes: 'Turns your animal into a Zombie.' + CottonCandyPink: value: 4, text: 'Cotton Candy Pink', notes: 'Turns your animal into a Cotton Candy Pink pet.' + CottonCandyBlue: value: 4, text: 'Cotton Candy Blue', notes: 'Turns your animal into a Cotton Candy Blue pet.' + Golden: value: 5, text: 'Golden', notes: 'Turns your animal into a Golden pet.' food: - Meat: {text: 'Meat', name: 'Meat', value: 1, target: 'Base'} - Milk: {text: 'Milk', name: 'Milk', value: 1, target: 'White'} - Potatoe: {text: 'Potatoe', name: 'Potatoe', value: 1, target: 'Desert'} - Strawberry: {text: 'Strawberry', name: 'Strawberry', value: 1, target: 'Red'} - Chocolate: {text: 'Chocolate', name: 'Chocolate', value: 1, target: 'Shade'} - Fish: {text: 'Fish', name: 'Fish', value: 1, target: 'Skeleton'} - RottenMeat: {text: 'Rotten Meat', name: 'RottenMeat', value: 1, target: 'Zombie'} - CottonCandyPink: {text: 'Pink Cotton Candy', name: 'CottonCandyPink', value: 1, target: 'CottonCandyPink'} - CottonCandyBlue: {text: 'Blue Cotton Candy', name: 'CottonCandyBlue', value: 1, target: 'CottonCandyBlue'} - Honey: {text: 'Honey', name: 'Honey', value: 1, target: 'Golden'} - #Cheese: {text: 'Cheese', name: 'Cheese', value: 1, target: 'Golden'} - #Watermelon: {text: 'Watermelon', name: 'Watermelon', value: 1, target: 'Golden'} - #SeaWeed: {text: 'SeaWeed', name: 'SeaWeed', value: 1, target: 'Golden'} - Saddle: {text: 'Saddle', name: 'Saddle', value: 10} + Meat: text: 'Meat', target: 'Base' + Milk: text: 'Milk', target: 'White' + Potatoe: text: 'Potatoe', target: 'Desert' + Strawberry: text: 'Strawberry', target: 'Red' + Chocolate: text: 'Chocolate', target: 'Shade' + Fish: text: 'Fish', target: 'Skeleton' + RottenMeat: text: 'Rotten Meat', target: 'Zombie' + CottonCandyPink: text: 'Pink Cotton Candy', target: 'CottonCandyPink' + CottonCandyBlue: text: 'Blue Cotton Candy', target: 'CottonCandyBlue' + Honey: text: 'Honey', target: 'Golden' + # FIXME what to do with these extra items? Should we add "targets" (plural) for food instead of singular, so we don't have awkward extras? + #Cheese: text: 'Cheese', target: 'Golden' + #Watermelon: text: 'Watermelon', target: 'Golden' + #SeaWeed: text: 'SeaWeed', target: 'Golden' + + Saddle: text: 'Saddle', value: 5, notes: 'Instantly raises your pet into a mount.' # we somtimes want item arrays above in reverse order, for backward lookups (you'll see later in the code) reversed = {} @@ -94,9 +96,14 @@ _.each ['weapon', 'armor', 'head', 'shield'], (type) -> # Also add canOwn(), which we use when comparing if user is a backer or contributor - but defaulted to `return true` _.each items[type], (item) -> _.defaults(item, {type, canOwn: ->true}) -_.each items.eggs, (pet) -> pet.notes = 'Find a hatching potion to pour on this egg, and it will hatch into a loyal pet.' -_.each items.hatchingPotions, (hatchingPotion) -> hatchingPotion.notes = "Pour this on an egg, and it will hatch as a #{hatchingPotion.text} pet." -_.each items.food, (food) -> food.notes = "Feed this to a pet and it may grown into a sturdy steed." +_.each items.eggs, (egg,k) -> + _.defaults egg, {value: 3, name: k, notes: 'Find a hatching potion to pour on this egg, and it will hatch into a loyal pet.'} + +_.each items.hatchingPotions, (pot,k) -> + _.defaults pot, {name: k, notes: "Pour this on an egg, and it will hatch as a #{pot.text} pet."} + +_.each items.food, (food,k) -> + _.defaults food, {value: 1, name: k, notes: "Feed this to a pet and it may grown into a sturdy steed."} module.exports.buyItem = (user, type) -> nextItem = From d124968273c5a95868c219e5070950d8cc410f0a Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Wed, 13 Nov 2013 16:45:08 -0800 Subject: [PATCH 6/9] mounts: add egg.mountText so "cub" text doesn't show up for mounts --- dist/habitrpg-shared.js | 15 ++++++++++----- script/items.coffee | 17 +++++++++++------ 2 files changed, 21 insertions(+), 11 deletions(-) diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index 4de1b1f99e..3e19a64bf6 100644 --- a/dist/habitrpg-shared.js +++ b/dist/habitrpg-shared.js @@ -9711,13 +9711,16 @@ try { text: 'Wolf' }, TigerCub: { - text: 'Tiger Cub' + text: 'Tiger Cub', + mountText: 'Tiger' }, PandaCub: { - text: 'Panda Cub' + text: 'Panda Cub', + mountText: 'Panda' }, LionCub: { - text: 'Lion Cub' + text: 'Lion Cub', + mountText: 'Lion' }, Fox: { text: 'Fox' @@ -9732,7 +9735,8 @@ try { text: 'Cactus' }, BearCub: { - text: 'Bear Cub' + text: 'Bear Cub', + mountText: 'Bear' } }, hatchingPotions: { @@ -9854,7 +9858,8 @@ try { return _.defaults(egg, { value: 3, name: k, - notes: 'Find a hatching potion to pour on this egg, and it will hatch into a loyal pet.' + notes: 'Find a hatching potion to pour on this egg, and it will hatch into a loyal pet.', + mountText: egg.text }); }); diff --git a/script/items.coffee b/script/items.coffee index fc089ad673..9df5681256 100644 --- a/script/items.coffee +++ b/script/items.coffee @@ -46,15 +46,16 @@ items = module.exports.items = reroll: {type: 'reroll', text: "Re-Roll", classes: 'reroll', notes: "Resets your task values back to 0 (yellow). Useful when everything's red and it's hard to stay alive.", value:0 } eggs: - Wolf: text: 'Wolf' # values set below - TigerCub: text: 'Tiger Cub' - PandaCub: text: 'Panda Cub' - LionCub: text: 'Lion Cub' + # value & other defaults set below + Wolf: text: 'Wolf' + TigerCub: text: 'Tiger Cub', mountText: 'Tiger' + PandaCub: text: 'Panda Cub', mountText: 'Panda' + LionCub: text: 'Lion Cub', mountText: 'Lion' Fox: text: 'Fox' FlyingPig: text: 'Flying Pig' Dragon: text: 'Dragon' Cactus: text: 'Cactus' - BearCub: text: 'Bear Cub' + BearCub: text: 'Bear Cub', mountText: 'Bear' #{text: 'Polar Bear Cub', name: 'PolarBearCub', value: 3} hatchingPotions: @@ -97,7 +98,11 @@ _.each ['weapon', 'armor', 'head', 'shield'], (type) -> _.each items[type], (item) -> _.defaults(item, {type, canOwn: ->true}) _.each items.eggs, (egg,k) -> - _.defaults egg, {value: 3, name: k, notes: 'Find a hatching potion to pour on this egg, and it will hatch into a loyal pet.'} + _.defaults egg, + value: 3 + name: k + notes: 'Find a hatching potion to pour on this egg, and it will hatch into a loyal pet.' + mountText: egg.text _.each items.hatchingPotions, (pot,k) -> _.defaults pot, {name: k, notes: "Pour this on an egg, and it will hatch as a #{pot.text} pet."} From ba548ed67b532992941a727f83e34774b8a15615 Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Thu, 14 Nov 2013 12:12:49 -0800 Subject: [PATCH 7/9] mounts: more item DRY-ing and cleanup --- dist/habitrpg-shared.js | 89 ++++++++++++++++++----------------------- script/algos.coffee | 70 ++++++++++++++++---------------- script/items.coffee | 22 +++++----- 3 files changed, 84 insertions(+), 97 deletions(-) diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index 3e19a64bf6..c90ca85471 100644 --- a/dist/habitrpg-shared.js +++ b/dist/habitrpg-shared.js @@ -8335,37 +8335,35 @@ if(typeof module != 'undefined' && module.exports){ user.items.food[drop.name] += 1; drop.type = 'Food'; drop.dialog = "You've found a " + drop.text + " Food! " + drop.notes; - } else { - if (rarity > .3) { - drop = helpers.randomVal(eggs); - if ((_base2 = user.items.eggs)[_name1 = drop.name] == null) { - _base2[_name1] = 0; - } - user.items.eggs[drop.name]++; - drop.type = 'Egg'; - drop.dialog = "You've found a " + drop.text + " Egg! " + drop.notes; - } else { - acceptableDrops = []; - if (rarity < .15) { - acceptableDrops = 'Base White Desert Red Shade Skeleton Zombie CottonCandyPink CottonCandyBlue Golden'.split(' '); - } else if (rarity < .2) { - acceptableDrops = 'Base White Desert Red Shade Skeleton Zombie CottonCandyPink CottonCandyBlue'.split(' '); - } else if (rarity < .25) { - acceptableDrops = 'Base White Desert Red Shade Skeleton'.split(' '); - } else { - acceptableDrops = ['Base', 'White', 'Desert']; - } - acceptableDrops = _.pick(hatchingPotions, (function(v, k) { - return __indexOf.call(acceptableDrops, k) >= 0; - })); - drop = helpers.randomVal(acceptableDrops); - if ((_base3 = user.items.hatchingPotions)[_name2 = drop.name] == null) { - _base3[_name2] = 0; - } - user.items.hatchingPotions[drop.name]++; - drop.type = 'HatchingPotion'; - drop.dialog = "You've found a " + drop.text + " Hatching Potion! " + drop.notes; + } else if (rarity > .3) { + drop = helpers.randomVal(eggs); + if ((_base2 = user.items.eggs)[_name1 = drop.name] == null) { + _base2[_name1] = 0; } + user.items.eggs[drop.name]++; + drop.type = 'Egg'; + drop.dialog = "You've found a " + drop.text + " Egg! " + drop.notes; + } else { + acceptableDrops = []; + if (rarity < .15) { + acceptableDrops = 'Base White Desert Red Shade Skeleton Zombie CottonCandyPink CottonCandyBlue Golden'.split(' '); + } else if (rarity < .2) { + acceptableDrops = 'Base White Desert Red Shade Skeleton Zombie CottonCandyPink CottonCandyBlue'.split(' '); + } else if (rarity < .25) { + acceptableDrops = 'Base White Desert Red Shade Skeleton'.split(' '); + } else { + acceptableDrops = ['Base', 'White', 'Desert']; + } + acceptableDrops = _.pick(hatchingPotions, (function(v, k) { + return __indexOf.call(acceptableDrops, k) >= 0; + })); + drop = helpers.randomVal(acceptableDrops); + if ((_base3 = user.items.hatchingPotions)[_name2 = drop.name] == null) { + _base3[_name2] = 0; + } + user.items.hatchingPotions[drop.name]++; + drop.type = 'HatchingPotion'; + drop.dialog = "You've found a " + drop.text + " Hatching Potion! " + drop.notes; } user._tmp.drop = drop; user.items.lastDrop.date = +(new Date); @@ -9742,53 +9740,43 @@ try { hatchingPotions: { Base: { value: 1, - text: 'Base', - notes: "Hatches your pet in it's base form." + text: 'Base' }, White: { value: 2, - text: 'White', - notes: 'Turns your animal into a White pet.' + text: 'White' }, Desert: { value: 2, - text: 'Desert', - notes: 'Turns your animal into a Desert pet.' + text: 'Desert' }, Red: { value: 3, - text: 'Red', - notes: 'Turns your animal into a Red pet.' + text: 'Red' }, Shade: { value: 3, - text: 'Shade', - notes: 'Turns your animal into a Shade pet.' + text: 'Shade' }, Skeleton: { value: 3, - text: 'Skeleton', - notes: 'Turns your animal into a Skeleton.' + text: 'Skeleton' }, Zombie: { value: 4, - text: 'Zombie', - notes: 'Turns your animal into a Zombie.' + text: 'Zombie' }, CottonCandyPink: { value: 4, - text: 'Cotton Candy Pink', - notes: 'Turns your animal into a Cotton Candy Pink pet.' + text: 'Cotton Candy Pink' }, CottonCandyBlue: { value: 4, - text: 'Cotton Candy Blue', - notes: 'Turns your animal into a Cotton Candy Blue pet.' + text: 'Cotton Candy Blue' }, Golden: { value: 5, - text: 'Golden', - notes: 'Turns your animal into a Golden pet.' + text: 'Golden' } }, food: { @@ -9866,6 +9854,7 @@ try { _.each(items.hatchingPotions, function(pot, k) { return _.defaults(pot, { name: k, + value: 2, notes: "Pour this on an egg, and it will hatch as a " + pot.text + " pet." }); }); diff --git a/script/algos.coffee b/script/algos.coffee index 8e4441af3b..3cfa05cb64 100644 --- a/script/algos.coffee +++ b/script/algos.coffee @@ -134,7 +134,6 @@ randomDrop = (user, delta, priority, streak = 0, options={}) -> # Food: 40% chance if rarity > .6 - drop = helpers.randomVal _.omit(items.items.food, 'Saddle') user.items.food[drop.name] ?= 0 user.items.food[drop.name]+= 1 @@ -142,45 +141,44 @@ randomDrop = (user, delta, priority, streak = 0, options={}) -> drop.dialog = "You've found a #{drop.text} Food! #{drop.notes}" # Eggs & hatchingPotions: 60% chance + else if rarity > .3 + drop = helpers.randomVal eggs + user.items.eggs[drop.name] ?= 0 + user.items.eggs[drop.name]++ + drop.type = 'Egg' + drop.dialog = "You've found a #{drop.text} Egg! #{drop.notes}" + + # Hatching Potion, 30% chance - break down by rarity even more. else - if rarity > .3 - drop = helpers.randomVal(eggs) - user.items.eggs[drop.name] ?= 0 - user.items.eggs[drop.name]++ - drop.type = 'Egg' - drop.dialog = "You've found a #{drop.text} Egg! #{drop.notes}" + acceptableDrops = [] - # Hatching Potion, 30% chance - break down by rarity even more. + # Tier 5 (Blue Moon Rare) + if rarity < .15 + acceptableDrops = 'Base White Desert Red Shade Skeleton Zombie CottonCandyPink CottonCandyBlue Golden'.split(' ') + + # Tier 4 (Very Rare) + else if rarity < .2 + acceptableDrops = 'Base White Desert Red Shade Skeleton Zombie CottonCandyPink CottonCandyBlue'.split(' ') + + # Tier 3 (Rare) + else if rarity < .25 + acceptableDrops = 'Base White Desert Red Shade Skeleton'.split(' ') + + # Commented out for testing with increased egg drop, delete if successful + # Tier 2 (Scarce) + # else if rarity < .4 + # acceptableDrops = ['Base', 'White', 'Desert'] + + # Tier 1 (Common) else - acceptableDrops = [] + acceptableDrops = ['Base', 'White', 'Desert'] - # Tier 5 (Blue Moon Rare) - if rarity < .15 - acceptableDrops = 'Base White Desert Red Shade Skeleton Zombie CottonCandyPink CottonCandyBlue Golden'.split(' ') - - # Tier 4 (Very Rare) - else if rarity < .2 - acceptableDrops = 'Base White Desert Red Shade Skeleton Zombie CottonCandyPink CottonCandyBlue'.split(' ') - - # Tier 3 (Rare) - else if rarity < .25 - acceptableDrops = 'Base White Desert Red Shade Skeleton'.split(' ') - - # Commented out for testing with increased egg drop, delete if successful - # Tier 2 (Scarce) - # else if rarity < .4 - # acceptableDrops = ['Base', 'White', 'Desert'] - - # Tier 1 (Common) - else - acceptableDrops = ['Base', 'White', 'Desert'] - - acceptableDrops = _.pick hatchingPotions, ((v,k) -> k in acceptableDrops) - drop = helpers.randomVal acceptableDrops - user.items.hatchingPotions[drop.name] ?= 0 - user.items.hatchingPotions[drop.name]++ - drop.type = 'HatchingPotion' - drop.dialog = "You've found a #{drop.text} Hatching Potion! #{drop.notes}" + acceptableDrops = _.pick hatchingPotions, ((v,k) -> k in acceptableDrops) + drop = helpers.randomVal acceptableDrops + user.items.hatchingPotions[drop.name] ?= 0 + user.items.hatchingPotions[drop.name]++ + drop.type = 'HatchingPotion' + drop.dialog = "You've found a #{drop.text} Hatching Potion! #{drop.notes}" # if they've dropped something, we want the consuming client to know so they can notify the user. See how the Derby # app handles it for example. Would this be better handled as an emit() ? diff --git a/script/items.coffee b/script/items.coffee index 9df5681256..615a866508 100644 --- a/script/items.coffee +++ b/script/items.coffee @@ -59,16 +59,16 @@ items = module.exports.items = #{text: 'Polar Bear Cub', name: 'PolarBearCub', value: 3} hatchingPotions: - Base: value: 1, text: 'Base', notes: "Hatches your pet in it's base form." - White: value: 2, text: 'White', notes: 'Turns your animal into a White pet.' - Desert: value: 2, text: 'Desert', notes: 'Turns your animal into a Desert pet.' - Red: value: 3, text: 'Red', notes: 'Turns your animal into a Red pet.' - Shade: value: 3, text: 'Shade', notes: 'Turns your animal into a Shade pet.' - Skeleton: value: 3, text: 'Skeleton', notes: 'Turns your animal into a Skeleton.' - Zombie: value: 4, text: 'Zombie', notes: 'Turns your animal into a Zombie.' - CottonCandyPink: value: 4, text: 'Cotton Candy Pink', notes: 'Turns your animal into a Cotton Candy Pink pet.' - CottonCandyBlue: value: 4, text: 'Cotton Candy Blue', notes: 'Turns your animal into a Cotton Candy Blue pet.' - Golden: value: 5, text: 'Golden', notes: 'Turns your animal into a Golden pet.' + Base: value: 1, text: 'Base' + White: value: 2, text: 'White' + Desert: value: 2, text: 'Desert' + Red: value: 3, text: 'Red' + Shade: value: 3, text: 'Shade' + Skeleton: value: 3, text: 'Skeleton' + Zombie: value: 4, text: 'Zombie' + CottonCandyPink: value: 4, text: 'Cotton Candy Pink' + CottonCandyBlue: value: 4, text: 'Cotton Candy Blue' + Golden: value: 5, text: 'Golden' food: Meat: text: 'Meat', target: 'Base' @@ -105,7 +105,7 @@ _.each items.eggs, (egg,k) -> mountText: egg.text _.each items.hatchingPotions, (pot,k) -> - _.defaults pot, {name: k, notes: "Pour this on an egg, and it will hatch as a #{pot.text} pet."} + _.defaults pot, {name: k, value: 2, notes: "Pour this on an egg, and it will hatch as a #{pot.text} pet."} _.each items.food, (food,k) -> _.defaults food, {value: 1, name: k, notes: "Feed this to a pet and it may grown into a sturdy steed."} From a52eaee62f018eb0d674f3cdb233f9c14be34c0c Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Thu, 14 Nov 2013 12:34:11 -0800 Subject: [PATCH 8/9] mounts: simpler, cleaner breakdown of potion rarity --- dist/habitrpg-shared.js | 18 ++++-------------- dist/spritesheets.css | 2 +- script/algos.coffee | 39 ++++++++++++++------------------------- script/items.coffee | 2 +- 4 files changed, 20 insertions(+), 41 deletions(-) diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index c90ca85471..16f32c9d67 100644 --- a/dist/habitrpg-shared.js +++ b/dist/habitrpg-shared.js @@ -8344,20 +8344,10 @@ if(typeof module != 'undefined' && module.exports){ drop.type = 'Egg'; drop.dialog = "You've found a " + drop.text + " Egg! " + drop.notes; } else { - acceptableDrops = []; - if (rarity < .15) { - acceptableDrops = 'Base White Desert Red Shade Skeleton Zombie CottonCandyPink CottonCandyBlue Golden'.split(' '); - } else if (rarity < .2) { - acceptableDrops = 'Base White Desert Red Shade Skeleton Zombie CottonCandyPink CottonCandyBlue'.split(' '); - } else if (rarity < .25) { - acceptableDrops = 'Base White Desert Red Shade Skeleton'.split(' '); - } else { - acceptableDrops = ['Base', 'White', 'Desert']; - } - acceptableDrops = _.pick(hatchingPotions, (function(v, k) { + acceptableDrops = rarity < .03 ? ['Golden'] : rarity < .06 ? ['Zombie', 'CottonCandyPink', 'CottonCandyBlue'] : rarity < .09 ? ['Red', 'Shade', 'Skeleton'] : ['Base', 'White', 'Desert']; + drop = helpers.randomVal(_.pick(hatchingPotions, (function(v, k) { return __indexOf.call(acceptableDrops, k) >= 0; - })); - drop = helpers.randomVal(acceptableDrops); + }))); if ((_base3 = user.items.hatchingPotions)[_name2 = drop.name] == null) { _base3[_name2] = 0; } @@ -9739,7 +9729,7 @@ try { }, hatchingPotions: { Base: { - value: 1, + value: 2, text: 'Base' }, White: { diff --git a/dist/spritesheets.css b/dist/spritesheets.css index 2cf333bcae..3f4609a6ee 100644 --- a/dist/spritesheets.css +++ b/dist/spritesheets.css @@ -1 +1 @@ -.Mount_Head_LionCub-Base,.Mount_Body_LionCub-Base,.Mount_Head_BearCub-Polar,.Mount_Body_BearCub-Polar,.Mount_Head_PandaCub-Base,.Mount_Body_PandaCub-Base,.Mount_Head_TigerCub-Base,.Mount_Body_TigerCub-Base,.Mount_Head_BearCub-Base,.Mount_Body_BearCub-Base,.Mount_Head_LionCub-Ethereal,.Mount_Body_LionCub-Ethereal{background:url(../img/sprites/Mount-SpriteSheet.png) no-repeat;width:105px;height:123px}.Mount_Head_LionCub-Base{background-position:0 0}.Mount_Body_LionCub-Base{background-position:-105px 0}.Mount_Head_BearCub-Polar{background-position:-210px 0}.Mount_Body_BearCub-Polar{background-position:-315px 0}.Mount_Head_PandaCub-Base{background-position:-420px 0}.Mount_Body_PandaCub-Base{background-position:-525px 0}.Mount_Head_TigerCub-Base{background-position:-630px 0}.Mount_Body_TigerCub-Base{background-position:-735px 0}.Mount_Head_BearCub-Base{background-position:-840px 0}.Mount_Body_BearCub-Base{background-position:-945px 0}.Mount_Head_LionCub-Ethereal{background-position:-1050px 0}.Mount_Body_LionCub-Ethereal{background-position:-1155px 0}.Pet_Egg_Wolf,.Pet_Egg_TigerCub,.Pet_Egg_PolarBear,.Pet_Egg_PandaCub,.Pet_Egg_LionCub,.Pet_Egg_Fox,.Pet_Egg_FlyingPig,.Pet_Egg_Dragon,.Pet_Egg_Cactus,.Pet_Egg_BearCub,.Pet_HatchingPotion_Base,.Pet_HatchingPotion_White,.Pet_HatchingPotion_Desert,.Pet_HatchingPotion_Red,.Pet_HatchingPotion_Shade,.Pet_HatchingPotion_Skeleton,.Pet_HatchingPotion_Zombie,.Pet_HatchingPotion_CottonCandyPink,.Pet_HatchingPotion_CottonCandyBlue,.Pet_HatchingPotion_Golden,.Pet_Currency_Gem,.Pet_Currency_Gem2x,.Pet_Currency_Gem1x{background:url(../img/sprites/Egg_Sprite_Sheet.png) no-repeat}.Pet_Egg_Wolf{background-position:0 0;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_TigerCub{background-position:0 -51px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_PolarBear{background-position:0 -102px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_PandaCub{background-position:0 -153px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_LionCub{background-position:0 -204px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Fox{background-position:0 -255px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_FlyingPig{background-position:0 -306px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Dragon{background-position:0 -357px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Cactus{background-position:0 -408px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_BearCub{background-position:0 -459px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Base{background-position:-48px -0px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_White{background-position:-48px -51px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Desert{background-position:-48px -102px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Red{background-position:-48px -153px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Shade{background-position:-48px -204px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Skeleton{background-position:-48px -255px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Zombie{background-position:-48px -306px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_CottonCandyPink{background-position:-48px -357px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_CottonCandyBlue{background-position:-48px -408px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Golden{background-position:-48px -459px;width:48px;height:53px;margin-left:1.25em}.Pet_Currency_Gem{background-position:0 -510px;width:51px;height:45px}.Pet_Currency_Gem2x{background-position:-55px -513px;width:34px;height:30px}.Pet_Currency_Gem1x{background-position:-63px -542px;width:19px;height:17px}.inline-gems{display:inline-block}.weapon_6,.weapon_5,.weapon_4,.weapon_3,.weapon_2,.weapon_1,.weapon_0,.skin_white,.skin_pale,.skin_orc,.skin_dead,.skin_black,.skin_asian,.shield_5_v1,.shield_5_v0,.shield_4_v0,.shield_3_v1,.shield_3_v0,.shield_2_v1,.shield_2_v0,.shield_1_v1,.shield_1_v0,_shield_4_v1,.nh_hair_white_v1,.nh_hair_white_v0,.nh_hair_brown_v1,.nh_hair_brown_v0,.nh_hair_blond_v1,.nh_hair_blond_v0,.nh_hair_black_v1,.nh_hair_black_v0,.head_5_v2,.head_5_v1,.head_5_v0,.head_4_v2,.head_4_v1,.head_4_v0,.head_3_v2,.head_3_v1,.head_3_v0,.head_2_v2,.head_2_v1,.head_2_v0,.head_1_v1,.head_1_v0,.head_0_v1,.head_0_v0,.hair_white_v1,.hair_white_v0,.hair_brown_v1,.hair_brown_v0,.hair_blond_v1,.hair_blond_v0,.hair_black_v1,.hair_black_v0,.armor_5_v1,.armor_5_v0,.armor_4_v1,.armor_4_v0,.armor_3_v1,.armor_3_v0,.armor_2_v0,.armor_1_v1,.armor_1_v0,.armor_0_v11,.armor_0_v10,.armor_0_v9,.armor_0_v8,.armor_0_v7,.armor_0_v6,.armor_0_v5,.armor_0_v4,.armor_0_v3,.armor_0_v2,.armor_0_v1,.armor_0_v0{background:url(../img/sprites/player_sprites.png) no-repeat}.weapon_6{background-position:0 0;width:90px;height:90px}.weapon_5{background-position:-90px 0;width:90px;height:90px}.weapon_4{background-position:-180px 0;width:90px;height:90px}.weapon_3{background-position:-270px 0;width:90px;height:90px}.weapon_2{background-position:-360px 0;width:90px;height:90px}.weapon_1{background-position:-450px 0;width:90px;height:90px}.weapon_0{background-position:-540px 0;width:90px;height:90px}.skin_white{background-position:-630px 0;width:90px;height:90px}.skin_pale{background-position:-720px 0;width:90px;height:90px}.skin_orc{background-position:-810px 0;width:90px;height:90px}.skin_dead{background-position:-900px 0;width:90px;height:90px}.skin_black{background-position:-990px 0;width:90px;height:90px}.skin_asian{background-position:-1080px 0;width:90px;height:90px}.shield_5_v1{background-position:-1170px 0;width:90px;height:90px}.shield_5_v0{background-position:-1260px 0;width:90px;height:90px}.shield_4_v0{background-position:-1350px 0;width:90px;height:90px}.shield_3_v1{background-position:-1440px 0;width:90px;height:90px}.shield_3_v0{background-position:-1530px 0;width:90px;height:90px}.shield_2_v1{background-position:-1620px 0;width:90px;height:90px}.shield_2_v0{background-position:-1710px 0;width:90px;height:90px}.shield_1_v1{background-position:-1800px 0;width:90px;height:90px}.shield_1_v0{background-position:-1890px 0;width:90px;height:90px}._shield_4_v1{background-position:-1980px 0;width:90px;height:90px}.nh_hair_white_v1{background-position:-2070px 0;width:90px;height:90px}.nh_hair_white_v0{background-position:-2160px 0;width:90px;height:90px}.nh_hair_brown_v1{background-position:-2250px 0;width:90px;height:90px}.nh_hair_brown_v0{background-position:-2340px 0;width:90px;height:90px}.nh_hair_blond_v1{background-position:-2430px 0;width:90px;height:90px}.nh_hair_blond_v0{background-position:-2520px 0;width:90px;height:90px}.nh_hair_black_v1{background-position:-2610px 0;width:90px;height:90px}.nh_hair_black_v0{background-position:-2700px 0;width:90px;height:90px}.head_5_v2{background-position:-2790px 0;width:90px;height:90px}.head_5_v1{background-position:-2880px 0;width:90px;height:90px}.head_5_v0{background-position:-2970px 0;width:90px;height:90px}.head_4_v2{background-position:-3060px 0;width:90px;height:90px}.head_4_v1{background-position:-3150px 0;width:90px;height:90px}.head_4_v0{background-position:-3240px 0;width:90px;height:90px}.head_3_v2{background-position:-3330px 0;width:90px;height:90px}.head_3_v1{background-position:-3420px 0;width:90px;height:90px}.head_3_v0{background-position:-3510px 0;width:90px;height:90px}.head_2_v2{background-position:-3600px 0;width:90px;height:90px}.head_2_v1{background-position:-3690px 0;width:90px;height:90px}.head_2_v0{background-position:-3780px 0;width:90px;height:90px}.head_1_v1{background-position:-3870px 0;width:90px;height:90px}.head_1_v0{background-position:-3960px 0;width:90px;height:90px}.head_0_v1{background-position:-4050px 0;width:90px;height:90px}.head_0_v0{background-position:-4140px 0;width:90px;height:90px}.hair_white_v1{background-position:-4230px 0;width:90px;height:90px}.hair_white_v0{background-position:-4320px 0;width:90px;height:90px}.hair_brown_v1{background-position:-4410px 0;width:90px;height:90px}.hair_brown_v0{background-position:-4500px 0;width:90px;height:90px}.hair_blond_v1{background-position:-4590px 0;width:90px;height:90px}.hair_blond_v0{background-position:-4680px 0;width:90px;height:90px}.hair_black_v1{background-position:-4770px 0;width:90px;height:90px}.hair_black_v0{background-position:-4860px 0;width:90px;height:90px}.armor_5_v1{background-position:-4950px 0;width:90px;height:90px}.armor_5_v0{background-position:-5040px 0;width:90px;height:90px}.armor_4_v1{background-position:-5130px 0;width:90px;height:90px}.armor_4_v0{background-position:-5220px 0;width:90px;height:90px}.armor_3_v1{background-position:-5310px 0;width:90px;height:90px}.armor_3_v0{background-position:-5400px 0;width:90px;height:90px}.armor_2_v0{background-position:-5490px 0;width:90px;height:90px}.armor_1_v1{background-position:-5580px 0;width:90px;height:90px}.armor_1_v0{background-position:-5670px 0;width:90px;height:90px}.armor_0_v11{background-position:-5760px 0;width:90px;height:90px}.armor_0_v10{background-position:-5850px 0;width:90px;height:90px}.armor_0_v9{background-position:-5940px 0;width:90px;height:90px}.armor_0_v8{background-position:-6030px 0;width:90px;height:90px}.armor_0_v7{background-position:-6120px 0;width:90px;height:90px}.armor_0_v6{background-position:-6210px 0;width:90px;height:90px}.armor_0_v5{background-position:-6300px 0;width:90px;height:90px}.armor_0_v4{background-position:-6390px 0;width:90px;height:90px}.armor_0_v3{background-position:-6480px 0;width:90px;height:90px}.armor_0_v2{background-position:-6570px 0;width:90px;height:90px}.armor_0_v1{background-position:-6660px 0;width:90px;height:90px}.armor_0_v0{background-position:-6750px 0;width:90px;height:90px}.m_weapon_6,.m_weapon_5,.m_weapon_4,.m_weapon_3,.m_weapon_2,.m_weapon_1,.m_weapon_0,.m_shield_5,.m_shield_4,.m_shield_3,.m_shield_2,.m_shield_1,.m_head_5,.m_head_4,.m_head_3,.m_head_2,.m_head_1,.m_head_0,.m_hair_blond,.m_hair_black,.m_hair_brown,.m_hair_white,.m_armor_5,.m_armor_4,.m_armor_3,.m_armor_2,.m_armor_1,.m_armor_0,.m_skin_dead,.m_skin_orc,.m_skin_asian,.m_skin_black,.m_skin_white,.m_skin_ea8349,.m_skin_c06534,.m_skin_98461a,.m_skin_eb052b,.m_skin_f69922,.m_skin_f5d70f,.m_skin_0ff591,.m_skin_2b43f6,.m_skin_d7a9f7,.m_skin_800ed0,.m_skin_rainbow,.m_skin_monster,.m_skin_pumpkin,.m_skin_skeleton,.m_skin_zombie,.m_skin_ghost,.m_skin_shadow,.m_hair_red{background:url(../img/sprites/male_sprites.png) no-repeat}.m_weapon_6{background-position:0 0;width:90px;height:90px}.m_weapon_5{background-position:-90px 0;width:90px;height:90px}.m_weapon_4{background-position:-180px 0;width:90px;height:90px}.m_weapon_3{background-position:-270px 0;width:90px;height:90px}.m_weapon_2{background-position:-360px 0;width:90px;height:90px}.m_weapon_1{background-position:-450px 0;width:90px;height:90px}.m_weapon_0{background-position:-540px 0;width:90px;height:90px}.m_shield_5{background-position:-630px 0;width:90px;height:90px}.m_shield_4{background-position:-720px 0;width:90px;height:90px}.m_shield_3{background-position:-810px 0;width:90px;height:90px}.m_shield_2{background-position:-900px 0;width:90px;height:90px}.m_shield_1{background-position:-990px 0;width:90px;height:90px}.m_head_5{background-position:-1080px 0;width:90px;height:90px}.m_head_4{background-position:-1170px 0;width:90px;height:90px}.m_head_3{background-position:-1260px 0;width:90px;height:90px}.m_head_2{background-position:-1350px 0;width:90px;height:90px}.m_head_1{background-position:-1440px 0;width:90px;height:90px}.m_head_0{background-position:-1530px 0;width:90px;height:90px}.m_hair_blond{background-position:-1620px 0;width:90px;height:90px}.m_hair_black{background-position:-1710px 0;width:90px;height:90px}.m_hair_brown{background-position:-1800px 0;width:90px;height:90px}.m_hair_white{background-position:-1890px 0;width:90px;height:90px}.m_armor_5{background-position:-1980px 0;width:90px;height:90px}.m_armor_4{background-position:-2070px 0;width:90px;height:90px}.m_armor_3{background-position:-2160px 0;width:90px;height:90px}.m_armor_2{background-position:-2250px 0;width:90px;height:90px}.m_armor_1{background-position:-2340px 0;width:90px;height:90px}.m_armor_0{background-position:-2430px 0;width:90px;height:90px}.m_skin_dead{background-position:-2520px 0;width:90px;height:90px}.m_skin_orc{background-position:-2610px 0;width:90px;height:90px}.m_skin_asian{background-position:-2700px 0;width:90px;height:90px}.m_skin_black{background-position:-2790px 0;width:90px;height:90px}.m_skin_white{background-position:-2880px 0;width:90px;height:90px}.m_skin_ea8349{background-position:-2970px 0;width:90px;height:90px}.m_skin_c06534{background-position:-3060px 0;width:90px;height:90px}.m_skin_98461a{background-position:-3150px 0;width:90px;height:90px}.m_skin_eb052b{background-position:-3240px 0;width:90px;height:90px}.m_skin_f69922{background-position:-3330px 0;width:90px;height:90px}.m_skin_f5d70f{background-position:-3420px 0;width:90px;height:90px}.m_skin_0ff591{background-position:-3510px 0;width:90px;height:90px}.m_skin_2b43f6{background-position:-3600px 0;width:90px;height:90px}.m_skin_d7a9f7{background-position:-3690px 0;width:90px;height:90px}.m_skin_800ed0{background-position:-3780px 0;width:90px;height:90px}.m_skin_rainbow{background-position:-3870px 0;width:90px;height:90px}.m_skin_monster{background-position:-3960px 0;width:90px;height:90px}.m_skin_pumpkin{background-position:-4050px 0;width:90px;height:90px}.m_skin_skeleton{background-position:-4140px 0;width:90px;height:90px}.m_skin_zombie{background-position:-4230px 0;width:90px;height:90px}.m_skin_ghost{background-position:-4320px 0;width:90px;height:90px}.m_skin_shadow{background-position:-4410px 0;width:90px;height:90px}.m_hair_red{background-position:-4500px 0;width:90px;height:90px}.f_weapon_6,.f_weapon_5,.f_weapon_4,.f_weapon_3,.f_weapon_2,.f_weapon_1,.f_weapon_0,.f_shield_5,.f_shield_4,.f_shield_3,.f_shield_2,.f_shield_1,.f_head_5_v2,.f_head_5_v1,.f_head_4_v2,.f_head_4_v1,.f_head_3_v2,.f_head_3_v1,.f_head_2_v2,.f_head_2_v1,.f_head_1,.f_head_0,.f_hair_white,.f_hair_brown,.f_hair_black,.f_hair_blond,.f_armor_5,.f_armor_4,.f_armor_3,.f_armor_2,.f_armor_1,.f_armor_0_v2,.f_armor_0_v1,.f_skin_dead,.f_skin_orc,.f_skin_asian,.f_skin_black,.f_skin_white,.f_skin_ea8349,.f_skin_c06534,.f_skin_98461a,.f_skin_eb052b,.f_skin_eb052b,.f_skin_f69922,.f_skin_f5d70f,.f_skin_0ff591,.f_skin_2b43f6,.f_skin_d7a9f7,.f_skin_800ed0,.f_skin_rainbow,.f_skin_monster,.f_skin_pumpkin,.f_skin_skeleton,.f_skin_zombie,.f_skin_ghost,.f_skin_shadow,.f_hair_red{background:url(../img/sprites/female_sprites.png) no-repeat}.f_weapon_6{background-position:0 0;width:90px;height:90px}.f_weapon_5{background-position:-90px 0;width:90px;height:90px}.f_weapon_4{background-position:-180px 0;width:90px;height:90px}.f_weapon_3{background-position:-270px 0;width:90px;height:90px}.f_weapon_2{background-position:-360px 0;width:90px;height:90px}.f_weapon_1{background-position:-450px 0;width:90px;height:90px}.f_weapon_0{background-position:-540px 0;width:90px;height:90px}.f_shield_5{background-position:-630px 0;width:90px;height:90px}.f_shield_4{background-position:-720px 0;width:90px;height:90px}.f_shield_3{background-position:-810px 0;width:90px;height:90px}.f_shield_2{background-position:-900px 0;width:90px;height:90px}.f_shield_1{background-position:-990px 0;width:90px;height:90px}.f_head_5_v2{background-position:-1080px 0;width:90px;height:90px}.f_head_5_v1{background-position:-1170px 0;width:90px;height:90px}.f_head_4_v2{background-position:-1260px 0;width:90px;height:90px}.f_head_4_v1{background-position:-1350px 0;width:90px;height:90px}.f_head_3_v2{background-position:-1440px 0;width:90px;height:90px}.f_head_3_v1{background-position:-1530px 0;width:90px;height:90px}.f_head_2_v2{background-position:-1620px 0;width:90px;height:90px}.f_head_2_v1{background-position:-1710px 0;width:90px;height:90px}.f_head_1{background-position:-1800px 0;width:90px;height:90px}.f_head_0{background-position:-1890px 0;width:90px;height:90px}.f_hair_white{background-position:-1980px 0;width:90px;height:90px}.f_hair_brown{background-position:-2070px 0;width:90px;height:90px}.f_hair_black{background-position:-2160px 0;width:90px;height:90px}.f_hair_blond{background-position:-2250px 0;width:90px;height:90px}.f_armor_5{background-position:-2340px 0;width:90px;height:90px}.f_armor_4{background-position:-2430px 0;width:90px;height:90px}.f_armor_3{background-position:-2520px 0;width:90px;height:90px}.f_armor_2{background-position:-2610px 0;width:90px;height:90px}.f_armor_1{background-position:-2700px 0;width:90px;height:90px}.f_armor_0_v2{background-position:-2790px 0;width:90px;height:90px}.f_armor_0_v1{background-position:-2880px 0;width:90px;height:90px}.f_skin_dead{background-position:-2970px 0;width:90px;height:90px}.f_skin_orc{background-position:-3060px 0;width:90px;height:90px}.f_skin_asian{background-position:-3150px 0;width:90px;height:90px}.f_skin_black{background-position:-3240px 0;width:90px;height:90px}.f_skin_white{background-position:-3330px 0;width:90px;height:90px}.f_skin_ea8349{background-position:-3420px 0;width:90px;height:90px}.f_skin_c06534{background-position:-3510px 0;width:90px;height:90px}.f_skin_98461a{background-position:-3600px 0;width:90px;height:90px}.f_skin_eb052b{background-position:-3690px 0;width:90px;height:90px}.f_skin_f69922{background-position:-3780px 0;width:90px;height:90px}.f_skin_f5d70f{background-position:-3870px 0;width:90px;height:90px}.f_skin_0ff591{background-position:-3960px 0;width:90px;height:90px}.f_skin_2b43f6{background-position:-4050px 0;width:90px;height:90px}.f_skin_d7a9f7{background-position:-4140px 0;width:90px;height:90px}.f_skin_800ed0{background-position:-4230px 0;width:90px;height:90px}.f_skin_rainbow{background-position:-4320px 0;width:90px;height:90px}.f_skin_monster{background-position:-4410px 0;width:90px;height:90px}.f_skin_pumpkin{background-position:-4500px 0;width:90px;height:90px}.f_skin_skeleton{background-position:-4590px 0;width:90px;height:90px}.f_skin_zombie{background-position:-4680px 0;width:90px;height:90px}.f_skin_ghost{background-position:-4770px 0;width:90px;height:90px}.f_skin_shadow{background-position:-4860px 0;width:90px;height:90px}.f_hair_red{background-position:-4950px 0;width:90px;height:90px}[class^=shop_],[class^=zzz]{background:url(../img/sprites/shop_sprites.png) no-repeat}[class^=shop_weapon_],[class^=shop_shield_],[class^=shop_head_],[class^=shop_armor_],[class^=zzz]{width:40px;height:40px}.shop_weapon_6,.shop_weapon_5,.shop_weapon_4,.shop_weapon_3,.shop_weapon_2,.shop_weapon_1,.shop_shield_5,.shop_shield_4,.shop_shield_3,.shop_shield_2,.shop_shield_1,.shop_head_5,.shop_head_4,.shop_head_3,.shop_head_2,.shop_head_1,.shop_armor_5,.shop_armor_4,.shop_armor_3,.shop_armor_2,.shop_armor_1,.shop_reroll,.shop_potion,.shop_copper,.shop_silver,.shop_gold,.zzz,.zzz_light{background:url(../img/sprites/shop_sprites.png) no-repeat}.shop_weapon_6,.shop_weapon_5,.shop_weapon_4,.shop_weapon_3,.shop_weapon_2,.shop_weapon_1,.shop_shield_5,.shop_shield_4,.shop_shield_3,.shop_shield_2,.shop_shield_1,.shop_head_5,.shop_head_4,.shop_head_3,.shop_head_2,.shop_head_1,.shop_armor_5,.shop_armor_4,.shop_armor_3,.shop_armor_2,.shop_armor_1,.zzz,.zzz_light{width:40px;height:40px}.shop_weapon_6{background-position:0 0}.shop_weapon_5{background-position:-40px 0}.shop_weapon_4{background-position:-80px 0}.shop_weapon_3{background-position:-120px 0}.shop_weapon_2{background-position:-160px 0}.shop_weapon_1{background-position:-200px 0}.shop_shield_5{background-position:-240px 0}.shop_shield_4{background-position:-280px 0}.shop_shield_3{background-position:-320px 0}.shop_shield_2{background-position:-360px 0}.shop_shield_1{background-position:-400px 0}.shop_head_5{background-position:-440px 0}.shop_head_4{background-position:-480px 0}.shop_head_3{background-position:-520px 0}.shop_head_2{background-position:-560px 0}.shop_head_1{background-position:-600px 0}.shop_armor_5{background-position:-640px 0}.shop_armor_4{background-position:-680px 0}.shop_armor_3{background-position:-720px 0}.shop_armor_2{background-position:-760px 0}.shop_armor_1{background-position:-800px 0}.shop_reroll{background-position:-840px 0;width:40px;height:40px}.shop_potion{background-position:-880px 0;width:40px;height:40px}.shop_copper{background-position:-923px -8px;width:32px;height:22px}.shop_silver{background-position:-963px -8px;width:32px;height:22px}.shop_gold{background-position:-1003px -8px;width:32px;height:22px}.zzz{background-position:-1200px 0}.zzz_light{background-position:-1280px 0}.Pet-Wolf-Zombie,.Pet-Wolf-White,.Pet-Wolf-Veteran,.Pet-Wolf-Skeleton,.Pet-Wolf-Shade,.Pet-Wolf-Red,.Pet-Wolf-Golden,.Pet-Wolf-Desert,.Pet-Wolf-CottonCandyPink,.Pet-Wolf-CottonCandyBlue,.Pet-TigerCub-Zombie,.Pet-TigerCub-White,.Pet-TigerCub-Skeleton,.Pet-TigerCub-Shade,.Pet-TigerCub-Red,.Pet-TigerCub-Golden,.Pet-TigerCub-Desert,.Pet-TigerCub-CottonCandyPink,.Pet-TigerCub-CottonCandyBlue,.Pet-TigerCub-Base,.Pet-PolarBearCub-Base,.Pet-PandaCub-Zombie,.Pet-PandaCub-White,.Pet-PandaCub-Skeleton,.Pet-PandaCub-Shade,.Pet-PandaCub-Red,.Pet-PandaCub-Golden,.Pet-PandaCub-Desert,.Pet-PandaCub-CottonCandyPink,.Pet-PandaCub-CottonCandyBlue,.Pet-PandaCub-Base,.Pet-LionCub-Zombie,.Pet-LionCub-White,.Pet-LionCub-Skeleton,.Pet-LionCub-Shade,.Pet-LionCub-Red,.Pet-LionCub-Golden,.Pet-LionCub-Desert,.Pet-LionCub-CottonCandyPink,.Pet-LionCub-CottonCandyBlue,.Pet-LionCub-Base,.Pet-Fox-Zombie,.Pet-Fox-White,.Pet-Fox-Skeleton,.Pet-Fox-Shade,.Pet-Fox-Red,.Pet-Fox-Golden,.Pet-Fox-Desert,.Pet-Fox-CottonCandyPink,.Pet-Fox-CottonCandyBlue,.Pet-Fox-Base,.Pet-FlyingPig-Zombie,.Pet-FlyingPig-White,.Pet-FlyingPig-Skeleton,.Pet-FlyingPig-Shade,.Pet-FlyingPig-Red,.Pet-FlyingPig-Golden,.Pet-FlyingPig-Desert,.Pet-FlyingPig-CottonCandyPink,.Pet-FlyingPig-CottonCandyBlue,.Pet-FlyingPig-Base,.Pet-Dragon-Zombie,.Pet-Dragon-White,.Pet-Dragon-Skeleton,.Pet-Dragon-Shade,.Pet-Dragon-Red,.Pet-Dragon-Golden,.Pet-Dragon-Desert,.Pet-Dragon-CottonCandyPink,.Pet-Dragon-CottonCandyBlue,.Pet-Dragon-Base,.Pet-Cactus-Skeleton,.Pet-Cactus-Red,.Pet-Cactus-Zombie,.Pet-Cactus-Shade,.Pet-Cactus-Golden,.Pet-Cactus-White,.Pet-Cactus-CottonCandyPink,.Pet-Cactus-CottonCandyBlue,.Pet-Cactus-Desert,.Pet-Cactus-Base,.Pet-BearCub-Zombie,.Pet-BearCub-White,.Pet-BearCub-Skeleton,.Pet-BearCub-Shade,.Pet-BearCub-Red,.Pet-BearCub-Golden,.Pet-BearCub-Desert,.Pet-BearCub-CottonCandyPink,.Pet-BearCub-CottonCandyBlue,.Pet-BearCub-Base,.Pet-Wolf-Base{background:url(../img/sprites/pet_sprites.png) no-repeat}.Pet-Wolf-Zombie{background-position:0 0;width:81px;height:99px}.Pet-Wolf-White{background-position:-81px 0;width:81px;height:99px}.Pet-Wolf-Veteran{background-position:-162px 0;width:81px;height:99px}.Pet-Wolf-Skeleton{background-position:-243px 0;width:81px;height:99px}.Pet-Wolf-Shade{background-position:-324px 0;width:81px;height:99px}.Pet-Wolf-Red{background-position:-405px 0;width:81px;height:99px}.Pet-Wolf-Golden{background-position:-486px 0;width:81px;height:99px}.Pet-Wolf-Desert{background-position:-567px 0;width:81px;height:99px}.Pet-Wolf-CottonCandyPink{background-position:-648px 0;width:81px;height:99px}.Pet-Wolf-CottonCandyBlue{background-position:-729px 0;width:81px;height:99px}.Pet-TigerCub-Zombie{background-position:-810px 0;width:81px;height:99px}.Pet-TigerCub-White{background-position:-891px 0;width:81px;height:99px}.Pet-TigerCub-Skeleton{background-position:-972px 0;width:81px;height:99px}.Pet-TigerCub-Shade{background-position:-1053px 0;width:81px;height:99px}.Pet-TigerCub-Red{background-position:-1134px 0;width:81px;height:99px}.Pet-TigerCub-Golden{background-position:-1215px 0;width:81px;height:99px}.Pet-TigerCub-Desert{background-position:-1296px 0;width:81px;height:99px}.Pet-TigerCub-CottonCandyPink{background-position:-1377px 0;width:81px;height:99px}.Pet-TigerCub-CottonCandyBlue{background-position:-1458px 0;width:81px;height:99px}.Pet-TigerCub-Base{background-position:-1539px 0;width:81px;height:99px}.Pet-PolarBearCub-Base{background-position:-1620px 0;width:81px;height:99px}.Pet-PandaCub-Zombie{background-position:-1701px 0;width:81px;height:99px}.Pet-PandaCub-White{background-position:-1782px 0;width:81px;height:99px}.Pet-PandaCub-Skeleton{background-position:-1863px 0;width:81px;height:99px}.Pet-PandaCub-Shade{background-position:-1944px 0;width:81px;height:99px}.Pet-PandaCub-Red{background-position:-2025px 0;width:81px;height:99px}.Pet-PandaCub-Golden{background-position:-2106px 0;width:81px;height:99px}.Pet-PandaCub-Desert{background-position:-2187px 0;width:81px;height:99px}.Pet-PandaCub-CottonCandyPink{background-position:-2268px 0;width:81px;height:99px}.Pet-PandaCub-CottonCandyBlue{background-position:-2349px 0;width:81px;height:99px}.Pet-PandaCub-Base{background-position:-2430px 0;width:81px;height:99px}.Pet-LionCub-Zombie{background-position:-2511px 0;width:81px;height:99px}.Pet-LionCub-White{background-position:-2592px 0;width:81px;height:99px}.Pet-LionCub-Skeleton{background-position:-2673px 0;width:81px;height:99px}.Pet-LionCub-Shade{background-position:-2754px 0;width:81px;height:99px}.Pet-LionCub-Red{background-position:-2835px 0;width:81px;height:99px}.Pet-LionCub-Golden{background-position:-2916px 0;width:81px;height:99px}.Pet-LionCub-Desert{background-position:-2997px 0;width:81px;height:99px}.Pet-LionCub-CottonCandyPink{background-position:-3078px 0;width:81px;height:99px}.Pet-LionCub-CottonCandyBlue{background-position:-3159px 0;width:81px;height:99px}.Pet-LionCub-Base{background-position:-3240px 0;width:81px;height:99px}.Pet-Fox-Zombie{background-position:-3321px 0;width:81px;height:99px}.Pet-Fox-White{background-position:-3402px 0;width:81px;height:99px}.Pet-Fox-Skeleton{background-position:-3483px 0;width:81px;height:99px}.Pet-Fox-Shade{background-position:-3564px 0;width:81px;height:99px}.Pet-Fox-Red{background-position:-3645px 0;width:81px;height:99px}.Pet-Fox-Golden{background-position:-3726px 0;width:81px;height:99px}.Pet-Fox-Desert{background-position:-3807px 0;width:81px;height:99px}.Pet-Fox-CottonCandyPink{background-position:-3888px 0;width:81px;height:99px}.Pet-Fox-CottonCandyBlue{background-position:-3969px 0;width:81px;height:99px}.Pet-Fox-Base{background-position:-4050px 0;width:81px;height:99px}.Pet-FlyingPig-Zombie{background-position:-4131px 0;width:81px;height:99px}.Pet-FlyingPig-White{background-position:-4212px 0;width:81px;height:99px}.Pet-FlyingPig-Skeleton{background-position:-4293px 0;width:81px;height:99px}.Pet-FlyingPig-Shade{background-position:-4374px 0;width:81px;height:99px}.Pet-FlyingPig-Red{background-position:-4455px 0;width:81px;height:99px}.Pet-FlyingPig-Golden{background-position:-4536px 0;width:81px;height:99px}.Pet-FlyingPig-Desert{background-position:-4617px 0;width:81px;height:99px}.Pet-FlyingPig-CottonCandyPink{background-position:-4698px 0;width:81px;height:99px}.Pet-FlyingPig-CottonCandyBlue{background-position:-4779px 0;width:81px;height:99px}.Pet-FlyingPig-Base{background-position:-4860px 0;width:81px;height:99px}.Pet-Dragon-Zombie{background-position:-4941px 0;width:81px;height:99px}.Pet-Dragon-White{background-position:-5022px 0;width:81px;height:99px}.Pet-Dragon-Skeleton{background-position:-5103px 0;width:81px;height:99px}.Pet-Dragon-Shade{background-position:-5184px 0;width:81px;height:99px}.Pet-Dragon-Red{background-position:-5265px 0;width:81px;height:99px}.Pet-Dragon-Golden{background-position:-5346px 0;width:81px;height:99px}.Pet-Dragon-Desert{background-position:-5427px 0;width:81px;height:99px}.Pet-Dragon-CottonCandyPink{background-position:-5508px 0;width:81px;height:99px}.Pet-Dragon-CottonCandyBlue{background-position:-5589px 0;width:81px;height:99px}.Pet-Dragon-Base{background-position:-5670px 0;width:81px;height:99px}.Pet-Cactus-Zombie{background-position:-5913px 0;width:81px;height:99px}.Pet-Cactus-White{background-position:-6156px 0;width:81px;height:99px}.Pet-Cactus-Skeleton{background-position:-5751px 0;width:81px;height:99px}.Pet-Cactus-Red{background-position:-5832px 0;width:81px;height:99px}.Pet-Cactus-Shade{background-position:-5994px 0;width:81px;height:99px}.Pet-Cactus-Golden{background-position:-6075px 0;width:81px;height:99px}.Pet-Cactus-Desert{background-position:-6399px 0;width:81px;height:99px}.Pet-Cactus-CottonCandyPink{background-position:-6237px 0;width:81px;height:99px}.Pet-Cactus-CottonCandyBlue{background-position:-6318px 0;width:81px;height:99px}.Pet-Cactus-Base{background-position:-6480px 0;width:81px;height:99px}.Pet-BearCub-Zombie{background-position:-6561px 0;width:81px;height:99px}.Pet-BearCub-White{background-position:-6642px 0;width:81px;height:99px}.Pet-BearCub-Skeleton{background-position:-6723px 0;width:81px;height:99px}.Pet-BearCub-Shade{background-position:-6804px 0;width:81px;height:99px}.Pet-BearCub-Red{background-position:-6885px 0;width:81px;height:99px}.Pet-BearCub-Golden{background-position:-6966px 0;width:81px;height:99px}.Pet-BearCub-Desert{background-position:-7047px 0;width:81px;height:99px}.Pet-BearCub-CottonCandyPink{background-position:-7128px 0;width:81px;height:99px}.Pet-BearCub-CottonCandyBlue{background-position:-7209px 0;width:81px;height:99px}.Pet-BearCub-Base{background-position:-7290px 0;width:81px;height:99px}.Pet-Wolf-Base{background-position:-7371px 0;width:81px;height:99px}.Pet-Egg{background:url(../img/sprites/egg.png) no-repeat;width:39px;height:42px}.Gems{background:url(../img/sprites/Egg_Sprite_Sheet.png);background-position:-57px 50px;display:inline-block;margin-right:5px;border-style:none;width:30px;height:30px}.achievements-container{margin:20px}.achievement{background:url(../img/sprites/achievements.png) no-repeat;width:24px;height:26px;float:left;clear:right;margin-right:10px}.achievement-sword{background-position:0 0}.achievement-tree{background-position:-24px 0}.achievement-rat{background-position:-48px 0}.achievement-comment{background-position:-72px 0}.achievement-armor{background-position:-96px 0}.achievement-cave{background-position:-120px 0}.achievement-sun{background-position:-144px 0}.achievement-boot{background-position:-168px 0}.achievement-coffin{background-position:-192px 0}.achievement-alien{background-position:-216px 0}.achievement-ninja{background-position:-240px 0}.achievement-cactus{background-position:-264px 0}.achievement-bow{background-position:-288px 0}.achievement-heart{background-position:-312px 0}.achievement-shield{background-position:-336px 0}.achievement-thermometer{background-position:-360px 0}.achievement-helm{background-position:-384px 0}.achievement-firefox{background-position:0 -26px}.achievement-cake{background-position:-24px -26px}.achievement-karaoke{background-position:-48px -26px}.weapon_7,.armor_6,.head_6,.shield_6{width:105px;height:105px;margin-left:-3px;margin-top:-18px}.weapon_8,.armor_7,.head_7,.shield_7{width:105px;height:105px;margin-left:-9px;margin-top:-15px}.head_6{background:url(../img/sprites/backer-only/BackerOnly-Equip-ShadeHelmet.gif) no-repeat}.head_7{background:url(../img/sprites/backer-only/ContributorOnly-Equip-CrystalHelmet.gif) no-repeat}.armor_6{background:url(../img/sprites/backer-only/BackerOnly-Equip-ShadeArmor.gif) no-repeat}.armor_7{background:url(../img/sprites/backer-only/ContributorOnly-Equip-CrystalArmor.gif) no-repeat}.shield_6{background:url(../img/sprites/backer-only/BackerOnly-Shield-TormentedSkull.gif) no-repeat}.shield_7{background:url(../img/sprites/backer-only/ContributorOnly-Shield-Crystal.png) no-repeat}.weapon_7{background:url(../img/sprites/backer-only/BackerOnly-Weapon-DarkSoulsBlade.gif) no-repeat}.weapon_8{background:url(../img/sprites/backer-only/ContributorOnly-Weapon-CrystalBlade.png) no-repeat}.Pet-Wolf-Cerberus{width:105px;height:72px;background:url(../img/sprites/backer-only/BackerOnly-Pet-CerberusPup.gif) no-repeat}.Pet-Dragon-Hydra{width:106px;height:89px;background:url(../img/sprites/backer-only/ContributorOnly-Pet-Hydra.png) no-repeat}.shop_shield_6{background-position:-1040px 0}.shop_weapon_7{background-position:-1080px 0}.shop_head_6{background-position:-1120px 0}.shop_armor_6{background-position:-1160px 0}.shop_shield_7{background-position:-1318px 0;width:35px}.shop_weapon_8{background-position:-1352px 0;width:45px}.shop_head_7{background-position:-1398px 0}.shop_armor_7{background-position:-1438px 0}.customize-menu .f_head_0{width:60px;height:60px;background-position:-1917px -9px}.customize-menu .f_armor_0_v2{width:60px;height:60px;background-position:-2819px -38px}.customize-menu .f_armor_0_v1{width:60px;height:60px;background-position:-2909px -38px}.customize-menu .f_hair_white{width:60px;height:60px;background-position:-2009px -8px}.customize-menu .f_hair_brown{width:60px;height:60px;background-position:-2099px -8px}.customize-menu .f_hair_black{width:60px;height:60px;background-position:-2189px -8px}.customize-menu .f_hair_blond{width:60px;height:60px;background-position:-2279px -8px}.customize-menu .f_hair_red{width:60px;height:60px;background-position:-4979px -8px}.customize-menu .f_skin_dead{width:60px;height:60px;background-position:-2997px -20px}.customize-menu .f_skin_orc{width:60px;height:60px;background-position:-3087px -20px}.customize-menu .f_skin_asian{width:60px;height:60px;background-position:-3177px -20px}.customize-menu .f_skin_black{width:60px;height:60px;background-position:-3267px -20px}.customize-menu .f_skin_white{width:60px;height:60px;background-position:-3357px -20px}.customize-menu .f_skin_ea8349{width:60px;height:60px;background-position:-3448px -21px}.customize-menu .f_skin_c06534{width:60px;height:60px;background-position:-3539px -21px}.customize-menu .f_skin_98461a{width:60px;height:60px;background-position:-3629px -21px}.customize-menu .f_skin_eb052b{width:60px;height:60px;background-position:-3719px -20px}.customize-menu .f_skin_f69922{width:60px;height:60px;background-position:-3809px -20px}.customize-menu .f_skin_f5d70f{width:60px;height:60px;background-position:-3899px -20px}.customize-menu .f_skin_0ff591{width:60px;height:60px;background-position:-3989px -20px}.customize-menu .f_skin_2b43f6{width:60px;height:60px;background-position:-4079px -20px}.customize-menu .f_skin_d7a9f7{width:60px;height:60px;background-position:-4169px -21px}.customize-menu .f_skin_800ed0{width:60px;height:60px;background-position:-4259px -21px}.customize-menu .f_skin_rainbow{width:60px;height:60px;background-position:-4349px -21px}.customize-menu .f_skin_monster{width:60px;height:60px;background-position:-4439px -20px}.customize-menu .f_skin_pumpkin{width:60px;height:60px;background-position:-4529px -20px}.customize-menu .f_skin_skeleton{width:60px;height:60px;background-position:-4619px -20px}.customize-menu .f_skin_zombie{width:60px;height:60px;background-position:-4709px -20px}.customize-menu .f_skin_ghost{width:60px;height:60px;background-position:-4799px -20px}.customize-menu .f_skin_shadow{width:60px;height:60px;background-position:-4889px -21px}.customize-menu .m_head_0{width:60px;height:60px;background-position:-1557px -9px}.customize-menu .m_hair_blond{width:60px;height:60px;background-position:-1649px -6px}.customize-menu .m_hair_black{width:60px;height:60px;background-position:-1737px -6px}.customize-menu .m_hair_brown{width:60px;height:60px;background-position:-1827px -6px}.customize-menu .m_hair_white{width:60px;height:60px;background-position:-1917px -6px}.customize-menu .m_hair_red{width:60px;height:60px;background-position:-4528px -6px}.customize-menu .m_skin_dead{width:60px;height:60px;background-position:-2547px -20px}.customize-menu .m_skin_orc{width:60px;height:60px;background-position:-2637px -20px}.customize-menu .m_skin_asian{width:60px;height:60px;background-position:-2727px -20px}.customize-menu .m_skin_black{width:60px;height:60px;background-position:-2817px -20px}.customize-menu .m_skin_white{width:60px;height:60px;background-position:-2907px -20px}.customize-menu .m_skin_ea8349{width:60px;height:60px;background-position:-2999px -20px}.customize-menu .m_skin_c06534{width:60px;height:60px;background-position:-3087px -20px}.customize-menu .m_skin_98461a{width:60px;height:60px;background-position:-3178px -20px}.customize-menu .m_skin_eb052b{width:60px;height:60px;background-position:-3268px -20px}.customize-menu .m_skin_f69922{width:60px;height:60px;background-position:-3358px -20px}.customize-menu .m_skin_f5d70f{width:60px;height:60px;background-position:-3448px -20px}.customize-menu .m_skin_0ff591{width:60px;height:60px;background-position:-3538px -20px}.customize-menu .m_skin_2b43f6{width:60px;height:60px;background-position:-3628px -20px}.customize-menu .m_skin_d7a9f7{width:60px;height:60px;background-position:-3718px -20px}.customize-menu .m_skin_800ed0{width:60px;height:60px;background-position:-3808px -20px}.customize-menu .m_skin_rainbow{width:60px;height:60px;background-position:-3898px -20px}.customize-menu .m_skin_monster{width:60px;height:60px;background-position:-3988px -20px}.customize-menu .m_skin_pumpkin{width:60px;height:60px;background-position:-4078px -20px}.customize-menu .m_skin_skeleton{width:60px;height:60px;background-position:-4168px -20px}.customize-menu .m_skin_zombie{width:60px;height:60px;background-position:-4258px -20px}.customize-menu .m_skin_ghost{width:60px;height:60px;background-position:-4348px -20px}.customize-menu .m_skin_shadow{width:60px;height:60px;background-position:-4438px -20px}.customize-menu .locked{background-color:#727272} \ No newline at end of file +[class*=Mount_Head_],[class*=Mount_Body_]{background:url(../img/sprites/Mount-SpriteSheet.png) no-repeat;width:105px;height:105px;margin-top:18px}.Mount_Head_Wolf-Base{background-position:0 0}.Mount_Body_Wolf-Base{background-position:-105px 0}.Mount_Head_Fox-Base{background-position:-210px 0}.Mount_Body_Fox-Base{background-position:-315px 0}.Mount_Head_BearCub-Base{background-position:-420px 0}.Mount_Body_BearCub-Base{background-position:-525px 0}.Mount_Head_Dragon-Base{background-position:-630px 0}.Mount_Body_Dragon-Base{background-position:-735px 0}.Mount_Head_FlyingPig-Base{background-position:-840px 0}.Mount_Body_FlyingPig-Base{background-position:-945px 0}.Mount_Head_TigerCub-Base{background-position:-1050px 0}.Mount_Body_TigerCub-Base{background-position:-1155px 0}.Mount_Head_PandaCub-Base{background-position:-1260px 0}.Mount_Body_PandaCub-Base{background-position:-1365px 0}.Mount_Head_LionCub-Base{background-position:-1470px 0}.Mount_Body_LionCub-Base{background-position:-1575px 0}.Mount_Head_Cactus-Base{background-position:-1680px 0}.Mount_Body_Cactus-Base{background-position:-1785px 0}.Mount_Head_Wolf-White{background-position:0 -105px}.Mount_Body_Wolf-White{background-position:-105px -105px}.Mount_Head_Fox-White{background-position:-210px -105px}.Mount_Body_Fox-White{background-position:-315px -105px}.Mount_Head_BearCub-White{background-position:-420px -105px}.Mount_Body_BearCub-White{background-position:-525px -105px}.Mount_Head_Dragon-White{background-position:-630px -105px}.Mount_Body_Dragon-White{background-position:-735px -105px}.Mount_Head_FlyingPig-White{background-position:-840px -105px}.Mount_Body_FlyingPig-White{background-position:-945px -105px}.Mount_Head_TigerCub-White{background-position:-1050px -105px}.Mount_Body_TigerCub-White{background-position:-1155px -105px}.Mount_Head_PandaCub-White{background-position:-1260px -105px}.Mount_Body_PandaCub-White{background-position:-1365px -105px}.Mount_Head_LionCub-White{background-position:-1470px -105px}.Mount_Body_LionCub-White{background-position:-1575px -105px}.Mount_Head_Cactus-White{background-position:-1680px -105px}.Mount_Body_Cactus-White{background-position:-1785px -105px}.Mount_Head_Wolf-Desert{background-position:0 -210px}.Mount_Body_Wolf-Desert{background-position:-105px -210px}.Mount_Head_Fox-Desert{background-position:-210px -210px}.Mount_Body_Fox-Desert{background-position:-315px -210px}.Mount_Head_BearCub-Desert{background-position:-420px -210px}.Mount_Body_BearCub-Desert{background-position:-525px -210px}.Mount_Head_Dragon-Desert{background-position:-630px -210px}.Mount_Body_Dragon-Desert{background-position:-735px -210px}.Mount_Head_FlyingPig-Desert{background-position:-840px -210px}.Mount_Body_FlyingPig-Desert{background-position:-945px -210px}.Mount_Head_TigerCub-Desert{background-position:-1050px -210px}.Mount_Body_TigerCub-Desert{background-position:-1155px -210px}.Mount_Head_PandaCub-Desert{background-position:-1260px -210px}.Mount_Body_PandaCub-Desert{background-position:-1365px -210px}.Mount_Head_LionCub-Desert{background-position:-1470px -210px}.Mount_Body_LionCub-Desert{background-position:-1575px -210px}.Mount_Head_Cactus-Desert{background-position:-1680px -210px}.Mount_Body_Cactus-Desert{background-position:-1785px -210px}.Mount_Head_Wolf-Red{background-position:0 -315px}.Mount_Body_Wolf-Red{background-position:-105px -315px}.Mount_Head_Fox-Red{background-position:-210px -315px}.Mount_Body_Fox-Red{background-position:-315px -315px}.Mount_Head_BearCub-Red{background-position:-420px -315px}.Mount_Body_BearCub-Red{background-position:-525px -315px}.Mount_Head_Dragon-Red{background-position:-630px -315px}.Mount_Body_Dragon-Red{background-position:-735px -315px}.Mount_Head_FlyingPig-Red{background-position:-840px -315px}.Mount_Body_FlyingPig-Red{background-position:-945px -315px}.Mount_Head_TigerCub-Red{background-position:-1050px -315px}.Mount_Body_TigerCub-Red{background-position:-1155px -315px}.Mount_Head_PandaCub-Red{background-position:-1260px -315px}.Mount_Body_PandaCub-Red{background-position:-1365px -315px}.Mount_Head_LionCub-Red{background-position:-1470px -315px}.Mount_Body_LionCub-Red{background-position:-1575px -315px}.Mount_Head_Cactus-Red{background-position:-1680px -315px}.Mount_Body_Cactus-Red{background-position:-1785px -315px}.Mount_Head_Wolf-Shade{background-position:0 -420px}.Mount_Body_Wolf-Shade{background-position:-105px -420px}.Mount_Head_Fox-Shade{background-position:-210px -420px}.Mount_Body_Fox-Shade{background-position:-315px -420px}.Mount_Head_BearCub-Shade{background-position:-420px -420px}.Mount_Body_BearCub-Shade{background-position:-525px -420px}.Mount_Head_Dragon-Shade{background-position:-630px -420px}.Mount_Body_Dragon-Shade{background-position:-735px -420px}.Mount_Head_FlyingPig-Shade{background-position:-840px -420px}.Mount_Body_FlyingPig-Shade{background-position:-945px -420px}.Mount_Head_TigerCub-Shade{background-position:-1050px -420px}.Mount_Body_TigerCub-Shade{background-position:-1155px -420px}.Mount_Head_PandaCub-Shade{background-position:-1260px -420px}.Mount_Body_PandaCub-Shade{background-position:-1365px -420px}.Mount_Head_LionCub-Shade{background-position:-1470px -420px}.Mount_Body_LionCub-Shade{background-position:-1575px -420px}.Mount_Head_Cactus-Shade{background-position:-1680px -420px}.Mount_Body_Cactus-Shade{background-position:-1785px -420px}.Mount_Head_Wolf-Skeleton{background-position:0 -525px}.Mount_Body_Wolf-Skeleton{background-position:-105px -525px}.Mount_Head_Fox-Skeleton{background-position:-210px -525px}.Mount_Body_Fox-Skeleton{background-position:-315px -525px}.Mount_Head_BearCub-Skeleton{background-position:-420px -525px}.Mount_Body_BearCub-Skeleton{background-position:-525px -525px}.Mount_Head_Dragon-Skeleton{background-position:-630px -525px}.Mount_Body_Dragon-Skeleton{background-position:-735px -525px}.Mount_Head_FlyingPig-Skeleton{background-position:-840px -525px}.Mount_Body_FlyingPig-Skeleton{background-position:-945px -525px}.Mount_Head_TigerCub-Skeleton{background-position:-1050px -525px}.Mount_Body_TigerCub-Skeleton{background-position:-1155px -525px}.Mount_Head_PandaCub-Skeleton{background-position:-1260px -525px}.Mount_Body_PandaCub-Skeleton{background-position:-1365px -525px}.Mount_Head_LionCub-Skeleton{background-position:-1470px -525px}.Mount_Body_LionCub-Skeleton{background-position:-1575px -525px}.Mount_Head_Cactus-Skeleton{background-position:-1680px -525px}.Mount_Body_Cactus-Skeleton{background-position:-1785px -525px}.Mount_Head_Wolf-Zombie{background-position:0 -630px}.Mount_Body_Wolf-Zombie{background-position:-105px -630px}.Mount_Head_Fox-Zombie{background-position:-210px -630px}.Mount_Body_Fox-Zombie{background-position:-315px -630px}.Mount_Head_BearCub-Zombie{background-position:-420px -630px}.Mount_Body_BearCub-Zombie{background-position:-525px -630px}.Mount_Head_Dragon-Zombie{background-position:-630px -630px}.Mount_Body_Dragon-Zombie{background-position:-735px -630px}.Mount_Head_FlyingPig-Zombie{background-position:-840px -630px}.Mount_Body_FlyingPig-Zombie{background-position:-945px -630px}.Mount_Head_TigerCub-Zombie{background-position:-1050px -630px}.Mount_Body_TigerCub-Zombie{background-position:-1155px -630px}.Mount_Head_PandaCub-Zombie{background-position:-1260px -630px}.Mount_Body_PandaCub-Zombie{background-position:-1365px -630px}.Mount_Head_LionCub-Zombie{background-position:-1470px -630px}.Mount_Body_LionCub-Zombie{background-position:-1575px -630px}.Mount_Head_Cactus-Zombie{background-position:-1680px -630px}.Mount_Body_Cactus-Zombie{background-position:-1785px -630px}.Mount_Head_Wolf-Golden{background-position:0 -735px}.Mount_Body_Wolf-Golden{background-position:-105px -735px}.Mount_Head_Fox-Golden{background-position:-210px -735px}.Mount_Body_Fox-Golden{background-position:-315px -735px}.Mount_Head_BearCub-Golden{background-position:-420px -735px}.Mount_Body_BearCub-Golden{background-position:-525px -735px}.Mount_Head_Dragon-Golden{background-position:-630px -735px}.Mount_Body_Dragon-Golden{background-position:-735px -735px}.Mount_Head_FlyingPig-Golden{background-position:-840px -735px}.Mount_Body_FlyingPig-Golden{background-position:-945px -735px}.Mount_Head_TigerCub-Golden{background-position:-1050px -735px}.Mount_Body_TigerCub-Golden{background-position:-1155px -735px}.Mount_Head_PandaCub-Golden{background-position:-1260px -735px}.Mount_Body_PandaCub-Golden{background-position:-1365px -735px}.Mount_Head_LionCub-Golden{background-position:-1470px -735px}.Mount_Body_LionCub-Golden{background-position:-1575px -735px}.Mount_Head_Cactus-Golden{background-position:-1680px -735px}.Mount_Body_Cactus-Golden{background-position:-1785px -735px}.Mount_Head_Wolf-CottonCandyPink{background-position:0 -840px}.Mount_Body_Wolf-CottonCandyPink{background-position:-105px -840px}.Mount_Head_Fox-CottonCandyPink{background-position:-210px -840px}.Mount_Body_Fox-CottonCandyPink{background-position:-315px -840px}.Mount_Head_BearCub-CottonCandyPink{background-position:-420px -840px}.Mount_Body_BearCub-CottonCandyPink{background-position:-525px -840px}.Mount_Head_Dragon-CottonCandyPink{background-position:-630px -840px}.Mount_Body_Dragon-CottonCandyPink{background-position:-735px -840px}.Mount_Head_FlyingPig-CottonCandyPink{background-position:-840px -840px}.Mount_Body_FlyingPig-CottonCandyPink{background-position:-945px -840px}.Mount_Head_TigerCub-CottonCandyPink{background-position:-1050px -840px}.Mount_Body_TigerCub-CottonCandyPink{background-position:-1155px -840px}.Mount_Head_PandaCub-CottonCandyPink{background-position:-1260px -840px}.Mount_Body_PandaCub-CottonCandyPink{background-position:-1365px -840px}.Mount_Head_LionCub-CottonCandyPink{background-position:-1470px -840px}.Mount_Body_LionCub-CottonCandyPink{background-position:-1575px -840px}.Mount_Head_Cactus-CottonCandyPink{background-position:-1680px -840px}.Mount_Body_Cactus-CottonCandyPink{background-position:-1785px -840px}.Mount_Head_Wolf-CottonCandyBlue{background-position:0 -945px}.Mount_Body_Wolf-CottonCandyBlue{background-position:-105px -945px}.Mount_Head_Fox-CottonCandyBlue{background-position:-210px -945px}.Mount_Body_Fox-CottonCandyBlue{background-position:-315px -945px}.Mount_Head_BearCub-CottonCandyBlue{background-position:-420px -945px}.Mount_Body_BearCub-CottonCandyBlue{background-position:-525px -945px}.Mount_Head_Dragon-CottonCandyBlue{background-position:-630px -945px}.Mount_Body_Dragon-CottonCandyBlue{background-position:-735px -945px}.Mount_Head_FlyingPig-CottonCandyBlue{background-position:-840px -945px}.Mount_Body_FlyingPig-CottonCandyBlue{background-position:-945px -945px}.Mount_Head_TigerCub-CottonCandyBlue{background-position:-1050px -945px}.Mount_Body_TigerCub-CottonCandyBlue{background-position:-1155px -945px}.Mount_Head_PandaCub-CottonCandyBlue{background-position:-1260px -945px}.Mount_Body_PandaCub-CottonCandyBlue{background-position:-1365px -945px}.Mount_Head_LionCub-CottonCandyBlue{background-position:-1470px -945px}.Mount_Body_LionCub-CottonCandyBlue{background-position:-1575px -945px}.Mount_Head_Cactus-CottonCandyBlue{background-position:-1680px -945px}.Mount_Body_Cactus-CottonCandyBlue{background-position:-1785px -945px}.Mount_Head_BearCub-Polar{background-position:-1890px 0}.Mount_Body_BearCub-Polar{background-position:-1995px 0}.Mount_Head_LionCub-Ethereal{background-position:-1890px -105px}.Mount_Body_LionCub-Ethereal{background-position:-1995px -105px}.Pet_Egg_Wolf,.Pet_Egg_TigerCub,.Pet_Egg_PolarBear,.Pet_Egg_PandaCub,.Pet_Egg_LionCub,.Pet_Egg_Fox,.Pet_Egg_FlyingPig,.Pet_Egg_Dragon,.Pet_Egg_Cactus,.Pet_Egg_BearCub,.Pet_HatchingPotion_Base,.Pet_HatchingPotion_White,.Pet_HatchingPotion_Desert,.Pet_HatchingPotion_Red,.Pet_HatchingPotion_Shade,.Pet_HatchingPotion_Skeleton,.Pet_HatchingPotion_Zombie,.Pet_HatchingPotion_CottonCandyPink,.Pet_HatchingPotion_CottonCandyBlue,.Pet_HatchingPotion_Golden,.Pet_Currency_Gem,.Pet_Currency_Gem2x,.Pet_Currency_Gem1x{background:url(../img/sprites/Egg_Sprite_Sheet.png) no-repeat}.Pet_Egg_Wolf{background-position:0 0;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_TigerCub{background-position:0 -51px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_PolarBear{background-position:0 -102px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_PandaCub{background-position:0 -153px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_LionCub{background-position:0 -204px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Fox{background-position:0 -255px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_FlyingPig{background-position:0 -306px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Dragon{background-position:0 -357px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_Cactus{background-position:0 -408px;width:48px;height:53px;margin-left:1.25em}.Pet_Egg_BearCub{background-position:0 -459px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Base{background-position:-48px -0px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_White{background-position:-48px -51px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Desert{background-position:-48px -102px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Red{background-position:-48px -153px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Shade{background-position:-48px -204px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Skeleton{background-position:-48px -255px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Zombie{background-position:-48px -306px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_CottonCandyPink{background-position:-48px -357px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_CottonCandyBlue{background-position:-48px -408px;width:48px;height:53px;margin-left:1.25em}.Pet_HatchingPotion_Golden{background-position:-48px -459px;width:48px;height:53px;margin-left:1.25em}[class*=Pet_Food_]{background:url(../img/sprites/Egg_Sprite_Sheet.png) no-repeat;width:48px;height:53px;margin-left:1.25em}.Pet_Food_Meat{background-position:-96px -0px}.Pet_Food_Milk{background-position:-96px -51px}.Pet_Food_Potatoe{background-position:-96px -102px}.Pet_Food_Strawberry{background-position:-96px -153px}.Pet_Food_Chocolate{background-position:-96px -204px}.Pet_Food_Fish{background-position:-96px -255px}.Pet_Food_RottenMeat{background-position:-96px -306px}.Pet_Food_CottonCandyPink{background-position:-96px -357px}.Pet_Food_CottonCandyBlue{background-position:-96px -408px}.Pet_Food_Honey{background-position:-96px -459px}.Pet_Food_Saddle{background-position:-96px -510px}.Pet_Currency_Gem{background-position:0 -510px;width:51px;height:45px}.Pet_Currency_Gem2x{background-position:-55px -513px;width:34px;height:30px}.Pet_Currency_Gem1x{background-position:-63px -542px;width:19px;height:17px}.inline-gems{display:inline-block}.weapon_6,.weapon_5,.weapon_4,.weapon_3,.weapon_2,.weapon_1,.weapon_0,.skin_white,.skin_pale,.skin_orc,.skin_dead,.skin_black,.skin_asian,.shield_5_v1,.shield_5_v0,.shield_4_v0,.shield_3_v1,.shield_3_v0,.shield_2_v1,.shield_2_v0,.shield_1_v1,.shield_1_v0,_shield_4_v1,.nh_hair_white_v1,.nh_hair_white_v0,.nh_hair_brown_v1,.nh_hair_brown_v0,.nh_hair_blond_v1,.nh_hair_blond_v0,.nh_hair_black_v1,.nh_hair_black_v0,.head_5_v2,.head_5_v1,.head_5_v0,.head_4_v2,.head_4_v1,.head_4_v0,.head_3_v2,.head_3_v1,.head_3_v0,.head_2_v2,.head_2_v1,.head_2_v0,.head_1_v1,.head_1_v0,.head_0_v1,.head_0_v0,.hair_white_v1,.hair_white_v0,.hair_brown_v1,.hair_brown_v0,.hair_blond_v1,.hair_blond_v0,.hair_black_v1,.hair_black_v0,.armor_5_v1,.armor_5_v0,.armor_4_v1,.armor_4_v0,.armor_3_v1,.armor_3_v0,.armor_2_v0,.armor_1_v1,.armor_1_v0,.armor_0_v11,.armor_0_v10,.armor_0_v9,.armor_0_v8,.armor_0_v7,.armor_0_v6,.armor_0_v5,.armor_0_v4,.armor_0_v3,.armor_0_v2,.armor_0_v1,.armor_0_v0{background:url(../img/sprites/player_sprites.png) no-repeat}.weapon_6{background-position:0 0;width:90px;height:90px}.weapon_5{background-position:-90px 0;width:90px;height:90px}.weapon_4{background-position:-180px 0;width:90px;height:90px}.weapon_3{background-position:-270px 0;width:90px;height:90px}.weapon_2{background-position:-360px 0;width:90px;height:90px}.weapon_1{background-position:-450px 0;width:90px;height:90px}.weapon_0{background-position:-540px 0;width:90px;height:90px}.skin_white{background-position:-630px 0;width:90px;height:90px}.skin_pale{background-position:-720px 0;width:90px;height:90px}.skin_orc{background-position:-810px 0;width:90px;height:90px}.skin_dead{background-position:-900px 0;width:90px;height:90px}.skin_black{background-position:-990px 0;width:90px;height:90px}.skin_asian{background-position:-1080px 0;width:90px;height:90px}.shield_5_v1{background-position:-1170px 0;width:90px;height:90px}.shield_5_v0{background-position:-1260px 0;width:90px;height:90px}.shield_4_v0{background-position:-1350px 0;width:90px;height:90px}.shield_3_v1{background-position:-1440px 0;width:90px;height:90px}.shield_3_v0{background-position:-1530px 0;width:90px;height:90px}.shield_2_v1{background-position:-1620px 0;width:90px;height:90px}.shield_2_v0{background-position:-1710px 0;width:90px;height:90px}.shield_1_v1{background-position:-1800px 0;width:90px;height:90px}.shield_1_v0{background-position:-1890px 0;width:90px;height:90px}._shield_4_v1{background-position:-1980px 0;width:90px;height:90px}.nh_hair_white_v1{background-position:-2070px 0;width:90px;height:90px}.nh_hair_white_v0{background-position:-2160px 0;width:90px;height:90px}.nh_hair_brown_v1{background-position:-2250px 0;width:90px;height:90px}.nh_hair_brown_v0{background-position:-2340px 0;width:90px;height:90px}.nh_hair_blond_v1{background-position:-2430px 0;width:90px;height:90px}.nh_hair_blond_v0{background-position:-2520px 0;width:90px;height:90px}.nh_hair_black_v1{background-position:-2610px 0;width:90px;height:90px}.nh_hair_black_v0{background-position:-2700px 0;width:90px;height:90px}.head_5_v2{background-position:-2790px 0;width:90px;height:90px}.head_5_v1{background-position:-2880px 0;width:90px;height:90px}.head_5_v0{background-position:-2970px 0;width:90px;height:90px}.head_4_v2{background-position:-3060px 0;width:90px;height:90px}.head_4_v1{background-position:-3150px 0;width:90px;height:90px}.head_4_v0{background-position:-3240px 0;width:90px;height:90px}.head_3_v2{background-position:-3330px 0;width:90px;height:90px}.head_3_v1{background-position:-3420px 0;width:90px;height:90px}.head_3_v0{background-position:-3510px 0;width:90px;height:90px}.head_2_v2{background-position:-3600px 0;width:90px;height:90px}.head_2_v1{background-position:-3690px 0;width:90px;height:90px}.head_2_v0{background-position:-3780px 0;width:90px;height:90px}.head_1_v1{background-position:-3870px 0;width:90px;height:90px}.head_1_v0{background-position:-3960px 0;width:90px;height:90px}.head_0_v1{background-position:-4050px 0;width:90px;height:90px}.head_0_v0{background-position:-4140px 0;width:90px;height:90px}.hair_white_v1{background-position:-4230px 0;width:90px;height:90px}.hair_white_v0{background-position:-4320px 0;width:90px;height:90px}.hair_brown_v1{background-position:-4410px 0;width:90px;height:90px}.hair_brown_v0{background-position:-4500px 0;width:90px;height:90px}.hair_blond_v1{background-position:-4590px 0;width:90px;height:90px}.hair_blond_v0{background-position:-4680px 0;width:90px;height:90px}.hair_black_v1{background-position:-4770px 0;width:90px;height:90px}.hair_black_v0{background-position:-4860px 0;width:90px;height:90px}.armor_5_v1{background-position:-4950px 0;width:90px;height:90px}.armor_5_v0{background-position:-5040px 0;width:90px;height:90px}.armor_4_v1{background-position:-5130px 0;width:90px;height:90px}.armor_4_v0{background-position:-5220px 0;width:90px;height:90px}.armor_3_v1{background-position:-5310px 0;width:90px;height:90px}.armor_3_v0{background-position:-5400px 0;width:90px;height:90px}.armor_2_v0{background-position:-5490px 0;width:90px;height:90px}.armor_1_v1{background-position:-5580px 0;width:90px;height:90px}.armor_1_v0{background-position:-5670px 0;width:90px;height:90px}.armor_0_v11{background-position:-5760px 0;width:90px;height:90px}.armor_0_v10{background-position:-5850px 0;width:90px;height:90px}.armor_0_v9{background-position:-5940px 0;width:90px;height:90px}.armor_0_v8{background-position:-6030px 0;width:90px;height:90px}.armor_0_v7{background-position:-6120px 0;width:90px;height:90px}.armor_0_v6{background-position:-6210px 0;width:90px;height:90px}.armor_0_v5{background-position:-6300px 0;width:90px;height:90px}.armor_0_v4{background-position:-6390px 0;width:90px;height:90px}.armor_0_v3{background-position:-6480px 0;width:90px;height:90px}.armor_0_v2{background-position:-6570px 0;width:90px;height:90px}.armor_0_v1{background-position:-6660px 0;width:90px;height:90px}.armor_0_v0{background-position:-6750px 0;width:90px;height:90px}.m_weapon_6,.m_weapon_5,.m_weapon_4,.m_weapon_3,.m_weapon_2,.m_weapon_1,.m_weapon_0,.m_shield_5,.m_shield_4,.m_shield_3,.m_shield_2,.m_shield_1,.m_head_5,.m_head_4,.m_head_3,.m_head_2,.m_head_1,.m_head_0,.m_hair_blond,.m_hair_black,.m_hair_brown,.m_hair_white,.m_armor_5,.m_armor_4,.m_armor_3,.m_armor_2,.m_armor_1,.m_armor_0,.m_skin_dead,.m_skin_orc,.m_skin_asian,.m_skin_black,.m_skin_white,.m_skin_ea8349,.m_skin_c06534,.m_skin_98461a,.m_skin_eb052b,.m_skin_f69922,.m_skin_f5d70f,.m_skin_0ff591,.m_skin_2b43f6,.m_skin_d7a9f7,.m_skin_800ed0,.m_skin_rainbow,.m_skin_monster,.m_skin_pumpkin,.m_skin_skeleton,.m_skin_zombie,.m_skin_ghost,.m_skin_shadow,.m_hair_red{background:url(../img/sprites/male_sprites.png) no-repeat}.m_weapon_6{background-position:0 0;width:90px;height:90px}.m_weapon_5{background-position:-90px 0;width:90px;height:90px}.m_weapon_4{background-position:-180px 0;width:90px;height:90px}.m_weapon_3{background-position:-270px 0;width:90px;height:90px}.m_weapon_2{background-position:-360px 0;width:90px;height:90px}.m_weapon_1{background-position:-450px 0;width:90px;height:90px}.m_weapon_0{background-position:-540px 0;width:90px;height:90px}.m_shield_5{background-position:-630px 0;width:90px;height:90px}.m_shield_4{background-position:-720px 0;width:90px;height:90px}.m_shield_3{background-position:-810px 0;width:90px;height:90px}.m_shield_2{background-position:-900px 0;width:90px;height:90px}.m_shield_1{background-position:-990px 0;width:90px;height:90px}.m_head_5{background-position:-1080px 0;width:90px;height:90px}.m_head_4{background-position:-1170px 0;width:90px;height:90px}.m_head_3{background-position:-1260px 0;width:90px;height:90px}.m_head_2{background-position:-1350px 0;width:90px;height:90px}.m_head_1{background-position:-1440px 0;width:90px;height:90px}.m_head_0{background-position:-1530px 0;width:90px;height:90px}.m_hair_blond{background-position:-1620px 0;width:90px;height:90px}.m_hair_black{background-position:-1710px 0;width:90px;height:90px}.m_hair_brown{background-position:-1800px 0;width:90px;height:90px}.m_hair_white{background-position:-1890px 0;width:90px;height:90px}.m_armor_5{background-position:-1980px 0;width:90px;height:90px}.m_armor_4{background-position:-2070px 0;width:90px;height:90px}.m_armor_3{background-position:-2160px 0;width:90px;height:90px}.m_armor_2{background-position:-2250px 0;width:90px;height:90px}.m_armor_1{background-position:-2340px 0;width:90px;height:90px}.m_armor_0{background-position:-2430px 0;width:90px;height:90px}.m_skin_dead{background-position:-2520px 0;width:90px;height:90px}.m_skin_orc{background-position:-2610px 0;width:90px;height:90px}.m_skin_asian{background-position:-2700px 0;width:90px;height:90px}.m_skin_black{background-position:-2790px 0;width:90px;height:90px}.m_skin_white{background-position:-2880px 0;width:90px;height:90px}.m_skin_ea8349{background-position:-2970px 0;width:90px;height:90px}.m_skin_c06534{background-position:-3060px 0;width:90px;height:90px}.m_skin_98461a{background-position:-3150px 0;width:90px;height:90px}.m_skin_eb052b{background-position:-3240px 0;width:90px;height:90px}.m_skin_f69922{background-position:-3330px 0;width:90px;height:90px}.m_skin_f5d70f{background-position:-3420px 0;width:90px;height:90px}.m_skin_0ff591{background-position:-3510px 0;width:90px;height:90px}.m_skin_2b43f6{background-position:-3600px 0;width:90px;height:90px}.m_skin_d7a9f7{background-position:-3690px 0;width:90px;height:90px}.m_skin_800ed0{background-position:-3780px 0;width:90px;height:90px}.m_skin_rainbow{background-position:-3870px 0;width:90px;height:90px}.m_skin_monster{background-position:-3960px 0;width:90px;height:90px}.m_skin_pumpkin{background-position:-4050px 0;width:90px;height:90px}.m_skin_skeleton{background-position:-4140px 0;width:90px;height:90px}.m_skin_zombie{background-position:-4230px 0;width:90px;height:90px}.m_skin_ghost{background-position:-4320px 0;width:90px;height:90px}.m_skin_shadow{background-position:-4410px 0;width:90px;height:90px}.m_hair_red{background-position:-4500px 0;width:90px;height:90px}.f_weapon_6,.f_weapon_5,.f_weapon_4,.f_weapon_3,.f_weapon_2,.f_weapon_1,.f_weapon_0,.f_shield_5,.f_shield_4,.f_shield_3,.f_shield_2,.f_shield_1,.f_head_5_v2,.f_head_5_v1,.f_head_4_v2,.f_head_4_v1,.f_head_3_v2,.f_head_3_v1,.f_head_2_v2,.f_head_2_v1,.f_head_1,.f_head_0,.f_hair_white,.f_hair_brown,.f_hair_black,.f_hair_blond,.f_armor_5,.f_armor_4,.f_armor_3,.f_armor_2,.f_armor_1,.f_armor_0_v2,.f_armor_0_v1,.f_skin_dead,.f_skin_orc,.f_skin_asian,.f_skin_black,.f_skin_white,.f_skin_ea8349,.f_skin_c06534,.f_skin_98461a,.f_skin_eb052b,.f_skin_eb052b,.f_skin_f69922,.f_skin_f5d70f,.f_skin_0ff591,.f_skin_2b43f6,.f_skin_d7a9f7,.f_skin_800ed0,.f_skin_rainbow,.f_skin_monster,.f_skin_pumpkin,.f_skin_skeleton,.f_skin_zombie,.f_skin_ghost,.f_skin_shadow,.f_hair_red{background:url(../img/sprites/female_sprites.png) no-repeat}.f_weapon_6{background-position:0 0;width:90px;height:90px}.f_weapon_5{background-position:-90px 0;width:90px;height:90px}.f_weapon_4{background-position:-180px 0;width:90px;height:90px}.f_weapon_3{background-position:-270px 0;width:90px;height:90px}.f_weapon_2{background-position:-360px 0;width:90px;height:90px}.f_weapon_1{background-position:-450px 0;width:90px;height:90px}.f_weapon_0{background-position:-540px 0;width:90px;height:90px}.f_shield_5{background-position:-630px 0;width:90px;height:90px}.f_shield_4{background-position:-720px 0;width:90px;height:90px}.f_shield_3{background-position:-810px 0;width:90px;height:90px}.f_shield_2{background-position:-900px 0;width:90px;height:90px}.f_shield_1{background-position:-990px 0;width:90px;height:90px}.f_head_5_v2{background-position:-1080px 0;width:90px;height:90px}.f_head_5_v1{background-position:-1170px 0;width:90px;height:90px}.f_head_4_v2{background-position:-1260px 0;width:90px;height:90px}.f_head_4_v1{background-position:-1350px 0;width:90px;height:90px}.f_head_3_v2{background-position:-1440px 0;width:90px;height:90px}.f_head_3_v1{background-position:-1530px 0;width:90px;height:90px}.f_head_2_v2{background-position:-1620px 0;width:90px;height:90px}.f_head_2_v1{background-position:-1710px 0;width:90px;height:90px}.f_head_1{background-position:-1800px 0;width:90px;height:90px}.f_head_0{background-position:-1890px 0;width:90px;height:90px}.f_hair_white{background-position:-1980px 0;width:90px;height:90px}.f_hair_brown{background-position:-2070px 0;width:90px;height:90px}.f_hair_black{background-position:-2160px 0;width:90px;height:90px}.f_hair_blond{background-position:-2250px 0;width:90px;height:90px}.f_armor_5{background-position:-2340px 0;width:90px;height:90px}.f_armor_4{background-position:-2430px 0;width:90px;height:90px}.f_armor_3{background-position:-2520px 0;width:90px;height:90px}.f_armor_2{background-position:-2610px 0;width:90px;height:90px}.f_armor_1{background-position:-2700px 0;width:90px;height:90px}.f_armor_0_v2{background-position:-2790px 0;width:90px;height:90px}.f_armor_0_v1{background-position:-2880px 0;width:90px;height:90px}.f_skin_dead{background-position:-2970px 0;width:90px;height:90px}.f_skin_orc{background-position:-3060px 0;width:90px;height:90px}.f_skin_asian{background-position:-3150px 0;width:90px;height:90px}.f_skin_black{background-position:-3240px 0;width:90px;height:90px}.f_skin_white{background-position:-3330px 0;width:90px;height:90px}.f_skin_ea8349{background-position:-3420px 0;width:90px;height:90px}.f_skin_c06534{background-position:-3510px 0;width:90px;height:90px}.f_skin_98461a{background-position:-3600px 0;width:90px;height:90px}.f_skin_eb052b{background-position:-3690px 0;width:90px;height:90px}.f_skin_f69922{background-position:-3780px 0;width:90px;height:90px}.f_skin_f5d70f{background-position:-3870px 0;width:90px;height:90px}.f_skin_0ff591{background-position:-3960px 0;width:90px;height:90px}.f_skin_2b43f6{background-position:-4050px 0;width:90px;height:90px}.f_skin_d7a9f7{background-position:-4140px 0;width:90px;height:90px}.f_skin_800ed0{background-position:-4230px 0;width:90px;height:90px}.f_skin_rainbow{background-position:-4320px 0;width:90px;height:90px}.f_skin_monster{background-position:-4410px 0;width:90px;height:90px}.f_skin_pumpkin{background-position:-4500px 0;width:90px;height:90px}.f_skin_skeleton{background-position:-4590px 0;width:90px;height:90px}.f_skin_zombie{background-position:-4680px 0;width:90px;height:90px}.f_skin_ghost{background-position:-4770px 0;width:90px;height:90px}.f_skin_shadow{background-position:-4860px 0;width:90px;height:90px}.f_hair_red{background-position:-4950px 0;width:90px;height:90px}[class^=shop_],[class^=zzz]{background:url(../img/sprites/shop_sprites.png) no-repeat}[class^=shop_weapon_],[class^=shop_shield_],[class^=shop_head_],[class^=shop_armor_],[class^=zzz]{width:40px;height:40px}.shop_weapon_6,.shop_weapon_5,.shop_weapon_4,.shop_weapon_3,.shop_weapon_2,.shop_weapon_1,.shop_shield_5,.shop_shield_4,.shop_shield_3,.shop_shield_2,.shop_shield_1,.shop_head_5,.shop_head_4,.shop_head_3,.shop_head_2,.shop_head_1,.shop_armor_5,.shop_armor_4,.shop_armor_3,.shop_armor_2,.shop_armor_1,.shop_reroll,.shop_potion,.shop_copper,.shop_silver,.shop_gold,.zzz,.zzz_light{background:url(../img/sprites/shop_sprites.png) no-repeat}.shop_weapon_6,.shop_weapon_5,.shop_weapon_4,.shop_weapon_3,.shop_weapon_2,.shop_weapon_1,.shop_shield_5,.shop_shield_4,.shop_shield_3,.shop_shield_2,.shop_shield_1,.shop_head_5,.shop_head_4,.shop_head_3,.shop_head_2,.shop_head_1,.shop_armor_5,.shop_armor_4,.shop_armor_3,.shop_armor_2,.shop_armor_1,.zzz,.zzz_light{width:40px;height:40px}.shop_weapon_6{background-position:0 0}.shop_weapon_5{background-position:-40px 0}.shop_weapon_4{background-position:-80px 0}.shop_weapon_3{background-position:-120px 0}.shop_weapon_2{background-position:-160px 0}.shop_weapon_1{background-position:-200px 0}.shop_shield_5{background-position:-240px 0}.shop_shield_4{background-position:-280px 0}.shop_shield_3{background-position:-320px 0}.shop_shield_2{background-position:-360px 0}.shop_shield_1{background-position:-400px 0}.shop_head_5{background-position:-440px 0}.shop_head_4{background-position:-480px 0}.shop_head_3{background-position:-520px 0}.shop_head_2{background-position:-560px 0}.shop_head_1{background-position:-600px 0}.shop_armor_5{background-position:-640px 0}.shop_armor_4{background-position:-680px 0}.shop_armor_3{background-position:-720px 0}.shop_armor_2{background-position:-760px 0}.shop_armor_1{background-position:-800px 0}.shop_reroll{background-position:-840px 0;width:40px;height:40px}.shop_potion{background-position:-880px 0;width:40px;height:40px}.shop_copper{background-position:-923px -8px;width:32px;height:22px}.shop_silver{background-position:-963px -8px;width:32px;height:22px}.shop_gold{background-position:-1003px -8px;width:32px;height:22px}.zzz{background-position:-1200px 0}.zzz_light{background-position:-1280px 0}.Pet-Wolf-Zombie,.Pet-Wolf-White,.Pet-Wolf-Veteran,.Pet-Wolf-Skeleton,.Pet-Wolf-Shade,.Pet-Wolf-Red,.Pet-Wolf-Golden,.Pet-Wolf-Desert,.Pet-Wolf-CottonCandyPink,.Pet-Wolf-CottonCandyBlue,.Pet-TigerCub-Zombie,.Pet-TigerCub-White,.Pet-TigerCub-Skeleton,.Pet-TigerCub-Shade,.Pet-TigerCub-Red,.Pet-TigerCub-Golden,.Pet-TigerCub-Desert,.Pet-TigerCub-CottonCandyPink,.Pet-TigerCub-CottonCandyBlue,.Pet-TigerCub-Base,.Pet-PolarBearCub-Base,.Pet-PandaCub-Zombie,.Pet-PandaCub-White,.Pet-PandaCub-Skeleton,.Pet-PandaCub-Shade,.Pet-PandaCub-Red,.Pet-PandaCub-Golden,.Pet-PandaCub-Desert,.Pet-PandaCub-CottonCandyPink,.Pet-PandaCub-CottonCandyBlue,.Pet-PandaCub-Base,.Pet-LionCub-Zombie,.Pet-LionCub-White,.Pet-LionCub-Skeleton,.Pet-LionCub-Shade,.Pet-LionCub-Red,.Pet-LionCub-Golden,.Pet-LionCub-Desert,.Pet-LionCub-CottonCandyPink,.Pet-LionCub-CottonCandyBlue,.Pet-LionCub-Base,.Pet-Fox-Zombie,.Pet-Fox-White,.Pet-Fox-Skeleton,.Pet-Fox-Shade,.Pet-Fox-Red,.Pet-Fox-Golden,.Pet-Fox-Desert,.Pet-Fox-CottonCandyPink,.Pet-Fox-CottonCandyBlue,.Pet-Fox-Base,.Pet-FlyingPig-Zombie,.Pet-FlyingPig-White,.Pet-FlyingPig-Skeleton,.Pet-FlyingPig-Shade,.Pet-FlyingPig-Red,.Pet-FlyingPig-Golden,.Pet-FlyingPig-Desert,.Pet-FlyingPig-CottonCandyPink,.Pet-FlyingPig-CottonCandyBlue,.Pet-FlyingPig-Base,.Pet-Dragon-Zombie,.Pet-Dragon-White,.Pet-Dragon-Skeleton,.Pet-Dragon-Shade,.Pet-Dragon-Red,.Pet-Dragon-Golden,.Pet-Dragon-Desert,.Pet-Dragon-CottonCandyPink,.Pet-Dragon-CottonCandyBlue,.Pet-Dragon-Base,.Pet-Cactus-Skeleton,.Pet-Cactus-Red,.Pet-Cactus-Zombie,.Pet-Cactus-Shade,.Pet-Cactus-Golden,.Pet-Cactus-White,.Pet-Cactus-CottonCandyPink,.Pet-Cactus-CottonCandyBlue,.Pet-Cactus-Desert,.Pet-Cactus-Base,.Pet-BearCub-Zombie,.Pet-BearCub-White,.Pet-BearCub-Skeleton,.Pet-BearCub-Shade,.Pet-BearCub-Red,.Pet-BearCub-Golden,.Pet-BearCub-Desert,.Pet-BearCub-CottonCandyPink,.Pet-BearCub-CottonCandyBlue,.Pet-BearCub-Base,.Pet-Wolf-Base{background:url(../img/sprites/pet_sprites.png) no-repeat}.Pet-Wolf-Zombie{background-position:0 0;width:81px;height:99px}.Pet-Wolf-White{background-position:-81px 0;width:81px;height:99px}.Pet-Wolf-Veteran{background-position:-162px 0;width:81px;height:99px}.Pet-Wolf-Skeleton{background-position:-243px 0;width:81px;height:99px}.Pet-Wolf-Shade{background-position:-324px 0;width:81px;height:99px}.Pet-Wolf-Red{background-position:-405px 0;width:81px;height:99px}.Pet-Wolf-Golden{background-position:-486px 0;width:81px;height:99px}.Pet-Wolf-Desert{background-position:-567px 0;width:81px;height:99px}.Pet-Wolf-CottonCandyPink{background-position:-648px 0;width:81px;height:99px}.Pet-Wolf-CottonCandyBlue{background-position:-729px 0;width:81px;height:99px}.Pet-TigerCub-Zombie{background-position:-810px 0;width:81px;height:99px}.Pet-TigerCub-White{background-position:-891px 0;width:81px;height:99px}.Pet-TigerCub-Skeleton{background-position:-972px 0;width:81px;height:99px}.Pet-TigerCub-Shade{background-position:-1053px 0;width:81px;height:99px}.Pet-TigerCub-Red{background-position:-1134px 0;width:81px;height:99px}.Pet-TigerCub-Golden{background-position:-1215px 0;width:81px;height:99px}.Pet-TigerCub-Desert{background-position:-1296px 0;width:81px;height:99px}.Pet-TigerCub-CottonCandyPink{background-position:-1377px 0;width:81px;height:99px}.Pet-TigerCub-CottonCandyBlue{background-position:-1458px 0;width:81px;height:99px}.Pet-TigerCub-Base{background-position:-1539px 0;width:81px;height:99px}.Pet-PolarBearCub-Base{background-position:-1620px 0;width:81px;height:99px}.Pet-PandaCub-Zombie{background-position:-1701px 0;width:81px;height:99px}.Pet-PandaCub-White{background-position:-1782px 0;width:81px;height:99px}.Pet-PandaCub-Skeleton{background-position:-1863px 0;width:81px;height:99px}.Pet-PandaCub-Shade{background-position:-1944px 0;width:81px;height:99px}.Pet-PandaCub-Red{background-position:-2025px 0;width:81px;height:99px}.Pet-PandaCub-Golden{background-position:-2106px 0;width:81px;height:99px}.Pet-PandaCub-Desert{background-position:-2187px 0;width:81px;height:99px}.Pet-PandaCub-CottonCandyPink{background-position:-2268px 0;width:81px;height:99px}.Pet-PandaCub-CottonCandyBlue{background-position:-2349px 0;width:81px;height:99px}.Pet-PandaCub-Base{background-position:-2430px 0;width:81px;height:99px}.Pet-LionCub-Zombie{background-position:-2511px 0;width:81px;height:99px}.Pet-LionCub-White{background-position:-2592px 0;width:81px;height:99px}.Pet-LionCub-Skeleton{background-position:-2673px 0;width:81px;height:99px}.Pet-LionCub-Shade{background-position:-2754px 0;width:81px;height:99px}.Pet-LionCub-Red{background-position:-2835px 0;width:81px;height:99px}.Pet-LionCub-Golden{background-position:-2916px 0;width:81px;height:99px}.Pet-LionCub-Desert{background-position:-2997px 0;width:81px;height:99px}.Pet-LionCub-CottonCandyPink{background-position:-3078px 0;width:81px;height:99px}.Pet-LionCub-CottonCandyBlue{background-position:-3159px 0;width:81px;height:99px}.Pet-LionCub-Base{background-position:-3240px 0;width:81px;height:99px}.Pet-Fox-Zombie{background-position:-3321px 0;width:81px;height:99px}.Pet-Fox-White{background-position:-3402px 0;width:81px;height:99px}.Pet-Fox-Skeleton{background-position:-3483px 0;width:81px;height:99px}.Pet-Fox-Shade{background-position:-3564px 0;width:81px;height:99px}.Pet-Fox-Red{background-position:-3645px 0;width:81px;height:99px}.Pet-Fox-Golden{background-position:-3726px 0;width:81px;height:99px}.Pet-Fox-Desert{background-position:-3807px 0;width:81px;height:99px}.Pet-Fox-CottonCandyPink{background-position:-3888px 0;width:81px;height:99px}.Pet-Fox-CottonCandyBlue{background-position:-3969px 0;width:81px;height:99px}.Pet-Fox-Base{background-position:-4050px 0;width:81px;height:99px}.Pet-FlyingPig-Zombie{background-position:-4131px 0;width:81px;height:99px}.Pet-FlyingPig-White{background-position:-4212px 0;width:81px;height:99px}.Pet-FlyingPig-Skeleton{background-position:-4293px 0;width:81px;height:99px}.Pet-FlyingPig-Shade{background-position:-4374px 0;width:81px;height:99px}.Pet-FlyingPig-Red{background-position:-4455px 0;width:81px;height:99px}.Pet-FlyingPig-Golden{background-position:-4536px 0;width:81px;height:99px}.Pet-FlyingPig-Desert{background-position:-4617px 0;width:81px;height:99px}.Pet-FlyingPig-CottonCandyPink{background-position:-4698px 0;width:81px;height:99px}.Pet-FlyingPig-CottonCandyBlue{background-position:-4779px 0;width:81px;height:99px}.Pet-FlyingPig-Base{background-position:-4860px 0;width:81px;height:99px}.Pet-Dragon-Zombie{background-position:-4941px 0;width:81px;height:99px}.Pet-Dragon-White{background-position:-5022px 0;width:81px;height:99px}.Pet-Dragon-Skeleton{background-position:-5103px 0;width:81px;height:99px}.Pet-Dragon-Shade{background-position:-5184px 0;width:81px;height:99px}.Pet-Dragon-Red{background-position:-5265px 0;width:81px;height:99px}.Pet-Dragon-Golden{background-position:-5346px 0;width:81px;height:99px}.Pet-Dragon-Desert{background-position:-5427px 0;width:81px;height:99px}.Pet-Dragon-CottonCandyPink{background-position:-5508px 0;width:81px;height:99px}.Pet-Dragon-CottonCandyBlue{background-position:-5589px 0;width:81px;height:99px}.Pet-Dragon-Base{background-position:-5670px 0;width:81px;height:99px}.Pet-Cactus-Zombie{background-position:-5913px 0;width:81px;height:99px}.Pet-Cactus-White{background-position:-6156px 0;width:81px;height:99px}.Pet-Cactus-Skeleton{background-position:-5751px 0;width:81px;height:99px}.Pet-Cactus-Red{background-position:-5832px 0;width:81px;height:99px}.Pet-Cactus-Shade{background-position:-5994px 0;width:81px;height:99px}.Pet-Cactus-Golden{background-position:-6075px 0;width:81px;height:99px}.Pet-Cactus-Desert{background-position:-6399px 0;width:81px;height:99px}.Pet-Cactus-CottonCandyPink{background-position:-6237px 0;width:81px;height:99px}.Pet-Cactus-CottonCandyBlue{background-position:-6318px 0;width:81px;height:99px}.Pet-Cactus-Base{background-position:-6480px 0;width:81px;height:99px}.Pet-BearCub-Zombie{background-position:-6561px 0;width:81px;height:99px}.Pet-BearCub-White{background-position:-6642px 0;width:81px;height:99px}.Pet-BearCub-Skeleton{background-position:-6723px 0;width:81px;height:99px}.Pet-BearCub-Shade{background-position:-6804px 0;width:81px;height:99px}.Pet-BearCub-Red{background-position:-6885px 0;width:81px;height:99px}.Pet-BearCub-Golden{background-position:-6966px 0;width:81px;height:99px}.Pet-BearCub-Desert{background-position:-7047px 0;width:81px;height:99px}.Pet-BearCub-CottonCandyPink{background-position:-7128px 0;width:81px;height:99px}.Pet-BearCub-CottonCandyBlue{background-position:-7209px 0;width:81px;height:99px}.Pet-BearCub-Base{background-position:-7290px 0;width:81px;height:99px}.Pet-Wolf-Base{background-position:-7371px 0;width:81px;height:99px}.Pet-Egg{background:url(../img/sprites/egg.png) no-repeat;width:39px;height:42px}.Gems{background:url(../img/sprites/Egg_Sprite_Sheet.png);background-position:-57px 50px;display:inline-block;margin-right:5px;border-style:none;width:30px;height:30px}.achievements-container{margin:20px}.achievement{background:url(../img/sprites/achievements.png) no-repeat;width:24px;height:26px;float:left;clear:right;margin-right:10px}.achievement-sword{background-position:0 0}.achievement-tree{background-position:-24px 0}.achievement-rat{background-position:-48px 0}.achievement-comment{background-position:-72px 0}.achievement-armor{background-position:-96px 0}.achievement-cave{background-position:-120px 0}.achievement-sun{background-position:-144px 0}.achievement-boot{background-position:-168px 0}.achievement-coffin{background-position:-192px 0}.achievement-alien{background-position:-216px 0}.achievement-ninja{background-position:-240px 0}.achievement-cactus{background-position:-264px 0}.achievement-bow{background-position:-288px 0}.achievement-heart{background-position:-312px 0}.achievement-shield{background-position:-336px 0}.achievement-thermometer{background-position:-360px 0}.achievement-helm{background-position:-384px 0}.achievement-firefox{background-position:0 -26px}.achievement-cake{background-position:-24px -26px}.achievement-karaoke{background-position:-48px -26px}.weapon_7,.armor_6,.head_6,.shield_6{width:105px;height:105px;margin-left:-3px;margin-top:-18px}.weapon_8,.armor_7,.head_7,.shield_7{width:105px;height:105px;margin-left:-9px;margin-top:-15px}.head_6{background:url(../img/sprites/backer-only/BackerOnly-Equip-ShadeHelmet.gif) no-repeat}.head_7{background:url(../img/sprites/backer-only/ContributorOnly-Equip-CrystalHelmet.gif) no-repeat}.armor_6{background:url(../img/sprites/backer-only/BackerOnly-Equip-ShadeArmor.gif) no-repeat}.armor_7{background:url(../img/sprites/backer-only/ContributorOnly-Equip-CrystalArmor.gif) no-repeat}.shield_6{background:url(../img/sprites/backer-only/BackerOnly-Shield-TormentedSkull.gif) no-repeat}.shield_7{background:url(../img/sprites/backer-only/ContributorOnly-Shield-Crystal.png) no-repeat}.weapon_7{background:url(../img/sprites/backer-only/BackerOnly-Weapon-DarkSoulsBlade.gif) no-repeat}.weapon_8{background:url(../img/sprites/backer-only/ContributorOnly-Weapon-CrystalBlade.png) no-repeat}.Pet-Wolf-Cerberus{width:105px;height:72px;background:url(../img/sprites/backer-only/BackerOnly-Pet-CerberusPup.gif) no-repeat}.Pet-Dragon-Hydra{width:106px;height:89px;background:url(../img/sprites/backer-only/ContributorOnly-Pet-Hydra.png) no-repeat}.shop_shield_6{background-position:-1040px 0}.shop_weapon_7{background-position:-1080px 0}.shop_head_6{background-position:-1120px 0}.shop_armor_6{background-position:-1160px 0}.shop_shield_7{background-position:-1318px 0;width:35px}.shop_weapon_8{background-position:-1352px 0;width:45px}.shop_head_7{background-position:-1398px 0}.shop_armor_7{background-position:-1438px 0}.customize-menu .f_head_0{width:60px;height:60px;background-position:-1917px -9px}.customize-menu .f_armor_0_v2{width:60px;height:60px;background-position:-2819px -38px}.customize-menu .f_armor_0_v1{width:60px;height:60px;background-position:-2909px -38px}.customize-menu .f_hair_white{width:60px;height:60px;background-position:-2009px -8px}.customize-menu .f_hair_brown{width:60px;height:60px;background-position:-2099px -8px}.customize-menu .f_hair_black{width:60px;height:60px;background-position:-2189px -8px}.customize-menu .f_hair_blond{width:60px;height:60px;background-position:-2279px -8px}.customize-menu .f_hair_red{width:60px;height:60px;background-position:-4979px -8px}.customize-menu .f_skin_dead{width:60px;height:60px;background-position:-2997px -20px}.customize-menu .f_skin_orc{width:60px;height:60px;background-position:-3087px -20px}.customize-menu .f_skin_asian{width:60px;height:60px;background-position:-3177px -20px}.customize-menu .f_skin_black{width:60px;height:60px;background-position:-3267px -20px}.customize-menu .f_skin_white{width:60px;height:60px;background-position:-3357px -20px}.customize-menu .f_skin_ea8349{width:60px;height:60px;background-position:-3448px -21px}.customize-menu .f_skin_c06534{width:60px;height:60px;background-position:-3539px -21px}.customize-menu .f_skin_98461a{width:60px;height:60px;background-position:-3629px -21px}.customize-menu .f_skin_eb052b{width:60px;height:60px;background-position:-3719px -20px}.customize-menu .f_skin_f69922{width:60px;height:60px;background-position:-3809px -20px}.customize-menu .f_skin_f5d70f{width:60px;height:60px;background-position:-3899px -20px}.customize-menu .f_skin_0ff591{width:60px;height:60px;background-position:-3989px -20px}.customize-menu .f_skin_2b43f6{width:60px;height:60px;background-position:-4079px -20px}.customize-menu .f_skin_d7a9f7{width:60px;height:60px;background-position:-4169px -21px}.customize-menu .f_skin_800ed0{width:60px;height:60px;background-position:-4259px -21px}.customize-menu .f_skin_rainbow{width:60px;height:60px;background-position:-4349px -21px}.customize-menu .f_skin_monster{width:60px;height:60px;background-position:-4439px -20px}.customize-menu .f_skin_pumpkin{width:60px;height:60px;background-position:-4529px -20px}.customize-menu .f_skin_skeleton{width:60px;height:60px;background-position:-4619px -20px}.customize-menu .f_skin_zombie{width:60px;height:60px;background-position:-4709px -20px}.customize-menu .f_skin_ghost{width:60px;height:60px;background-position:-4799px -20px}.customize-menu .f_skin_shadow{width:60px;height:60px;background-position:-4889px -21px}.customize-menu .m_head_0{width:60px;height:60px;background-position:-1557px -9px}.customize-menu .m_hair_blond{width:60px;height:60px;background-position:-1649px -6px}.customize-menu .m_hair_black{width:60px;height:60px;background-position:-1737px -6px}.customize-menu .m_hair_brown{width:60px;height:60px;background-position:-1827px -6px}.customize-menu .m_hair_white{width:60px;height:60px;background-position:-1917px -6px}.customize-menu .m_hair_red{width:60px;height:60px;background-position:-4528px -6px}.customize-menu .m_skin_dead{width:60px;height:60px;background-position:-2547px -20px}.customize-menu .m_skin_orc{width:60px;height:60px;background-position:-2637px -20px}.customize-menu .m_skin_asian{width:60px;height:60px;background-position:-2727px -20px}.customize-menu .m_skin_black{width:60px;height:60px;background-position:-2817px -20px}.customize-menu .m_skin_white{width:60px;height:60px;background-position:-2907px -20px}.customize-menu .m_skin_ea8349{width:60px;height:60px;background-position:-2999px -20px}.customize-menu .m_skin_c06534{width:60px;height:60px;background-position:-3087px -20px}.customize-menu .m_skin_98461a{width:60px;height:60px;background-position:-3178px -20px}.customize-menu .m_skin_eb052b{width:60px;height:60px;background-position:-3268px -20px}.customize-menu .m_skin_f69922{width:60px;height:60px;background-position:-3358px -20px}.customize-menu .m_skin_f5d70f{width:60px;height:60px;background-position:-3448px -20px}.customize-menu .m_skin_0ff591{width:60px;height:60px;background-position:-3538px -20px}.customize-menu .m_skin_2b43f6{width:60px;height:60px;background-position:-3628px -20px}.customize-menu .m_skin_d7a9f7{width:60px;height:60px;background-position:-3718px -20px}.customize-menu .m_skin_800ed0{width:60px;height:60px;background-position:-3808px -20px}.customize-menu .m_skin_rainbow{width:60px;height:60px;background-position:-3898px -20px}.customize-menu .m_skin_monster{width:60px;height:60px;background-position:-3988px -20px}.customize-menu .m_skin_pumpkin{width:60px;height:60px;background-position:-4078px -20px}.customize-menu .m_skin_skeleton{width:60px;height:60px;background-position:-4168px -20px}.customize-menu .m_skin_zombie{width:60px;height:60px;background-position:-4258px -20px}.customize-menu .m_skin_ghost{width:60px;height:60px;background-position:-4348px -20px}.customize-menu .m_skin_shadow{width:60px;height:60px;background-position:-4438px -20px}.customize-menu .locked{background-color:#727272} \ No newline at end of file diff --git a/script/algos.coffee b/script/algos.coffee index 3cfa05cb64..a06f5f6aa8 100644 --- a/script/algos.coffee +++ b/script/algos.coffee @@ -140,7 +140,7 @@ randomDrop = (user, delta, priority, streak = 0, options={}) -> drop.type = 'Food' drop.dialog = "You've found a #{drop.text} Food! #{drop.notes}" - # Eggs & hatchingPotions: 60% chance + # Eggs: 30% chance else if rarity > .3 drop = helpers.randomVal eggs user.items.eggs[drop.name] ?= 0 @@ -148,33 +148,22 @@ randomDrop = (user, delta, priority, streak = 0, options={}) -> drop.type = 'Egg' drop.dialog = "You've found a #{drop.text} Egg! #{drop.notes}" - # Hatching Potion, 30% chance - break down by rarity even more. + # Hatching Potion, 30% chance - break down by rarity. else - acceptableDrops = [] + acceptableDrops = + # Very Rare: 10% (of 30%) + if rarity < .03 then ['Golden'] + # Rare: 20% (of 30%) + else if rarity < .06 then ['Zombie', 'CottonCandyPink', 'CottonCandyBlue'] + # Uncommon: 30% (of 30%) + else if rarity < .09 then ['Red', 'Shade', 'Skeleton'] + # Common: 40% (of 30%) + else ['Base', 'White', 'Desert'] - # Tier 5 (Blue Moon Rare) - if rarity < .15 - acceptableDrops = 'Base White Desert Red Shade Skeleton Zombie CottonCandyPink CottonCandyBlue Golden'.split(' ') + # No Rarity (@see https://github.com/HabitRPG/habitrpg/issues/1048, we may want to remove rareness when we add mounts) + #drop = helpers.randomVal hatchingPotions + drop = helpers.randomVal _.pick(hatchingPotions, ((v,k) -> k in acceptableDrops)) - # Tier 4 (Very Rare) - else if rarity < .2 - acceptableDrops = 'Base White Desert Red Shade Skeleton Zombie CottonCandyPink CottonCandyBlue'.split(' ') - - # Tier 3 (Rare) - else if rarity < .25 - acceptableDrops = 'Base White Desert Red Shade Skeleton'.split(' ') - - # Commented out for testing with increased egg drop, delete if successful - # Tier 2 (Scarce) - # else if rarity < .4 - # acceptableDrops = ['Base', 'White', 'Desert'] - - # Tier 1 (Common) - else - acceptableDrops = ['Base', 'White', 'Desert'] - - acceptableDrops = _.pick hatchingPotions, ((v,k) -> k in acceptableDrops) - drop = helpers.randomVal acceptableDrops user.items.hatchingPotions[drop.name] ?= 0 user.items.hatchingPotions[drop.name]++ drop.type = 'HatchingPotion' diff --git a/script/items.coffee b/script/items.coffee index 615a866508..f7af7d9222 100644 --- a/script/items.coffee +++ b/script/items.coffee @@ -59,7 +59,7 @@ items = module.exports.items = #{text: 'Polar Bear Cub', name: 'PolarBearCub', value: 3} hatchingPotions: - Base: value: 1, text: 'Base' + Base: value: 2, text: 'Base' White: value: 2, text: 'White' Desert: value: 2, text: 'Desert' Red: value: 3, text: 'Red' From bf8c0dd9dc1042214e5a1b92b30d0c68cf92d1ba Mon Sep 17 00:00:00 2001 From: Tyler Renelle Date: Thu, 14 Nov 2013 12:40:08 -0800 Subject: [PATCH 9/9] mounts: remove food temporarily. merging to master so we can run schema migration and start with item translations. This commit will be reverted when mounts is fully merged --- dist/habitrpg-shared.js | 24 ++++++++---------------- script/algos.coffee | 24 ++++++++++++------------ 2 files changed, 20 insertions(+), 28 deletions(-) diff --git a/dist/habitrpg-shared.js b/dist/habitrpg-shared.js index 16f32c9d67..d7fce83954 100644 --- a/dist/habitrpg-shared.js +++ b/dist/habitrpg-shared.js @@ -8304,7 +8304,7 @@ if(typeof module != 'undefined' && module.exports){ randomDrop = function(user, delta, priority, streak, options) { - var acceptableDrops, chanceMultiplier, drop, paths, rarity, reachedDropLimit, _base, _base1, _base2, _base3, _name, _name1, _name2, _ref1; + var acceptableDrops, chanceMultiplier, drop, paths, rarity, reachedDropLimit, _base, _base1, _base2, _name, _name1, _ref1; if (streak == null) { streak = 0; } @@ -8318,7 +8318,7 @@ if(typeof module != 'undefined' && module.exports){ count: 0 }; } - reachedDropLimit = (helpers.daysSince(user.items.lastDrop.date, user.preferences) === 0) && (user.items.lastDrop.count >= 5); + reachedDropLimit = (helpers.daysSince(user.items.lastDrop.date, user.preferences) === 0) && (user.items.lastDrop.count >= 2); if (reachedDropLimit) { return; } @@ -8327,29 +8327,21 @@ if(typeof module != 'undefined' && module.exports){ chanceMultiplier += streak; if (((_ref1 = user.flags) != null ? _ref1.dropsEnabled : void 0) && Math.random() < (.05 * chanceMultiplier)) { rarity = Math.random(); - if (rarity > .6) { - drop = helpers.randomVal(_.omit(items.items.food, 'Saddle')); - if ((_base1 = user.items.food)[_name = drop.name] == null) { - _base1[_name] = 0; - } - user.items.food[drop.name] += 1; - drop.type = 'Food'; - drop.dialog = "You've found a " + drop.text + " Food! " + drop.notes; - } else if (rarity > .3) { + if (rarity > .5) { drop = helpers.randomVal(eggs); - if ((_base2 = user.items.eggs)[_name1 = drop.name] == null) { - _base2[_name1] = 0; + if ((_base1 = user.items.eggs)[_name = drop.name] == null) { + _base1[_name] = 0; } user.items.eggs[drop.name]++; drop.type = 'Egg'; drop.dialog = "You've found a " + drop.text + " Egg! " + drop.notes; } else { - acceptableDrops = rarity < .03 ? ['Golden'] : rarity < .06 ? ['Zombie', 'CottonCandyPink', 'CottonCandyBlue'] : rarity < .09 ? ['Red', 'Shade', 'Skeleton'] : ['Base', 'White', 'Desert']; + acceptableDrops = rarity < .05 ? ['Golden'] : rarity < .1 ? ['Zombie', 'CottonCandyPink', 'CottonCandyBlue'] : rarity < .15 ? ['Red', 'Shade', 'Skeleton'] : ['Base', 'White', 'Desert']; drop = helpers.randomVal(_.pick(hatchingPotions, (function(v, k) { return __indexOf.call(acceptableDrops, k) >= 0; }))); - if ((_base3 = user.items.hatchingPotions)[_name2 = drop.name] == null) { - _base3[_name2] = 0; + if ((_base2 = user.items.hatchingPotions)[_name1 = drop.name] == null) { + _base2[_name1] = 0; } user.items.hatchingPotions[drop.name]++; drop.type = 'HatchingPotion'; diff --git a/script/algos.coffee b/script/algos.coffee index a06f5f6aa8..dc09095ad9 100644 --- a/script/algos.coffee +++ b/script/algos.coffee @@ -119,7 +119,7 @@ randomDrop = (user, delta, priority, streak = 0, options={}) -> date: +moment().subtract('d', 1) # trick - set it to yesterday on first run, that way they can get drops today count: 0 - reachedDropLimit = (helpers.daysSince(user.items.lastDrop.date, user.preferences) is 0) and (user.items.lastDrop.count >= 5) + reachedDropLimit = (helpers.daysSince(user.items.lastDrop.date, user.preferences) is 0) and (user.items.lastDrop.count >= 2) return if reachedDropLimit # % chance of getting a pet or meat @@ -132,16 +132,16 @@ randomDrop = (user, delta, priority, streak = 0, options={}) -> # If they got a drop: 50% chance of egg, 50% Hatching Potion. If hatchingPotion, broken down further even further rarity = Math.random() - # Food: 40% chance - if rarity > .6 - drop = helpers.randomVal _.omit(items.items.food, 'Saddle') - user.items.food[drop.name] ?= 0 - user.items.food[drop.name]+= 1 - drop.type = 'Food' - drop.dialog = "You've found a #{drop.text} Food! #{drop.notes}" +# # Food: 40% chance +# if rarity > .6 +# drop = helpers.randomVal _.omit(items.items.food, 'Saddle') +# user.items.food[drop.name] ?= 0 +# user.items.food[drop.name]+= 1 +# drop.type = 'Food' +# drop.dialog = "You've found a #{drop.text} Food! #{drop.notes}" # Eggs: 30% chance - else if rarity > .3 + if rarity > .5 drop = helpers.randomVal eggs user.items.eggs[drop.name] ?= 0 user.items.eggs[drop.name]++ @@ -152,11 +152,11 @@ randomDrop = (user, delta, priority, streak = 0, options={}) -> else acceptableDrops = # Very Rare: 10% (of 30%) - if rarity < .03 then ['Golden'] + if rarity < .05 then ['Golden'] # Rare: 20% (of 30%) - else if rarity < .06 then ['Zombie', 'CottonCandyPink', 'CottonCandyBlue'] + else if rarity < .1 then ['Zombie', 'CottonCandyPink', 'CottonCandyBlue'] # Uncommon: 30% (of 30%) - else if rarity < .09 then ['Red', 'Shade', 'Skeleton'] + else if rarity < .15 then ['Red', 'Shade', 'Skeleton'] # Common: 40% (of 30%) else ['Base', 'White', 'Desert']