diff --git a/src/data/layers/Factory.vue b/src/data/layers/Factory.vue index a9ef034..6d2c2b5 100644 --- a/src/data/layers/Factory.vue +++ b/src/data/layers/Factory.vue @@ -10,7 +10,7 @@ const element = shallowRef(null); const props = defineProps<{ application: Application; }>(); -console.log(props.application); + onMounted(() => { if (element.value !== null) { element.value?.append(props.application.view); diff --git a/src/data/layers/factory.tsx b/src/data/layers/factory.tsx index 150bbcb..5b23723 100644 --- a/src/data/layers/factory.tsx +++ b/src/data/layers/factory.tsx @@ -65,6 +65,8 @@ const id = "factory"; // what is the actual day? const day = 18; +const toyGoal = 1e3; + // 20x20 block size // TODO: unhardcode stuff @@ -1325,7 +1327,7 @@ const factory = createLayer(id, () => { <>
{main.day.value === day - ? `Do something to complete the day` + ? `Reach ${format(toyGoal)} for each toy to complete the day` : `${name} Complete!`}{" "} -{" "}