mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-16 22:27:26 +01:00
fix(event): Cake in shops and drops
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import defaults from 'lodash/defaults';
|
||||
import defaults from 'lodash/defaults';
|
||||
import each from 'lodash/each';
|
||||
import moment from 'moment';
|
||||
import t from './translation';
|
||||
@@ -185,7 +185,7 @@ api.specialMounts = stable.specialMounts;
|
||||
api.mountInfo = stable.mountInfo;
|
||||
|
||||
// For seasonal events, change this constant:
|
||||
const FOOD_SEASON = 'Normal';
|
||||
const FOOD_SEASON = moment().isBefore('2021-02-02') ? 'Cake' : 'Normal';
|
||||
|
||||
api.food = {
|
||||
Meat: {
|
||||
|
||||
Reference in New Issue
Block a user