mirror of
https://github.com/sudoxnym/habitica.git
synced 2026-07-13 23:42:12 +00:00
rename head_special_winter to head_special_candycane
This commit is contained in:
parent
b9f2599f9c
commit
5b92fa0f40
7 changed files with 15 additions and 11 deletions
4
dist/customizer.css
vendored
4
dist/customizer.css
vendored
|
|
@ -1318,7 +1318,7 @@
|
|||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.head_special_winter {
|
||||
.head_special_candycane {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -270px -1341px;
|
||||
width: 90px;
|
||||
|
|
@ -2788,7 +2788,7 @@
|
|||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_special_winter {
|
||||
.shop_head_special_candycane {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -1944px -1230px;
|
||||
width: 40px;
|
||||
|
|
|
|||
2
dist/habitrpg-shared.css
vendored
2
dist/habitrpg-shared.css
vendored
File diff suppressed because one or more lines are too long
13
dist/habitrpg-shared.js
vendored
13
dist/habitrpg-shared.js
vendored
|
|
@ -9167,12 +9167,14 @@ var global=self;/**
|
|||
|
||||
},{}],5:[function(require,module,exports){
|
||||
(function() {
|
||||
var api, crit, gear, repeat, _;
|
||||
var api, crit, gear, moment, repeat, _;
|
||||
|
||||
_ = require('lodash');
|
||||
|
||||
api = module.exports;
|
||||
|
||||
moment = require('moment');
|
||||
|
||||
/*
|
||||
---------------------------------------------------------------
|
||||
Gear (Weapons, Armor, Head, Shield)
|
||||
|
|
@ -9781,12 +9783,13 @@ var global=self;/**
|
|||
return +((_ref = u.backer) != null ? _ref.tier : void 0) >= 300;
|
||||
})
|
||||
},
|
||||
winter: {
|
||||
candycane: {
|
||||
text: "Candy Cane Hat",
|
||||
notes: 'A hat adorned in candy, a wintery treat!',
|
||||
value: 10,
|
||||
canOwn: (function() {
|
||||
return true;
|
||||
canOwn: (function(u) {
|
||||
var _ref;
|
||||
return moment((_ref = u.auth.timestamps) != null ? _ref.created : void 0).isBefore(new Date('01/10/2014'));
|
||||
})
|
||||
}
|
||||
}
|
||||
|
|
@ -10551,7 +10554,7 @@ var global=self;/**
|
|||
}).call(this);
|
||||
|
||||
|
||||
},{"lodash":3}],6:[function(require,module,exports){
|
||||
},{"lodash":3,"moment":4}],6:[function(require,module,exports){
|
||||
var process=require("__browserify_process");(function() {
|
||||
var api, content, dayMapping, moment, preenHistory, sanitizeOptions, _,
|
||||
__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; };
|
||||
|
|
|
|||
4
dist/spritesmith.css
vendored
4
dist/spritesmith.css
vendored
|
|
@ -1318,7 +1318,7 @@
|
|||
width: 90px;
|
||||
height: 90px;
|
||||
}
|
||||
.head_special_winter {
|
||||
.head_special_candycane {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -270px -1341px;
|
||||
width: 90px;
|
||||
|
|
@ -2788,7 +2788,7 @@
|
|||
width: 40px;
|
||||
height: 40px;
|
||||
}
|
||||
.shop_head_special_winter {
|
||||
.shop_head_special_candycane {
|
||||
background-image: url(spritesmith.png);
|
||||
background-position: -1944px -1230px;
|
||||
width: 40px;
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
|
@ -1,5 +1,6 @@
|
|||
_ = require 'lodash'
|
||||
api = module.exports
|
||||
moment = require 'moment'
|
||||
|
||||
###
|
||||
---------------------------------------------------------------
|
||||
|
|
@ -130,7 +131,7 @@ gear =
|
|||
0: text: "Shade Helm", notes:'Blood and ash, lava and obsidian give this helm its imagery and power. Increases INT by 20.', int: 20, value:150, canOwn: ((u)-> +u.backer?.tier >= 45)
|
||||
1: text: "Crystal Helm", notes:'The favored crown of those who lead by example. Increases all attributes by 6.', con: 6, str: 6, per: 6, int: 6, value:170, canOwn: ((u)-> +u.contributor?.level >= 3)
|
||||
2: text: "Nameless Helm", notes:'A testament to those who gave of themselves while asking nothing in return. Increases INT and STR by 25 each.', int: 25, str: 25, value:200, canOwn: ((u)-> +u.backer?.tier >= 300)
|
||||
winter: text: "Candy Cane Hat", notes: 'A hat adorned in candy, a wintery treat!', value:10, canOwn: (-> true)
|
||||
candycane: text: "Candy Cane Hat", notes: 'A hat adorned in candy, a wintery treat!', value:10, canOwn: ((u)-> moment(u.auth.timestamps?.created).isBefore(new Date '01/10/2014'))
|
||||
|
||||
shield:
|
||||
base:
|
||||
|
|
|
|||
Loading…
Reference in a new issue