Merge pull request '12.0.3 - L'hémorragie d'Astrobazzarh' (#704) from VincentVk/foundryvtt-reve-de-dragon:v11 into v11
Reviewed-on: public/foundryvtt-reve-de-dragon#704
This commit is contained in:
commit
3e33053ed4
@ -1,4 +1,9 @@
|
|||||||
# 12.0
|
# 12.0
|
||||||
|
## 12.0.3 - L'hémorragie d'Astrobazzarh
|
||||||
|
- **Support V12**
|
||||||
|
- On peut de nouveau ouvrir un acteur blessé après redémarrage du monde
|
||||||
|
- On peut de nouveau ouvrir les Items avec une rareté par environnement
|
||||||
|
- Le choix de ne plus afficher les demandes de suppression est bien pris en compte
|
||||||
|
|
||||||
## 12.0.2 - Les pluies d'Astrobazzarh
|
## 12.0.2 - Les pluies d'Astrobazzarh
|
||||||
- **Support V12**
|
- **Support V12**
|
||||||
|
@ -121,6 +121,7 @@ export class RdDBaseActor extends Actor {
|
|||||||
return new ActorConstructor(docData, context);
|
return new ActorConstructor(docData, context);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
context.rdd = undefined
|
||||||
super(docData, context);
|
super(docData, context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -98,7 +98,8 @@ export class RdDItemSheet extends ItemSheet {
|
|||||||
description: await TextEditor.enrichHTML(this.item.system.description, { async: true }),
|
description: await TextEditor.enrichHTML(this.item.system.description, { async: true }),
|
||||||
descriptionmj: await TextEditor.enrichHTML(this.item.system.descriptionmj, { async: true }),
|
descriptionmj: await TextEditor.enrichHTML(this.item.system.descriptionmj, { async: true }),
|
||||||
isComestible: this.item.getUtilisationCuisine(),
|
isComestible: this.item.getUtilisationCuisine(),
|
||||||
options: RdDSheetUtility.mergeDocumentRights(this.options, this.item, this.isEditable)
|
options: RdDSheetUtility.mergeDocumentRights(this.options, this.item, this.isEditable),
|
||||||
|
config: game.system.rdd.config
|
||||||
}
|
}
|
||||||
if (this.item.type == TYPES.competencecreature) {
|
if (this.item.type == TYPES.competencecreature) {
|
||||||
formData.isparade = RdDItemCompetenceCreature.isParade(this.item)
|
formData.isparade = RdDItemCompetenceCreature.isParade(this.item)
|
||||||
|
@ -189,6 +189,7 @@ export class RdDItem extends Item {
|
|||||||
if (!docData.img) {
|
if (!docData.img) {
|
||||||
docData.img = RdDItem.getDefaultImg(docData.type);
|
docData.img = RdDItem.getDefaultImg(docData.type);
|
||||||
}
|
}
|
||||||
|
context.rdd = undefined
|
||||||
super(docData, context);
|
super(docData, context);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,9 +1,11 @@
|
|||||||
import { Grammar } from "./grammar.js";
|
|
||||||
import { ReglesOptionnelles } from "./settings/regles-optionnelles.js";
|
import { ReglesOptionnelles } from "./settings/regles-optionnelles.js";
|
||||||
|
|
||||||
export class RdDConfirm {
|
export class RdDConfirm {
|
||||||
/* -------------------------------------------- */
|
/* -------------------------------------------- */
|
||||||
static confirmer(options, autresActions) {
|
static confirmer(options, autresActions) {
|
||||||
|
if (options.settingConfirmer && !ReglesOptionnelles.isSet(options.settingConfirmer)) {
|
||||||
|
return options.onAction()
|
||||||
|
}
|
||||||
let buttons = {
|
let buttons = {
|
||||||
"action": RdDConfirm._createButtonAction(options),
|
"action": RdDConfirm._createButtonAction(options),
|
||||||
"cancel": RdDConfirm._createButtonCancel()
|
"cancel": RdDConfirm._createButtonCancel()
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
{
|
{
|
||||||
"id": "foundryvtt-reve-de-dragon",
|
"id": "foundryvtt-reve-de-dragon",
|
||||||
"title": "Rêve de Dragon",
|
"title": "Rêve de Dragon",
|
||||||
"version": "12.0.2",
|
"version": "12.0.3",
|
||||||
"download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/archive/foundryvtt-reve-de-dragon-12.0.2.zip",
|
"download": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/archive/foundryvtt-reve-de-dragon-12.0.3.zip",
|
||||||
"manifest": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/v11/system.json",
|
"manifest": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/v11/system.json",
|
||||||
"changelog": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/branch/v11/changelog.md",
|
"changelog": "https://www.uberwald.me/gitea/public/foundryvtt-reve-de-dragon/raw/branch/v11/changelog.md",
|
||||||
"compatibility": {
|
"compatibility": {
|
||||||
|
@ -18,6 +18,7 @@
|
|||||||
<a class="milieu-add"><i class="fas fa-plus-circle"></i></a>
|
<a class="milieu-add"><i class="fas fa-plus-circle"></i></a>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{#each system.environnement as |env key|}}
|
{{#each system.environnement as |env key|}}
|
||||||
<div class="form-group environnement-milieu" data-milieu="{{env.milieu}}">
|
<div class="form-group environnement-milieu" data-milieu="{{env.milieu}}">
|
||||||
<label>
|
<label>
|
||||||
@ -26,7 +27,7 @@
|
|||||||
</label>
|
</label>
|
||||||
<span class="flexrow">
|
<span class="flexrow">
|
||||||
<select name="milieu-{{key}}-rarete" class="environnement-rarete flex-shrink" data-dtype="String">
|
<select name="milieu-{{key}}-rarete" class="environnement-rarete flex-shrink" data-dtype="String">
|
||||||
{{selectOptions config.rarete selected=env.rarete labelAttr="label" valueAttr="value" nameAttr="value"}}
|
{{selectOptions @root.config.raretes selected=env.rarete labelAttr="label" valueAttr="value" nameAttr="value"}}
|
||||||
</select>
|
</select>
|
||||||
{{rangePicker name="milieu-{{key}}-frequence" value=env.frequence min=(rarete-getChamp env.rarete 'min') max=(rarete-getChamp env.rarete 'max') step=1}}
|
{{rangePicker name="milieu-{{key}}-frequence" value=env.frequence min=(rarete-getChamp env.rarete 'min') max=(rarete-getChamp env.rarete 'max') step=1}}
|
||||||
<label>[{{rarete-getChamp env.rarete 'min'}}-{{rarete-getChamp env.rarete 'max'}}]</label>
|
<label>[{{rarete-getChamp env.rarete 'min'}}-{{rarete-getChamp env.rarete 'max'}}]</label>
|
||||||
|
Loading…
Reference in New Issue
Block a user