|
1 | 1 | export default class Migration { |
2 | 2 |
|
3 | 3 | static async checkMigration() { |
4 | | - let migrationTarget = "7.0.0" |
| 4 | + let migrationTarget = "8.0.0" |
5 | 5 | let systemMigrationVersion = game.settings.get("age-of-sigmar-soulbound", "systemMigrationVersion") |
6 | 6 |
|
7 | 7 | if (!systemMigrationVersion || foundry.utils.isNewerVersion(migrationTarget, systemMigrationVersion)) |
8 | 8 | { |
9 | | - this.migrateWorld(); |
10 | | - ChatMessage.create({content : "<h3>The Effect Refactor</h3><p>The Soulbound System has undergone a major refactoring on how it handles effects. Read more <a href='https://github.com/moo-man/AoS-Soulbound-FoundryVTT/releases/tag/7.0.0'>here</a></p>"}) |
11 | | - } |
12 | 9 |
|
13 | | - // if (!systemMigrationVersion || foundry.utils.isNewerVersion(migrationTarget, systemMigrationVersion)) { |
14 | | - // this.migrateExperience(); |
15 | | - // } |
16 | | - game.settings.set("age-of-sigmar-soulbound", "systemMigrationVersion", game.system.version) |
17 | | - } |
| 10 | + ChatMessage.create({ |
| 11 | + content: ` |
| 12 | + <h1>New Users - Read This!</h1> |
| 13 | + <p>Welcome! Before you dive in, it may be best to browse the Wiki, below are some important topics:</p> |
| 14 | + <ul> |
| 15 | + <li><p><a href="https://moo-man.github.io/AoS-Soulbound-FoundryVTT/pages/faq.html">FAQ</a></p></li> |
| 16 | + <li><p><a href="https://moo-man.github.io/AoS-Soulbound-FoundryVTT/pages/premium.html">Premium Content</a> (this will tell you how to use any official content you've purchased!</p></li> |
| 17 | + <li><p><a href="https://moo-man.github.io/AoS-Soulbound-FoundryVTT/pages/troubleshooting.html">Troubleshooting</a></p></li> |
| 18 | + </ul> |
| 19 | + <p><strong>Note</strong>: The Wiki is still heavily WIP, having just been created.</p> |
| 20 | + <p><strong>Also Note</strong>: Character Creation has not been converted to AppV2 yet (see below), until then, it may have styling issues and bugs!</p> |
| 21 | + <hr> |
| 22 | + <h1>Soulbound in Foundry V13</h1> |
| 23 | + <p>As Foundry itself progresses in its adoption of its new application framework, so too has the Soulbound system. All sheets and applications have been converted to use AppV2, my hope is that I have covered all existing functionality, but it is inevitable that more complex sheets (such as Actor sheets) may be missing some features here and there. Please be patient as I work through issues that arise! |
| 24 | + <ul> |
| 25 | + <li><p>Actor and Item Sheets in V2 have had their <em>right click</em> functionalities greatly expanded. You can right click any owned Item or Active Effect to see a context menu for various actions.</p></li> |
| 26 | + <li><p>Module Initialization has been centralized in the System settings, check the wiki link above!</p></li> |
| 27 | + </ul>` |
| 28 | + }) |
| 29 | + |
| 30 | + if (foundry.utils.isNewerVersion("7.0.0", systemMigrationVersion)) |
| 31 | + { |
| 32 | + this.migrateWorld(); |
| 33 | + } |
18 | 34 |
|
| 35 | + game.settings.set("age-of-sigmar-soulbound", "systemMigrationVersion", game.system.version) |
| 36 | + } |
| 37 | + } |
19 | 38 | // static async migrateExperience() { |
20 | 39 | // console.log(`Applying AOS:Soulbound System Migration for version ${game.system.version}. Please be patient and do not close your game or shut down your server.`); |
21 | 40 |
|
|
0 commit comments