Verletzungen
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
@@ -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})`
|
||||
|
||||
Reference in New Issue
Block a user