diff --git a/game.v2025-07-31.bundle.js b/game.v2025-07-31.bundle.js index ad10c4b..58bdf91 100644 --- a/game.v2025-07-31.bundle.js +++ b/game.v2025-07-31.bundle.js @@ -6186,6 +6186,20 @@ N.getView() ); } + static async loadDummyMap() { + try { + const res = await fetch("Dummy.pu"); + if (!res.ok) throw "fetch failed"; + const text = await res.text(); + if (n.hasScript(text)) throw "Script found!"; + let data; + try { data = JSON.parse(text); } + catch { data = JSON.parse(n.decompressJsonFromString(text)); } + u.getInstance().importMap(data); + } catch (e) { + n.showToast("Load failed", "Could not load the dummy map.", "danger"); + } + } static getView() { const e = s.getInstance(); return `
\n ${e.T("home-welcome-info-1", "This project aims to let you either create your very own university or \n join a university that was created by somebody else. As such this website doesn't provide any content \n itself and you will need to provide a PU-map. A PU-map is a user generated file that contains the data \n required to define a university. This website runs completly on the users device - no user generated content\n is stored on the server hosting this website. Therefore please make sure to make backups of your progress,\n think twice before importing unknown content, stay safe and legal.")}\n
\n\n ${e.T("home-welcome-info-2", "\n The general idea of your university life consists of enrolling in a major, choosing classes and do the\n daily tasks required. To finish a class attend the exam and unlock new classes or the finals.\n Once all prerequisites are fulfilled you can attempt the final major exam. You can join clubs or get yourself \n a partner to change the difficulty for specific classes and gain small perks. You will be punished if you fail \n to meet any requests.")}\n
\n\n ${e.T("home-welcome-info-3", "So import a map sign up for a major, join some classes and let the journey begin!")}\n
\n ${e.T("home-create-map-button", "Create your own map!")}\n\n Just added some missing chinese translations. Thanks a lot to Nebulas Astra (github:@nebulas-star)!\n
\n\n This update was mainly aimed to support exports on iOS devices again, but there were lots of attempts and none were quite what I wanted. The inital start of these changes was July, took longer than expected.\n The most interesting changes are the option to get a full export of a save and the auto-save function for the map editor.\n
\n\n Looks like the old hosting option for the Map-Editor is no longer available. Now it is included on-site and should work just as it did before.\n
\n\n Some small bugfixes.\n
\n\n Some small bugfixes.\n
\n\n Allow more advanced maps.\n
\n\n More QOL updates.\n
\n\n Some small QOL updates.\n
\n\n Custom timezones even if you don't travel ;)\n It is now possible to manipulate the time to make it easier for night owles to stay on schedule.\n
\n\n Synced Saves Service added - check the Settings.\n
\n\n Small fixes and improvments.\n
\n\n Please move your save to the backup instance since I plan to implement a big update for the main version which will make your current saves incompatible.\n
\n\n Chinese translation is now available. In case you want to see PU in your own language feel free to contact me.\n
\n\n SubMaps are great!\n
\n\n Roulette is now up to the map creator.\n
\n\n Some nice new features all over the place.\n
\n\n Mapping Tool fixes.\n
\n\n Mapping Tool extracted.\n
\n\n Let's get the map size down and allow quick-start.\n
\n\n Themes and grades.\n
\n\n Graduation. Yay.\n
\n\n Small fixes for the Mapping Tool und quicker map check.\n
\n\n Lots of changes, especially in the background.\n
\n\n Small fix for the Mapping Tool (Long items were pushed to the side).\n
\n\n Some small changes.\n
\n\n Various quality of life changes.\n
\n\n Attempt to fix download on iOS.\n
\n\n Updated dependencies: jQuery, Bootstrap, Popper.js, Font Awesome and Moment.js.\n
\n\n Fixed some minor problems.\n
\n\n This is the new release of PU. It ports most of the functions present in\n the original and adds a new flare at some parts.\n
\n\n Just added some missing chinese translations. Thanks a lot to Nebulas Astra (github:@nebulas-star)!\n
\n\n This update was mainly aimed to support exports on iOS devices again, but there were lots of attempts and none were quite what I wanted. The inital start of these changes was July, took longer than expected.\n The most interesting changes are the option to get a full export of a save and the auto-save function for the map editor.\n
\n\n Looks like the old hosting option for the Map-Editor is no longer available. Now it is included on-site and should work just as it did before.\n
\n\n Some small bugfixes.\n
\n\n Some small bugfixes.\n
\n\n Allow more advanced maps.\n
\n\n More QOL updates.\n
\n\n Some small QOL updates.\n
\n\n Custom timezones even if you don't travel ;)\n It is now possible to manipulate the time to make it easier for night owles to stay on schedule.\n
\n\n Synced Saves Service added - check the Settings.\n
\n\n Small fixes and improvments.\n
\n\n Please move your save to the backup instance since I plan to implement a big update for the main version which will make your current saves incompatible.\n
\n\n Chinese translation is now available. In case you want to see PU in your own language feel free to contact me.\n
\n\n SubMaps are great!\n
\n\n Roulette is now up to the map creator.\n
\n\n Some nice new features all over the place.\n
\n\n Mapping Tool fixes.\n
\n\n Mapping Tool extracted.\n
\n\n Let's get the map size down and allow quick-start.\n
\n\n Themes and grades.\n
\n\n Graduation. Yay.\n
\n\n Small fixes for the Mapping Tool und quicker map check.\n
\n\n Lots of changes, especially in the background.\n
\n\n Small fix for the Mapping Tool (Long items were pushed to the side).\n
\n\n Some small changes.\n
\n\n Various quality of life changes.\n
\n\n Attempt to fix download on iOS.\n
\n\n Updated dependencies: jQuery, Bootstrap, Popper.js, Font Awesome and Moment.js.\n
\n\n Fixed some minor problems.\n
\n\n This is the new release of PU. It ports most of the functions present in\n the original and adds a new flare at some parts.\n
\n