D12 is not displayed correctly
- FVTT version: 0.8.9
- DsN version: 4.2.0 & 4.2.1
- System: Mac Os
- Step to reproduce:
Connect to a World Roll a D12 /roll D12 with TOR system and the The One Ring preset.
I have tested with D6, D8, D10 and there is no issue
Tested with The One Ring v2 system.
I tried with another preset or with another system and I don't have the issue.
Hooks.once('diceSoNiceReady', (dice3d) => {
dice3d.addSystem({id: "tor2e", name: "The One Ring"}, true);
dice3d.addColorset({
name: "friendly",
description: "friendly",
category: 'Colors',
foreground: ['#D4AF37'],
background: ['#ffffff'],
outline: '222222',
texture: 'none',
visible: "hidden"
});
dice3d.addColorset({
name: "hostile",
description: "hostile",
category: 'Colors',
foreground: ['#e3e300'],
background: ['#000000'],
outline: 'red',
texture: 'none',
visible: "hidden"
});
//tor2e success dice
dice3d.addDicePreset({
type: "ds",
labels: ["systems/tor2e/assets/images/dice/s_1.png",
"systems/tor2e/assets/images/dice/s_2.png",
"systems/tor2e/assets/images/dice/s_3.png",
"systems/tor2e/assets/images/dice/s_4.png",
"systems/tor2e/assets/images/dice/s_5.png",
"systems/tor2e/assets/images/dice/s_6.png"],
bumpMaps: [
"systems/tor2e/assets/images/dice/bump_maps/bump_s_1.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_s_2.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_s_3.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_s_4.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_s_5.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_s_6.png",
],
system: "tor2e"
}, "d6");
//tor2e weary success dice
dice3d.addDicePreset({
type: "dw",
labels: ["systems/tor2e/assets/images/dice/s_1_w.png",
"systems/tor2e/assets/images/dice/s_2_w.png",
"systems/tor2e/assets/images/dice/s_3_w.png",
"systems/tor2e/assets/images/dice/s_4.png",
"systems/tor2e/assets/images/dice/s_5.png",
"systems/tor2e/assets/images/dice/s_6.png"],
bumpMaps: [
"systems/tor2e/assets/images/dice/bump_maps/bump_s_1_w.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_s_2_w.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_s_3_w.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_s_4.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_s_5.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_s_6.png",
],
system: "tor2e"
}, "d6");
//tor2e feat dice for friendly character
dice3d.addDicePreset({
type: "df",
labels: ["systems/tor2e/assets/images/dice/f_1.png",
"systems/tor2e/assets/images/dice/f_2.png",
"systems/tor2e/assets/images/dice/f_3.png",
"systems/tor2e/assets/images/dice/f_4.png",
"systems/tor2e/assets/images/dice/f_5.png",
"systems/tor2e/assets/images/dice/f_6.png",
"systems/tor2e/assets/images/dice/f_7.png",
"systems/tor2e/assets/images/dice/f_8.png",
"systems/tor2e/assets/images/dice/f_9.png",
"systems/tor2e/assets/images/dice/f_10.png",
"systems/tor2e/assets/images/dice/f_eye.png",
"systems/tor2e/assets/images/dice/f_gandalf.png"],
bumpMaps: [
"systems/tor2e/assets/images/dice/bump_maps/bump_f_1.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_2.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_3.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_4.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_5.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_6.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_7.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_8.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_9.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_10.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_eye.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_gandalf.png",
],
colorset: "friendly",
system: "tor2e"
}, "d12");
//tor2e hostile feat dice for hostile character
dice3d.addDicePreset({
type: "de",
labels: ["systems/tor2e/assets/images/dice/sf_1.png",
"systems/tor2e/assets/images/dice/sf_2.png",
"systems/tor2e/assets/images/dice/sf_3.png",
"systems/tor2e/assets/images/dice/sf_4.png",
"systems/tor2e/assets/images/dice/sf_5.png",
"systems/tor2e/assets/images/dice/sf_6.png",
"systems/tor2e/assets/images/dice/sf_7.png",
"systems/tor2e/assets/images/dice/sf_8.png",
"systems/tor2e/assets/images/dice/sf_9.png",
"systems/tor2e/assets/images/dice/sf_10.png",
"systems/tor2e/assets/images/dice/sf_eye.png",
"systems/tor2e/assets/images/dice/sf_gandalf.png"],
bumpMaps: [
"systems/tor2e/assets/images/dice/bump_maps/bump_f_1.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_2.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_3.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_4.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_5.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_6.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_7.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_8.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_9.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_10.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_eye.png",
"systems/tor2e/assets/images/dice/bump_maps/bump_f_gandalf.png",
],
colorset: "hostile",
system: "tor2e"
}, "d12");
});
This is my DsN integration in TOR System.
Edited by hervé DARRITCHON (herveDarritchon)