Correction appel de fonction et enlever mauvaise référence
This commit is contained in:
13
README.md
13
README.md
@@ -1,9 +1,18 @@
|
||||
# MGT2 - Mongoose Traveller (Unofficial)
|
||||
|
||||
*English version below*
|
||||
|
||||
Ce système de jeu pour [Foundry Virtual Tabletop](http://foundryvtt.com) qui fournit une feuille de personnage et un système de jeu
|
||||
pour Mongoose Publishing Traveller.
|
||||
|
||||
Spécialement développé pour la version française traduite par [Modül](https://www.gameontabletop.com/cf3161/traveller-vf.html)
|
||||
|
||||
#### Screenshots
|
||||

|
||||
|
||||
## English
|
||||
This game system for [Foundry Virtual Tabletop](http://foundryvtt.com) provides character sheet and game system
|
||||
support for Mongoose Publishing Traveller.
|
||||
|
||||
Specially developed for the French version translated by [Modül](https://www.gameontabletop.com/cf3161/traveller-vf.html)
|
||||
|
||||
#### Screenshots
|
||||

|
||||
@@ -504,7 +504,7 @@ class ActorCharacter {
|
||||
await $this.deleteEmbeddedDocuments("Item", toDeleteIds);
|
||||
if (itemToUpdates.length > 0)
|
||||
await $this.updateEmbeddedDocuments("Item", itemToUpdates);
|
||||
await $this.recalculateWeight();
|
||||
await this.recalculateWeight();
|
||||
}
|
||||
static async onUpdateDescendantDocuments($this, parent, collection, documents, changes, options, userId) {
|
||||
await this.calculEncumbranceAndWeight($this, parent, collection, documents, changes, options, userId);
|
||||
@@ -1521,7 +1521,7 @@ class TravellerActorSheet extends ActorSheet {
|
||||
_prepareCharacterItems(sheetData) {
|
||||
const actorData = sheetData.data;
|
||||
actorData.isGM = game.user.isGM;
|
||||
actorData.showTrash = game.user.isGM || game.settings.get("mgt2", "showTrash");
|
||||
actorData.showTrash = false;
|
||||
actorData.initiative = this.actor.getInitiative();
|
||||
const weapons = [];
|
||||
const armors = [];
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"id": "mgt2",
|
||||
"version": "0.1.0",
|
||||
"version": "0.1.1",
|
||||
"title": "MGT2 - Mongoose Traveller (Unofficial)",
|
||||
"description": "An unofficial implementation of Mongoose Publishing Traveller. Traveller is the property of Mongoose Publishing, and can be purchased at https://www.mongoosepublishing.com",
|
||||
"background": "systems/mgt2/assets/screens/rosette-nebula-ngc2239-hoo.webp",
|
||||
|
||||
Reference in New Issue
Block a user