Skip to content

Commit

Permalink
add May subscriber items, enchanted armoire (text placeholders), poti…
Browse files Browse the repository at this point in the history
…ons, and quest bundles
  • Loading branch information
CuriousMagpie committed Apr 2, 2024
1 parent 7b11291 commit bfdb21c
Show file tree
Hide file tree
Showing 10 changed files with 71 additions and 21 deletions.
10 changes: 9 additions & 1 deletion website/common/locales/en/backgrounds.json
Original file line number Diff line number Diff line change
Expand Up @@ -969,7 +969,15 @@
"backgroundWallFloweringVinesText": "Wall with Flowering Vines",
"backgroundWallFloweringVinesNotes": "Hang out by a wall of Flowering Vines.",
"backgroundContainerGardenText": "Container Garden",
"backgroundContainerGardenNotes": "Get your hands dirty wth the Container Garden.",
"backgroundContainerGardenNotes": "Get your hands dirty wth the Container Garden.",

"backgrounds052024": "SET 120: Released May 2024",
"backgroundDragonsBackText": "Dragon's Back",
"backgroundDragonsBackNotes": "Sail the sky on a Dragon's Back.",
"backgroundMerryMaypoleText": "Merry Maypole",
"backgroundMerryMaypoleNotes": "Dance around a Merry Maypole",
"backgroundPottersStudioText": "Potter's Studio",
"backgroundPottersStudioNotes": "Create art in the Potter's Studio",

"timeTravelBackgrounds": "Steampunk Backgrounds",
"backgroundAirshipText": "Airship",
Expand Down
15 changes: 13 additions & 2 deletions website/common/locales/en/gear.json
Original file line number Diff line number Diff line change
Expand Up @@ -754,7 +754,9 @@
"weaponArmoireHattersShearsText": "Sharp Shears",
"weaponArmoireHattersShearsNotes": "Cut right through overwhelm and complications. These shears do a great job cutting fabric, as well, of course. Increases Strength by <%= str %>. Enchanted Armoire: Hatter Set (Item 3 of 4).",
"weaponArmoireOptimistsCloverText": "Four-leaf Clover",
"weaponArmoireOptimistsCloverNotes": "Well, would you look at what you found? It never hurts to have just a little extra good luck on your side. Increases Strength and Constitution by <%= attrs %> each. Enchanted Armoire: Optimist Set (Item 4 of 4).",
"weaponArmoireOptimistsCloverNotes": "Well, would you look at what you found? It never hurts to have just a little extra good luck on your side. Increases Strength and Constitution by <%= attrs %> each. Enchanted Armoire: Optimist Set (Item 4 of 4).",
"weaponArmoirePottersWheelText": "Potter's Wheel",
"weaponArmoirePottersWheelNotes": "Lorem ipsum dolor est. Increases STAT by NUMBER. Enchanted Armoire: Potter's Set (Item X of 4).",

"armor": "armor",
"armorCapitalized": "Armor",
Expand Down Expand Up @@ -1584,7 +1586,8 @@
"armorArmoireHattersSuitNotes": "Your outfit isn’t complete without your lucky green bowtie. Wear this to your next mad tea party. Or pleasant tea party. Or excited tea party. Or... Increases Constitution by <%= con %>. Enchanted Armoire: Hatter Set (Item 2 of 4).",
"armorArmoireSmileyShirtText": "Smiley Face Shirt",
"armorArmoireSmileyShirtNotes": "Because you’re happy! Show the world you’re all smiles today. Increases Intelligence and Perception by <%= attrs %> each. Enchanted Armoire: Optimist Set (Item 1 of 4).",

"armorArmoirePottersApronText": "Potter's Apron",
"armorArmoirePottersApronNotes": "Lorem ipsum dolor est. Increases STAT by NUMBER. Enchanted Armoire: Potter's Set (Item X of 4).",

"headgear": "helm",
"headgearCapitalized": "Headgear",
Expand Down Expand Up @@ -2431,6 +2434,8 @@
"headArmoireWhiteFloppyHatNotes": "Many spells have been sewn into this simple hat, giving it a wondrous white color. Increases Strength, Intelligence, and Constitution by <%= attrs %> each. Enchanted Armoire: White Loungewear Set (Item 1 of 3).",
"headArmoireHattersTopHatText": "Hatter's Top Hat",
"headArmoireHattersTopHatNotes": "Our hats are off to you, and yours is on! What’s hidden in your hat is anybody’s guess (but we’re hoping it’s a bunny). Increases Perception by <%= per %>. Enchanted Armoire: Hatter Set (Item 1 of 4).",
"headArmoirePottersBandanaText": "Potter's Bandana",
"headArmoirePottersBandanaNotes": "Lorem ipsum dolor est. Increases STAT by NUMBER. Enchanted Armoire: Potter's Set (Item X of 4).",

