From 2d28be84a9687bb592e6183c1aca49b7d61756b8 Mon Sep 17 00:00:00 2001 From: thepaperpilot Date: Sun, 17 Mar 2024 00:50:22 -0500 Subject: [PATCH 1/4] Add modal to take a mental health break --- src/App.vue | 8 +- src/components/Nav.vue | 6 +- src/components/modals/AddictionWarning.vue | 83 +++++++++++++++++++ .../{saves => modals}/CloudSaveResolver.vue | 2 +- .../{ => modals}/GameOverScreen.vue | 4 +- src/components/{ => modals}/Info.vue | 2 +- src/components/{ => modals}/Modal.vue | 2 +- src/components/{ => modals}/NaNScreen.vue | 6 +- src/components/{ => modals}/Options.vue | 21 +++-- src/components/{saves => modals}/Save.vue | 0 .../{saves => modals}/SavesManager.vue | 6 +- src/data/Changelog.vue | 2 +- src/data/projInfo-schema.json | 4 + src/data/projInfo.json | 3 +- src/game/events.ts | 5 ++ src/game/gameLoop.ts | 4 + src/game/layers.tsx | 2 +- src/game/settings.ts | 12 ++- src/game/state.ts | 3 + 19 files changed, 145 insertions(+), 30 deletions(-) create mode 100644 src/components/modals/AddictionWarning.vue rename src/components/{saves => modals}/CloudSaveResolver.vue (99%) rename src/components/{ => modals}/GameOverScreen.vue (97%) rename src/components/{ => modals}/Info.vue (98%) rename src/components/{ => modals}/Modal.vue (98%) rename src/components/{ => modals}/NaNScreen.vue (96%) rename src/components/{ => modals}/Options.vue (86%) rename src/components/{saves => modals}/Save.vue (100%) rename src/components/{saves => modals}/SavesManager.vue (99%) diff --git a/src/App.vue b/src/App.vue index 7e7a0aa..5c8b783 100644 --- a/src/App.vue +++ b/src/App.vue @@ -6,6 +6,7 @@