Изменено: - Поддержка новых типов товаров: "Механические приспособления" и "Религиозные товары". - Добавлена возможность случайной генерации уровня торговца. - Улучшена производительность при загрузке предметов из компендиумов. - Обновлены тексты описаний для категорий товаров. - Исправлена ошибка при добавлении предметов к торговцу (см. `module/data.mjs`, строки 2436-2446). - Исправлена проблема с отображением характеристик торговца в интерфейсе.
This commit is contained in:
@@ -0,0 +1,91 @@
|
||||
{
|
||||
"name": "Инструменты кузнеца / Smith's Tools",
|
||||
"type": "tool",
|
||||
"img": "icons/tools/smithing/anvil.webp",
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"babele": {
|
||||
"translated": true,
|
||||
"hasTranslation": true,
|
||||
"originalName": "Smith's Tools"
|
||||
},
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d4"
|
||||
},
|
||||
"midi-qol": {
|
||||
"onUseMacroName": ""
|
||||
}
|
||||
},
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "<p>Эти специальные инструменты включают предметы, необходимые для занятия кузнечным делом. Умение в обращении с этими инструментами позволяет вам добавить ваш бонус умения к любой проверке характеристики, связанной с их использованием.</p>\n<p>Инструменты кузнеца позволяют вам работать с металлом, нагревая его для изменения формы, восстанавливая повреждения или создавая из слитков полезные предметы.</p>\n<p><em><strong>Компоненты.</strong></em> Инструменты кузнеца включают в себя молоты, клещи, уголь, ветошь и точильный камень.</p>\n<p><em><strong>История, Магия.</strong></em> Ваш опыт даёт вам дополнительные знания при обследовании металлических предметов, таких как, например, оружие.</p>\n<p><em><strong>Расследование.</strong></em> Вы можете обнаруживать зацепки, которые другие могут не заметить, когда расследование касается брони, оружия или прочих изделий металлообработки.</p>\n<p><em><strong>Починка.</strong></em> При наличии доступа к инструментам и открытому огню, жара которого достаточно, чтобы сделать металл пластичным, вы можете восстанавливать по 10 ПЗ повреждённого металлического предмета за каждый час работы.</p>\n<table class=\"rd__table stripe-odd-table\">\n<thead>\n<tr>\n<th class=\"col-10\" data-rd-isroller=\"false\">Возможное действие</th>\n<th class=\"col-2 text-center\" data-rd-isroller=\"false\">СЛ</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td class=\"col-10\">Заточить затупившийся клинок</td>\n<td class=\"col-2 text-center\">10</td>\n</tr>\n<tr>\n<td class=\"col-10\">Починить комплект доспехов</td>\n<td class=\"col-2 text-center\">15</td>\n</tr>\n<tr>\n<td class=\"col-10\">Разъединить немагический металлический предмет</td>\n<td class=\"col-2 text-center\">20</td>\n</tr>\n</tbody>\n</table>",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": "PHB"
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 8,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 20,
|
||||
"denomination": "gp"
|
||||
},
|
||||
"attunement": "",
|
||||
"equipped": false,
|
||||
"rarity": "common",
|
||||
"identified": true,
|
||||
"ability": "str",
|
||||
"chatFlavor": "",
|
||||
"proficient": 0,
|
||||
"bonus": "",
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"type": {
|
||||
"value": "art",
|
||||
"baseItem": "smith"
|
||||
},
|
||||
"container": null,
|
||||
"attuned": false,
|
||||
"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
|
||||
},
|
||||
"properties": []
|
||||
}
|
||||
}
|
||||
+124
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"name": "Нагрудник / Breatsplate",
|
||||
"type": "equipment",
|
||||
"img": "icons/equipment/chest/breastplate-collared-steel-grey.webp",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "<p>Подогнанная по размеру металлическая кираса, которую надевают на кожаный поддоспешник. Руки и ноги остаются не прикрыты, но доспех отлично защищает жизненно важные органы носителя, давая ему при этом относительную свободу движения.</p><p>Пока он надет трудно проходить в двери</p>",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": "PHB"
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 20,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 400,
|
||||
"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": 14,
|
||||
"dex": 2,
|
||||
"magicalBonus": null
|
||||
},
|
||||
"hp": {
|
||||
"value": 0,
|
||||
"max": 0,
|
||||
"dt": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"speed": {
|
||||
"value": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"strength": null,
|
||||
"proficient": null,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"type": {
|
||||
"value": "medium",
|
||||
"baseItem": "breastplate"
|
||||
},
|
||||
"attack": {
|
||||
"bonus": "",
|
||||
"flat": false
|
||||
},
|
||||
"container": null,
|
||||
"attuned": false,
|
||||
"enchantment": null,
|
||||
"summons": null,
|
||||
"properties": []
|
||||
},
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"babele": {
|
||||
"translated": true,
|
||||
"hasTranslation": true,
|
||||
"originalName": "Breastplate"
|
||||
},
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d4 + 4"
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+40
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"name": "Наковальня",
|
||||
"type": "loot",
|
||||
"img": "modules/test_tube_merchant/assets/icon/items/Anvil.png",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": ""
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 1,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 75,
|
||||
"denomination": "gp"
|
||||
},
|
||||
"rarity": "",
|
||||
"identified": true,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"container": null,
|
||||
"properties": [],
|
||||
"type": {
|
||||
"value": "",
|
||||
"subtype": ""
|
||||
}
|
||||
},
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d4 - 1"
|
||||
}
|
||||
}
|
||||
}
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"name": "Пластинчатый доспех / Splint Armor",
|
||||
"type": "equipment",
|
||||
"img": "modules/laaru-dnd5-hw/assets/images/pic/Splintmail-5e.webp",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "<p>Сделан из тонких вертикальных полос металла, приклёпанных на кожаную основу, его носят поверх плотного поддоспешника. Сочленения прикрывает гибкая кольчуга.</p>",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": "PHB"
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 60,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 200,
|
||||
"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": 17,
|
||||
"dex": 0,
|
||||
"magicalBonus": null
|
||||
},
|
||||
"hp": {
|
||||
"value": 0,
|
||||
"max": 0,
|
||||
"dt": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"speed": {
|
||||
"value": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"strength": 15,
|
||||
"proficient": null,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"type": {
|
||||
"value": "heavy",
|
||||
"baseItem": "splint"
|
||||
},
|
||||
"container": null,
|
||||
"properties": [
|
||||
"stealthDisadvantage"
|
||||
],
|
||||
"attack": {
|
||||
"bonus": "",
|
||||
"flat": false
|
||||
},
|
||||
"attuned": false,
|
||||
"enchantment": null,
|
||||
"summons": null
|
||||
},
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"babele": {
|
||||
"translated": true,
|
||||
"hasTranslation": true,
|
||||
"originalName": "Splint Armor"
|
||||
},
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d4 + 4"
|
||||
},
|
||||
"dnd5e": {
|
||||
"migratedProperties": [
|
||||
"stealthDisadvantage"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+170
@@ -0,0 +1,170 @@
|
||||
{
|
||||
"name": "Шлем с рогами",
|
||||
"type": "equipment",
|
||||
"img": "modules/test_tube_merchant/assets/icon/items/helm_with_horns.png",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "<p>Пока он надет трудно проходить в двери</p>",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": ""
|
||||
},
|
||||
"identified": true,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"container": null,
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 6,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 25,
|
||||
"denomination": "gp"
|
||||
},
|
||||
"rarity": "",
|
||||
"attunement": "",
|
||||
"attuned": false,
|
||||
"equipped": false,
|
||||
"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": "",
|
||||
"attack": {
|
||||
"bonus": "",
|
||||
"flat": false
|
||||
},
|
||||
"chatFlavor": "",
|
||||
"critical": {
|
||||
"threshold": null,
|
||||
"damage": ""
|
||||
},
|
||||
"damage": {
|
||||
"parts": [],
|
||||
"versatile": ""
|
||||
},
|
||||
"enchantment": null,
|
||||
"formula": "",
|
||||
"save": {
|
||||
"ability": "",
|
||||
"dc": null,
|
||||
"scaling": "spell"
|
||||
},
|
||||
"summons": null,
|
||||
"armor": {
|
||||
"value": null,
|
||||
"magicalBonus": null,
|
||||
"dex": null
|
||||
},
|
||||
"hp": {
|
||||
"value": null,
|
||||
"max": null,
|
||||
"dt": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"type": {
|
||||
"value": "clothing",
|
||||
"baseItem": ""
|
||||
},
|
||||
"properties": [],
|
||||
"speed": {
|
||||
"value": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"strength": null,
|
||||
"proficient": null
|
||||
},
|
||||
"effects": [
|
||||
{
|
||||
"name": "Шлем с рогами",
|
||||
"origin": "Item.37LW49HWVzlhMMHX",
|
||||
"duration": {
|
||||
"rounds": null,
|
||||
"startTime": null,
|
||||
"seconds": null,
|
||||
"combat": null,
|
||||
"turns": null,
|
||||
"startRound": null,
|
||||
"startTurn": null
|
||||
},
|
||||
"disabled": false,
|
||||
"flags": {
|
||||
"dnd5e": {},
|
||||
"dae": {
|
||||
"stackable": "noneName",
|
||||
"showIcon": false,
|
||||
"durationExpression": "",
|
||||
"specialDuration": []
|
||||
}
|
||||
},
|
||||
"img": "modules/test_tube_merchant/assets/icon/items/helm_with_horns.png",
|
||||
"_id": "1fUfGiIflzTqgQk4",
|
||||
"type": "base",
|
||||
"system": {},
|
||||
"changes": [
|
||||
{
|
||||
"key": "system.attributes.ac.bonus",
|
||||
"mode": 2,
|
||||
"value": "2",
|
||||
"priority": 20
|
||||
}
|
||||
],
|
||||
"description": "",
|
||||
"tint": "#ffffff",
|
||||
"transfer": true,
|
||||
"statuses": [],
|
||||
"sort": 0,
|
||||
"_stats": {
|
||||
"compendiumSource": null,
|
||||
"duplicateSource": null,
|
||||
"coreVersion": "12.327",
|
||||
"systemId": "dnd5e",
|
||||
"systemVersion": "3.3.1",
|
||||
"createdTime": 1723921343923,
|
||||
"modifiedTime": 1723921397658,
|
||||
"lastModifiedBy": "uygtCpIWAtXlcaXr"
|
||||
}
|
||||
}
|
||||
],
|
||||
"flags": {
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d4"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user