Armes/Protections/Equipement
This commit is contained in:
parent
dea92e8c98
commit
312a4d8699
@ -14,6 +14,7 @@ import { HawkmoonActorSheet } from "./hawkmoon-actor-sheet.js";
|
||||
import { HawkmoonUtility } from "./hawkmoon-utility.js";
|
||||
import { HawkmoonCombat } from "./hawkmoon-combat.js";
|
||||
import { HawkmoonItem } from "./hawkmoon-item.js";
|
||||
import { HawkmoonEffectParser } from "./hawkmoon-effect-parser.js";
|
||||
|
||||
/* -------------------------------------------- */
|
||||
/* Foundry VTT Initialization */
|
||||
@ -25,7 +26,7 @@ Hooks.once("init", async function () {
|
||||
|
||||
/* -------------------------------------------- */
|
||||
// preload handlebars templates
|
||||
HawkmoonUtility.preloadHandlebarsTemplates();
|
||||
HawkmoonUtility.preloadHandlebarsTemplates()
|
||||
|
||||
/* -------------------------------------------- */
|
||||
// Set an initiative formula for the system
|
||||
@ -36,7 +37,7 @@ Hooks.once("init", async function () {
|
||||
|
||||
/* -------------------------------------------- */
|
||||
game.socket.on("system.fvtt-hawkmoon-cyd", data => {
|
||||
HawkmoonUtility.onSocketMesssage(data);
|
||||
HawkmoonUtility.onSocketMesssage(data)
|
||||
});
|
||||
|
||||
/* -------------------------------------------- */
|
||||
@ -45,7 +46,8 @@ Hooks.once("init", async function () {
|
||||
CONFIG.Actor.documentClass = HawkmoonActor
|
||||
CONFIG.Item.documentClass = HawkmoonItem
|
||||
game.system.hawkmoon = {
|
||||
HawkmoonUtility
|
||||
HawkmoonUtility,
|
||||
HawkmoonEffectParser
|
||||
}
|
||||
|
||||
/* -------------------------------------------- */
|
||||
@ -57,7 +59,8 @@ Hooks.once("init", async function () {
|
||||
Items.unregisterSheet("core", ItemSheet);
|
||||
Items.registerSheet("fvtt-hawkmoon-cyd", HawkmoonItemSheet, { makeDefault: true })
|
||||
|
||||
HawkmoonUtility.init();
|
||||
HawkmoonUtility.init()
|
||||
HawkmoonEffectParser.init()
|
||||
|
||||
});
|
||||
|
||||
|
@ -121,7 +121,7 @@
|
||||
"equipement",
|
||||
"artefact"
|
||||
],
|
||||
"talents": {
|
||||
"talent": {
|
||||
"utilisation": "",
|
||||
"prerequis": "",
|
||||
"isbonus": false,
|
||||
|
@ -18,9 +18,9 @@
|
||||
<ul class="item-list alternate-list">
|
||||
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Utilisation </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text" name="system.utilisation"
|
||||
value="{{system.utilisation}}" data-dtype="String">
|
||||
<label class="generic-label item-field-label-long">Utilisation </label>
|
||||
<select class="status-small-label color-class-common item-field-label-long" type="text"
|
||||
name="system.utilisation" value="{{system.utilisation}}" data-dtype="String">
|
||||
{{#select system.utilisation}}
|
||||
<option value="permanent">Permanent</option>
|
||||
<option value="sceance">Une fois par scéance</option>
|
||||
@ -37,12 +37,13 @@
|
||||
</li>
|
||||
|
||||
{{#if system.isbonus}}
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Formule de bonus </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea rows="3" type="text" class="padd-right color-class-common" data-dtype="String">{{predilection.bonusformula}}</textarea>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<label class="generic-label item-field-label-long">Formule de bonus </label>
|
||||
</li>
|
||||
<li class="flexrow item">
|
||||
<textarea rows="3" type="text" class="padd-right color-class-common"
|
||||
data-dtype="String">{{predilection.bonusformula}}</textarea>
|
||||
</li>
|
||||
{{/if}}
|
||||
</ul>
|
||||
</div>
|
||||
|
Loading…
Reference in New Issue
Block a user