"offhand": "off-hand item",
"offHandCapitalized": "Off-Hand Item",
Expand Down Expand Up @@ -2884,6 +2889,8 @@
"shieldArmoireHattersPocketWatchNotes": "Don’t be late for a very important date! Check your pocketwatch and your notifications often. Increases Intelligence by <%= int %>. Enchanted Armoire: Hatter Set (Item 4 of 4).",
"shieldArmoireHappyThoughtsText": "Happy Thoughts",
"shieldArmoireHappyThoughtsNotes": "Whether you're remembering a joyful moment from your past or imagining the best outcome for the future, always look on the bright side of life. Increases all stats by <%= attrs %> each. Enchanted Armoire: Optimist Set (Item 3 of 4).",
"shieldArmoireThrownVesselText": "Thrown Vessel",
"shieldArmoireThrownVesselNotes": "Lorem ipsum dolor est. Increases STAT by NUMBER. Enchanted Armoire: Potter's Set (Item X of 4).",

"back": "Back Accessory",
"backBase0Text": "No Back Accessory",
Expand Down Expand Up @@ -2962,6 +2969,8 @@
"backMystery202401Notes": "Conjure softly falling flurries or call a mighty blizzard. The choice is yours! Confers no benefit. January 2024 Subscriber Item.",
"backMystery202402Text": "Paradise Pink Hearts",
"backMystery202402Notes": "Let an aura of loving energy surround you wherever you go! Confers no benefit. February 2024 Subscriber Item.",
"backMystery202405Text": "Gilded Drake Wings",
"backMystery202405Notes": "These magnificent wings have the glow of pure gold but are as light as a feather. Confers no benefit. May 2024 Subscriber Item.",

"backSpecialWonderconRedText": "Mighty Cape",
"backSpecialWonderconRedNotes": "Swishes with strength and beauty. Confers no benefit. Special Edition Convention Item.",
Expand Down Expand Up @@ -3203,6 +3212,8 @@
"headAccessoryMystery202309Notes": "These antennae are fashionable and feathery, but also help you navigate! Confers no benefit. September 2023 Subscriber Item.",
"headAccessoryMystery202310Text": "Crown of Ghostly Lights",
"headAccessoryMystery202310Notes": "Like a will-o'-the-wisp, these unearthly lights may lure curious souls to their doom. Confers no benefit. October 2023 Subscriber Item.",
"headAccessoryMysteryText202405": "Gilded Drake Horns",
"headAccessoryMysteryNotes202405": "The metallic sheen of these fine horns reflects the dancing colors of dragon fire. Confers no benefit. May 2024 Subscriber Item.",

