Un-minimize layers when opened from calendar

This commit is contained in:
thepaperpilot 2022-12-13 21:54:36 -06:00
parent b0c57fd7c1
commit 5753f86051

View file

@ -140,6 +140,7 @@ export const main = createLayer("main", function (this: BaseLayer) {
// Mobile, use single tab mode
player.tabs.splice(1, Infinity, layer ?? "trees");
}
layers[layer ?? "trees"]!.minimized.value = false;
},
onUnlockLayer() {
if (layer) {
@ -291,7 +292,8 @@ export const main = createLayer("main", function (this: BaseLayer) {
layer: null, // "wrapping paper"
symbol: wrappingPaperSymbol,
story: "You'll need to produce wrapping paper so the presents can be wrapped. The elves are getting a bit bored of their boring old workstations, so you decide to let them decorate with some wrapping paper.",
completedStory: "You've produced enough wrapping paper, and the elves are happy with their new workstations. However, some will need more than just wrapping paper to decorate."
completedStory:
"You've produced enough wrapping paper, and the elves are happy with their new workstations. However, some will need more than just wrapping paper to decorate."
})),
createDay(() => ({
day: 16,