First official release

This commit is contained in:
LeRatierBretonnien 2024-01-08 07:56:51 +01:00
parent 19409dd547
commit 94f7ef8f90
3 changed files with 22 additions and 13 deletions

View File

@ -22,4 +22,5 @@ Wasteland is a property of Titam France/Sombres Projets.
# Developmement # Developmement
LeRatierBretonnien Code, CSS and automations : LeRatierBretonnien
Compendiums : Pretre, LeRatierBretonnien

View File

@ -119,6 +119,10 @@ async function importDefaultScene() {
Hooks.once("ready", function () { Hooks.once("ready", function () {
WastelandUtility.ready(); WastelandUtility.ready();
registerUsageCount('fvtt-wasteland')
welcomeMessage();
// User warning // User warning
if (!game.user.isGM && game.user.character == undefined) { if (!game.user.isGM && game.user.character == undefined) {
ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !"); ui.notifications.info("Attention ! Aucun personnage n'est relié au joueur !");
@ -127,9 +131,13 @@ Hooks.once("ready", function () {
user: game.user._id user: game.user._id
}); });
} }
if (!game.user.isGM && game.user.character && !game.user.character.prototypeToken.actorLink) {
registerUsageCount('fvtt-wasteland') ui.notifications.info("Le token de du joueur n'est pas connecté à l'acteur !");
welcomeMessage(); ChatMessage.create({
content: "<b>ATTENTION</b> Le token du joueur " + game.user.name + " n'est pas connecté à l'acteur !",
user: game.user._id
});
}
importDefaultScene(); importDefaultScene();

View File

@ -1,7 +1,7 @@
{ {
"id": "fvtt-wasteland", "id": "fvtt-wasteland",
"description": "Wasteland RPG for FoundryVTT", "description": "Wasteland RPG for FoundryVTT",
"version": "11.0.21", "version": "11.0.22",
"authors": [ "authors": [
{ {
"name": "Uberwald/LeRatierBretonnien", "name": "Uberwald/LeRatierBretonnien",
@ -23,7 +23,7 @@
"gridUnits": "m", "gridUnits": "m",
"license": "LICENSE.txt", "license": "LICENSE.txt",
"manifest": "https://www.uberwald.me/gitea/public/fvtt-wasteland/raw/branch/main/system.json", "manifest": "https://www.uberwald.me/gitea/public/fvtt-wasteland/raw/branch/main/system.json",
"download": "https://www.uberwald.me/gitea/public/fvtt-wasteland/archive/fvtt-wasteland-v11.0.21.zip", "download": "https://www.uberwald.me/gitea/public/fvtt-wasteland/archive/fvtt-wasteland-v11.0.22.zip",
"packFolders": [ "packFolders": [
{ {
"name": "Wasteland", "name": "Wasteland",