feat(flower): add flower customization option

This commit is contained in:
Tyler Renelle 2014-03-18 16:54:30 -06:00
parent 574f540fe3
commit e53ef26d4c
13 changed files with 1452 additions and 1368 deletions

View file

@ -27,7 +27,7 @@ module.exports = function(grunt) {
// `sprite` has `name`, `image` (full path), `x`, `y`
// `width`, `height`, `total_width`, `total_height`
// EXAMPLE: Prefix all sprite names with 'sprite-'
if (sprite.name.match(/hair|skin|beard|mustach|shirt/) || sprite.name=='head_0') {
if (sprite.name.match(/hair|skin|beard|mustach|shirt|flower/) || sprite.name=='head_0') {
sprite.name = 'customize-option.' + sprite.name;
sprite.x = sprite.x + 25;
sprite.y = sprite.y + 15;

1404
dist/customizer.css vendored

File diff suppressed because it is too large Load diff

File diff suppressed because one or more lines are too long

View file

@ -10879,7 +10879,7 @@ var global=typeof self !== "undefined" ? self : typeof window !== "undefined" ?
evilsanta: {
canBuy: false,
text: "Trapper Santa",
notes: "You hear bemoaned roars deep in the icefields. You follow the roars and growls - punctuated by another voice's cackling - to a clearing in the woods where you see a fully-grown polar bear. She's caged and shackled, roaring for life. Dancing atop the the cage is a malicious little imp wearing castaway Christmas costumes. Vanquish Trapper Santa, and save the beast!",
notes: "You hear bemoaned roars deep in the icefields. You follow the roars and growls - punctuated by another voice's cackling - to a clearing in the woods where you see a fully-grown polar bear. She's caged and shackled, roaring for life. Dancing atop the cage is a malicious little imp wearing castaway Christmas costumes. Vanquish Trapper Santa, and save the beast!",
completion: "Trapper Santa squeals in anger, and bounces off into the night. A grateful she-bear, through roars and growls, tries to tell you something. You take her back to the stables, where Matt Boch the whisperer listens to her tale with a gasp of horror. She has a cub! He ran off into the icefields when mama bear was captured. Help her find her baby!",
value: 4,
boss: {
@ -11395,7 +11395,7 @@ var process=require("__browserify_process");(function() {
return;
}
changes = [];
_.each(['weapon', 'armor', 'shield', 'head'], function(type) {
_.each(['weapon', 'armor', 'shield', 'head', 'back'], function(type) {
var found;
found = _.find(content.gear.tree[type][user.stats["class"]], function(item) {
@ -12024,7 +12024,7 @@ var process=require("__browserify_process");(function() {
message: "Task not found"
}) : void 0;
}
_.merge(task, _.omit(req.body, 'checklist'));
_.merge(task, _.omit(req.body, ['checklist', 'id']));
if (req.body.checklist) {
task.checklist = req.body.checklist;
}

1404
dist/spritesmith.css vendored

File diff suppressed because it is too large Load diff

BIN
dist/spritesmith.png vendored

Binary file not shown.

Before

Width:  |  Height:  |  Size: 512 KiB

After

Width:  |  Height:  |  Size: 510 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

View file

@ -122,7 +122,7 @@ preenHistory = (history) ->
api.updateStore = (user) ->
return unless user
changes = []
_.each ['weapon', 'armor', 'shield', 'head'], (type) ->
_.each ['weapon', 'armor', 'shield', 'head', 'back'], (type) ->
found = _.find content.gear.tree[type][user.stats.class], (item) ->
!user.items.gear.owned[item.key]
changes.push(found) if found