#30 : Affichage des sorts en réserve dans l'onglet haut-revant
This commit is contained in:
parent
162bd6f677
commit
836522fbd9
@ -130,6 +130,7 @@ export class RdDActorSheet extends ActorSheet {
|
|||||||
data.data.ombres = this._checkNull(data.itemsByType['ombre']);
|
data.data.ombres = this._checkNull(data.itemsByType['ombre']);
|
||||||
data.data.tetes = this._checkNull(data.itemsByType['tete']);
|
data.data.tetes = this._checkNull(data.itemsByType['tete']);
|
||||||
data.data.objets = data.data.conteneurs.concat(data.data.materiel).concat(data.data.armes).concat(data.data.armures).concat(data.data.munitions).concat(data.data.livres).concat(data.data.potions).concat(data.data.herbes).concat(data.data.ingredients);
|
data.data.objets = data.data.conteneurs.concat(data.data.materiel).concat(data.data.armes).concat(data.data.armures).concat(data.data.munitions).concat(data.data.livres).concat(data.data.potions).concat(data.data.herbes).concat(data.data.ingredients);
|
||||||
|
data.data.sortReserve = data.data.reve.reserve.list;
|
||||||
|
|
||||||
this.objetVersConteneur = {}; // Table de hash locale pour recupération rapide du conteneur parent (si existant)
|
this.objetVersConteneur = {}; // Table de hash locale pour recupération rapide du conteneur parent (si existant)
|
||||||
// Attribution des objets aux conteneurs
|
// Attribution des objets aux conteneurs
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "foundryvtt-reve-de-dragon",
|
"name": "foundryvtt-reve-de-dragon",
|
||||||
"title": "Rêve de Dragon",
|
"title": "Rêve de Dragon",
|
||||||
"description": "Rêve de Dragon RPG for FoundryVTT",
|
"description": "Rêve de Dragon RPG for FoundryVTT",
|
||||||
"version": "0.9.56",
|
"version": "0.9.57",
|
||||||
"minimumCoreVersion": "0.7.5",
|
"minimumCoreVersion": "0.7.5",
|
||||||
"compatibleCoreVersion": "0.7.6",
|
"compatibleCoreVersion": "0.7.6",
|
||||||
"templateVersion": 47,
|
"templateVersion": 47,
|
||||||
|
@ -452,6 +452,16 @@
|
|||||||
{{/each}}
|
{{/each}}
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<span><strong>Sorts en Réserve:</strong></span>
|
||||||
|
<ol class="item-list">
|
||||||
|
{{#each data.sortReserve as |reserve key|}}
|
||||||
|
<li class="item flexrow" data-item-id="{{mysort._id}}" data-attribute="{{key}}">
|
||||||
|
<span class="sort-label"> {{reserve.sort.name}} - {{reserve.coord}}</span>
|
||||||
|
</li>
|
||||||
|
{{/each}}
|
||||||
|
</ol>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{!-- Equipment Tab --}}
|
{{!-- Equipment Tab --}}
|
||||||
|
Loading…
Reference in New Issue
Block a user