mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-17 22:57:21 +01:00
feat(customize): new hairstyles
This commit is contained in:
@@ -5,4 +5,5 @@ module.exports = prefill({
|
||||
1: {},
|
||||
2: {},
|
||||
3: {},
|
||||
4: {},
|
||||
});
|
||||
|
||||
@@ -4,6 +4,7 @@ import beard from './beard.js';
|
||||
import color from './color.js';
|
||||
import flower from './flower.js';
|
||||
import mustache from './mustache.js';
|
||||
import topHair from './top-hair.js';
|
||||
|
||||
module.exports = {
|
||||
color,
|
||||
@@ -12,4 +13,5 @@ module.exports = {
|
||||
flower,
|
||||
beard,
|
||||
mustache,
|
||||
topHair,
|
||||
};
|
||||
|
||||
12
website/common/script/content/appearance/hair/top-hair.js
Normal file
12
website/common/script/content/appearance/hair/top-hair.js
Normal file
@@ -0,0 +1,12 @@
|
||||
import prefill from '../prefill.js';
|
||||
import sets from '../sets.js';
|
||||
|
||||
module.exports = prefill({
|
||||
0: {},
|
||||
1: {price: 2, set: sets.topHair},
|
||||
2: {price: 2, set: sets.topHair},
|
||||
3: {price: 2, set: sets.topHair},
|
||||
4: {price: 2, set: sets.topHair},
|
||||
5: {price: 2, set: sets.topHair},
|
||||
6: {price: 2, set: sets.topHair},
|
||||
});
|
||||
@@ -4,6 +4,7 @@ import prefill from './prefill.js';
|
||||
module.exports = prefill({
|
||||
baseHair1: {setPrice: 5, text: t('hairSet1')},
|
||||
baseHair2: {setPrice: 5, text: t('hairSet2')},
|
||||
topHair: {setPrice: 5, text: t('hairSet3')},
|
||||
facialHair: {setPrice: 5, text: t('bodyFacialHair')},
|
||||
specialShirts: {setPrice: 5, text: t('specialShirts')},
|
||||
winterHairColors: {setPrice: 5, availableUntil: '2016-01-01'},
|
||||
|
||||
Reference in New Issue
Block a user