"headAccessoryMystery301405Text": "Headwear Goggles",
"headAccessoryMystery301405Notes": "\"Goggles are for your eyes,\" they said. \"Nobody wants goggles that you can only wear on your head,\" they said. Hah! You sure showed them! Confers no benefit. August 3015 Subscriber Item.",
Expand Down
1 change: 1 addition & 0 deletions website/common/locales/en/subscriber.json
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@
"mysterySet202402": "Paradise Pink Set",
"mysterySet202403": "Lucky Legend Set",
"mysterySet202404": "Mycelial Magus Set",
"mysterySet202405": "Gilded Dragon Set",
"mysterySet301404": "Steampunk Standard Set",
"mysterySet301405": "Steampunk Accessories Set",
"mysterySet301703": "Peacock Steampunk Set",
Expand Down
8 changes: 7 additions & 1 deletion website/common/script/content/appearance/backgrounds.js
Original file line number Diff line number Diff line change
Expand Up @@ -617,6 +617,11 @@ const plannedBackgrounds = {
wall_flowering_vines: { },
container_garden: { },
},
backgrounds052024: {
dragons_back: { },
merry_maypole: { },
potters_studio: { },
},
eventBackgrounds: {
birthday_bash: {
price: 0,
Expand Down Expand Up @@ -666,7 +671,8 @@ const releaseDates = {
backgrounds012024: '2024-01-04T08:00-05:00',
backgrounds022024: '2024-02-06T08:00-05:00',
backgrounds032024: '2024-03-05T08:00-05:00',
backgrounds042024: '2023-04-04T00:00-04:00',
backgrounds042024: '2024-04-04T00:00-04:00',
backgrounds052024: '2024-05-07T00:00-04:00',
};

const flat = {};
Expand Down
5 changes: 3 additions & 2 deletions website/common/script/content/bundles.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,14 +222,15 @@ const bundles = {
delightfulDinos: {
key: 'delightfulDinos',
text: t('delightfulDinosText'),
notes: t('delightfulDinosNotes', { date: moment('2022-05-31').format('LL') }), // needs update next time its run
notes: t('delightfulDinosNotes', { date: moment(EVENTS.bundle202405.end).format('LL') }),
bundleKeys: [
'pterodactyl',
'triceratops',
'trex_undead',
],
event: EVENTS.bundle202405,
canBuy () {
return moment().isBetween('2022-05-16', '2022-05-31');
return moment().isBetween(EVENTS.bundle202405.start, EVENTS.bundle202405.end);
},
type: 'quests',
value: 7,
Expand Down
10 changes: 9 additions & 1 deletion website/common/script/content/constants/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,18 @@ const gemsPromo = {
export const EVENTS = {
noEvent: {
start: '2024-05-01T00:00-04:00',
end: '2024-06-20T23:59-04:00',
end: '2024-05-13T23:59-04:00',
season: 'normal',
npcImageSuffix: '',
},
bundle202405:{
start: '2024-05-21T00:00-04:00',
end: '2024-05-30T23:59-04:00',
},
potions202405: {
start: '2024-05-13T00:00-04:00',
end: '2024-05-30T23:59-04:00',
},
aprilFools2024: {
start: '2024-04-01T00:00-04:00',
end: '2024-04-02T20:00-04:00',
Expand Down
15 changes: 14 additions & 1 deletion website/common/script/content/gear/sets/armoire.js
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,9 @@ const armor = {
per: 4,
set: 'optimistSet',
},
pottersApron: {
set: 'pottersSet',
},
};

const body = {
Expand Down Expand Up @@ -976,6 +979,9 @@ const head = {
per: 10,
set: 'hatterSet',
},
pottersBandana: {
set: 'potterSet',
},
};

const shield = {
Expand Down Expand Up @@ -1319,6 +1325,9 @@ const shield = {
str: 4,
set: 'optimistSet',
},
thrownVessel: {
set: 'pottersSet',
},
};

const headAccessory = {
Expand Down Expand Up @@ -1797,6 +1806,9 @@ const weapon = {
con: 4,
set: 'optimistSet',
},
pottersWheel: {
set: 'pottersSet',
},
};

const releaseDates = {
Expand All @@ -1806,7 +1818,8 @@ const releaseDates = {
schoolUniform: '2024-01-04T08:00-05:00',
whiteLoungeWear: '2024-02-06T08:00-05:00',
hatterSet: '2024-03-05T08:00-05:00',
optimistSet: '2024-03-05T00:00-05:00',
optimistSet: '2024-04-04T00:00-05:00',
pottersSet: '2024-04-07T00:00-04:00',
};

forEach({
Expand Down
2 changes: 2 additions & 0 deletions website/common/script/content/gear/sets/mystery.js
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,7 @@ const back = {
202309: { },
202401: { },
202402: { },
202405: { },
};

const body = {
Expand Down Expand Up @@ -253,6 +254,7 @@ const headAccessory = {
202302: { },
202305: { },
202309: { },
202405: { },
202310: { },
301405: { },
};
Expand Down
12 changes: 6 additions & 6 deletions website/common/script/content/hatching-potions.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,12 +98,12 @@ const premium = {
value: 2,
text: t('hatchingPotionFloral'),
limited: true,
event: EVENTS.potions202305,
event: EVENTS.potions202405,
_addlNotes: t('eventAvailability', {
date: t('dateEndMay'),
availableDate: t('dateEndMay'),
}),
canBuy () {
return moment().isBefore(EVENTS.potions202305.end);
return moment().isBefore(EVENTS.potions202405.end);
},
},
Aquatic: {
Expand Down Expand Up @@ -290,12 +290,12 @@ const premium = {
value: 2,
text: t('hatchingPotionSunshine'),
limited: true,
event: EVENTS.potions202205,
event: EVENTS.potions202405,
_addlNotes: t('eventAvailability', {
date: t('dateEndMay'),
availableDate: t('dateEndMay'),
}),
canBuy () {
return moment().isBefore(EVENTS.potions202205.end);
return moment().isBefore(EVENTS.potions202405.end);
},
},
Bronze: {
Expand Down
14 changes: 7 additions & 7 deletions website/common/script/content/shop-featuredItems.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,35 +47,35 @@ const featuredItems = {
];
},
quests () {
if (moment().isBetween(EVENTS.bundle202403.start, EVENTS.bundle202403.end)) {
if (moment().isBetween(EVENTS.bundle202405.start, EVENTS.bundle202405.end)) {
return [
{
type: 'bundles',
path: 'bundles.cuddleBuddies',
path: 'bundles.delightfulDinos',
},
{
type: 'quests',
path: 'quests.hedgehog',
path: 'quests.rooster',
},
{
type: 'quests',
path: 'quests.sheep',
path: 'quests.owl',
},
];
}

return [
{
type: 'quests',
path: 'quests.rat',
path: 'quests.cheetah',
},
{
type: 'quests',
path: 'quests.kraken',
path: 'quests.nudibranch',
},
{
type: 'quests',
path: 'quests.slime',
path: 'quests.monkey',
},
];
},
Expand Down

0 comments on commit bfdb21c

Please sign in to comment.