foundryvtt-wh4-lang-fr-fr/scripts/DWBxvzfWGcG7PVNP.js

5 lines
217 B
JavaScript
Raw Permalink Normal View History

2024-05-16 17:57:51 +02:00
let letter = this.item.system.location.key[0]; // "l" or "r";
this.item.updateSource({"system.location.key" : letter + "Doigt"})
2024-05-16 17:57:51 +02:00
// We want the location to be Right or Left Hand, but the key to be rFinger or lFinger