Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
CuriousMagpie committed Mar 4, 2024
1 parent 56f73a3 commit 563a05f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 7 deletions.
2 changes: 1 addition & 1 deletion website/client/src/assets/scss/animals.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
top: -16px !important;
}

$foolPets: Veggie, Dessert, VirtualPet, TeaShop;
$foolPets: Veggie, Dessert, VirtualPet, TeaShop, Fungus;

@each $foolPet in $foolPets {
.Pet.Pet-FlyingPig-#{$foolPet} {
Expand Down
2 changes: 1 addition & 1 deletion website/client/src/components/avatar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export default {
petClass () {
if (some(
this.currentEventList,
event => moment().isBetween(event.start, event.end) && event.aprilFools && event.aprilFools === 'teaShop',
event => moment().isBetween(event.start, event.end) && event.aprilFools && event.aprilFools === 'Fungus',
)) {
return this.foolPet(this.member.items.currentPet);
}
Expand Down
2 changes: 1 addition & 1 deletion website/client/src/components/inventory/stable/petItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ export default {
getPetItemClass () {
if (this.isOwned() && some(
this.currentEventList,
event => moment().isBetween(event.start, event.end) && event.aprilFools && event.aprilFools === 'teaShop',
event => moment().isBetween(event.start, event.end) && event.aprilFools && event.aprilFools === 'Fungus',
)) {
if (this.isSpecial()) return `Pet ${this.foolPet(this.item.key)}`;
const petString = `${this.item.eggKey}-${this.item.key}`;
Expand Down
8 changes: 4 additions & 4 deletions website/client/src/mixins/foolPet.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ export default {
'Dragon',
'Cactus',
];
if (!pet) return 'Pet-TigerCub-TeaShop';
if (!pet) return 'Pet-TigerCub-Fungus';
if (SPECIAL_PETS.indexOf(pet) !== -1) {
return 'Pet-Dragon-TeaShop';
return 'Pet-Dragon-Fungus';
}
const species = pet.slice(0, pet.indexOf('-'));
if (includes(BASE_PETS, species)) {
return `Pet-${species}-TeaShop`;
return `Pet-${species}-Fungus`;
}
return 'Pet-BearCub-TeaShop';
return 'Pet-BearCub-Fungus';
},
},
};
5 changes: 5 additions & 0 deletions website/common/script/content/constants/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ export const EVENTS = {
season: 'normal',
npcImageSuffix: '',
},
aprilFools2024: {
start: '2024-03-01T08:00-04:00',
end: '2023-04-02T08:00-04:00',
aprilFools: 'Fungus',
},
bundle202403: {
start: '2024-03-19T00:00-05:00',
end: '2024-03-31T08:00-05:00',
Expand Down

0 comments on commit 563a05f

Please sign in to comment.