Add all systems effects scripts + translations

This commit is contained in:
2024-05-17 09:19:48 +02:00
parent 7b97578bd7
commit 039df5c10a
119 changed files with 255 additions and 232 deletions

View File

@ -8,7 +8,7 @@ if (type == "cold")
if (type == "corrosion")
{
let damageItems = await Dialog.confirm({title : this.item.name, content : `<p>Damage all Items carried?</p>`})
let damageItems = await Dialog.confirm({title : this.item.name, content : `<p>Endommager tout les objets portés?</p>`})
if (damageItems)
{
let msg = ``
@ -25,17 +25,17 @@ if (type == "corrosion")
{
await item.system.damageItem(1);
}
msg += `<p><strong>${item.name}</strong> damage by 1</p>`
msg += `<p><strong>${item.name}</strong> endommagé de 1</p>`
}
for(let item of armour)
{
await item.system.damageItem(1);
msg += `<p><strong>${item.name}</strong> damage by 1</p>`
msg += `<p><strong>${item.name}</strong> endommagé de 1</p>`
}
for(let item of trappings)
{
await item.system.damageItem(1);
msg += `<p><strong>${item.name}</strong> damage by 1</p>`
msg += `<p><strong>${item.name}</strong> endommagé de 1</p>`
}
if (msg)
{