Изменено: - Поддержка новых типов товаров: "Механические приспособления" и "Религиозные товары". - Добавлена возможность случайной генерации уровня торговца. - Улучшена производительность при загрузке предметов из компендиумов. - Обновлены тексты описаний для категорий товаров. - Исправлена ошибка при добавлении предметов к торговцу (см. `module/data.mjs`, строки 2436-2446). - Исправлена проблема с отображением характеристик торговца в интерфейсе.
This commit is contained in:
+131
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"name": "Чешуйчатый доспех / Scale Mail",
|
||||
"type": "equipment",
|
||||
"img": "modules/laaru-dnd5-hw/assets/images/pic/Scale_mail-5e.webp",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "<p>Состоит из кожаной куртки и штанов (а иногда и отдельной юбки), покрытых внахлёст чешуйками из металла, похожими на рыбьи. Доспех включает и рукавицы.</p>",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": "PHB"
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 45,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 50,
|
||||
"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": "scalemail"
|
||||
},
|
||||
"container": null,
|
||||
"properties": [
|
||||
"stealthDisadvantage"
|
||||
],
|
||||
"attack": {
|
||||
"bonus": "",
|
||||
"flat": false
|
||||
},
|
||||
"attuned": false,
|
||||
"enchantment": null,
|
||||
"summons": null
|
||||
},
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"babele": {
|
||||
"translated": true,
|
||||
"hasTranslation": true,
|
||||
"originalName": "Scale Mail"
|
||||
},
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d3 * 3 + 1d3"
|
||||
},
|
||||
"dnd5e": {
|
||||
"migratedProperties": [
|
||||
"stealthDisadvantage"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
+131
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"name": "Кольчатый доспех / Ring Mail",
|
||||
"type": "equipment",
|
||||
"img": "modules/laaru-dnd5-hw/assets/images/pic/Ringmail-5e.webp",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "<p>Сделан из кожи, на которую нашиты толстые металлические кольца. Они защищают броню от ударов мечей и топоров. Кольчатый доспех похуже кольчуги, его, как правила, носят лишь те, кто не может себе позволить хорошую броню.</p>",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": "PHB"
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 40,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 30,
|
||||
"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": 0,
|
||||
"magicalBonus": null
|
||||
},
|
||||
"hp": {
|
||||
"value": 0,
|
||||
"max": 0,
|
||||
"dt": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"speed": {
|
||||
"value": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"strength": null,
|
||||
"proficient": null,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"type": {
|
||||
"value": "heavy",
|
||||
"baseItem": "ringmail"
|
||||
},
|
||||
"container": null,
|
||||
"properties": [
|
||||
"stealthDisadvantage"
|
||||
],
|
||||
"attack": {
|
||||
"bonus": "",
|
||||
"flat": false
|
||||
},
|
||||
"attuned": false,
|
||||
"enchantment": null,
|
||||
"summons": null
|
||||
},
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"babele": {
|
||||
"translated": true,
|
||||
"hasTranslation": true,
|
||||
"originalName": "Ring Mail"
|
||||
},
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d3 * 4 + 1d4"
|
||||
},
|
||||
"dnd5e": {
|
||||
"migratedProperties": [
|
||||
"stealthDisadvantage"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+131
@@ -0,0 +1,131 @@
|
||||
{
|
||||
"name": "Кольчуга / Chain Mail",
|
||||
"type": "equipment",
|
||||
"img": "modules/laaru-dnd5-hw/assets/images/pic/Chain_shirt-5e.webp",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "<p>Сделана из переплетённых металлических колец, её носят поверх стёганой ткани, чтобы она не звенела и чтобы смягчить удары. Доспех включает и рукавицы.</p>",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": "PHB"
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 55,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 75,
|
||||
"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": 16,
|
||||
"dex": 0,
|
||||
"magicalBonus": null
|
||||
},
|
||||
"hp": {
|
||||
"value": 0,
|
||||
"max": 0,
|
||||
"dt": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"speed": {
|
||||
"value": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"strength": 13,
|
||||
"proficient": null,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"type": {
|
||||
"value": "heavy",
|
||||
"baseItem": "chainmail"
|
||||
},
|
||||
"container": null,
|
||||
"properties": [
|
||||
"stealthDisadvantage"
|
||||
],
|
||||
"attack": {
|
||||
"bonus": "",
|
||||
"flat": false
|
||||
},
|
||||
"attuned": false,
|
||||
"enchantment": null,
|
||||
"summons": null
|
||||
},
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"babele": {
|
||||
"translated": true,
|
||||
"hasTranslation": true,
|
||||
"originalName": "Chain Mail"
|
||||
},
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d3 * 3 + 1d3"
|
||||
},
|
||||
"dnd5e": {
|
||||
"migratedProperties": [
|
||||
"stealthDisadvantage"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
+124
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"name": "Кольчужная рубаха / Chain Shirt",
|
||||
"type": "equipment",
|
||||
"img": "icons/equipment/chest/breastplate-scale-grey.webp",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "<p>Сделана из переплетённых металлических колец, её обычно носят между слоями одежды. Она худо-бедно защищает торс носителя и позволяет приглушить звон колец друг об друга благодаря внешним слоям одежды.</p>",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": "PHB"
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 20,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 50,
|
||||
"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": 13,
|
||||
"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": "chainshirt"
|
||||
},
|
||||
"attack": {
|
||||
"bonus": "",
|
||||
"flat": false
|
||||
},
|
||||
"container": null,
|
||||
"attuned": false,
|
||||
"enchantment": null,
|
||||
"summons": null,
|
||||
"properties": []
|
||||
},
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"babele": {
|
||||
"translated": true,
|
||||
"hasTranslation": true,
|
||||
"originalName": "Chain Shirt"
|
||||
},
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d3 * 3 + 1d3"
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+40
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"name": "Медь",
|
||||
"type": "loot",
|
||||
"img": "modules/test_tube_merchant/assets/icon/items/Copper.png",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": ""
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 1,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 5,
|
||||
"denomination": "sp"
|
||||
},
|
||||
"rarity": "",
|
||||
"identified": true,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"container": null,
|
||||
"properties": [],
|
||||
"type": {
|
||||
"value": "",
|
||||
"subtype": ""
|
||||
}
|
||||
},
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d3 * 2 + 1d2"
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+124
@@ -0,0 +1,124 @@
|
||||
{
|
||||
"name": "Щит / Shield",
|
||||
"type": "equipment",
|
||||
"img": "icons/equipment/shield/round-wooden-boss-steel-brown.webp",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "<p>Щит из дерева или металла носят в одной руке. Использование щита увеличивает ваш класс брони на 2. Ношение более чем одного щита не принесёт дополнительной пользы.</p>",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": "PHB"
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 6,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 10,
|
||||
"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": 2,
|
||||
"dex": null,
|
||||
"magicalBonus": null
|
||||
},
|
||||
"hp": {
|
||||
"value": 0,
|
||||
"max": 0,
|
||||
"dt": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"speed": {
|
||||
"value": null,
|
||||
"conditions": ""
|
||||
},
|
||||
"strength": null,
|
||||
"proficient": null,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"type": {
|
||||
"value": "shield",
|
||||
"baseItem": ""
|
||||
},
|
||||
"attack": {
|
||||
"bonus": "",
|
||||
"flat": false
|
||||
},
|
||||
"container": null,
|
||||
"attuned": false,
|
||||
"enchantment": null,
|
||||
"summons": null,
|
||||
"properties": []
|
||||
},
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"babele": {
|
||||
"translated": true,
|
||||
"hasTranslation": true,
|
||||
"originalName": "Shield"
|
||||
},
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d3 * 3 + 1d3"
|
||||
}
|
||||
}
|
||||
}
|
||||
Executable
+40
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"name": "Железо",
|
||||
"type": "loot",
|
||||
"img": "modules/test_tube_merchant/assets/icon/items/Iron.png",
|
||||
"system": {
|
||||
"description": {
|
||||
"value": "",
|
||||
"chat": ""
|
||||
},
|
||||
"source": {
|
||||
"custom": ""
|
||||
},
|
||||
"quantity": 1,
|
||||
"weight": {
|
||||
"value": 1,
|
||||
"units": "lb"
|
||||
},
|
||||
"price": {
|
||||
"value": 1,
|
||||
"denomination": "sp"
|
||||
},
|
||||
"rarity": "",
|
||||
"identified": true,
|
||||
"unidentified": {
|
||||
"description": ""
|
||||
},
|
||||
"container": null,
|
||||
"properties": [],
|
||||
"type": {
|
||||
"value": "",
|
||||
"subtype": ""
|
||||
}
|
||||
},
|
||||
"effects": [],
|
||||
"flags": {
|
||||
"test_tube_merchant": {
|
||||
"quantity": "1d3 * 5 + 1d5"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user