Login Incentives (#8230)

* feat(incentives): login bennies WIP

* feat(content): incentive prize content WIP

* fix(content): placeholders pass tests

* WIP(content): Bard instrument placeholder

* feat(content): Incentives build

* chore(sprites): compile
and fix some strings

* WIP(incentives): quests and backgrounds

* fix(quests): correct buy/launch handling

* [WIP] Incentives rewarding (#8226)

* Added login incentive rewards

* Updated incentive rewards

* Added incentive modal and updated notification structure

* Added analytics to sleeping

* Added login incentives to user analytics

* Fixed unit tests and ensured that prizes are incremented and not replaced

* Updated style of daily login incentive modal

* Added rewards modal

* Added translations

* Added loigin incentive ui elements to profile

* Updated login incentives structure and abstracted to common.content

* Added dynamic display for login incentives on profile

* Added purple potion image

* Updated daily login modal

* Fixed progress calculation

* Added bard gear

* Updated login incentive rewards

* Fixed styles and text

* Added multiple read for notifications

* Fixed lint issues

* Fixed styles and added 50 limit

* Updated quest keys

* Added login incentives reward page

* Fixed tests

* Fixed linting and tests

* Read named notifications route. Add image for backgrounds

* Fixed style issues and added tranlsations to login incentive notification

* Hided abiltiy to purchase incentive backgrounds and added message to detail how to unlock

* Updated awarded message

* Fixed text and updated progress counter to display better

* Fixed purple potion reward text

* Fixed check in backgrouns reward text

* fix(quest): pass tests

* Added display of multiple rewards

* Updated modal styles

* Fixed neagtive 50 issue

* Remvoed total count from daily login incentives modal

* Fixed magic paw display

* fix(awards): give bunnies again

* WIP(incentives): more progress on BG shop

* fix(incentives): actually award backgrounds

* fix(incentives): more BG fixy

* fix(backgrounds): don't gem-buy checkin bgs

* Added dust bunny notification

* fix(incentives): don't redisplay bunny award

* chore(news): Bailey
and different promo sprite
This commit is contained in:
Sabe Jones
2016-11-23 19:34:09 -06:00
committed by GitHub
parent dcc06931cc
commit 25b0ff38c4
180 changed files with 34773 additions and 32923 deletions

View File

@@ -27,6 +27,21 @@ let armor = {
value: 130,
canOwn: ownsItem('armor_special_pyromancersRobes'),
},
bardRobes: {
text: t('armorSpecialBardRobesText'),
notes: t('armorSpecialBardRobesNotes', { per: 3 }),
per: 3,
value: 0,
canOwn: ownsItem('armor_special_bardRobes'),
},
lunarWarriorArmor: {
text: t('armorSpecialLunarWarriorArmorText'),
notes: t('armorSpecialLunarWarriorArmorNotes', { attrs: 7 }),
str: 7,
con: 7,
value: 130,
canOwn: ownsItem('armor_special_lunarWarriorArmor'),
},
yeti: {
event: EVENTS.winter,
specialClass: 'warrior',
@@ -578,6 +593,21 @@ let head = {
value: 130,
canOwn: ownsItem('head_special_pyromancersTurban'),
},
bardHat: {
text: t('headSpecialBardHatText'),
notes: t('headSpecialBardHatNotes', { int: 3 }),
int: 3,
value: 0,
canOwn: ownsItem('head_special_bardHat'),
},
lunarWarriorHelm: {
text: t('headSpecialLunarWarriorHelmText'),
notes: t('headSpecialLunarWarriorHelmNotes', { attrs: 7 }),
int: 7,
str: 7,
value: 130,
canOwn: ownsItem('head_special_lunarWarriorHelm'),
},
nye: {
event: EVENTS.winter2016,
text: t('headSpecialNyeText'),
@@ -1487,6 +1517,24 @@ let weapon = {
value: 130,
canOwn: ownsItem('weapon_special_taskwoodsLantern'),
},
bardInstrument: {
text: t('weaponSpecialBardInstrumentText'),
notes: t('weaponSpecialBardInstrumentNotes', { attrs: 4 }),
twoHanded: true,
per: 4,
int: 4,
value: 0,
canOwn: ownsItem('weapon_special_bardInstrument'),
},
lunarScythe: {
text: t('weaponSpecialLunarScytheText'),
notes: t('weaponSpecialLunarScytheNotes', { attrs: 7 }),
twoHanded: true,
str: 7,
per: 7,
value: 130,
canOwn: ownsItem('weapon_special_lunarScythe'),
},
yeti: {
event: EVENTS.winter,
specialClass: 'warrior',