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
LeRatierBretonnien
Code, CSS and automations : LeRatierBretonnien
Compendiums : Pretre, LeRatierBretonnien

View File

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

View File

@ -1,7 +1,7 @@
{
"id": "fvtt-wasteland",
"description": "Wasteland RPG for FoundryVTT",
"version": "11.0.21",
"version": "11.0.22",
"authors": [
{
"name": "Uberwald/LeRatierBretonnien",
@ -23,7 +23,7 @@
"gridUnits": "m",
"license": "LICENSE.txt",
"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": [
{
"name": "Wasteland",