Verletzungen

This commit is contained in:
2025-05-14 15:37:45 +02:00
parent fdccd1859f
commit f215c80c61
4 changed files with 36 additions and 36 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ if (this.item.name.includes("(") && !this.item.name.toLowerCase().includes("(any
}
else
{
resistance = await ValueDialog.create({text : "Enter Resistance", title : "Resistance"})
resistance = await ValueDialog.create({text : "Resistenz eingeben", title : "Resistenz"})
if (resistance)
{
+7 -7
View File
@@ -1,4 +1,4 @@
if (!this.item.name.includes("(") || this.item.system.tests.value.includes("(Sens)"))
if (!this.item.name.includes("(") || this.item.system.tests.value.includes("(Sinn)"))
{
let tests = this.item.system.tests.value
let name = this.item.name
@@ -12,12 +12,12 @@ if (!this.item.name.includes("(") || this.item.system.tests.value.includes("(Sen
else // If no sense specified, provide dialog choice
{
let choice = await ItemDialog.create(ItemDialog.objectToArray({
taste : "Goût",
sight : "Vue",
smell : "Odorat",
hearing : "Ouie",
touch : "Toucher"
}, this.item.img), 1, "Choisir un sens");
taste : "Geschmack",
sight : "Sehen",
smell : "Geruchs",
hearing : "Gehör",
touch : "Tasten"
}, this.item.img), 1, "Wähle einen Sinn");
if (choice[0])
{
name = `${name.split("(")[0].trim()} (${choice[0].name})`