Релиз v1.2.9
Build release archive / release (push) Failing after 28s

Изменено:
 - Поддержка новых типов товаров: "Механические приспособления" и "Религиозные товары".
 - Добавлена возможность случайной генерации уровня торговца.
 - Улучшена производительность при загрузке предметов из компендиумов.
 - Обновлены тексты описаний для категорий товаров.
 - Исправлена ошибка при добавлении предметов к торговцу (см. `module/data.mjs`, строки 2436-2446).
 - Исправлена проблема с отображением характеристик торговца в интерфейсе.
This commit is contained in:
2026-07-15 19:42:45 +03:00
parent 34782dc3b0
commit e21d8c5198
5611 changed files with 163869 additions and 0 deletions
+125
View File
@@ -0,0 +1,125 @@
{
"name": "Боевой посох / Quarterstaff",
"type": "weapon",
"img": "icons/weapons/staves/staff-simple-gold.webp",
"system": {
"description": {
"value": "<p>Толстое деревянное древко, обмотанное крепкой рукоятью, превращается в весьма функциональное оружие, которое также можно использовать как прочную трость.</p>",
"chat": ""
},
"source": {
"custom": "PHB"
},
"quantity": 1,
"weight": {
"value": 4,
"units": "lb"
},
"price": {
"value": 2,
"denomination": "sp"
},
"attunement": "",
"equipped": false,
"rarity": "",
"identified": true,
"activation": {
"type": "action",
"cost": 1,
"condition": ""
},
"duration": {
"value": "",
"units": ""
},
"cover": null,
"crewed": false,
"target": {
"value": "",
"width": null,
"units": "",
"type": "",
"prompt": true
},
"range": {
"value": 5,
"long": null,
"units": "ft"
},
"uses": {
"value": null,
"max": "",
"per": null,
"recovery": "",
"prompt": true
},
"consume": {
"type": "",
"target": null,
"amount": null,
"scale": false
},
"ability": "",
"actionType": "mwak",
"chatFlavor": "",
"critical": {
"threshold": null,
"damage": ""
},
"damage": {
"parts": [
[
"1d6 + @mod",
"bludgeoning"
]
],
"versatile": "1d8 + @mod"
},
"formula": "",
"save": {
"ability": "",
"dc": null,
"scaling": "spell"
},
"armor": {
"value": 10
},
"hp": {
"value": 0,
"max": 0,
"dt": null,
"conditions": ""
},
"properties": [
"ver"
],
"proficient": null,
"unidentified": {
"description": ""
},
"type": {
"value": "simpleM",
"baseItem": "quarterstaff"
},
"attack": {
"bonus": "",
"flat": false
},
"container": null,
"attuned": false,
"enchantment": null,
"summons": null,
"magicalBonus": null
},
"effects": [],
"flags": {
"babele": {
"translated": true,
"hasTranslation": true,
"originalName": "Quarterstaff"
},
"test_tube_merchant": {
"quantity": "1d3 * 2 + 1d2"
}
}
}
@@ -0,0 +1,145 @@
{
"name": "Деревянный посох / Wooden Staff",
"type": "weapon",
"img": "icons/weapons/staves/staff-simple-spiral-green.webp",
"effects": [],
"flags": {
"babele": {
"translated": true,
"hasTranslation": true,
"originalName": "Wooden Staff"
},
"test_tube_merchant": {
"quantity": "1d3 * 10 + 1d10"
},
"midi-qol": {
"fumbleThreshold": null,
"effectActivation": false
},
"midiProperties": {
"nodam": false,
"fulldam": false,
"halfdam": false,
"autoFailFriendly": false,
"rollOther": false,
"critOther": false,
"offHandWeapon": false,
"magicdam": false,
"magiceffect": false,
"concentration": false,
"toggleEffect": false,
"ignoreTotalCover": false
}
},
"system": {
"description": {
"value": "<p>Сучковатый или естественный гладкий деревянный посох, вырезанный из живого дерева, те, кто прислушивается к зову природы, могут использовать его, чтобы использовать невероятную силу природы.</p>\n<p><strong>Фокусирующий предмет друида</strong>. Это особый предмет, предназначенный для направления энергии заклинаний из списка заклинаний друида. Друид может использовать этот предмет вместо любых реагентов для заклинаний, кроме тех, для которых указана стоимость.</p>",
"chat": ""
},
"source": {
"custom": "Wooden Staff"
},
"quantity": 1,
"weight": {
"value": 4,
"units": "lb"
},
"price": {
"value": 5,
"denomination": "gp"
},
"attunement": "",
"equipped": false,
"rarity": "common",
"identified": true,
"activation": {
"type": "action",
"cost": 1,
"condition": ""
},
"duration": {
"value": "",
"units": ""
},
"cover": null,
"crewed": false,
"target": {
"value": "",
"width": null,
"units": "",
"type": "",
"prompt": true
},
"range": {
"value": 5,
"long": null,
"units": "ft"
},
"uses": {
"value": null,
"max": "",
"per": null,
"recovery": "",
"prompt": true
},
"consume": {
"type": "",
"target": "",
"amount": null,
"scale": false
},
"ability": "",
"actionType": "mwak",
"chatFlavor": "",
"critical": {
"threshold": null,
"damage": ""
},
"damage": {
"parts": [
[
"1d6 + @mod",
"bludgeoning"
]
],
"versatile": "1d8 + @mod"
},
"formula": "",
"save": {
"ability": "",
"dc": null,
"scaling": "spell"
},
"armor": {
"value": 10
},
"hp": {
"value": 0,
"max": 0,
"dt": null,
"conditions": ""
},
"properties": [
"foc",
"ver",
"mgc"
],
"proficient": 0,
"unidentified": {
"description": ""
},
"type": {
"value": "simpleM",
"baseItem": ""
},
"attack": {
"bonus": "",
"flat": false
},
"container": null,
"attuned": false,
"enchantment": null,
"summons": null,
"magicalBonus": null
}
}
+45
View File
@@ -0,0 +1,45 @@
{
"name": "Кадило / Censer",
"type": "loot",
"img": "icons/tools/laboratory/bowl-liquid-orange.webp",
"system": {
"description": {
"value": "<p>Обычно используется в сочетании с блоками благовоний для ароматизации воздуха.</p>",
"chat": ""
},
"source": {
"custom": "PHB"
},
"quantity": 1,
"weight": {
"value": 1,
"units": "lb"
},
"price": {
"value": 5,
"denomination": "gp"
},
"rarity": "",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"effects": [],
"flags": {
"babele": {
"translated": true,
"hasTranslation": true,
"originalName": "Censer"
},
"test_tube_merchant": {
"quantity": "1d4+2"
}
}
}
+124
View File
@@ -0,0 +1,124 @@
{
"name": "Мантия / Robes",
"type": "equipment",
"img": "icons/equipment/back/cloak-collared-pink.webp",
"system": {
"description": {
"value": "<p>Простая или церемониальная одежда, часто используемая священниками и другими религиозными деятелями.</p>",
"chat": ""
},
"source": {
"custom": "PHB"
},
"quantity": 1,
"weight": {
"value": 4,
"units": "lb"
},
"price": {
"value": 1,
"denomination": "gp"
},
"attunement": "",
"equipped": false,
"rarity": "",
"identified": true,
"activation": {
"type": "",
"cost": null,
"condition": ""
},
"duration": {
"value": "",
"units": ""
},
"cover": null,
"crewed": false,
"target": {
"value": "",
"width": null,
"units": "",
"type": "",
"prompt": true
},
"range": {
"value": null,
"long": null,
"units": ""
},
"uses": {
"value": null,
"max": "",
"per": null,
"recovery": "",
"prompt": true
},
"consume": {
"type": "",
"target": null,
"amount": null,
"scale": false
},
"ability": null,
"actionType": "",
"chatFlavor": "",
"critical": {
"threshold": null,
"damage": ""
},
"damage": {
"parts": [],
"versatile": ""
},
"formula": "",
"save": {
"ability": "",
"dc": null,
"scaling": "spell"
},
"armor": {
"value": null,
"dex": null,
"magicalBonus": null
},
"hp": {
"value": 0,
"max": 0,
"dt": null,
"conditions": ""
},
"speed": {
"value": null,
"conditions": ""
},
"strength": null,
"proficient": 0,
"unidentified": {
"description": ""
},
"type": {
"value": "clothing",
"baseItem": ""
},
"attack": {
"bonus": "",
"flat": false
},
"container": null,
"attuned": false,
"enchantment": null,
"summons": null,
"properties": []
},
"effects": [],
"flags": {
"babele": {
"translated": true,
"hasTranslation": true,
"originalName": "Robes"
},
"test_tube_merchant": {
"quantity": "1d3 * 2 + 1d2"
}
}
}
+109
View File
@@ -0,0 +1,109 @@
{
"name": "Набор лекаря / Healer's Kit",
"type": "consumable",
"img": "icons/containers/bags/sack-simple-green.webp",
"system": {
"description": {
"value": "<p>Кожаный кошель содержит бинты, мази и лубки. Может быть использован 10 раз. В качестве действия вы можете потратить одно использование набора, чтобы стабилизировать существо с 0 ПЗ при этом не требуется проверка Мудрости (Медицина).</p>",
"chat": ""
},
"source": {
"custom": "PHB"
},
"quantity": 1,
"weight": {
"value": 3,
"units": "lb"
},
"price": {
"value": 5,
"denomination": "gp"
},
"attunement": "",
"equipped": false,
"rarity": "",
"identified": true,
"activation": {
"type": "action",
"cost": 1,
"condition": ""
},
"duration": {
"value": "",
"units": ""
},
"cover": null,
"crewed": false,
"target": {
"value": "1",
"width": null,
"units": "",
"type": "creature",
"prompt": true
},
"range": {
"value": null,
"long": null,
"units": "touch"
},
"uses": {
"value": 10,
"max": "10",
"per": "charges",
"recovery": "",
"autoDestroy": true,
"prompt": true
},
"consume": {
"type": "",
"target": null,
"amount": null,
"scale": false
},
"ability": "",
"actionType": "util",
"chatFlavor": "",
"critical": {
"threshold": null,
"damage": ""
},
"damage": {
"parts": [],
"versatile": ""
},
"formula": "",
"save": {
"ability": "",
"dc": null,
"scaling": "spell"
},
"properties": [],
"unidentified": {
"description": ""
},
"type": {
"value": "trinket",
"subtype": ""
},
"attack": {
"bonus": "",
"flat": false
},
"container": null,
"attuned": false,
"enchantment": null,
"summons": null,
"magicalBonus": null
},
"effects": [],
"flags": {
"babele": {
"translated": true,
"hasTranslation": true,
"originalName": "Healer's Kit"
},
"test_tube_merchant": {
"quantity": "1d3 * 2 + 1d2"
}
}
}
@@ -0,0 +1,121 @@
{
"name": "Побег омелы / Sprig of Mistletoe",
"type": "weapon",
"img": "icons/consumables/plants/fern-lady-green.webp",
"effects": [],
"flags": {
"babele": {
"translated": true,
"hasTranslation": true,
"originalName": "Sprig of Mistletoe"
},
"test_tube_merchant": {
"quantity": "1d3 * 10 + 1d10"
}
},
"system": {
"description": {
"value": "<p>Живая веточка омелы, остролиста или какого-нибудь другого священного листа, сорванная с дерева, корни которого глубоко погружены в линию сил. Те, кто прислушивается к зову природы, способны использовать эту связь, чтобы вызвать невероятную силу природы.</p>\n<p><strong>Фокусирующий предмет друида</strong>. Это особый предмет, предназначенный для направления энергии заклинаний из списка заклинаний друида. Друид может использовать этот предмет вместо любых реагентов для заклинаний, кроме тех, для которых указана стоимость.</p>",
"chat": ""
},
"source": {
"custom": "PHB pg. 151"
},
"quantity": 1,
"weight": {
"value": 0,
"units": "lb"
},
"price": {
"value": 1,
"denomination": "gp"
},
"attunement": "",
"equipped": false,
"rarity": "common",
"identified": true,
"activation": {
"type": "action",
"cost": 1,
"condition": ""
},
"duration": {
"value": "",
"units": ""
},
"cover": null,
"crewed": false,
"target": {
"value": "",
"width": null,
"units": "",
"type": "",
"prompt": true
},
"range": {
"value": null,
"long": null,
"units": ""
},
"uses": {
"value": null,
"max": "",
"per": null,
"recovery": "",
"prompt": true
},
"consume": {
"type": "",
"target": "",
"amount": null,
"scale": false
},
"ability": "",
"actionType": "util",
"chatFlavor": "",
"critical": {
"threshold": null,
"damage": ""
},
"damage": {
"parts": [],
"versatile": ""
},
"formula": "",
"save": {
"ability": "",
"dc": null,
"scaling": "spell"
},
"armor": {
"value": 10
},
"hp": {
"value": 0,
"max": 0,
"dt": null,
"conditions": ""
},
"properties": [
"mgc",
"foc"
],
"proficient": 0,
"unidentified": {
"description": ""
},
"type": {
"value": "natural",
"baseItem": ""
},
"attack": {
"bonus": "",
"flat": false
},
"container": null,
"attuned": false,
"enchantment": null,
"summons": null,
"magicalBonus": null
}
}
@@ -0,0 +1,114 @@
{
"name": "Склянка со святой водой / Flask of Holy Water",
"type": "consumable",
"img": "icons/consumables/potions/bottle-round-empty-glass.webp",
"system": {
"description": {
"value": "<p>В качестве действия вы можете выплеснуть содержимое склянки на существо в пределах 5 футов от вас или метнуть её на 20 футов — от удара склянка разобьётся. В обоих случаях совершите дистанционную атаку по этому существу, считая святую воду импровизированным оружием. Если цель — бестия или нежить, при попадании она получит 2d6 лучистого урона. </p><p>Жрецы и паладины могут создавать святую воду, выполнив особый ритуал. Он занимает 1 час, стоит 25 зм, потраченных на серебряную пыль, и требует использовать ячейку заклинания 1-го круга.</p>",
"chat": ""
},
"source": {
"custom": "PHB"
},
"quantity": 1,
"weight": {
"value": 1,
"units": "lb"
},
"price": {
"value": 25,
"denomination": "gp"
},
"attunement": "",
"equipped": false,
"rarity": "",
"identified": true,
"activation": {
"type": "action",
"cost": 1,
"condition": "Target must be a fiend or undead."
},
"duration": {
"value": "",
"units": ""
},
"cover": null,
"crewed": false,
"target": {
"value": "1",
"width": null,
"units": "",
"type": "creature",
"prompt": true
},
"range": {
"value": 5,
"long": 20,
"units": "ft"
},
"uses": {
"value": 1,
"max": "1",
"per": "charges",
"recovery": "",
"autoDestroy": true,
"prompt": true
},
"consume": {
"type": "",
"target": null,
"amount": null,
"scale": false
},
"ability": "dex",
"actionType": "rwak",
"chatFlavor": "",
"critical": {
"threshold": null,
"damage": ""
},
"damage": {
"parts": [
[
"2d6",
"radiant"
]
],
"versatile": ""
},
"formula": "",
"save": {
"ability": "",
"dc": null,
"scaling": "spell"
},
"properties": [],
"unidentified": {
"description": ""
},
"type": {
"value": "potion",
"subtype": ""
},
"attack": {
"bonus": "",
"flat": false
},
"container": null,
"attuned": false,
"enchantment": null,
"summons": null,
"magicalBonus": null
},
"effects": [],
"flags": {
"babele": {
"translated": true,
"hasTranslation": true,
"originalName": "Flask of Holy Water"
},
"test_tube_merchant": {
"quantity": "1d3 * 5 + 1d5"
}
}
}
+121
View File
@@ -0,0 +1,121 @@
{
"name": "Тисовый жезл / Yew Wand",
"type": "weapon",
"img": "icons/weapons/staves/staff-simple-brown.webp",
"system": {
"description": {
"value": "<p>Этот жезл или скипетр из тиса или иной особой древесины исписан мощными рунами для взывания к силам природы теми, кто заботиться о ней.</p>\n<p><strong>Фокусирующий предмет друида.</strong> Это особый предмет, предназначенный для направления энергии заклинаний из списка заклинаний друида. Друид может использовать этот предмет вместо любых реагентов для заклинаний, кроме тех, для которых указана стоимость.</p>",
"chat": ""
},
"source": {
"custom": "PHB"
},
"quantity": 1,
"weight": {
"value": 1,
"units": "lb"
},
"price": {
"value": 10,
"denomination": "gp"
},
"attunement": "",
"equipped": false,
"rarity": "",
"identified": true,
"activation": {
"type": "action",
"cost": 1,
"condition": ""
},
"duration": {
"value": "",
"units": ""
},
"cover": null,
"crewed": false,
"target": {
"value": "",
"width": null,
"units": "",
"type": "",
"prompt": true
},
"range": {
"value": null,
"long": null,
"units": ""
},
"uses": {
"value": null,
"max": "",
"per": null,
"recovery": "",
"prompt": true
},
"consume": {
"type": "",
"target": null,
"amount": null,
"scale": false
},
"ability": "",
"actionType": "util",
"chatFlavor": "",
"critical": {
"threshold": null,
"damage": ""
},
"damage": {
"parts": [],
"versatile": ""
},
"formula": "",
"save": {
"ability": "",
"dc": null,
"scaling": "spell"
},
"armor": {
"value": 10
},
"hp": {
"value": 0,
"max": 0,
"dt": null,
"conditions": ""
},
"properties": [
"foc",
"mgc"
],
"proficient": 0,
"unidentified": {
"description": ""
},
"type": {
"value": "natural",
"baseItem": ""
},
"attack": {
"bonus": "",
"flat": false
},
"container": null,
"attuned": false,
"enchantment": null,
"summons": null,
"magicalBonus": null
},
"effects": [],
"flags": {
"babele": {
"translated": true,
"hasTranslation": true,
"originalName": "Yew Wand"
},
"test_tube_merchant": {
"quantity": "1d3 * 10 + 1d10"
}
}
}
+121
View File
@@ -0,0 +1,121 @@
{
"name": "Тотем / Totem",
"type": "weapon",
"img": "icons/equipment/neck/collar-carved-bone-teeth-ring.webp",
"effects": [],
"flags": {
"babele": {
"translated": true,
"hasTranslation": true,
"originalName": "Totem"
},
"test_tube_merchant": {
"quantity": "1d3 * 10 + 1d10"
}
},
"system": {
"description": {
"value": "<p>Тотем, включающий перья, мех, кости и зубы животного, священного для использующего. Те, кто прислушивается к зову природы, способны использовать это, чтобы вызвать невероятную силу природы.</p>\n<p><strong>Фокусирующий предмет друида</strong>. Это особый предмет, предназначенный для направления энергии заклинаний из списка заклинаний друида. Друид может использовать этот предмет вместо любых реагентов для заклинаний, кроме тех, для которых указана стоимость.</p>",
"chat": ""
},
"source": {
"custom": "PHB pg. 151"
},
"quantity": 1,
"weight": {
"value": 0,
"units": "lb"
},
"price": {
"value": 1,
"denomination": "gp"
},
"attunement": "",
"equipped": false,
"rarity": "common",
"identified": true,
"activation": {
"type": "action",
"cost": 1,
"condition": ""
},
"duration": {
"value": "",
"units": ""
},
"cover": null,
"crewed": false,
"target": {
"value": "",
"width": null,
"units": "",
"type": "",
"prompt": true
},
"range": {
"value": null,
"long": null,
"units": ""
},
"uses": {
"value": null,
"max": "",
"per": null,
"recovery": "",
"prompt": true
},
"consume": {
"type": "",
"target": "",
"amount": null,
"scale": false
},
"ability": "",
"actionType": "util",
"chatFlavor": "",
"critical": {
"threshold": null,
"damage": ""
},
"damage": {
"parts": [],
"versatile": ""
},
"formula": "",
"save": {
"ability": "",
"dc": null,
"scaling": "spell"
},
"armor": {
"value": 10
},
"hp": {
"value": 0,
"max": 0,
"dt": null,
"conditions": ""
},
"properties": [
"mgc",
"foc"
],
"proficient": 0,
"unidentified": {
"description": ""
},
"type": {
"value": "natural",
"baseItem": ""
},
"attack": {
"bonus": "",
"flat": false
},
"container": null,
"attuned": false,
"enchantment": null,
"summons": null,
"magicalBonus": null
}
}
@@ -0,0 +1,40 @@
{
"name": "Заклинание: Исцеляющий молебен",
"type": "loot",
"img": "icons/magic/holy/prayer-hands-glowing-yellow.webp",
"system": {
"description": {
"value": "<p>Заклинание 2го уровня: [[/damage 2d8+3 healing]]{исцеляет 2d8+3 ПЗ}.</p>",
"chat": ""
},
"source": {
"custom": "КМ 240"
},
"quantity": 1,
"weight": {
"value": 0,
"units": "lb"
},
"price": {
"value": 40,
"denomination": "gp"
},
"rarity": "",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "3"
}
}
}
@@ -0,0 +1,40 @@
{
"name": "Заклинание: Низшее восстановление",
"type": "loot",
"img": "icons/magic/nature/leaf-oak-wreath-glow-green.webp",
"system": {
"description": {
"value": "<p>Лечит одно из болезней или состояний. Из состояний можно исцелить &amp;reference[blinded]{слепоту}, &amp;reference[deafened]{глухоту}, &amp;reference[paralyzed]{паралич} или &amp;reference[poisoned]{отравление}.</p>",
"chat": ""
},
"source": {
"custom": "КИ 237"
},
"quantity": 1,
"weight": {
"value": 0,
"units": "lb"
},
"price": {
"value": 40,
"denomination": "gp"
},
"rarity": "",
"identified": true,
"unidentified": {
"description": ""
},
"container": null,
"properties": [],
"type": {
"value": "",
"subtype": ""
}
},
"effects": [],
"flags": {
"test_tube_merchant": {
"quantity": "3"
}
}
}