Added art for last day

This commit is contained in:
thepaperpilot 2022-12-24 09:22:17 -06:00
parent 081083a824
commit d2b174407d
4 changed files with 15 additions and 13 deletions

View file

@ -21,7 +21,7 @@
/> />
<img <img
v-if="day >= 21" v-if="day >= 21"
:src="sleigh" :src="day >= 23 ? packing : sleigh"
class="scene-item" class="scene-item"
style="left: 10%; bottom: 56%; transform: rotate(24deg); width: 100px; height: 100px" style="left: 10%; bottom: 56%; transform: rotate(24deg); width: 100px; height: 100px"
/> />
@ -116,6 +116,7 @@ import presents from "./symbols/presents.png";
import reindeer from "./symbols/reindeer.png"; import reindeer from "./symbols/reindeer.png";
import sleigh from "./symbols/sleigh.png"; import sleigh from "./symbols/sleigh.png";
import routing from "./symbols/gps.png"; import routing from "./symbols/gps.png";
import packing from "./symbols/sleighWSack.png";
defineProps<{ defineProps<{
day: number; day: number;

View file

@ -7,6 +7,7 @@ import {
jsx, jsx,
Visibility Visibility
} from "features/feature"; } from "features/feature";
import { createParticles } from "features/particles/particles";
import { BaseLayer, createLayer, GenericLayer, layers } from "game/layers"; import { BaseLayer, createLayer, GenericLayer, layers } from "game/layers";
import { isPersistent, Persistent, persistent } from "game/persistence"; import { isPersistent, Persistent, persistent } from "game/persistence";
import type { PlayerData } from "game/player"; import type { PlayerData } from "game/player";
@ -16,9 +17,9 @@ import { Computable, convertComputable, ProcessedComputable } from "util/compute
import { createLazyProxy } from "util/proxies"; import { createLazyProxy } from "util/proxies";
import { save } from "util/save"; import { save } from "util/save";
import { render, renderRow, VueFeature } from "util/vue"; import { render, renderRow, VueFeature } from "util/vue";
import { Ref, watch, watchEffect } from "vue"; import { computed, Ref, ref, unref, watchEffect } from "vue";
import { computed, ref, unref } from "vue";
import "./advent.css"; import "./advent.css";
import { credits } from "./credits";
import Day from "./Day.vue"; import Day from "./Day.vue";
import boxes from "./layers/boxes"; import boxes from "./layers/boxes";
import cloth from "./layers/cloth"; import cloth from "./layers/cloth";
@ -26,19 +27,21 @@ import coal from "./layers/coal";
import dyes from "./layers/dyes"; import dyes from "./layers/dyes";
import elves from "./layers/elves"; import elves from "./layers/elves";
import factory from "./layers/factory"; import factory from "./layers/factory";
import presentSymbol from "./layers/factory-components/present.svg";
import letters from "./layers/letters"; import letters from "./layers/letters";
import management from "./layers/management"; import management from "./layers/management";
import metal from "./layers/metal"; import metal from "./layers/metal";
import oil from "./layers/oil"; import oil from "./layers/oil";
import packing from "./layers/packing";
import paper from "./layers/paper"; import paper from "./layers/paper";
import plastic from "./layers/plastic"; import plastic from "./layers/plastic";
import reindeer from "./layers/reindeer"; import reindeer from "./layers/reindeer";
import ribbon from "./layers/ribbon"; import ribbon from "./layers/ribbon";
import routing from "./layers/routing"; import routing from "./layers/routing";
import sleigh from "./layers/sleigh";
import toys from "./layers/toys"; import toys from "./layers/toys";
import trees from "./layers/trees"; import trees from "./layers/trees";
import workshop from "./layers/workshop"; import workshop from "./layers/workshop";
import sleigh from "./layers/sleigh";
import wrappingPaper from "./layers/wrapping-paper"; import wrappingPaper from "./layers/wrapping-paper";
import boxesSymbol from "./symbols/cardboardBox.png"; import boxesSymbol from "./symbols/cardboardBox.png";
import clothSymbol from "./symbols/cloth.png"; import clothSymbol from "./symbols/cloth.png";
@ -47,6 +50,7 @@ import dyesSymbol from "./symbols/dyes.png";
import elfSymbol from "./symbols/elf.png"; import elfSymbol from "./symbols/elf.png";
import managementSymbol from "./symbols/elfManagement.png"; import managementSymbol from "./symbols/elfManagement.png";
import factorySymbol from "./symbols/gears.png"; import factorySymbol from "./symbols/gears.png";
import routingSymbol from "./symbols/gps.png";
import lettersSymbol from "./symbols/letterbox.png"; import lettersSymbol from "./symbols/letterbox.png";
import metalSymbol from "./symbols/metal.png"; import metalSymbol from "./symbols/metal.png";
import oilSymbol from "./symbols/oil.png"; import oilSymbol from "./symbols/oil.png";
@ -55,19 +59,15 @@ import plasticSymbol from "./symbols/plastic.png";
import presentsSymbol from "./symbols/presents.png"; import presentsSymbol from "./symbols/presents.png";
import reindeerSymbol from "./symbols/reindeer.png"; import reindeerSymbol from "./symbols/reindeer.png";
import ribbonsSymbol from "./symbols/ribbons.png"; import ribbonsSymbol from "./symbols/ribbons.png";
import packingSymbol from "./symbols/santasSack.png";
import sleighSymbol from "./symbols/sleigh.png";
import snowflakeSymbol from "./symbols/snowflake.svg";
import workshopSymbol from "./symbols/sws.png"; import workshopSymbol from "./symbols/sws.png";
import advFactorySymbol from "./symbols/teddyBear.png"; import advFactorySymbol from "./symbols/teddyBear.png";
import treeSymbol from "./symbols/tree.png"; import treeSymbol from "./symbols/tree.png";
import toysSymbol from "./symbols/truck.png"; import toysSymbol from "./symbols/truck.png";
import advManagementSymbol from "./symbols/workshopMansion.png"; import advManagementSymbol from "./symbols/workshopMansion.png";
import wrappingPaperSymbol from "./symbols/wrappingPaper.png"; import wrappingPaperSymbol from "./symbols/wrappingPaper.png";
import packing from "./layers/packing";
import snowflakeSymbol from "./symbols/snowflake.svg";
import presentSymbol from "./layers/factory-components/present.svg";
import { createParticles } from "features/particles/particles";
import { credits } from "./credits";
import sleighSymbol from "./symbols/sleigh.png";
import routingSymbol from "./symbols/gps.png";
export interface Day extends VueFeature { export interface Day extends VueFeature {
day: number; day: number;
@ -612,9 +612,10 @@ export const main = createLayer("main", function (this: BaseLayer) {
day: 24, day: 24,
shouldNotify: false, shouldNotify: false,
layer: "packing", layer: "packing",
symbol: "", symbol: packingSymbol,
story: "You're almost done! The last step is to load up the sleigh with all the presents and get ready to go! You're going to need to pack a lot of presents, so you'll need to make sure you pack them tightly enough. Good Luck!", story: "You're almost done! The last step is to load up the sleigh with all the presents and get ready to go! You're going to need to pack a lot of presents, so you'll need to make sure you pack them tightly enough. Good Luck!",
completedStory: "At last, you've crammed in all the presents Santa needs. Santa can take it from here. Good Job!", completedStory:
"At last, you've crammed in all the presents Santa needs. Santa can take it from here. Good Job!",
masteredStory: "" masteredStory: ""
})), })),
createDay(() => ({ createDay(() => ({

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB