commit ead9de23690765ebb3885d788c2ec3608a4e410f Author: Tyler Renelle Date: Mon Mar 11 14:50:00 2013 -0400 add a bunch of possible shared items for now, will clean up later diff --git a/algos.js b/algos.js new file mode 100644 index 0000000000..ec2dc2dfe7 --- /dev/null +++ b/algos.js @@ -0,0 +1,110 @@ +// Generated by CoffeeScript 1.4.0 +var HP, XP, priorityValue; + +XP = 15; + +HP = 2; + +priorityValue = function(priority) { + if (priority == null) { + priority = '!'; + } + switch (priority) { + case '!': + return 1; + case '!!': + return 1.5; + case '!!!': + return 2; + default: + return 1; + } +}; + +module.exports.tnl = function(level) { + var value; + if (level >= 100) { + value = 0; + } else { + value = Math.round(((Math.pow(level, 2) * 0.25) + (10 * level) + 139.75) / 10) * 10; + } + return value; +}; + +/* + Calculates Exp modificaiton based on level and weapon strength + {value} task.value for exp gain + {weaponStrength) weapon strength + {level} current user level + {priority} user-defined priority multiplier + */ + + +module.exports.expModifier = function(value, weaponStr, level, priority) { + var exp, str, strMod, totalStr; + if (priority == null) { + priority = '!'; + } + str = (level - 1) / 2; + totalStr = (str + weaponStr) / 100; + strMod = 1 + totalStr; + exp = value * XP * strMod * priorityValue(priority); + return Math.round(exp); +}; + +/* + Calculates HP modification based on level and armor defence + {value} task.value for hp loss + {armorDefense} defense from armor + {helmDefense} defense from helm + {level} current user level + {priority} user-defined priority multiplier + */ + + +module.exports.hpModifier = function(value, armorDef, helmDef, shieldDef, level, priority) { + var def, defMod, hp, totalDef; + if (priority == null) { + priority = '!'; + } + def = (level - 1) / 2; + totalDef = (def + armorDef + helmDef + shieldDef) / 100; + defMod = 1 - totalDef; + hp = value * HP * defMod * priorityValue(priority); + return Math.round(hp * 10) / 10; +}; + +/* + Future use + {priority} user-defined priority multiplier + */ + + +module.exports.gpModifier = function(value, modifier, priority) { + if (priority == null) { + priority = '!'; + } + return value * modifier * priorityValue(priority); +}; + +/* + Calculates the next task.value based on direction + Uses a capped inverse log y=.95^x, y>= -5 + {currentValue} the current value of the task + {direction} up or down + */ + + +module.exports.taskDeltaFormula = function(currentValue, direction) { + var delta; + if (currentValue < -47.27) { + currentValue = -47.27; + } else if (currentValue > 21.27) { + currentValue = 21.27; + } + delta = Math.pow(0.9747, currentValue); + if (direction === 'up') { + return delta; + } + return -delta; +}; diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000000..0a6f815a75 Binary files /dev/null and b/favicon.ico differ diff --git a/img/add.png b/img/add.png new file mode 100644 index 0000000000..f177dba4e7 Binary files /dev/null and b/img/add.png differ diff --git a/img/calendar_google.png b/img/calendar_google.png new file mode 100644 index 0000000000..d362e93fa1 Binary files /dev/null and b/img/calendar_google.png differ diff --git a/img/calendar_ical.png b/img/calendar_ical.png new file mode 100644 index 0000000000..f4094b56a4 Binary files /dev/null and b/img/calendar_ical.png differ diff --git a/img/coin_single_gold.png b/img/coin_single_gold.png new file mode 100644 index 0000000000..2ed267760e Binary files /dev/null and b/img/coin_single_gold.png differ diff --git a/img/coin_single_silver.png b/img/coin_single_silver.png new file mode 100644 index 0000000000..d2a16a58fd Binary files /dev/null and b/img/coin_single_silver.png differ diff --git a/img/facebook-login-register.jpeg b/img/facebook-login-register.jpeg new file mode 100644 index 0000000000..32f16d4978 Binary files /dev/null and b/img/facebook-login-register.jpeg differ diff --git a/img/glyphicons-halflings-white.png b/img/glyphicons-halflings-white.png new file mode 100644 index 0000000000..3bf6484a29 Binary files /dev/null and b/img/glyphicons-halflings-white.png differ diff --git a/img/glyphicons-halflings.png b/img/glyphicons-halflings.png new file mode 100644 index 0000000000..79bc568c21 Binary files /dev/null and b/img/glyphicons-halflings.png differ diff --git a/img/logo/habitrpg.jpg b/img/logo/habitrpg.jpg new file mode 100644 index 0000000000..d4025bd194 Binary files /dev/null and b/img/logo/habitrpg.jpg differ diff --git a/img/logo/habitrpg_pixel.png b/img/logo/habitrpg_pixel.png new file mode 100644 index 0000000000..4bd1c43f3b Binary files /dev/null and b/img/logo/habitrpg_pixel.png differ diff --git a/img/original_user.png b/img/original_user.png new file mode 100644 index 0000000000..6bf1987738 Binary files /dev/null and b/img/original_user.png differ diff --git a/img/party-unlocked.png b/img/party-unlocked.png new file mode 100644 index 0000000000..5daba47f35 Binary files /dev/null and b/img/party-unlocked.png differ diff --git a/img/play_screenshot.jpeg b/img/play_screenshot.jpeg new file mode 100644 index 0000000000..e25a82d650 Binary files /dev/null and b/img/play_screenshot.jpeg differ diff --git a/img/remove.png b/img/remove.png new file mode 100644 index 0000000000..a12b5c701c Binary files /dev/null and b/img/remove.png differ diff --git a/img/screenshot.jpeg b/img/screenshot.jpeg new file mode 100644 index 0000000000..bb8f7d5c63 Binary files /dev/null and b/img/screenshot.jpeg differ diff --git a/img/sprites/Armor6_m.xcf b/img/sprites/Armor6_m.xcf new file mode 100644 index 0000000000..dd0e8aee61 Binary files /dev/null and b/img/sprites/Armor6_m.xcf differ diff --git a/img/sprites/Armor7_m.xcf b/img/sprites/Armor7_m.xcf new file mode 100644 index 0000000000..65359e2754 Binary files /dev/null and b/img/sprites/Armor7_m.xcf differ diff --git a/img/sprites/Armor8_m.xcf b/img/sprites/Armor8_m.xcf new file mode 100644 index 0000000000..782d199f22 Binary files /dev/null and b/img/sprites/Armor8_m.xcf differ diff --git a/img/sprites/Mount-Bear-Base.png b/img/sprites/Mount-Bear-Base.png new file mode 100644 index 0000000000..94743baffb Binary files /dev/null and b/img/sprites/Mount-Bear-Base.png differ diff --git a/img/sprites/Mount-Lion-Base.png b/img/sprites/Mount-Lion-Base.png new file mode 100644 index 0000000000..5ea6c224b3 Binary files /dev/null and b/img/sprites/Mount-Lion-Base.png differ diff --git a/img/sprites/Mount-Panda-Base.png b/img/sprites/Mount-Panda-Base.png new file mode 100644 index 0000000000..859d51898c Binary files /dev/null and b/img/sprites/Mount-Panda-Base.png differ diff --git a/img/sprites/Mount-PolarBear-Base.png b/img/sprites/Mount-PolarBear-Base.png new file mode 100644 index 0000000000..8653816cfc Binary files /dev/null and b/img/sprites/Mount-PolarBear-Base.png differ diff --git a/img/sprites/Mount-Tiger-Base.png b/img/sprites/Mount-Tiger-Base.png new file mode 100644 index 0000000000..2cccf0ba2e Binary files /dev/null and b/img/sprites/Mount-Tiger-Base.png differ diff --git a/img/sprites/Pet-BearCub-Base.png b/img/sprites/Pet-BearCub-Base.png new file mode 100644 index 0000000000..8ea6388e60 Binary files /dev/null and b/img/sprites/Pet-BearCub-Base.png differ diff --git a/img/sprites/Pet-BearCub-CottonCandyBlue.png b/img/sprites/Pet-BearCub-CottonCandyBlue.png new file mode 100644 index 0000000000..6e84fe081c Binary files /dev/null and b/img/sprites/Pet-BearCub-CottonCandyBlue.png differ diff --git a/img/sprites/Pet-BearCub-CottonCandyPink.png b/img/sprites/Pet-BearCub-CottonCandyPink.png new file mode 100644 index 0000000000..50d68cdfb6 Binary files /dev/null and b/img/sprites/Pet-BearCub-CottonCandyPink.png differ diff --git a/img/sprites/Pet-BearCub-Desert.png b/img/sprites/Pet-BearCub-Desert.png new file mode 100644 index 0000000000..31a713f900 Binary files /dev/null and b/img/sprites/Pet-BearCub-Desert.png differ diff --git a/img/sprites/Pet-BearCub-Golden.png b/img/sprites/Pet-BearCub-Golden.png new file mode 100644 index 0000000000..af8a82aba2 Binary files /dev/null and b/img/sprites/Pet-BearCub-Golden.png differ diff --git a/img/sprites/Pet-BearCub-Red.png b/img/sprites/Pet-BearCub-Red.png new file mode 100644 index 0000000000..a41271921c Binary files /dev/null and b/img/sprites/Pet-BearCub-Red.png differ diff --git a/img/sprites/Pet-BearCub-Shade.png b/img/sprites/Pet-BearCub-Shade.png new file mode 100644 index 0000000000..e2ab5d71bd Binary files /dev/null and b/img/sprites/Pet-BearCub-Shade.png differ diff --git a/img/sprites/Pet-BearCub-Skeleton.png b/img/sprites/Pet-BearCub-Skeleton.png new file mode 100644 index 0000000000..204392a22e Binary files /dev/null and b/img/sprites/Pet-BearCub-Skeleton.png differ diff --git a/img/sprites/Pet-BearCub-White.png b/img/sprites/Pet-BearCub-White.png new file mode 100644 index 0000000000..d062f9e3f3 Binary files /dev/null and b/img/sprites/Pet-BearCub-White.png differ diff --git a/img/sprites/Pet-BearCub-Zombie.png b/img/sprites/Pet-BearCub-Zombie.png new file mode 100644 index 0000000000..0d009887ba Binary files /dev/null and b/img/sprites/Pet-BearCub-Zombie.png differ diff --git a/img/sprites/Pet-Cactus-Base.png b/img/sprites/Pet-Cactus-Base.png new file mode 100644 index 0000000000..62e721b7a9 Binary files /dev/null and b/img/sprites/Pet-Cactus-Base.png differ diff --git a/img/sprites/Pet-Cactus-Chocolate.png b/img/sprites/Pet-Cactus-Chocolate.png new file mode 100644 index 0000000000..64e5d16122 Binary files /dev/null and b/img/sprites/Pet-Cactus-Chocolate.png differ diff --git a/img/sprites/Pet-Cactus-CottonCandyBlue.png b/img/sprites/Pet-Cactus-CottonCandyBlue.png new file mode 100644 index 0000000000..7bb7a228ec Binary files /dev/null and b/img/sprites/Pet-Cactus-CottonCandyBlue.png differ diff --git a/img/sprites/Pet-Cactus-CottonCandyPink.png b/img/sprites/Pet-Cactus-CottonCandyPink.png new file mode 100644 index 0000000000..3479ecbe44 Binary files /dev/null and b/img/sprites/Pet-Cactus-CottonCandyPink.png differ diff --git a/img/sprites/Pet-Cactus-Cream.png b/img/sprites/Pet-Cactus-Cream.png new file mode 100644 index 0000000000..cd5ab8a75a Binary files /dev/null and b/img/sprites/Pet-Cactus-Cream.png differ diff --git a/img/sprites/Pet-Cactus-Golden.png b/img/sprites/Pet-Cactus-Golden.png new file mode 100644 index 0000000000..678b8afd36 Binary files /dev/null and b/img/sprites/Pet-Cactus-Golden.png differ diff --git a/img/sprites/Pet-Cactus-Licorice.png b/img/sprites/Pet-Cactus-Licorice.png new file mode 100644 index 0000000000..c870cd98a8 Binary files /dev/null and b/img/sprites/Pet-Cactus-Licorice.png differ diff --git a/img/sprites/Pet-Cactus-Rotten.png b/img/sprites/Pet-Cactus-Rotten.png new file mode 100644 index 0000000000..404036c981 Binary files /dev/null and b/img/sprites/Pet-Cactus-Rotten.png differ diff --git a/img/sprites/Pet-Cactus-Strawberry.png b/img/sprites/Pet-Cactus-Strawberry.png new file mode 100644 index 0000000000..52c6a40c35 Binary files /dev/null and b/img/sprites/Pet-Cactus-Strawberry.png differ diff --git a/img/sprites/Pet-Cactus-SugarCube.png b/img/sprites/Pet-Cactus-SugarCube.png new file mode 100644 index 0000000000..35003eaa20 Binary files /dev/null and b/img/sprites/Pet-Cactus-SugarCube.png differ diff --git a/img/sprites/Pet-Dragon-Base.png b/img/sprites/Pet-Dragon-Base.png new file mode 100644 index 0000000000..3abd67e4e7 Binary files /dev/null and b/img/sprites/Pet-Dragon-Base.png differ diff --git a/img/sprites/Pet-Dragon-CottonCandyBlue.png b/img/sprites/Pet-Dragon-CottonCandyBlue.png new file mode 100644 index 0000000000..01ce0fa208 Binary files /dev/null and b/img/sprites/Pet-Dragon-CottonCandyBlue.png differ diff --git a/img/sprites/Pet-Dragon-CottonCandyPink.png b/img/sprites/Pet-Dragon-CottonCandyPink.png new file mode 100644 index 0000000000..3a7dc098c7 Binary files /dev/null and b/img/sprites/Pet-Dragon-CottonCandyPink.png differ diff --git a/img/sprites/Pet-Dragon-Desert.png b/img/sprites/Pet-Dragon-Desert.png new file mode 100644 index 0000000000..5b8d2e8437 Binary files /dev/null and b/img/sprites/Pet-Dragon-Desert.png differ diff --git a/img/sprites/Pet-Dragon-Golden.png b/img/sprites/Pet-Dragon-Golden.png new file mode 100644 index 0000000000..2ba6af05a2 Binary files /dev/null and b/img/sprites/Pet-Dragon-Golden.png differ diff --git a/img/sprites/Pet-Dragon-Red.png b/img/sprites/Pet-Dragon-Red.png new file mode 100644 index 0000000000..107ec77714 Binary files /dev/null and b/img/sprites/Pet-Dragon-Red.png differ diff --git a/img/sprites/Pet-Dragon-Shade.png b/img/sprites/Pet-Dragon-Shade.png new file mode 100644 index 0000000000..4d7177045d Binary files /dev/null and b/img/sprites/Pet-Dragon-Shade.png differ diff --git a/img/sprites/Pet-Dragon-Skeleton.png b/img/sprites/Pet-Dragon-Skeleton.png new file mode 100644 index 0000000000..6970466f34 Binary files /dev/null and b/img/sprites/Pet-Dragon-Skeleton.png differ diff --git a/img/sprites/Pet-Dragon-White.png b/img/sprites/Pet-Dragon-White.png new file mode 100644 index 0000000000..130e89500c Binary files /dev/null and b/img/sprites/Pet-Dragon-White.png differ diff --git a/img/sprites/Pet-Dragon-Zombie.png b/img/sprites/Pet-Dragon-Zombie.png new file mode 100644 index 0000000000..a6f13078b8 Binary files /dev/null and b/img/sprites/Pet-Dragon-Zombie.png differ diff --git a/img/sprites/Pet-FlyingPig-Base.png b/img/sprites/Pet-FlyingPig-Base.png new file mode 100644 index 0000000000..aa7549e11b Binary files /dev/null and b/img/sprites/Pet-FlyingPig-Base.png differ diff --git a/img/sprites/Pet-FlyingPig-CottonCandyBlue.png b/img/sprites/Pet-FlyingPig-CottonCandyBlue.png new file mode 100644 index 0000000000..1660ca63b6 Binary files /dev/null and b/img/sprites/Pet-FlyingPig-CottonCandyBlue.png differ diff --git a/img/sprites/Pet-FlyingPig-CottonCandyPink.png b/img/sprites/Pet-FlyingPig-CottonCandyPink.png new file mode 100644 index 0000000000..33393e0f18 Binary files /dev/null and b/img/sprites/Pet-FlyingPig-CottonCandyPink.png differ diff --git a/img/sprites/Pet-FlyingPig-Desert.png b/img/sprites/Pet-FlyingPig-Desert.png new file mode 100644 index 0000000000..ba69e561f1 Binary files /dev/null and b/img/sprites/Pet-FlyingPig-Desert.png differ diff --git a/img/sprites/Pet-FlyingPig-Golden.png b/img/sprites/Pet-FlyingPig-Golden.png new file mode 100644 index 0000000000..4e10454ca4 Binary files /dev/null and b/img/sprites/Pet-FlyingPig-Golden.png differ diff --git a/img/sprites/Pet-FlyingPig-Red.png b/img/sprites/Pet-FlyingPig-Red.png new file mode 100644 index 0000000000..0996625130 Binary files /dev/null and b/img/sprites/Pet-FlyingPig-Red.png differ diff --git a/img/sprites/Pet-FlyingPig-Shade.png b/img/sprites/Pet-FlyingPig-Shade.png new file mode 100644 index 0000000000..dbc53bf557 Binary files /dev/null and b/img/sprites/Pet-FlyingPig-Shade.png differ diff --git a/img/sprites/Pet-FlyingPig-Skeleton.png b/img/sprites/Pet-FlyingPig-Skeleton.png new file mode 100644 index 0000000000..80d229dc65 Binary files /dev/null and b/img/sprites/Pet-FlyingPig-Skeleton.png differ diff --git a/img/sprites/Pet-FlyingPig-White.png b/img/sprites/Pet-FlyingPig-White.png new file mode 100644 index 0000000000..f067e1f476 Binary files /dev/null and b/img/sprites/Pet-FlyingPig-White.png differ diff --git a/img/sprites/Pet-FlyingPig-Zombie.png b/img/sprites/Pet-FlyingPig-Zombie.png new file mode 100644 index 0000000000..09fc882d23 Binary files /dev/null and b/img/sprites/Pet-FlyingPig-Zombie.png differ diff --git a/img/sprites/Pet-Fox-Base.png b/img/sprites/Pet-Fox-Base.png new file mode 100644 index 0000000000..e3e427f862 Binary files /dev/null and b/img/sprites/Pet-Fox-Base.png differ diff --git a/img/sprites/Pet-Fox-CottonCandyBlue.png b/img/sprites/Pet-Fox-CottonCandyBlue.png new file mode 100644 index 0000000000..e83e857494 Binary files /dev/null and b/img/sprites/Pet-Fox-CottonCandyBlue.png differ diff --git a/img/sprites/Pet-Fox-CottonCandyPink.png b/img/sprites/Pet-Fox-CottonCandyPink.png new file mode 100644 index 0000000000..0bf2768165 Binary files /dev/null and b/img/sprites/Pet-Fox-CottonCandyPink.png differ diff --git a/img/sprites/Pet-Fox-Desert.png b/img/sprites/Pet-Fox-Desert.png new file mode 100644 index 0000000000..e112a3b0d4 Binary files /dev/null and b/img/sprites/Pet-Fox-Desert.png differ diff --git a/img/sprites/Pet-Fox-Golden.png b/img/sprites/Pet-Fox-Golden.png new file mode 100644 index 0000000000..03749e8a70 Binary files /dev/null and b/img/sprites/Pet-Fox-Golden.png differ diff --git a/img/sprites/Pet-Fox-Red.png b/img/sprites/Pet-Fox-Red.png new file mode 100644 index 0000000000..de9018d8f1 Binary files /dev/null and b/img/sprites/Pet-Fox-Red.png differ diff --git a/img/sprites/Pet-Fox-Shade.png b/img/sprites/Pet-Fox-Shade.png new file mode 100644 index 0000000000..b109fc3717 Binary files /dev/null and b/img/sprites/Pet-Fox-Shade.png differ diff --git a/img/sprites/Pet-Fox-Skeleton.png b/img/sprites/Pet-Fox-Skeleton.png new file mode 100644 index 0000000000..780bb0c292 Binary files /dev/null and b/img/sprites/Pet-Fox-Skeleton.png differ diff --git a/img/sprites/Pet-Fox-White.png b/img/sprites/Pet-Fox-White.png new file mode 100644 index 0000000000..bfb4bb2901 Binary files /dev/null and b/img/sprites/Pet-Fox-White.png differ diff --git a/img/sprites/Pet-Fox-Zombie.png b/img/sprites/Pet-Fox-Zombie.png new file mode 100644 index 0000000000..d3957fe293 Binary files /dev/null and b/img/sprites/Pet-Fox-Zombie.png differ diff --git a/img/sprites/Pet-LionCub-Base.png b/img/sprites/Pet-LionCub-Base.png new file mode 100644 index 0000000000..13e00cdb49 Binary files /dev/null and b/img/sprites/Pet-LionCub-Base.png differ diff --git a/img/sprites/Pet-LionCub-CottonCandyBlue.png b/img/sprites/Pet-LionCub-CottonCandyBlue.png new file mode 100644 index 0000000000..c3eccd4938 Binary files /dev/null and b/img/sprites/Pet-LionCub-CottonCandyBlue.png differ diff --git a/img/sprites/Pet-LionCub-CottonCandyPink.png b/img/sprites/Pet-LionCub-CottonCandyPink.png new file mode 100644 index 0000000000..00dfbf6b1e Binary files /dev/null and b/img/sprites/Pet-LionCub-CottonCandyPink.png differ diff --git a/img/sprites/Pet-LionCub-Desert.png b/img/sprites/Pet-LionCub-Desert.png new file mode 100644 index 0000000000..42f8a64b58 Binary files /dev/null and b/img/sprites/Pet-LionCub-Desert.png differ diff --git a/img/sprites/Pet-LionCub-Golden.png b/img/sprites/Pet-LionCub-Golden.png new file mode 100644 index 0000000000..da2c9ee25d Binary files /dev/null and b/img/sprites/Pet-LionCub-Golden.png differ diff --git a/img/sprites/Pet-LionCub-Red.png b/img/sprites/Pet-LionCub-Red.png new file mode 100644 index 0000000000..297a20f81a Binary files /dev/null and b/img/sprites/Pet-LionCub-Red.png differ diff --git a/img/sprites/Pet-LionCub-Shade.png b/img/sprites/Pet-LionCub-Shade.png new file mode 100644 index 0000000000..9314b2b9ce Binary files /dev/null and b/img/sprites/Pet-LionCub-Shade.png differ diff --git a/img/sprites/Pet-LionCub-Skeleton.png b/img/sprites/Pet-LionCub-Skeleton.png new file mode 100644 index 0000000000..e3f640d34a Binary files /dev/null and b/img/sprites/Pet-LionCub-Skeleton.png differ diff --git a/img/sprites/Pet-LionCub-White.png b/img/sprites/Pet-LionCub-White.png new file mode 100644 index 0000000000..e09a0aca09 Binary files /dev/null and b/img/sprites/Pet-LionCub-White.png differ diff --git a/img/sprites/Pet-LionCub-Zombie.png b/img/sprites/Pet-LionCub-Zombie.png new file mode 100644 index 0000000000..b27425622d Binary files /dev/null and b/img/sprites/Pet-LionCub-Zombie.png differ diff --git a/img/sprites/Pet-PandaCub-Base.png b/img/sprites/Pet-PandaCub-Base.png new file mode 100644 index 0000000000..7f162ef428 Binary files /dev/null and b/img/sprites/Pet-PandaCub-Base.png differ diff --git a/img/sprites/Pet-PandaCub-CottonCandyBlue.png b/img/sprites/Pet-PandaCub-CottonCandyBlue.png new file mode 100644 index 0000000000..fcaa0d243d Binary files /dev/null and b/img/sprites/Pet-PandaCub-CottonCandyBlue.png differ diff --git a/img/sprites/Pet-PandaCub-CottonCandyPink.png b/img/sprites/Pet-PandaCub-CottonCandyPink.png new file mode 100644 index 0000000000..530a58ed7d Binary files /dev/null and b/img/sprites/Pet-PandaCub-CottonCandyPink.png differ diff --git a/img/sprites/Pet-PandaCub-Desert.png b/img/sprites/Pet-PandaCub-Desert.png new file mode 100644 index 0000000000..3a18a095dd Binary files /dev/null and b/img/sprites/Pet-PandaCub-Desert.png differ diff --git a/img/sprites/Pet-PandaCub-Golden.png b/img/sprites/Pet-PandaCub-Golden.png new file mode 100644 index 0000000000..056da19e4a Binary files /dev/null and b/img/sprites/Pet-PandaCub-Golden.png differ diff --git a/img/sprites/Pet-PandaCub-Red.png b/img/sprites/Pet-PandaCub-Red.png new file mode 100644 index 0000000000..ac7aec96c7 Binary files /dev/null and b/img/sprites/Pet-PandaCub-Red.png differ diff --git a/img/sprites/Pet-PandaCub-Shade.png b/img/sprites/Pet-PandaCub-Shade.png new file mode 100644 index 0000000000..8c2492bee9 Binary files /dev/null and b/img/sprites/Pet-PandaCub-Shade.png differ diff --git a/img/sprites/Pet-PandaCub-Skeleton.png b/img/sprites/Pet-PandaCub-Skeleton.png new file mode 100644 index 0000000000..0735a345d0 Binary files /dev/null and b/img/sprites/Pet-PandaCub-Skeleton.png differ diff --git a/img/sprites/Pet-PandaCub-White.png b/img/sprites/Pet-PandaCub-White.png new file mode 100644 index 0000000000..8baf058db6 Binary files /dev/null and b/img/sprites/Pet-PandaCub-White.png differ diff --git a/img/sprites/Pet-PandaCub-Zombie.png b/img/sprites/Pet-PandaCub-Zombie.png new file mode 100644 index 0000000000..fa83fd893c Binary files /dev/null and b/img/sprites/Pet-PandaCub-Zombie.png differ diff --git a/img/sprites/Pet-PolarBearCub-Base.png b/img/sprites/Pet-PolarBearCub-Base.png new file mode 100644 index 0000000000..10a49bbb80 Binary files /dev/null and b/img/sprites/Pet-PolarBearCub-Base.png differ diff --git a/img/sprites/Pet-TigerCub-Base.png b/img/sprites/Pet-TigerCub-Base.png new file mode 100644 index 0000000000..cfd066e381 Binary files /dev/null and b/img/sprites/Pet-TigerCub-Base.png differ diff --git a/img/sprites/Pet-TigerCub-CottonCandyBlue.png b/img/sprites/Pet-TigerCub-CottonCandyBlue.png new file mode 100644 index 0000000000..5e7f6e489d Binary files /dev/null and b/img/sprites/Pet-TigerCub-CottonCandyBlue.png differ diff --git a/img/sprites/Pet-TigerCub-CottonCandyPink.png b/img/sprites/Pet-TigerCub-CottonCandyPink.png new file mode 100644 index 0000000000..da07c91e01 Binary files /dev/null and b/img/sprites/Pet-TigerCub-CottonCandyPink.png differ diff --git a/img/sprites/Pet-TigerCub-Desert.png b/img/sprites/Pet-TigerCub-Desert.png new file mode 100644 index 0000000000..b6e3e9c78b Binary files /dev/null and b/img/sprites/Pet-TigerCub-Desert.png differ diff --git a/img/sprites/Pet-TigerCub-Golden.png b/img/sprites/Pet-TigerCub-Golden.png new file mode 100644 index 0000000000..2c8d4afa0f Binary files /dev/null and b/img/sprites/Pet-TigerCub-Golden.png differ diff --git a/img/sprites/Pet-TigerCub-Red.png b/img/sprites/Pet-TigerCub-Red.png new file mode 100644 index 0000000000..1a381963c3 Binary files /dev/null and b/img/sprites/Pet-TigerCub-Red.png differ diff --git a/img/sprites/Pet-TigerCub-Shade.png b/img/sprites/Pet-TigerCub-Shade.png new file mode 100644 index 0000000000..6e29602b8e Binary files /dev/null and b/img/sprites/Pet-TigerCub-Shade.png differ diff --git a/img/sprites/Pet-TigerCub-Skeleton.png b/img/sprites/Pet-TigerCub-Skeleton.png new file mode 100644 index 0000000000..4120915f8d Binary files /dev/null and b/img/sprites/Pet-TigerCub-Skeleton.png differ diff --git a/img/sprites/Pet-TigerCub-White.png b/img/sprites/Pet-TigerCub-White.png new file mode 100644 index 0000000000..0e5a6dcf53 Binary files /dev/null and b/img/sprites/Pet-TigerCub-White.png differ diff --git a/img/sprites/Pet-TigerCub-Zombie.png b/img/sprites/Pet-TigerCub-Zombie.png new file mode 100644 index 0000000000..a2329dbc19 Binary files /dev/null and b/img/sprites/Pet-TigerCub-Zombie.png differ diff --git a/img/sprites/Pet-Wolf-CottonCandyBlue.png b/img/sprites/Pet-Wolf-CottonCandyBlue.png new file mode 100644 index 0000000000..1447a765c3 Binary files /dev/null and b/img/sprites/Pet-Wolf-CottonCandyBlue.png differ diff --git a/img/sprites/Pet-Wolf-CottonCandyPink.png b/img/sprites/Pet-Wolf-CottonCandyPink.png new file mode 100644 index 0000000000..4942612982 Binary files /dev/null and b/img/sprites/Pet-Wolf-CottonCandyPink.png differ diff --git a/img/sprites/Pet-Wolf-Desert.png b/img/sprites/Pet-Wolf-Desert.png new file mode 100644 index 0000000000..2d18f7ac9a Binary files /dev/null and b/img/sprites/Pet-Wolf-Desert.png differ diff --git a/img/sprites/Pet-Wolf-Golden.png b/img/sprites/Pet-Wolf-Golden.png new file mode 100644 index 0000000000..59e71564d7 Binary files /dev/null and b/img/sprites/Pet-Wolf-Golden.png differ diff --git a/img/sprites/Pet-Wolf-Red.png b/img/sprites/Pet-Wolf-Red.png new file mode 100644 index 0000000000..d80b8f795b Binary files /dev/null and b/img/sprites/Pet-Wolf-Red.png differ diff --git a/img/sprites/Pet-Wolf-Shade.png b/img/sprites/Pet-Wolf-Shade.png new file mode 100644 index 0000000000..e1056dd3f9 Binary files /dev/null and b/img/sprites/Pet-Wolf-Shade.png differ diff --git a/img/sprites/Pet-Wolf-Skeleton.png b/img/sprites/Pet-Wolf-Skeleton.png new file mode 100644 index 0000000000..34ecdb8f66 Binary files /dev/null and b/img/sprites/Pet-Wolf-Skeleton.png differ diff --git a/img/sprites/Pet-Wolf-Veteran.png b/img/sprites/Pet-Wolf-Veteran.png new file mode 100644 index 0000000000..33439e60bf Binary files /dev/null and b/img/sprites/Pet-Wolf-Veteran.png differ diff --git a/img/sprites/Pet-Wolf-White.png b/img/sprites/Pet-Wolf-White.png new file mode 100644 index 0000000000..396aa0ba32 Binary files /dev/null and b/img/sprites/Pet-Wolf-White.png differ diff --git a/img/sprites/Pet-Wolf-Zombie.png b/img/sprites/Pet-Wolf-Zombie.png new file mode 100644 index 0000000000..d9fb098a48 Binary files /dev/null and b/img/sprites/Pet-Wolf-Zombie.png differ diff --git a/img/sprites/armor0_f.png b/img/sprites/armor0_f.png new file mode 100644 index 0000000000..f2200b5db6 Binary files /dev/null and b/img/sprites/armor0_f.png differ diff --git a/img/sprites/armor0_m.png b/img/sprites/armor0_m.png new file mode 100644 index 0000000000..1840cafffa Binary files /dev/null and b/img/sprites/armor0_m.png differ diff --git a/img/sprites/armor1_f.png b/img/sprites/armor1_f.png new file mode 100644 index 0000000000..769e23433b Binary files /dev/null and b/img/sprites/armor1_f.png differ diff --git a/img/sprites/armor1_m.png b/img/sprites/armor1_m.png new file mode 100644 index 0000000000..bf8287a17b Binary files /dev/null and b/img/sprites/armor1_m.png differ diff --git a/img/sprites/armor2_f_v1.png b/img/sprites/armor2_f_v1.png new file mode 100644 index 0000000000..eccf6dffbf Binary files /dev/null and b/img/sprites/armor2_f_v1.png differ diff --git a/img/sprites/armor2_f_v2.png b/img/sprites/armor2_f_v2.png new file mode 100644 index 0000000000..35c163179a Binary files /dev/null and b/img/sprites/armor2_f_v2.png differ diff --git a/img/sprites/armor2_m.png b/img/sprites/armor2_m.png new file mode 100644 index 0000000000..1e0bbc0483 Binary files /dev/null and b/img/sprites/armor2_m.png differ diff --git a/img/sprites/armor3_f_v1.png b/img/sprites/armor3_f_v1.png new file mode 100644 index 0000000000..d2e011d5b6 Binary files /dev/null and b/img/sprites/armor3_f_v1.png differ diff --git a/img/sprites/armor3_f_v2.png b/img/sprites/armor3_f_v2.png new file mode 100644 index 0000000000..600327d6e6 Binary files /dev/null and b/img/sprites/armor3_f_v2.png differ diff --git a/img/sprites/armor3_m.png b/img/sprites/armor3_m.png new file mode 100644 index 0000000000..325be1e4e6 Binary files /dev/null and b/img/sprites/armor3_m.png differ diff --git a/img/sprites/armor4_f_v1.png b/img/sprites/armor4_f_v1.png new file mode 100644 index 0000000000..cd04d48700 Binary files /dev/null and b/img/sprites/armor4_f_v1.png differ diff --git a/img/sprites/armor4_f_v2.png b/img/sprites/armor4_f_v2.png new file mode 100644 index 0000000000..1078b05b0f Binary files /dev/null and b/img/sprites/armor4_f_v2.png differ diff --git a/img/sprites/armor4_m.png b/img/sprites/armor4_m.png new file mode 100644 index 0000000000..de3f698563 Binary files /dev/null and b/img/sprites/armor4_m.png differ diff --git a/img/sprites/armor5_f_v1.png b/img/sprites/armor5_f_v1.png new file mode 100644 index 0000000000..888a2888d1 Binary files /dev/null and b/img/sprites/armor5_f_v1.png differ diff --git a/img/sprites/armor5_f_v2.png b/img/sprites/armor5_f_v2.png new file mode 100644 index 0000000000..d8c889a96f Binary files /dev/null and b/img/sprites/armor5_f_v2.png differ diff --git a/img/sprites/armor5_m.png b/img/sprites/armor5_m.png new file mode 100644 index 0000000000..6dcb9e3f7d Binary files /dev/null and b/img/sprites/armor5_m.png differ diff --git a/img/sprites/css_sprite.png b/img/sprites/css_sprite.png new file mode 100644 index 0000000000..0ecda867ed Binary files /dev/null and b/img/sprites/css_sprite.png differ diff --git a/img/sprites/dead.png b/img/sprites/dead.png new file mode 100644 index 0000000000..38e882c706 Binary files /dev/null and b/img/sprites/dead.png differ diff --git a/img/sprites/development.xcf b/img/sprites/development.xcf new file mode 100644 index 0000000000..c5d80bc5bd Binary files /dev/null and b/img/sprites/development.xcf differ diff --git a/img/sprites/favicon.png b/img/sprites/favicon.png new file mode 100644 index 0000000000..a1783aac99 Binary files /dev/null and b/img/sprites/favicon.png differ diff --git a/img/sprites/female.xcf b/img/sprites/female.xcf new file mode 100644 index 0000000000..c2a9dbbf03 Binary files /dev/null and b/img/sprites/female.xcf differ diff --git a/img/sprites/female_sprites b/img/sprites/female_sprites new file mode 100644 index 0000000000..a60eb31e8c --- /dev/null +++ b/img/sprites/female_sprites @@ -0,0 +1,39 @@ +weapon_6, weapon_5, weapon_4, weapon_3, weapon_2, weapon_1, weapon_0, shield_5, shield_4, shield_3, shield_2, shield_1, head_5_v2, head_5_v1, head_4_v2, head_4_v1, head_3_v2, head_3_v1, head_2_v2, head_2_v1, head_1, head_0, hair_white, hair_brown, hair_black, hair_blond, armor_5, armor_4, armor_3, armor_2, armor_1, armor_0_v2, armor_0_v1, skin_dead, skin_orc, skin_asian, skin_black, skin_white {background: url(female_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} +shield_5 {background-position: -630px 0; width: 90px; height: 90px} +shield_4 {background-position: -720px 0; width: 90px; height: 90px} +shield_3 {background-position: -810px 0; width: 90px; height: 90px} +shield_2 {background-position: -900px 0; width: 90px; height: 90px} +shield_1 {background-position: -990px 0; width: 90px; height: 90px} +head_5_v2 {background-position: -1080px 0; width: 90px; height: 90px} +head_5_v1 {background-position: -1170px 0; width: 90px; height: 90px} +head_4_v2 {background-position: -1260px 0; width: 90px; height: 90px} +head_4_v1 {background-position: -1350px 0; width: 90px; height: 90px} +head_3_v2 {background-position: -1440px 0; width: 90px; height: 90px} +head_3_v1 {background-position: -1530px 0; width: 90px; height: 90px} +head_2_v2 {background-position: -1620px 0; width: 90px; height: 90px} +head_2_v1 {background-position: -1710px 0; width: 90px; height: 90px} +head_1 {background-position: -1800px 0; width: 90px; height: 90px} +head_0 {background-position: -1890px 0; width: 90px; height: 90px} +hair_white {background-position: -1980px 0; width: 90px; height: 90px} +hair_brown {background-position: -2070px 0; width: 90px; height: 90px} +hair_black {background-position: -2160px 0; width: 90px; height: 90px} +hair_blond {background-position: -2250px 0; width: 90px; height: 90px} +armor_5 {background-position: -2340px 0; width: 90px; height: 90px} +armor_4 {background-position: -2430px 0; width: 90px; height: 90px} +armor_3 {background-position: -2520px 0; width: 90px; height: 90px} +armor_2 {background-position: -2610px 0; width: 90px; height: 90px} +armor_1 {background-position: -2700px 0; width: 90px; height: 90px} +armor_0_v2 {background-position: -2790px 0; width: 90px; height: 90px} +armor_0_v1 {background-position: -2880px 0; width: 90px; height: 90px} +skin_dead {background-position: -2970px 0; width: 90px; height: 90px} +skin_orc {background-position: -3060px 0; width: 90px; height: 90px} +skin_asian {background-position: -3150px 0; width: 90px; height: 90px} +skin_black {background-position: -3240px 0; width: 90px; height: 90px} +skin_white {background-position: -3330px 0; width: 90px; height: 90px} diff --git a/img/sprites/female_sprites.png b/img/sprites/female_sprites.png new file mode 100644 index 0000000000..1456ff6336 Binary files /dev/null and b/img/sprites/female_sprites.png differ diff --git a/img/sprites/full.xcf b/img/sprites/full.xcf new file mode 100644 index 0000000000..b46740f83c Binary files /dev/null and b/img/sprites/full.xcf differ diff --git a/img/sprites/girl_v2.png b/img/sprites/girl_v2.png new file mode 100644 index 0000000000..5e4cbf8dfa Binary files /dev/null and b/img/sprites/girl_v2.png differ diff --git a/img/sprites/item-axe.png b/img/sprites/item-axe.png new file mode 100644 index 0000000000..823bad1c17 Binary files /dev/null and b/img/sprites/item-axe.png differ diff --git a/img/sprites/item-bluesword.png b/img/sprites/item-bluesword.png new file mode 100644 index 0000000000..53d9faf714 Binary files /dev/null and b/img/sprites/item-bluesword.png differ diff --git a/img/sprites/item-clotharmor.png b/img/sprites/item-clotharmor.png new file mode 100644 index 0000000000..88c8fc6506 Binary files /dev/null and b/img/sprites/item-clotharmor.png differ diff --git a/img/sprites/item-flask.png b/img/sprites/item-flask.png new file mode 100644 index 0000000000..5e1ac102e8 Binary files /dev/null and b/img/sprites/item-flask.png differ diff --git a/img/sprites/item-goldenarmor.png b/img/sprites/item-goldenarmor.png new file mode 100644 index 0000000000..0d3b9e77eb Binary files /dev/null and b/img/sprites/item-goldenarmor.png differ diff --git a/img/sprites/item-goldensword.png b/img/sprites/item-goldensword.png new file mode 100644 index 0000000000..81d3fe83a2 Binary files /dev/null and b/img/sprites/item-goldensword.png differ diff --git a/img/sprites/item-leatherarmor.png b/img/sprites/item-leatherarmor.png new file mode 100644 index 0000000000..bc27ab5354 Binary files /dev/null and b/img/sprites/item-leatherarmor.png differ diff --git a/img/sprites/item-mailarmor.png b/img/sprites/item-mailarmor.png new file mode 100644 index 0000000000..222ac2a50a Binary files /dev/null and b/img/sprites/item-mailarmor.png differ diff --git a/img/sprites/item-morningstar.png b/img/sprites/item-morningstar.png new file mode 100644 index 0000000000..0051fb1f2a Binary files /dev/null and b/img/sprites/item-morningstar.png differ diff --git a/img/sprites/item-platearmor.png b/img/sprites/item-platearmor.png new file mode 100644 index 0000000000..a313038c71 Binary files /dev/null and b/img/sprites/item-platearmor.png differ diff --git a/img/sprites/item-redarmor.png b/img/sprites/item-redarmor.png new file mode 100644 index 0000000000..658047856f Binary files /dev/null and b/img/sprites/item-redarmor.png differ diff --git a/img/sprites/item-redsword.png b/img/sprites/item-redsword.png new file mode 100644 index 0000000000..d127e1611a Binary files /dev/null and b/img/sprites/item-redsword.png differ diff --git a/img/sprites/item-sword1.png b/img/sprites/item-sword1.png new file mode 100644 index 0000000000..f4c30d7e05 Binary files /dev/null and b/img/sprites/item-sword1.png differ diff --git a/img/sprites/item-sword2.png b/img/sprites/item-sword2.png new file mode 100644 index 0000000000..6b471faef7 Binary files /dev/null and b/img/sprites/item-sword2.png differ diff --git a/img/sprites/male.xcf b/img/sprites/male.xcf new file mode 100644 index 0000000000..e7b34464d0 Binary files /dev/null and b/img/sprites/male.xcf differ diff --git a/img/sprites/male_sprites.css b/img/sprites/male_sprites.css new file mode 100644 index 0000000000..3e04632432 --- /dev/null +++ b/img/sprites/male_sprites.css @@ -0,0 +1,34 @@ +weapon_6, weapon_5, weapon_4, weapon_3, weapon_2, weapon_1, weapon_0, shield_5, shield_4, shield_3, shield_2, shield_1, head_5, head_4, head_3, head_2, head_1, head_0, hair blond, hair black, hair brown, hair white, armor_5, armor_4, armor_3, armor_2, armor_1, armor_0, skin_dead, skin_orc, skin_asian, skin_black, skin_white {background: url(male_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} +shield_5 {background-position: -630px 0; width: 90px; height: 90px} +shield_4 {background-position: -720px 0; width: 90px; height: 90px} +shield_3 {background-position: -810px 0; width: 90px; height: 90px} +shield_2 {background-position: -900px 0; width: 90px; height: 90px} +shield_1 {background-position: -990px 0; width: 90px; height: 90px} +head_5 {background-position: -1080px 0; width: 90px; height: 90px} +head_4 {background-position: -1170px 0; width: 90px; height: 90px} +head_3 {background-position: -1260px 0; width: 90px; height: 90px} +head_2 {background-position: -1350px 0; width: 90px; height: 90px} +head_1 {background-position: -1440px 0; width: 90px; height: 90px} +head_0 {background-position: -1530px 0; width: 90px; height: 90px} +hair blond {background-position: -1620px 0; width: 90px; height: 90px} +hair black {background-position: -1710px 0; width: 90px; height: 90px} +hair brown {background-position: -1800px 0; width: 90px; height: 90px} +hair white {background-position: -1890px 0; width: 90px; height: 90px} +armor_5 {background-position: -1980px 0; width: 90px; height: 90px} +armor_4 {background-position: -2070px 0; width: 90px; height: 90px} +armor_3 {background-position: -2160px 0; width: 90px; height: 90px} +armor_2 {background-position: -2250px 0; width: 90px; height: 90px} +armor_1 {background-position: -2340px 0; width: 90px; height: 90px} +armor_0 {background-position: -2430px 0; width: 90px; height: 90px} +skin_dead {background-position: -2520px 0; width: 90px; height: 90px} +skin_orc {background-position: -2610px 0; width: 90px; height: 90px} +skin_asian {background-position: -2700px 0; width: 90px; height: 90px} +skin_black {background-position: -2790px 0; width: 90px; height: 90px} +skin_white {background-position: -2880px 0; width: 90px; height: 90px} diff --git a/img/sprites/male_sprites.png b/img/sprites/male_sprites.png new file mode 100644 index 0000000000..126f9b1738 Binary files /dev/null and b/img/sprites/male_sprites.png differ diff --git a/img/sprites/shop.xcf b/img/sprites/shop.xcf new file mode 100644 index 0000000000..35fc264f42 Binary files /dev/null and b/img/sprites/shop.xcf differ diff --git a/img/sprites/shop_sprites.css b/img/sprites/shop_sprites.css new file mode 100644 index 0000000000..eacd25a1ac --- /dev/null +++ b/img/sprites/shop_sprites.css @@ -0,0 +1,27 @@ +weapon_6, weapon_5, weapon_4, weapon_3, weapon_2, weapon_1, shield_5, shield_4, shield_3, shield_2, shield_1, head_5, head_4, head_3, head_2, head_1, armor_5, armor_4, armor_3, armor_2, armor_1, reroll, potion, copper, silver, gold {background: url(shop_sprites.css) no-repeat} +weapon_6 {background-position: 0 0; width: 40px; height: 40px} +weapon_5 {background-position: -40px 0; width: 40px; height: 40px} +weapon_4 {background-position: -80px 0; width: 40px; height: 40px} +weapon_3 {background-position: -120px 0; width: 40px; height: 40px} +weapon_2 {background-position: -160px 0; width: 40px; height: 40px} +weapon_1 {background-position: -200px 0; width: 40px; height: 40px} +shield_5 {background-position: -240px 0; width: 40px; height: 40px} +shield_4 {background-position: -280px 0; width: 40px; height: 40px} +shield_3 {background-position: -320px 0; width: 40px; height: 40px} +shield_2 {background-position: -360px 0; width: 40px; height: 40px} +shield_1 {background-position: -400px 0; width: 40px; height: 40px} +head_5 {background-position: -440px 0; width: 40px; height: 40px} +head_4 {background-position: -480px 0; width: 40px; height: 40px} +head_3 {background-position: -520px 0; width: 40px; height: 40px} +head_2 {background-position: -560px 0; width: 40px; height: 40px} +head_1 {background-position: -600px 0; width: 40px; height: 40px} +armor_5 {background-position: -640px 0; width: 40px; height: 40px} +armor_4 {background-position: -680px 0; width: 40px; height: 40px} +armor_3 {background-position: -720px 0; width: 40px; height: 40px} +armor_2 {background-position: -760px 0; width: 40px; height: 40px} +armor_1 {background-position: -800px 0; width: 40px; height: 40px} +reroll {background-position: -840px 0; width: 40px; height: 40px} +potion {background-position: -880px 0; width: 40px; height: 40px} +copper {background-position: -920px 0; width: 40px; height: 40px} +silver {background-position: -960px 0; width: 40px; height: 40px} +gold {background-position: -1000px 0; width: 40px; height: 40px} diff --git a/img/sprites/shop_sprites.png b/img/sprites/shop_sprites.png new file mode 100644 index 0000000000..366a262dfb Binary files /dev/null and b/img/sprites/shop_sprites.png differ diff --git a/img/sprites/sprites.css b/img/sprites/sprites.css new file mode 100644 index 0000000000..c5a3d6ec72 --- /dev/null +++ b/img/sprites/sprites.css @@ -0,0 +1,65 @@ +item-goldensword, item-redsword, item-bluesword, item-morningstar, item-axe, item-sword2, item-sword1, f_shield_5, f_shield_4, f_shield_3, f_shield_2, f_shield_1, 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, 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, m_hair blond, m_hair black, m_hair brown, m_hair white, f_armor_5, f_armor_4, f_armor_3, f_armor_2, f_armor_1, f_armor_0_v2, f_armor_0_v1, m_armor_5, m_armor_4, m_armor_3, m_armor_2, m_armor_1, m_armor_0, f_skin_dead, f_skin_orc, f_skin_asian, f_skin_black, f_skin_white, m_skin_dead, m_skin_orc, m_skin_asian, m_skin_black, m_skin_white {background: url(css_sprite.png) no-repeat} +item-goldensword {background-position: 0 0; width: 90px; height: 90px} +item-redsword {background-position: -90px 0; width: 90px; height: 90px} +item-bluesword {background-position: -180px 0; width: 90px; height: 90px} +item-morningstar {background-position: -270px 0; width: 90px; height: 90px} +item-axe {background-position: -360px 0; width: 90px; height: 90px} +item-sword2 {background-position: -450px 0; width: 90px; height: 90px} +item-sword1 {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} +m_shield_5 {background-position: -1080px 0; width: 90px; height: 90px} +m_shield_4 {background-position: -1170px 0; width: 90px; height: 90px} +m_shield_3 {background-position: -1260px 0; width: 90px; height: 90px} +m_shield_2 {background-position: -1350px 0; width: 90px; height: 90px} +m_shield_1 {background-position: -1440px 0; width: 90px; height: 90px} +m_head_5 {background-position: -1530px 0; width: 90px; height: 90px} +m_head_4 {background-position: -1620px 0; width: 90px; height: 90px} +m_head_3 {background-position: -1710px 0; width: 90px; height: 90px} +m_head_2 {background-position: -1800px 0; width: 90px; height: 90px} +m_head_1 {background-position: -1890px 0; width: 90px; height: 90px} +m_head_0 {background-position: -1980px 0; width: 90px; height: 90px} +f_head_5_v2 {background-position: -2070px 0; width: 90px; height: 90px} +f_head_5_v1 {background-position: -2160px 0; width: 90px; height: 90px} +f_head_4_v2 {background-position: -2250px 0; width: 90px; height: 90px} +f_head_4_v1 {background-position: -2340px 0; width: 90px; height: 90px} +f_head_3_v2 {background-position: -2430px 0; width: 90px; height: 90px} +f_head_3_v1 {background-position: -2520px 0; width: 90px; height: 90px} +f_head_2_v2 {background-position: -2610px 0; width: 90px; height: 90px} +f_head_2_v1 {background-position: -2700px 0; width: 90px; height: 90px} +f_head_1 {background-position: -2790px 0; width: 90px; height: 90px} +f_head_0 {background-position: -2880px 0; width: 90px; height: 90px} +f_hair_white {background-position: -2970px 0; width: 90px; height: 90px} +f_hair_brown {background-position: -3060px 0; width: 90px; height: 90px} +f_hair_black {background-position: -3150px 0; width: 90px; height: 90px} +f_hair_blond {background-position: -3240px 0; width: 90px; height: 90px} +m_hair blond {background-position: -3330px 0; width: 90px; height: 90px} +m_hair black {background-position: -3420px 0; width: 90px; height: 90px} +m_hair brown {background-position: -3510px 0; width: 90px; height: 90px} +m_hair white {background-position: -3600px 0; width: 90px; height: 90px} +f_armor_5 {background-position: -3690px 0; width: 90px; height: 90px} +f_armor_4 {background-position: -3780px 0; width: 90px; height: 90px} +f_armor_3 {background-position: -3870px 0; width: 90px; height: 90px} +f_armor_2 {background-position: -3960px 0; width: 90px; height: 90px} +f_armor_1 {background-position: -4050px 0; width: 90px; height: 90px} +f_armor_0_v2 {background-position: -4140px 0; width: 90px; height: 90px} +f_armor_0_v1 {background-position: -4230px 0; width: 90px; height: 90px} +m_armor_5 {background-position: -4320px 0; width: 90px; height: 90px} +m_armor_4 {background-position: -4410px 0; width: 90px; height: 90px} +m_armor_3 {background-position: -4500px 0; width: 90px; height: 90px} +m_armor_2 {background-position: -4590px 0; width: 90px; height: 90px} +m_armor_1 {background-position: -4680px 0; width: 90px; height: 90px} +m_armor_0 {background-position: -4770px 0; width: 90px; height: 90px} +f_skin_dead {background-position: -4860px 0; width: 90px; height: 90px} +f_skin_orc {background-position: -4950px 0; width: 90px; height: 90px} +f_skin_asian {background-position: -5040px 0; width: 90px; height: 90px} +f_skin_black {background-position: -5130px 0; width: 90px; height: 90px} +f_skin_white {background-position: -5220px 0; width: 90px; height: 90px} +m_skin_dead {background-position: -5310px 0; width: 90px; height: 90px} +m_skin_orc {background-position: -5400px 0; width: 90px; height: 90px} +m_skin_asian {background-position: -5490px 0; width: 90px; height: 90px} +m_skin_black {background-position: -5580px 0; width: 90px; height: 90px} +m_skin_white {background-position: -5670px 0; width: 90px; height: 90px} diff --git a/img/sprites/weapon0.png b/img/sprites/weapon0.png new file mode 100644 index 0000000000..f4c30d7e05 Binary files /dev/null and b/img/sprites/weapon0.png differ diff --git a/img/sprites/weapon1.png b/img/sprites/weapon1.png new file mode 100644 index 0000000000..4ce8fb9407 Binary files /dev/null and b/img/sprites/weapon1.png differ diff --git a/img/sprites/weapon2.png b/img/sprites/weapon2.png new file mode 100644 index 0000000000..823bad1c17 Binary files /dev/null and b/img/sprites/weapon2.png differ diff --git a/img/sprites/weapon3.png b/img/sprites/weapon3.png new file mode 100644 index 0000000000..7151d9a5d3 Binary files /dev/null and b/img/sprites/weapon3.png differ diff --git a/img/sprites/weapon4.png b/img/sprites/weapon4.png new file mode 100644 index 0000000000..4c3f6e3996 Binary files /dev/null and b/img/sprites/weapon4.png differ diff --git a/img/sprites/weapon5.png b/img/sprites/weapon5.png new file mode 100644 index 0000000000..1fe8eb0e11 Binary files /dev/null and b/img/sprites/weapon5.png differ diff --git a/img/sprites/weapon6.png b/img/sprites/weapon6.png new file mode 100644 index 0000000000..ad2f524fab Binary files /dev/null and b/img/sprites/weapon6.png differ diff --git a/img/sprites/wolf.png b/img/sprites/wolf.png new file mode 100644 index 0000000000..595ece75a1 Binary files /dev/null and b/img/sprites/wolf.png differ diff --git a/img/sprites/wolf_border.png b/img/sprites/wolf_border.png new file mode 100644 index 0000000000..3f2db1c1a0 Binary files /dev/null and b/img/sprites/wolf_border.png differ diff --git a/items.js b/items.js new file mode 100644 index 0000000000..9d9a04f314 --- /dev/null +++ b/items.js @@ -0,0 +1,308 @@ +module.exports.items = { + weapon: [ + { + index: 0, + text: "Training Sword", + classes: "weapon_0", + notes: 'Training weapon.', + strength: 0, + value: 0 + }, { + index: 1, + text: "Sword", + classes: 'weapon_1', + notes: 'Increases experience gain by 3%.', + strength: 3, + value: 20 + }, { + index: 2, + text: "Axe", + classes: 'weapon_2', + notes: 'Increases experience gain by 6%.', + strength: 6, + value: 30 + }, { + index: 3, + text: "Morningstar", + classes: 'weapon_3', + notes: 'Increases experience gain by 9%.', + strength: 9, + value: 45 + }, { + index: 4, + text: "Blue Sword", + classes: 'weapon_4', + notes: 'Increases experience gain by 12%.', + strength: 12, + value: 65 + }, { + index: 5, + text: "Red Sword", + classes: 'weapon_5', + notes: 'Increases experience gain by 15%.', + strength: 15, + value: 90 + }, { + index: 6, + text: "Golden Sword", + classes: 'weapon_6', + notes: 'Increases experience gain by 18%.', + strength: 18, + value: 120 + } + ], + armor: [ + { + index: 0, + text: "Cloth Armor", + classes: 'armor_0', + notes: 'Training armor.', + defense: 0, + value: 0 + }, { + index: 1, + text: "Leather Armor", + classes: 'armor_1', + notes: 'Decreases HP loss by 4%.', + defense: 4, + value: 30 + }, { + index: 2, + text: "Chain Mail", + classes: 'armor_2', + notes: 'Decreases HP loss by 6%.', + defense: 6, + value: 45 + }, { + index: 3, + text: "Plate Mail", + classes: 'armor_3', + notes: 'Decreases HP loss by 7%.', + defense: 7, + value: 65 + }, { + index: 4, + text: "Red Armor", + classes: 'armor_4', + notes: 'Decreases HP loss by 8%.', + defense: 8, + value: 90 + }, { + index: 5, + text: "Golden Armor", + classes: 'armor_5', + notes: 'Decreases HP loss by 10%.', + defense: 10, + value: 120 + } + ], + head: [ + { + index: 0, + text: "No Helm", + classes: 'head_0', + notes: 'Training helm.', + defense: 0, + value: 0 + }, { + index: 1, + text: "Leather Helm", + classes: 'head_1', + notes: 'Decreases HP loss by 2%.', + defense: 2, + value: 15 + }, { + index: 2, + text: "Chain Coif", + classes: 'head_2', + notes: 'Decreases HP loss by 3%.', + defense: 3, + value: 25 + }, { + index: 3, + text: "Plate Helm", + classes: 'head_3', + notes: 'Decreases HP loss by 4%.', + defense: 4, + value: 45 + }, { + index: 4, + text: "Red Helm", + classes: 'head_4', + notes: 'Decreases HP loss by 5%.', + defense: 5, + value: 60 + }, { + index: 5, + text: "Golden Helm", + classes: 'head_5', + notes: 'Decreases HP loss by 6%.', + defense: 6, + value: 80 + } + ], + shield: [ + { + index: 0, + text: "No Shield", + classes: 'shield_0', + notes: 'No Shield.', + defense: 0, + value: 0 + }, { + index: 1, + text: "Wooden Shield", + classes: 'shield_1', + notes: 'Decreases HP loss by 3%', + defense: 3, + value: 20 + }, { + index: 2, + text: "Buckler", + classes: 'shield_2', + notes: 'Decreases HP loss by 4%.', + defense: 4, + value: 35 + }, { + index: 3, + text: "Enforced Shield", + classes: 'shield_3', + notes: 'Decreases HP loss by 5%.', + defense: 5, + value: 55 + }, { + index: 4, + text: "Red Shield", + classes: 'shield_4', + notes: 'Decreases HP loss by 7%.', + defense: 7, + value: 70 + }, { + index: 5, + text: "Golden Shield", + classes: 'shield_5', + notes: 'Decreases HP loss by 8%.', + defense: 8, + value: 90 + } + ], + potion: { + type: 'potion', + text: "Potion", + notes: "Recover 15 HP", + value: 25, + classes: 'potion' + }, + reroll: { + type: 'reroll', + text: "Re-Roll", + classes: 'reroll', + notes: "Resets your tasks. When you're struggling and everything's red, use for a clean slate.", + value: 0 + }, + pets: [ + { + index: 0, + text: 'Bear Cub', + name: 'bearcub', + icon: 'Pet-BearCub-Base.png', + value: 3 + }, { + index: 1, + text: 'Cactus', + name: 'cactus', + icon: 'Pet-Cactus-Base.png', + value: 3 + }, { + index: 2, + text: 'Drake', + name: 'dragon', + icon: 'Pet-Dragon-Base.png', + value: 3 + }, { + index: 3, + text: 'Flying Pig', + name: 'flyingpig', + icon: 'Pet-FlyingPig-Base.png', + value: 3 + }, { + index: 4, + text: 'Fox', + name: 'fox', + icon: 'Pet-Fox-Base.png', + value: 3 + }, { + index: 5, + text: 'Lion Cub', + name: 'lioncub', + icon: 'Pet-LionCub-Base.png', + value: 3 + }, { + index: 6, + text: 'Panda Cub', + name: 'pandacub', + icon: 'Pet-PandaCub-Base.png', + value: 3 + }, { + index: 7, + text: 'Tiger Cub', + name: 'tigercub', + icon: 'Pet-TigerCub-Base.png', + value: 3 + }, { + index: 8, + text: 'Desert Wolf', + name: 'wolfDesert', + icon: 'Pet-Wolf-Desert.png', + value: 3 + }, { + index: 9, + text: 'Golden Wolf', + name: 'wolfGolden', + icon: 'Pet-Wolf-Golden.png', + value: 3 + }, { + index: 10, + text: 'Red Wolf', + name: 'wolfRed', + icon: 'Pet-Wolf-Red.png', + value: 3 + }, { + index: 11, + text: 'Shade Wolf', + name: 'wolfShade', + icon: 'Pet-Wolf-Shade.png', + value: 3 + }, { + index: 12, + text: 'Skeleton Wolf', + name: 'wolfSkeleton', + icon: 'Pet-Wolf-Skeleton.png', + value: 3 + }, { + index: 13, + text: 'Veteran Wolf', + name: 'wolfVeteran', + icon: 'Pet-Wolf-Veteran.png', + value: 3 + }, { + index: 14, + text: 'White Wolf', + name: 'wolfWhite', + icon: 'Pet-Wolf-White.png', + value: 3 + }, { + index: 15, + text: 'Zombie Wolf', + name: 'wolfZombie', + icon: 'Pet-Wolf-Zombie.png', + value: 3 + }, { + index: 16, + text: 'Wolf', + name: 'wolfBorder', + icon: 'wolf_border.png', + value: 3 + } + ] +}; \ No newline at end of file